学员端小程序
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.

199 lines
4.6 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <template>
  2. <view class="pageBgImg">
  3. <topNavbar title="同城转校"></topNavbar>
  4. <view class="pad">
  5. <view class="card">
  6. <view class="tpsBox">
  7. <view class="row">
  8. <view class="icon">
  9. <image src="@/static/images/userCenter/warn.png" mode=""></image>
  10. </view>
  11. <view class="tps">请与教练协商确认达成一致后填写协商好的退款金额</view>
  12. </view>
  13. </view>
  14. </view>
  15. <view class="card">
  16. <view class="row" @click="showReason=true">
  17. <view class="lab">退款原因</view>
  18. <view class="val">申请同城转校</view>
  19. <view class="icon">
  20. <u-icon name="arrow-right"></u-icon>
  21. </view>
  22. </view>
  23. <view class="tpsBlue">此操作容易造成您已有学时丢失请谨慎</view>
  24. <view class="row">
  25. <view class="lab">退款金额</view>
  26. <view class="val">
  27. <u--input placeholder="请输入" border="none" clearable type="number" maxlength="11" v-model="FormData.phone"></u--input>
  28. </view>
  29. </view>
  30. <view class="tpsHui">退款金额不可超过¥2000.00</view>
  31. </view>
  32. <view class="h1">收款信息</view>
  33. <view class="card">
  34. <view class="row">
  35. <view class="lab">持卡人</view>
  36. <view class="val">
  37. <u--input placeholder="请输入" border="none" clearable type="number" maxlength="11" v-model="FormData.phone"></u--input>
  38. </view>
  39. </view>
  40. <view class="row">
  41. <view class="lab">手机号</view>
  42. <view class="val">
  43. <view class="flex-b">
  44. <view class="inputBox">
  45. <u--input placeholder="请输入" border="none" clearable type="number" maxlength="11" v-model="FormData.phone"></u--input>
  46. </view>
  47. <view class="code">获取验证码</view>
  48. </view>
  49. </view>
  50. </view>
  51. <view class="row">
  52. <view class="lab">验证码</view>
  53. <view class="val">
  54. <u--input placeholder="请输入" border="none" clearable type="number" maxlength="11" v-model="FormData.phone"></u--input>
  55. </view>
  56. </view>
  57. <view class="row">
  58. <view class="lab">卡号</view>
  59. <view class="val">
  60. <view class="flex-b">
  61. <view class="inputBox">
  62. <u--input placeholder="请输入" border="none" clearable type="number" maxlength="11" v-model="FormData.phone"></u--input>
  63. </view>
  64. <view class="scan">
  65. <image src="@/static/images/userCenter/btn_yinhangkax.png" mode=""></image>
  66. </view>
  67. </view>
  68. </view>
  69. </view>
  70. <view class="row">
  71. <view class="lab">开户行</view>
  72. <view class="val">
  73. <u--input placeholder="请输入" border="none" clearable type="number" maxlength="11" v-model="FormData.phone"></u--input>
  74. </view>
  75. </view>
  76. </view>
  77. <view class="btnBg">提交</view>
  78. </view>
  79. <u-picker :show="showReason" :columns="reasonArr" keyName="lab" @confirm="confirmReason" @cancel="showReason=false"></u-picker>
  80. </view>
  81. </template>
  82. <script>
  83. export default {
  84. data() {
  85. return {
  86. FormData: {
  87. },
  88. showReason: false ,
  89. reasonArr: [
  90. [
  91. {lab: '不想学了',id: 1},
  92. {lab: '有事情',id: 2},
  93. {lab: '去别的地方学',id: 3},
  94. ]
  95. ],
  96. }
  97. },
  98. methods: {
  99. confirmReason(val) {
  100. let item = val.value[0]
  101. this.showReason = false
  102. console.log(item)
  103. }
  104. }
  105. }
  106. </script>
  107. <style lang="scss" scoped>
  108. .card {
  109. padding: 12rpx 28rpx;
  110. margin-bottom: 24rpx;
  111. .tpsBox {
  112. height: 140rpx;
  113. background: #FFFFFF;
  114. border-radius: 16rpx;
  115. .row {
  116. height: 100%;
  117. display: flex;
  118. align-items: center;
  119. .icon {
  120. width: 36rpx;
  121. height: 36rpx;
  122. }
  123. .tps {
  124. padding-left: 26rpx;
  125. font-size: 28rpx;
  126. font-weight: 600;
  127. color: $themC;
  128. line-height: 1.2em;
  129. }
  130. }
  131. }
  132. }
  133. .h1 {
  134. margin-bottom: 20rpx;
  135. }
  136. .card {
  137. .row {
  138. display: flex;
  139. align-items: center;
  140. justify-content: space-between;
  141. height: 80rpx;
  142. line-height: 80rpx;
  143. .lab {
  144. font-size: 28rpx;
  145. color: #333;
  146. font-weight: 500;
  147. width: 152rpx;
  148. }
  149. .val {
  150. flex: 1;
  151. &.tpsBlue {
  152. font-size: 24rpx;
  153. }
  154. .flex-b {
  155. .scan {
  156. width: 44rpx;
  157. height: 44rpx;
  158. }
  159. .code {
  160. flex-shrink: 0;
  161. color: #ADADAD;
  162. &.active {
  163. color: $themC;
  164. }
  165. }
  166. }
  167. }
  168. .icon {
  169. u-icon {
  170. }
  171. }
  172. }
  173. .tpsBlue {
  174. color: $themC;
  175. margin-bottom: 10rpx;
  176. padding-left: 152rpx;
  177. font-size: 24rpx;
  178. }
  179. .tpsHui {
  180. font-size: 24rpx;
  181. color: #ADADAD;
  182. padding: 0rpx 0 16rpx 0;
  183. }
  184. }
  185. .btnBg {
  186. width: 396rpx;
  187. margin: 94rpx auto;
  188. }
  189. </style>