珠宝小程序前端代码
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.

169 lines
3.5 KiB

3 months ago
  1. <template>
  2. <view class="purse">
  3. <navbar title="提现" leftClick @leftClick="$utils.navigateBack" />
  4. <view class="top-box">
  5. <view class="top-one">
  6. 输入提现金额
  7. </view>
  8. <view class="top-two">
  9. <view>168.88</view>
  10. <view>全部提现</view>
  11. </view>
  12. <view class="top-three">
  13. <view>可提现金额</view>
  14. <view>168.88</view>
  15. </view>
  16. </view>
  17. <view class="middle">
  18. <view class="middle-one">提现说明</view>
  19. <view style="padding-bottom: 20rpx;">
  20. <view class="middle-two">
  21. <view style="color: #A7D458;">1.</view>
  22. <view>说明文本说明文本说明文本说明文本说明文本说明文本说明文本说明文本说明文本说明文本</view>
  23. </view>
  24. <view class="middle-two">
  25. <view style="color: #A7D458;">2.</view>
  26. <view>说明文本说明文本说明文本说明文本说明文本说明文本说明文本说明文本说明文本说明文本</view>
  27. </view>
  28. </view>
  29. </view>
  30. <view class="cell">
  31. <view class="middle-one">提现记录</view>
  32. <uv-cell-group>
  33. <uv-cell :center="true" :border="false" v-for="(item,index) in 10" :key="index">
  34. <template v-slot:title>
  35. <text style="font-size: 28rpx;">提现</text>
  36. </template>
  37. <template v-slot:label>
  38. <text style="font-size: 24rpx;color: #999; margin-top: 10rpx;">2024-11-12 12:56:48</text>
  39. </template>
  40. <template v-slot:value>
  41. <view>
  42. <view style="font-size: 28rpx;">+56.6</view>
  43. <view style="font-size: 24rpx;color: #999; margin-top: 10rpx;">提现成功</view>
  44. </view>
  45. </template>
  46. </uv-cell>
  47. </uv-cell-group>
  48. </view>
  49. <view class="b-fiexd">
  50. <view class="button-submit">确定提现</view>
  51. </view>
  52. </view>
  53. </template>
  54. <script>
  55. export default {
  56. data() {
  57. return {
  58. notice: ''
  59. }
  60. },
  61. methods: {
  62. }
  63. }
  64. </script>
  65. <style scoped lang="scss">
  66. .purse {
  67. min-height: 100vh;
  68. background-color: #F3F3F3;
  69. .top-box {
  70. height: 370rpx;
  71. width: 100%;
  72. background-image: url(../static/home/2.png);
  73. background-size: 100% 100%;
  74. .top-one {
  75. font-size: 28rpx;
  76. color: #FFF;
  77. padding: 40rpx 20rpx 10rpx 20rpx;
  78. }
  79. .top-two {
  80. display: flex;
  81. justify-content: space-between;
  82. align-items: center;
  83. margin: 10rpx;
  84. padding: 10rpx;
  85. background-color: #FFF;
  86. border-radius: 16rpx;
  87. view:nth-child(1) {
  88. font-size: 80rpx;
  89. color: #474747;
  90. }
  91. view:nth-child(2) {
  92. font-size: 28rpx;
  93. color: #92D823;
  94. }
  95. }
  96. .top-three {
  97. display: flex;
  98. padding: 10rpx 20rpx;
  99. color: #474747;
  100. font-size: 28rpx;
  101. view:nth-child(2) {
  102. color: #F53546;
  103. }
  104. }
  105. }
  106. .middle {
  107. margin: 0 20rpx;
  108. background-color: #fff;
  109. border-radius: 16rpx;
  110. margin-top: -70rpx;
  111. .middle-one {
  112. font-size: 34rpx;
  113. color: #474747;
  114. font-weight: 600;
  115. padding: 40rpx 20rpx 10rpx;
  116. }
  117. .middle-two {
  118. display: flex;
  119. margin: 20rpx;
  120. font-size: 26rpx;
  121. color: #A2A2A2;
  122. }
  123. }
  124. .cell {
  125. margin: 20rpx;
  126. background-color: #fff;
  127. border-radius: 16rpx;
  128. .middle-one {
  129. font-size: 34rpx;
  130. color: #474747;
  131. font-weight: 600;
  132. padding: 40rpx 20rpx 10rpx;
  133. }
  134. }
  135. .button-submit {
  136. width: 596rpx;
  137. height: 90rpx;
  138. line-height: 90rpx;
  139. background: $uni-color;
  140. border-radius: 46rpx;
  141. margin: 20rpx auto;
  142. font-size: 28rpx;
  143. font-family: PingFang SC, PingFang SC-Regular;
  144. font-weight: 400;
  145. text-align: center;
  146. color: #ffffff;
  147. }
  148. }
  149. </style>