tabulation.vue 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. <template>
  2. <view class="all">
  3. <view class="row">
  4. <view class="row1">
  5. <view class="shu">30</view>
  6. <view class="wenben">{{$t('huiyuan.a1')}}</view>
  7. </view>
  8. <view class="row2">
  9. <view class="shu">30</view>
  10. <view class="wenben">{{$t('huiyuan.a2')}}</view>
  11. </view>
  12. </view>
  13. <view class="rowT">
  14. <view class="row1">
  15. <view class="shu">30</view>
  16. <view class="wenben">{{$t('huiyuan.a3')}}</view>
  17. </view>
  18. <view class="row2">
  19. <view class="shu">30</view>
  20. <view class="wenben">{{$t('huiyuan.a4')}}</view>
  21. </view>
  22. </view>
  23. <view class="list" v-for="item in 12" :key="item">
  24. <view class="top">
  25. <view class="nc">123****032@qq.com</view>
  26. <view class="">
  27. <image class="img" src="/static/shouye/huiyuan.png" mode=""></image>
  28. </view>
  29. </view>
  30. <view class="center" @click="navX">
  31. <view class="sj">2023.05.05 15:00</view>
  32. <view class="xq">{{$t('huiyuan.a5')}}</view>
  33. <view class="">
  34. <image class="ima" src="/static/icon/jt.png" mode=""></image>
  35. </view>
  36. </view>
  37. <view class="xian"></view>
  38. <view class="last">
  39. <view class="left">{{$t('huiyuan.a6')}}:</view>
  40. <view class="leftT">5000U</view>
  41. <view class="right">{{$t('huiyuan.a7')}}:</view>
  42. <view class="rightT">50</view>
  43. </view>
  44. </view>
  45. <view class="bto">
  46. </view>
  47. </view>
  48. </template>
  49. <script>
  50. import {spread} from "@/api/user.js"
  51. export default {
  52. data() {
  53. return {
  54. };
  55. },
  56. onLoad() {
  57. this.spread();
  58. uni.setNavigationBarTitle({
  59. title: this.$t("tab.b1"),
  60. });
  61. },
  62. methods: {
  63. async spread() {
  64. const res = await spread()
  65. console.log('11', res);
  66. },
  67. navX() {
  68. uni.navigateTo({
  69. url: '/pages/user/vip/details'
  70. })
  71. },
  72. }
  73. }
  74. </script>
  75. <style lang="scss">
  76. .all {
  77. width: 750rpx;
  78. min-height: 100vh;
  79. background-color: $page-color-base;
  80. }
  81. .row {
  82. display: flex;
  83. justify-content: space-between;
  84. }
  85. .rowT {
  86. display: flex;
  87. justify-content: space-between;
  88. margin-top: 20rpx;
  89. }
  90. .row1 {
  91. width: 325rpx;
  92. height: 168rpx;
  93. background: #191A1F;
  94. border-radius: 10rpx;
  95. margin-left: 36rpx;
  96. }
  97. .wenben {
  98. height: 27rpx;
  99. font-size: 28rpx;
  100. font-weight: 500;
  101. color: #FFFFFF;
  102. margin-left: 107rpx;
  103. margin-top: 22rpx;
  104. }
  105. .shu {
  106. width: 52rpx;
  107. height: 35rpx;
  108. font-size: 46rpx;
  109. font-weight: bold;
  110. color: #FEB041;
  111. margin-left: 136rpx;
  112. margin-top: 43rpx;
  113. }
  114. .row2 {
  115. width: 325rpx;
  116. height: 168rpx;
  117. background: #191A1F;
  118. border-radius: 10rpx;
  119. margin-right: 36rpx;
  120. }
  121. .list {
  122. width: 684rpx;
  123. height: 262rpx;
  124. background: #191A1F;
  125. border-radius: 16rpx;
  126. margin-left: 36rpx;
  127. margin-top: 25rpx;
  128. }
  129. .top {
  130. display: flex;
  131. justify-content: start;
  132. }
  133. .nc {
  134. height: 31rpx;
  135. font-size: 32rpx;
  136. font-weight: bold;
  137. color: #FFFFFF;
  138. margin-left: 35rpx;
  139. padding-top: 40rpx;
  140. }
  141. .img {
  142. width: 100rpx;
  143. height: 32rpx;
  144. margin-left: 20rpx;
  145. margin-top: 46rpx;
  146. object-fit: cover;
  147. }
  148. .center {
  149. display: flex;
  150. justify-content: start;
  151. }
  152. .sj {
  153. margin-left: 34rpx;
  154. margin-top: 25rpx;
  155. height: 22rpx;
  156. float: length($list: 231rpx);
  157. font-size: 28rpx;
  158. font-weight: 500;
  159. color: #999999;
  160. }
  161. .xq {
  162. margin-top: 25rpx;
  163. margin-left: 290rpx;
  164. height: 26rpx;
  165. font-size: 28rpx;
  166. font-family: PingFang SC;
  167. font-weight: 500;
  168. color: #999999;
  169. float: length($list: 54rpx);
  170. }
  171. .ima {
  172. width: 13rpx;
  173. height: 19rpx;
  174. margin-top: 35rpx;
  175. margin-left: 20rpx;
  176. }
  177. .xian {
  178. width: 618rpx;
  179. height: 1rpx;
  180. background: #DDE1EB;
  181. opacity: 0.2;
  182. margin-left: 20rpx;
  183. margin-top: 30rpx;
  184. }
  185. .last {
  186. display: flex;
  187. justify-content: start;
  188. }
  189. .left {
  190. font-size: 28rpx;
  191. font-family: PingFang SC;
  192. font-weight: 500;
  193. color: #999999;
  194. margin-left: 36rpx;
  195. margin-top: 30rpx;
  196. }
  197. .leftT {
  198. font-size: 28rpx;
  199. font-weight: 500;
  200. color: #b98134;
  201. margin-top: 30rpx;
  202. }
  203. .right {
  204. font-size: 28rpx;
  205. font-weight: 500;
  206. color: #999999;
  207. margin-left: 200rpx;
  208. margin-top: 30rpx;
  209. }
  210. .rightT {
  211. font-size: 28rpx;
  212. font-weight: 500;
  213. color: #ffffff;
  214. margin-top: 30rpx;
  215. }
  216. </style>