pledge.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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. <view class="aa">
  105. </view>
  106. </view>
  107. </template>
  108. <script>
  109. export default {
  110. data() {
  111. return {};
  112. },
  113. methods: {
  114. navigator() {
  115. uni.navigateTo({
  116. url: '/pages/myPledge/myPledge'
  117. })
  118. },
  119. nav() {
  120. uni.navigateTo({
  121. url: '/pages/zyXingqing/zyXingqing'
  122. })
  123. }
  124. }
  125. };
  126. </script>
  127. <style lang="scss">
  128. .all {
  129. width: 750rpx;
  130. height: 100%;
  131. background-color: #000000;
  132. }
  133. .top {
  134. // margin-top: 77rpx;
  135. padding-top: 40rpx;
  136. margin-left: 305rpx;
  137. height: 34rpx;
  138. font-size: 36rpx;
  139. font-family: PingFang SC;
  140. font-weight: bold;
  141. color: #ffffff;
  142. line-height: 55rpx;
  143. }
  144. .img {
  145. margin-left: 27rpx;
  146. margin-top: 58rpx;
  147. }
  148. .my {
  149. margin-top: 23rpx;
  150. background-color: #191a1f;
  151. display: flex;
  152. view {
  153. flex-grow: 1;
  154. font-size: 30rpx;
  155. font-family: PingFang SC;
  156. font-weight: bold;
  157. color: #ffffff;
  158. padding-left: 20rpx;
  159. padding-top: 20rpx;
  160. }
  161. .right {
  162. width: 16rpx;
  163. height: 26rpx;
  164. margin-top: 26rpx;
  165. }
  166. }
  167. .buttom {
  168. display: flex;
  169. justify-content: space-between;
  170. width: 696rpx;
  171. height: 252rpx;
  172. background: #191a1f;
  173. border-radius: 18rpx;
  174. margin-left: 28rpx;
  175. margin-top: 20rpx;
  176. margin-bottom: 8rpx;
  177. }
  178. .le1 {
  179. margin-left: 28rpx;
  180. margin-top: 24rpx;
  181. }
  182. .le2 {
  183. margin-left: 25rpx;
  184. p {
  185. height: 17rpx;
  186. font-size: 21rpx;
  187. font-family: PingFang SC;
  188. font-weight: 500;
  189. color: #999999;
  190. line-height: 43rpx;
  191. }
  192. }
  193. .r1 {
  194. margin-top: 35rpx;
  195. height: 36rpx;
  196. font-size: 47rpx;
  197. font-family: PingFang SC;
  198. font-weight: 800;
  199. color: #FF0102;
  200. line-height: 43rpx;
  201. }
  202. .r2 {
  203. margin-top: 25rpx;
  204. height: 20rpx;
  205. font-size: 21rpx;
  206. font-family: PingFang SC;
  207. font-weight: 500;
  208. color: #999999;
  209. line-height: 43rpx;
  210. }
  211. .r3{
  212. margin-top: 50rpx;
  213. }
  214. .aa {
  215. width: 750rpx;
  216. height: 20rpx;
  217. background-color: #000000;
  218. }
  219. </style>