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.

refund-deposit-card.vue 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. <template>
  2. <nav-bar title="申请退款"></nav-bar>
  3. <view class="oderPage">
  4. <view class="details">
  5. <view class="header">
  6. <image :src="`${$imgUrl}order/no1.png`" mode=""></image>
  7. <text>GZ92400001</text>
  8. </view>
  9. <view class="hr">
  10. </view>
  11. <view class="row">
  12. <view class="">
  13. 圈存金额:
  14. </view>
  15. <text>10000</text>
  16. </view>
  17. <view class="row">
  18. <view class="">
  19. 圈存状态:
  20. </view>
  21. <text>未使用(半条)</text>
  22. </view>
  23. <view class="row">
  24. <view class="">
  25. 当前卡内金额读取:
  26. </view>
  27. <text style="color: #FF8000;">99.00元</text>
  28. </view>
  29. </view>
  30. <view class="choice">
  31. <view class="tips">
  32. <text style="color: red;">*</text>退款原因:
  33. </view>
  34. <u-checkbox-group @change="checkboxGroupChange">
  35. <u-checkbox @change="checkboxChange" v-model="item.checked" v-for="(item, index) in list" :key="index"
  36. :name="item.name" active-color="#00B38B">{{item.name}}</u-checkbox>
  37. </u-checkbox-group>
  38. </view>
  39. <button class="submit">提交申请</button>
  40. </view>
  41. </template>
  42. <script setup lang="ts">
  43. import {
  44. ref,
  45. reactive
  46. } from "vue";
  47. const reason = ref('')
  48. // 单选数据列表
  49. const list = reactive([{
  50. name: '退货原因1',
  51. disabled: false
  52. },
  53. {
  54. name: '退货原因2',
  55. disabled: false
  56. },
  57. {
  58. name: '退货原因3',
  59. disabled: false
  60. },
  61. {
  62. name: '退货原因4',
  63. disabled: false
  64. },
  65. {
  66. name: '退货原因5',
  67. disabled: false
  68. },
  69. ], )
  70. const checkboxGroupChange = (n) => {
  71. console.log('checkboxGroupChange', n);
  72. }
  73. const checkboxChange = (n) => {
  74. console.log('checkboxChange', n);
  75. }
  76. </script>
  77. <style>
  78. page {
  79. width: 100%;
  80. height: 100%;
  81. display: flex;
  82. flex-direction: column;
  83. background-color: #F3F3F3;
  84. }
  85. </style>
  86. <style lang="scss" scoped>
  87. .oderPage {
  88. flex: 1;
  89. width: 100%;
  90. background-color: #EEF7F7;
  91. padding: 30rpx;
  92. .details {
  93. width: 100%;
  94. // height: 300rpx;
  95. background: #fff;
  96. border-radius: 20rpx;
  97. padding: 30rpx;
  98. height: 302rpx;
  99. background: #FFFFFF;
  100. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  101. border-radius: 20rpx;
  102. position: relative;
  103. .header {
  104. align-items: center;
  105. display: flex;
  106. padding-bottom: 30rpx;
  107. // border-bottom: 1px solid #DCDCDC;
  108. image {
  109. width: 51rpx;
  110. height: 31rpx;
  111. }
  112. text {
  113. font-size: 30rpx;
  114. margin-left: 20rpx;
  115. font-weight: 600;
  116. }
  117. }
  118. .hr {
  119. width: 100%;
  120. height: 1rpx;
  121. background: #DCDCDC;
  122. position: absolute;
  123. transform: translate(-50%);
  124. left: 50%;
  125. }
  126. .row {
  127. display: flex;
  128. margin: 20rpx 0;
  129. font-size: 26rpx;
  130. font-family: Noto Sans S Chinese;
  131. font-weight: 400;
  132. color: #333333;
  133. line-height: 30rpx;
  134. view {
  135. font-size: 26rpx;
  136. font-family: Noto Sans S Chinese;
  137. font-weight: 400;
  138. color: #999999;
  139. line-height: 30rpx;
  140. }
  141. }
  142. }
  143. .choice {
  144. width: 100%;
  145. min-height: 300rpx;
  146. background: #fff;
  147. border-radius: 20rpx;
  148. padding: 30rpx;
  149. margin-top: 30rpx;
  150. box-sizing: border-box;
  151. .tips {
  152. padding: 20rpx 0;
  153. font-size: 30rpx;
  154. font-weight: 600;
  155. margin-bottom: 30rpx;
  156. }
  157. ::v-deep .u-checkbox {
  158. width: 50% !important;
  159. margin-bottom: 30rpx;
  160. }
  161. }
  162. .submit {
  163. height: 80rpx;
  164. background: linear-gradient(-90deg, #43A1E0 0%, #13E7C1 100%);
  165. box-shadow: 0rpx 4rpx 11rpx 1rpx rgba(223, 223, 223, 0.5);
  166. border-radius: 40rpx;
  167. font-size: 32rpx;
  168. font-family: Microsoft YaHei;
  169. font-weight: 400;
  170. color: #FFFFFF;
  171. line-height: 80rpx;
  172. position: fixed;
  173. bottom: 70rpx;
  174. width: 670rpx;
  175. left: 50%;
  176. transform: translate(-50%);
  177. }
  178. }
  179. </style>