青蛙卖大米小程序2024-11-24
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.

170 lines
2.9 KiB

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
  1. <template>
  2. <view class="page">
  3. <navbar title="充值"
  4. bgColor="#A3D250"
  5. color="#fff"
  6. leftClick
  7. @leftClick="$utils.navigateBack" />
  8. <view class="bg"/>
  9. <view class="price">
  10. <view class="title">
  11. 请输入充值金额
  12. </view>
  13. <view class="input-box">
  14. <view class="input">
  15. <input type="text" v-model="num"/>
  16. </view>
  17. </view>
  18. <view class="num">
  19. 可充值金额16666
  20. </view>
  21. </view>
  22. <view class="cell">
  23. <view class="cell-top">充值说明</view>
  24. <view style="padding: 0 20rpx 20rpx 20rpx;">
  25. <uv-parse :content="configList.recharge_instructions"></uv-parse>
  26. </view>
  27. </view>
  28. <view class="uni-color-btn">
  29. 充值
  30. </view>
  31. <!-- <view class="cell">
  32. <view class="cell-top">提现记录</view>
  33. <view class="cell-box"
  34. :key="index"
  35. v-for="(item,index) in list">
  36. <uv-cell-group>
  37. <uv-cell
  38. :title="item.title"
  39. :label="item.createTime"
  40. :center="true">
  41. <template #value>
  42. <view class="cell-text">
  43. <view class="price-text">-19.9</view>
  44. <view class="tips">已到账</view>
  45. </view>
  46. </template>
  47. </uv-cell>
  48. </uv-cell-group>
  49. </view>
  50. </view> -->
  51. </view>
  52. </template>
  53. <script>
  54. import mixinsList from '@/mixins/list.js'
  55. export default {
  56. mixins : [mixinsList],
  57. data() {
  58. return {
  59. // mixinsListApi : 'getWaterPageList',
  60. list : [
  61. {
  62. title : '直播收入',
  63. type : 0,
  64. createTime : '2021-12-12',
  65. }
  66. ],
  67. type : ['-', '+'],
  68. num : 0,
  69. }
  70. },
  71. methods: {
  72. }
  73. }
  74. </script>
  75. <style scoped lang="scss">
  76. .page{
  77. .bg{
  78. background-color: $uni-color;
  79. height: 380rpx;
  80. position: absolute;
  81. left: 0;
  82. width: 100%;
  83. z-index: -1;
  84. border-bottom-left-radius: 30rpx;
  85. border-bottom-right-radius: 30rpx;
  86. }
  87. .price{
  88. color: #FFFFFF;
  89. padding: 40rpx;
  90. .title{
  91. color: #eee;
  92. font-size: 28rpx;
  93. }
  94. .input-box{
  95. background-color: #FFFFFF;
  96. color: $uni-color;
  97. display: flex;
  98. justify-content: center;
  99. border-radius: 30rpx;
  100. align-items: center;
  101. padding: 10rpx;
  102. margin: 20rpx 0;
  103. .input{
  104. color: #000;
  105. font-size: 40rpx;
  106. font-weight: 900;
  107. display: flex;
  108. flex: 1;
  109. input{
  110. flex: 1;
  111. padding: 14rpx 20rpx;
  112. }
  113. }
  114. }
  115. .num{
  116. font-size: 30rpx;
  117. font-weight: 900;
  118. margin-top: 10rpx;
  119. }
  120. }
  121. .cell {
  122. margin: 20rpx;
  123. background-color: #FFFFFF;
  124. border-radius: 16rpx;
  125. .cell-top {
  126. padding: 40rpx 34rpx;
  127. color: #474747;
  128. font-size: 34rpx;
  129. font-weight: 600;
  130. position: relative;
  131. &::after{
  132. content: '';
  133. display: block;
  134. position: absolute;
  135. left: 55rpx;
  136. bottom: 38rpx;
  137. height: 10rpx;
  138. width: 120rpx;
  139. background: linear-gradient(to right, #fff, $uni-color);
  140. }
  141. }
  142. .cell-text{
  143. text-align: right;
  144. .price-text{
  145. color: #f40;
  146. font-size: 32rpx;
  147. font-weight: 900;
  148. }
  149. .tips{
  150. font-size: 22rpx;
  151. color: #aaa;
  152. margin-top: 10rpx;
  153. }
  154. }
  155. }
  156. }
  157. </style>