tabulation.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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. uni.setNavigationBarColor({
  62. frontColor: '#ffffff',
  63. backgroundColor: '#000000',
  64. });
  65. },
  66. methods: {
  67. async spread() {
  68. const res = await spread()
  69. console.log('11', res);
  70. },
  71. navX() {
  72. uni.navigateTo({
  73. url: '/pages/user/vip/details'
  74. })
  75. },
  76. }
  77. }
  78. </script>
  79. <style lang="scss">
  80. .all {
  81. width: 750rpx;
  82. min-height: 100vh;
  83. background-color: $page-color-base;
  84. }
  85. .row {
  86. display: flex;
  87. justify-content: space-between;
  88. }
  89. .rowT {
  90. display: flex;
  91. justify-content: space-between;
  92. margin-top: 20rpx;
  93. }
  94. .row1 {
  95. width: 325rpx;
  96. height: 168rpx;
  97. background: #191A1F;
  98. border-radius: 10rpx;
  99. margin-left: 36rpx;
  100. }
  101. .wenben {
  102. height: 27rpx;
  103. font-size: 28rpx;
  104. font-weight: 500;
  105. color: #FFFFFF;
  106. margin-left: 107rpx;
  107. margin-top: 22rpx;
  108. }
  109. .shu {
  110. width: 52rpx;
  111. height: 35rpx;
  112. font-size: 46rpx;
  113. font-weight: bold;
  114. color: #FEB041;
  115. margin-left: 136rpx;
  116. margin-top: 43rpx;
  117. }
  118. .row2 {
  119. width: 325rpx;
  120. height: 168rpx;
  121. background: #191A1F;
  122. border-radius: 10rpx;
  123. margin-right: 36rpx;
  124. }
  125. .list {
  126. width: 684rpx;
  127. height: 262rpx;
  128. background: #191A1F;
  129. border-radius: 16rpx;
  130. margin-left: 36rpx;
  131. margin-top: 25rpx;
  132. }
  133. .top {
  134. display: flex;
  135. justify-content: start;
  136. }
  137. .nc {
  138. height: 31rpx;
  139. font-size: 32rpx;
  140. font-weight: bold;
  141. color: #FFFFFF;
  142. margin-left: 35rpx;
  143. padding-top: 40rpx;
  144. }
  145. .img {
  146. width: 100rpx;
  147. height: 32rpx;
  148. margin-left: 20rpx;
  149. margin-top: 46rpx;
  150. object-fit: cover;
  151. }
  152. .center {
  153. display: flex;
  154. justify-content: start;
  155. }
  156. .sj {
  157. margin-left: 34rpx;
  158. margin-top: 25rpx;
  159. height: 22rpx;
  160. float: length($list: 231rpx);
  161. font-size: 28rpx;
  162. font-weight: 500;
  163. color: #999999;
  164. }
  165. .xq {
  166. margin-top: 25rpx;
  167. margin-left: 290rpx;
  168. height: 26rpx;
  169. font-size: 28rpx;
  170. font-family: PingFang SC;
  171. font-weight: 500;
  172. color: #999999;
  173. float: length($list: 54rpx);
  174. }
  175. .ima {
  176. width: 13rpx;
  177. height: 19rpx;
  178. margin-top: 35rpx;
  179. margin-left: 20rpx;
  180. }
  181. .xian {
  182. width: 618rpx;
  183. height: 1rpx;
  184. background: #DDE1EB;
  185. opacity: 0.2;
  186. margin-left: 20rpx;
  187. margin-top: 30rpx;
  188. }
  189. .last {
  190. display: flex;
  191. justify-content: start;
  192. }
  193. .left {
  194. font-size: 28rpx;
  195. font-family: PingFang SC;
  196. font-weight: 500;
  197. color: #999999;
  198. margin-left: 36rpx;
  199. margin-top: 30rpx;
  200. }
  201. .leftT {
  202. font-size: 28rpx;
  203. font-weight: 500;
  204. color: #b98134;
  205. margin-top: 30rpx;
  206. }
  207. .right {
  208. font-size: 28rpx;
  209. font-weight: 500;
  210. color: #999999;
  211. margin-left: 200rpx;
  212. margin-top: 30rpx;
  213. }
  214. .rightT {
  215. font-size: 28rpx;
  216. font-weight: 500;
  217. color: #ffffff;
  218. margin-top: 30rpx;
  219. }
  220. </style>