SignUpPayment.vue 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. <template>
  2. <div class="signupPayment">
  3. <m-header />
  4. <m-step :number="4" style="margin-top: .12rem" />
  5. <van-cell-group>
  6. <van-cell title="准考证号:" :border="false">
  7. <template #default>支付完成后系统生成</template>
  8. </van-cell>
  9. <van-cell title="考生名字:" :border="false">
  10. <template #default>白鸽</template>
  11. </van-cell>
  12. <van-cell title="报考专业:" :border="false">
  13. <template #default>钢琴</template>
  14. </van-cell>
  15. <van-cell title="报考曲目:" :border="false">
  16. <template #default>
  17. <p>钢琴音阶:B大调</p>
  18. <p>钢琴练习曲:音画练习曲 OP.33 No.2</p>
  19. <p>钢琴乐曲一:奏鸣曲第一乐章</p>
  20. <p>钢琴乐曲二:奏鸣曲第二乐章</p>
  21. </template>
  22. </van-cell>
  23. <van-cell title="考试时间:" :border="false">
  24. <template #default>2020-04-23</template>
  25. </van-cell>
  26. <van-cell title="考试地点:" :border="false">
  27. <template #default>姜杰城航天桥分部</template>
  28. </van-cell>
  29. <van-cell title="报名费用:" :border="false">
  30. <template #default>¥480.00</template>
  31. </van-cell>
  32. </van-cell-group>
  33. <div class="notice">
  34. 请考生于考试两周前严格按照系统要求进行报名及缴费,确保所填信息准确无误,确认之后所有信息无法更改,如因填写内容有误而造成损失,责任由报考者本人承担;请考生在报名缴费前确认可在考试时间内参加考试,最终以准考证上的考试信息为准,请务必按照要求参加考试,否则视为弃考。考生如无法保证按照准考证信息参加考试请慎重报考,报名费用一旦支付后均不允许更改报考级别或退款。
  35. </div>
  36. <div class="pay-group">
  37. <div class="pay-amount">
  38. <span>¥</span>480.00
  39. </div>
  40. <div class="pay-btn">
  41. <van-button color="#2DC7AA" round>确认并支付</van-button>
  42. </div>
  43. </div>
  44. </div>
  45. </template>
  46. <script>
  47. import MHeader from '@/components/MHeader'
  48. import MStep from '@/components/MStep'
  49. // import MButton from '@/components/MButton'
  50. // import { browser } from '@/common/common'
  51. export default {
  52. name: 'signupPayment',
  53. components: { MHeader, MStep },
  54. data () {
  55. return {
  56. patternPhone: /^1(3|4|5|6|7|8|9)\d{9}$/,
  57. patternPwd: /^[0-9A-Za-z]{6,16}$/,
  58. birthdayStatus: false,
  59. songStatus: false, // 曲目状态
  60. form: {
  61. phone: null,
  62. sex: 1,
  63. birthday: null,
  64. nation: null
  65. },
  66. fileList: [],
  67. }
  68. },
  69. mounted() {
  70. // 插入token
  71. // let params = this.$route.query
  72. // if(params.Authorization) {
  73. // localStorage.setItem('Authorization', decodeURI(params.Authorization))
  74. // localStorage.setItem('userInfo', decodeURI(params.Authorization))
  75. // }
  76. },
  77. methods: {
  78. onSubmit() {
  79. // console.log('submit', values)
  80. },
  81. onFailed() {
  82. // console.log('failed', errorInfo);
  83. // console.log(this.$refs['form'].scrollToField(errorInfo.errors[0].name))
  84. // this.$refs['form'].scrollToField(errorInfo.errors[0].name, false)
  85. }
  86. }
  87. }
  88. </script>
  89. <style lang="less" scoped>
  90. @import url("../../assets/commonLess/variable.less");
  91. .signupPayment {
  92. height: 100vh;
  93. overflow-y: auto;
  94. overflow-x: hidden;
  95. background-color: #F3F4F8;
  96. .title {
  97. font-size: .16rem;
  98. color: #999999;
  99. padding: .12rem .16rem;
  100. }
  101. /deep/.van-cell {
  102. padding: .1rem .16rem;
  103. font-size: .15rem;
  104. color: #333333;
  105. }
  106. /deep/.van-cell__title {
  107. color: #1A1A1A;
  108. width: .9rem;
  109. flex: none;
  110. }
  111. /deep/.van-cell__value {
  112. text-align: left;
  113. p {
  114. padding-bottom: .15rem;
  115. &:last-child{
  116. padding-bottom: 0;
  117. }
  118. }
  119. }
  120. /deep/.van-cell-group {
  121. padding: .1rem 0 .15rem;
  122. margin-top: .15rem;
  123. border-radius: .1rem;
  124. overflow: hidden;
  125. }
  126. .notice {
  127. font-size: .13rem;
  128. color: #999999;
  129. padding: .2rem .16rem;
  130. line-height: .18rem;
  131. margin-bottom: .55rem;
  132. }
  133. .pay-group {
  134. position: fixed;
  135. bottom: 0;
  136. width: calc(100% - .32rem);
  137. height: .55rem;
  138. line-height: .53rem;
  139. padding: 0 .16rem;
  140. display: flex;
  141. justify-content: space-between;
  142. align-content: center;
  143. background-color: #ffffff;
  144. }
  145. .pay-amount {
  146. color: #FF1818;
  147. font-size: .26rem;
  148. span {
  149. font-size: .16rem;
  150. }
  151. }
  152. /deep/.van-button {
  153. font-size: .16rem;
  154. padding: 0 .2rem;
  155. }
  156. }
  157. .van-popup-song {
  158. width: 80%;
  159. border-radius: .08rem;
  160. }
  161. .song-popup {
  162. text-align: center;
  163. .title {
  164. font-size: 18px;
  165. font-weight: 500;
  166. color: #333333;
  167. padding: .2rem 0 .24rem;
  168. }
  169. .song-upload {
  170. margin: 0 .5rem;
  171. padding: .18rem 0 .1rem;
  172. border-radius: .05rem;
  173. border: 1px dashed #777777;
  174. font-size: .16rem;
  175. color: #777;
  176. }
  177. .song-popup-tips {
  178. font-size: .14rem;
  179. color: #808080;
  180. padding-top: .1rem;
  181. padding-bottom: .25rem;
  182. }
  183. .popup-group {
  184. width: 100%;
  185. display: flex;
  186. color: #2DC7AA;
  187. background-color: #F0F0F0;
  188. font-size: .18rem;
  189. span {
  190. padding: .12rem 0;
  191. flex: 1;
  192. }
  193. .popup-sure {
  194. color: #ffffff;
  195. background-color: #2DC7AA;
  196. }
  197. }
  198. }
  199. </style>