工行这里学车报名流程h5
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.

120 lines
2.5 KiB

  1. <template>
  2. <view class="formValidation">
  3. <view class="blueTxt">
  4. 您的报名信息如下请确定无误后提交
  5. </view>
  6. <view class="ul">
  7. <view class="li">
  8. <view class="lab">真实姓名</view>
  9. <view class="val">{{info.realName}}</view>
  10. </view>
  11. <view class="li">
  12. <view class="lab">报名驾校</view>
  13. <view class="val">{{schoolName}}</view>
  14. </view>
  15. <view class="li">
  16. <view class="lab">班型</view>
  17. <view class="val">{{info.trainingClassLable}}</view>
  18. </view>
  19. <view class="li">
  20. <view class="lab">考场训练时长</view>
  21. <view class="val">{{info.timeName}}</view>
  22. </view>
  23. <view class="li">
  24. <view class="lab">性别</view>
  25. <view class="val">{{info.sex==2?'女':'男'}}</view>
  26. </view>
  27. <view class="li">
  28. <view class="lab">证件类型</view>
  29. <view class="val">身份证</view>
  30. </view>
  31. <view class="li">
  32. <view class="lab">证件号码</view>
  33. <view class="val">{{info.certificateCodeShow}}</view>
  34. </view>
  35. <view class="li">
  36. <view class="lab">业务类型</view>
  37. <view class="val">{{info.businessTypeName}}</view>
  38. </view>
  39. </view>
  40. <view class="btn">
  41. <view :class="{hui: countdown}">
  42. <oneBtn :text="text" style="margin-bottom: 20rpx;" @oneBtnClick="oneBtnClick(1)"></oneBtn>
  43. </view>
  44. <oneBtn text="返回修改" :border="true" @oneBtnClick="oneBtnClick(0)"></oneBtn>
  45. </view>
  46. </view>
  47. </template>
  48. <script>
  49. export default {
  50. props: ['info','schoolName'],
  51. data () {
  52. return {
  53. countdown: 10,
  54. text: '倒计时10秒'
  55. }
  56. },
  57. created() {
  58. let timer = setInterval(()=>{
  59. this.countdown--
  60. this.text = '倒计时' + this.countdown + '秒'
  61. if(this.countdown==0) {
  62. clearInterval(timer)
  63. this.countdown = 0
  64. this.text = '继续提交'
  65. }
  66. },1000)
  67. },
  68. methods: {
  69. oneBtnClick(num) {
  70. this.$emit('oneBtnClick',num)
  71. }
  72. },
  73. }
  74. </script>
  75. <style lang="scss" scoped>
  76. .hui {
  77. opacity: 0.5;
  78. }
  79. .formValidation {
  80. width: 100%;
  81. padding: 0 32rpx;
  82. .blueTxt {
  83. width: 100%;
  84. font-size: 28rpx;
  85. padding: 30rpx 0;
  86. color: #3593FB;
  87. text-align: center;
  88. }
  89. .ul {
  90. width: 100%;
  91. .li {
  92. width: 100%;
  93. height: 72rpx;
  94. display: flex;
  95. justify-content: space-between;
  96. align-items: center;
  97. font-size: 28rpx;
  98. .lab {
  99. color: #666;
  100. }
  101. .val {
  102. color: #333;
  103. font-weight: 700;
  104. }
  105. }
  106. }
  107. .btn {
  108. padding: 30rpx 0;
  109. width: 100%;
  110. onebtn {
  111. margin-bottom: 20rpx;
  112. }
  113. }
  114. }
  115. </style>