returnBalance.vue 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <template>
  2. <view>
  3. <u-navbar title="退余额" title-color="#101010" ></u-navbar>
  4. <!-- 余额 -->
  5. <view class="balance">
  6. <view class="number">
  7. 888.00
  8. </view>
  9. <view class="text">
  10. 可退余额(元)
  11. <text><image class="img" src="@/assets/img/riLine-question-line 1.svg" mode="" @click="open"></image></text >
  12. </view>
  13. <u-modal v-model="show" :content="content"></u-modal>
  14. </view>
  15. <!-- 记录 -->
  16. <view class="record">
  17. <view class="title">
  18. <view class="icon">
  19. <image src="@/assets/img/riFill-file-list-3-fill 1.svg" class="img" mode=""></image>
  20. </view>
  21. <view class="text">
  22. 退费记录
  23. </view>
  24. </view>
  25. <view class="record-group">
  26. <view class="item">
  27. <view class="way-state">
  28. <view class="way">
  29. 退至 对公账户
  30. </view>
  31. <view class="state">
  32. 退款中
  33. </view>
  34. </view>
  35. <view class="time-money">
  36. <view class="time">
  37. 01-01 00:01
  38. </view>
  39. <view class="money">
  40. 888.00元
  41. </view>
  42. </view>
  43. </view>
  44. <view class="item">
  45. <view class="way-state">
  46. <view class="way">
  47. 退至 对公账户
  48. </view>
  49. <view class="state state2">
  50. 已退款
  51. </view>
  52. </view>
  53. <view class="time-money">
  54. <view class="time">
  55. 01-01 00:01
  56. </view>
  57. <view class="money">
  58. 888.00元
  59. </view>
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. <!-- 退款 -->
  65. <view class="bottom">
  66. <button class="btn" @click="open2">申请退款</button>
  67. <u-modal v-model="show2" :content="content2" :show-cancel-button="true"></u-modal>
  68. </view>
  69. </view>
  70. </template>
  71. <script>
  72. export default {
  73. data() {
  74. return {
  75. show: false,
  76. show2:false,
  77. content: '本平台仅支持可退费金额全额退费。充值退款申请成功后退费金额将于5个工作日内退还至您的充值账户、对公转账金额将退还至您的对公账户。在本平台,三个月内的支付宝充值、微信支付可申请退费。退费成功后,您可以在退费记录查看退费信息和审核进度。',
  78. content2:'是否提交退费申请?申请成功后退费金额将于5个工作日内退款至您的充值账户。对公转账余额退费,申请成功后工作人员将在5~10个工作日内退款至您的对公账户。'
  79. }
  80. },
  81. methods: {
  82. open() {
  83. this.show = true;
  84. },
  85. open2() {
  86. this.show2 = true;
  87. }
  88. }
  89. }
  90. </script>
  91. <style lang="scss" scoped>
  92. // 余额
  93. .balance{
  94. background-color: #fff;
  95. text-align: center;
  96. padding: 32rpx 0;
  97. .number{
  98. color: rgb(16,16,16);
  99. font-size: 72rpx;
  100. }
  101. .text{
  102. color: rgba(119,119,119,1);
  103. .img{
  104. width: 32rpx;
  105. height: 32rpx;
  106. margin-left: 4rpx;
  107. vertical-align: middle;
  108. }
  109. }
  110. }
  111. // 记录
  112. .record{
  113. background-color: #fff;
  114. margin-top: 24rpx;
  115. .title{
  116. display: flex;
  117. align-items: center;
  118. padding: 24rpx 32rpx;
  119. .icon{
  120. .img{
  121. width: 40rpx;
  122. height: 40rpx;
  123. vertical-align: middle;
  124. }
  125. }
  126. .text{
  127. color: rgb(16,16,16);
  128. font-size: 36rpx;
  129. margin-left: 8rpx;
  130. }
  131. }
  132. .record-group{
  133. .item{
  134. padding: 24rpx 32rpx;
  135. border-top: 1px solid rgba(221,221,221,1);
  136. .way-state{
  137. display: flex;
  138. justify-content: space-between;
  139. align-items: center;
  140. margin-bottom: 8rpx;
  141. .way{
  142. color: rgba(51,51,51,1);
  143. font-size: 32rpx;
  144. }
  145. .state{
  146. color: rgba(255,123,0,1);
  147. font-size: 32rpx;
  148. }
  149. .state2{
  150. color: rgba(0,185,98,1);
  151. }
  152. }
  153. .time-money{
  154. display: flex;
  155. justify-content: space-between;
  156. align-items: center;
  157. .time{
  158. color: rgb(153,153,153);
  159. }
  160. .money{
  161. color: rgba(16,16,16,1);
  162. }
  163. }
  164. }
  165. }
  166. }
  167. // 退款
  168. .bottom{
  169. position: fixed;
  170. bottom: 0;
  171. left: 0;
  172. right: 0;
  173. padding: 24rpx 32rpx;
  174. background-color: #fff;
  175. .btn{
  176. line-height: 80rpx;
  177. border-radius: 50px;
  178. background: linear-gradient(-88.46deg, rgba(34,109,198,1) 2.59%,rgba(9,158,237,1) 97.02%);
  179. color: rgba(255,255,255,1);
  180. font-size: 36rpx;
  181. }
  182. }
  183. </style>