洛阳学员端
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.

182 lines
4.2 KiB

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