You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

171 lines
3.4 KiB

8 months ago
  1. <template>
  2. <view class="content">
  3. <view class="banner"></view>
  4. <view class="center-data b-relative data-font1">
  5. <view class="flex flex-sb data-font2">
  6. <view class="sb-w3">可用余额</view>
  7. <view class="sb-w3">累计提现</view>
  8. <view class="sb-w3">累积收益</view>
  9. </view>
  10. <view class="flex flex-sb mt40">
  11. <view class="sb-w3">1240.00</view>
  12. <view class="sb-w3">190.00</view>
  13. <view class="sb-w3">870.00</view>
  14. </view>
  15. <view class="flex flex-sb mt20">
  16. <view class="sb-w3">
  17. <view class="data-button">粉丝</view>
  18. </view>
  19. <view class="sb-w3">
  20. <view class="data-button">提现</view>
  21. </view>
  22. <view class="sb-w3">
  23. <view class="data-button">二维码</view>
  24. </view>
  25. </view>
  26. </view>
  27. <view class="h88 flex flex-sb tab">
  28. <view>费用明细</view>
  29. <view>提现记录</view>
  30. <view class="tab-active">收益记录</view>
  31. </view>
  32. <view style="background: #f5f5f5; min-height: calc(100vh - 570rpx); padding: 20rpx 0 40rpx;">
  33. <view class="item-card">
  34. <view class="item-line bottom-line flex flex-sb" v-for="i in 10">
  35. <view>
  36. <view style="">头部按摩放松</view>
  37. <view style="color: #909090; font-size: 24rpx">2024-01-23 11:30:22</view>
  38. </view>
  39. <view>
  40. <view v-if="i%2 === 0" style="line-height: 80rpx;color: #fc5341;">+1240.00</view>
  41. <view v-else style="line-height: 80rpx;color: #333333;">-1240.00</view>
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. </template>
  48. <script>
  49. export default {
  50. data() {
  51. return {
  52. }
  53. },
  54. onShow() {
  55. },
  56. methods: {
  57. }
  58. }
  59. </script>
  60. <style scoped>
  61. body{
  62. background-color: #fff;
  63. }
  64. .banner {
  65. width: 100vw;
  66. height: calc(392rpx - 160rpx);
  67. background: linear-gradient(38deg,#4899a6 44%, #60bda2 100%);
  68. }
  69. .center-data{
  70. width: 606rpx;
  71. height: 208rpx;
  72. background: #f5fdfb;
  73. border-radius: 16rpx;
  74. box-shadow: 0 6rpx 12rpx 0 rgba(85,172,163,0.29);
  75. margin: -144rpx auto 0;
  76. padding: 32rpx 40rpx;
  77. }
  78. .data-font1{
  79. font-size: 36rpx;
  80. font-family: PingFang SC, PingFang SC-Heavy;
  81. font-weight: 800;
  82. text-align: center;
  83. color: #4c9fa6;
  84. }
  85. .data-font2{
  86. line-height: 40rpx;
  87. font-size: 28rpx;
  88. font-family: PingFang SC, PingFang SC-Bold;
  89. font-weight: 700;
  90. text-align: center;
  91. color: #333333;
  92. }
  93. .data-button{
  94. width: 152rpx;
  95. height: 60rpx;
  96. line-height: 60rpx;
  97. border: 2rpx solid #4c9fa6;
  98. border-radius: 8rpx;
  99. font-size: 28rpx;
  100. font-family: PingFang SC, PingFang SC-Bold;
  101. font-weight: 700;
  102. text-align: center;
  103. color: #4c9fa6;
  104. margin: 0 auto;
  105. }
  106. .tab{
  107. width: calc(100vw - 72rpx);
  108. font-size: 28rpx;
  109. font-family: PingFang SC, PingFang SC-Regular;
  110. font-weight: 400;
  111. color: #4f4f4f;
  112. text-align: center;
  113. background: #fff;
  114. margin: 30rpx auto 0;
  115. padding: 0 36rpx;
  116. }
  117. .tab view {
  118. width: calc((750rpx / 3) - 42rpx);
  119. margin: 0 50rpx;
  120. }
  121. .tab-active{
  122. font-size: 28rpx;
  123. font-family: PingFang SC, PingFang SC-Bold;
  124. font-weight: 700;
  125. color: #60bda2;
  126. border-bottom: 8rpx solid #60bda2;
  127. }
  128. .item-card{
  129. width: calc(708rpx - 80rpx);
  130. background: #ffffff;
  131. border-radius: 16rpx;
  132. margin: 0 auto;
  133. padding: 0 40rpx;
  134. font-size: 28rpx;
  135. font-family: PingFang SC, PingFang SC-Bold;
  136. font-weight: 700;
  137. text-align: left;
  138. color: #333333;
  139. }
  140. .item-line{
  141. line-height: 40rpx;
  142. width: calc(100%);
  143. height: 98rpx;
  144. padding: 40rpx 0 0;
  145. }
  146. </style>