pledge.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. <template>
  2. <view class="all">
  3. <view class="top">
  4. <text>互娛共享</text>
  5. </view>
  6. <view class="img">
  7. <image
  8. src="../../static/img/zhiya2.png"
  9. mode=""
  10. style="width: 696rpx; height: 254rpx"></image>
  11. </view>
  12. <view @click="navigator"
  13. class="my"
  14. flex>
  15. <image
  16. src="../../static/img/zhiya3.png"
  17. mode=""
  18. style="
  19. width: 40rpx;
  20. height: 40rpx;
  21. margin-left: 50rpx;
  22. margin-top: 23rpx;
  23. margin-bottom: 22rpx;
  24. "></image>
  25. <view>我的質押</view>
  26. <image
  27. class="right"
  28. src="../../static/img/zhiya1.png"
  29. style="width: 16rpx; height: 26rpx"
  30. mode=""></image>
  31. </view>
  32. <view class="buttom" flex v-for="item in 12">
  33. <view class="le" @click="nav">
  34. <view
  35. class="le1"
  36. style="
  37. height: 32rpx;
  38. font-size: 33rpx;
  39. font-weight: 800;
  40. color: #ffffff;
  41. line-height: 43rpx;
  42. ">
  43. 質押投資一
  44. </view>
  45. <view
  46. class="le1"
  47. style="
  48. height: 19rpx;
  49. font-size: 20rpx;
  50. font-family: PingFang SC;
  51. font-weight: 800;
  52. color: #feb041;
  53. line-height: 43rpx;
  54. ">
  55. 20U起投 | 1天
  56. </view>
  57. <view
  58. class="le1"
  59. style="
  60. height: 19rpx;
  61. font-size: 20rpx;
  62. font-family: PingFang SC;
  63. font-weight: 800;
  64. color: #feb041;
  65. line-height: 43rpx;
  66. ">
  67. 總額:1234534.3456U
  68. </view>
  69. <view class="le2">
  70. <button
  71. style="
  72. width: 308rpx;
  73. height: 16rpx;
  74. background: #ebebeb;
  75. opacity: 0.38;
  76. border-radius: 8rpx;
  77. margin-top: 50rpx;
  78. "></button>
  79. <p style="">42.94%</p>
  80. </view>
  81. </view>
  82. <view class="ri">
  83. <view class="r1"> 1.00% </view>
  84. <view class="r2"> 日均收益率 </view>
  85. <view class="r3">
  86. <view style="background: #feb041; border-radius: 6rpx; width: 139rpx; height: 44rpx;">
  87. <text
  88. style="
  89. padding-top: 23rpx;
  90. margin-left: 20rpx;
  91. text-align: center;
  92. width: 82rpx;
  93. height: 20rpx;
  94. font-size: 21rpx;
  95. font-family: PingFang SC;
  96. font-weight: 800;
  97. color: #191a1f;
  98. "
  99. >立即加入</text>
  100. </view>
  101. </view>
  102. </view>
  103. </view>
  104. <taber tab='pledge'></taber>
  105. </view>
  106. </template>
  107. <script>
  108. import taber from "@/components/footer/footer.vue";
  109. export default {
  110. components: {
  111. taber
  112. },
  113. data() {
  114. return {};
  115. },
  116. methods: {
  117. navigator() {
  118. uni.navigateTo({
  119. url: '/pages/myPledge/myPledge'
  120. })
  121. },
  122. nav() {
  123. uni.navigateTo({
  124. url: '/pages/zyXingqing/zyXingqing'
  125. })
  126. }
  127. }
  128. };
  129. </script>
  130. <style lang="scss">
  131. .all {
  132. width: 750rpx;
  133. height: 100%;
  134. background-color: #000000;
  135. }
  136. .top {
  137. // margin-top: 77rpx;
  138. padding-top: 40rpx;
  139. margin-left: 305rpx;
  140. height: 34rpx;
  141. font-size: 36rpx;
  142. font-family: PingFang SC;
  143. font-weight: bold;
  144. color: #ffffff;
  145. line-height: 55rpx;
  146. }
  147. .img {
  148. margin-left: 27rpx;
  149. margin-top: 58rpx;
  150. }
  151. .my {
  152. margin-top: 23rpx;
  153. background-color: #191a1f;
  154. display: flex;
  155. view {
  156. flex-grow: 1;
  157. font-size: 30rpx;
  158. font-family: PingFang SC;
  159. font-weight: bold;
  160. color: #ffffff;
  161. padding-left: 20rpx;
  162. padding-top: 20rpx;
  163. }
  164. .right {
  165. width: 16rpx;
  166. height: 26rpx;
  167. margin-top: 26rpx;
  168. }
  169. }
  170. .buttom {
  171. display: flex;
  172. justify-content: space-between;
  173. width: 696rpx;
  174. height: 252rpx;
  175. background: #191a1f;
  176. border-radius: 18rpx;
  177. margin-left: 28rpx;
  178. margin-top: 20rpx;
  179. margin-bottom: 8rpx;
  180. }
  181. .le1 {
  182. margin-left: 28rpx;
  183. margin-top: 24rpx;
  184. }
  185. .le2 {
  186. margin-left: 25rpx;
  187. p {
  188. height: 17rpx;
  189. font-size: 21rpx;
  190. font-family: PingFang SC;
  191. font-weight: 500;
  192. color: #999999;
  193. line-height: 43rpx;
  194. }
  195. }
  196. .r1 {
  197. margin-top: 35rpx;
  198. height: 36rpx;
  199. font-size: 47rpx;
  200. font-family: PingFang SC;
  201. font-weight: 800;
  202. color: #FF0102;
  203. line-height: 43rpx;
  204. }
  205. .r2 {
  206. margin-top: 25rpx;
  207. height: 20rpx;
  208. font-size: 21rpx;
  209. font-family: PingFang SC;
  210. font-weight: 500;
  211. color: #999999;
  212. line-height: 43rpx;
  213. }
  214. .r3{
  215. margin-top: 50rpx;
  216. }
  217. </style>