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

166 lines
3.3 KiB

1 year ago
  1. <template>
  2. <view class="main">
  3. <view class="top_row">
  4. <view class="logo">
  5. <image src="@/static/images/logo.png" mode=""></image>
  6. </view>
  7. <view class="text">浙里学车APP</view>
  8. <view class="btnSmall">立即下载</view>
  9. </view>
  10. <view class="slog">
  11. <view class="iconImg">
  12. <image src="@/static/images/third_icon_success@2x.png" mode=""></image>
  13. </view>
  14. <view class="h3">恭喜您报名成功</view>
  15. <view class="tps">开启您的学车之旅吧</view>
  16. </view>
  17. <view class="card">
  18. <view class="h1">下载浙里学车</view>
  19. <view class="text">
  20. 1.分配专属教练<br/>
  21. 2.跟踪学车进度<br/>
  22. 3.科目一理论学习<br/>
  23. 4查看下载签约合同
  24. </view>
  25. </view>
  26. <view class="payBtnBox">
  27. <view class="payBtn bgLinear" @click="goPay">确认支付</view>
  28. <!-- <oneBtn text="确认支付" @oneBtnClick="goPay"></oneBtn> -->
  29. </view>
  30. </view>
  31. </template>
  32. <script>
  33. import indexApi from '@/api/index.js'
  34. export default {
  35. data() {
  36. return {
  37. }
  38. },
  39. onLoad() {
  40. this.getLastVersionFn()
  41. },
  42. methods: {
  43. async getLastVersionFn() {
  44. let platform = uni.getSystemInfoSync().platform;
  45. let appType = platform == 'android'?1:2
  46. console.log(platform)
  47. const [err, res] = await indexApi.getLastVersion({appType, version:'1.0.0'})
  48. console.log(res)
  49. }
  50. }
  51. }
  52. </script>
  53. <style lang="scss" scoped>
  54. .main {
  55. width: 100%;
  56. padding-bottom: 128rpx;
  57. .top_row {
  58. width: 100%;
  59. display: flex;
  60. height: 112rpx;
  61. background: #FFFFFF;
  62. box-shadow: 0px 2rpx 0px 0px #E8E9EC, 0px 6px 12px 0px rgba(232,233,236,0.4);
  63. align-items: center;
  64. padding: 0 32rpx;
  65. .logo {
  66. width: 72rpx;
  67. height: 72rpx;
  68. }
  69. .text {
  70. font-size: 36rpx;
  71. color: #333;
  72. padding: 0 0 0 16rpx;
  73. flex: 1;
  74. }
  75. .btnSmall {
  76. width: 144rpx;
  77. height: 56rpx;
  78. border: 2rpx solid rgba(53, 147, 251, 1);
  79. // border-image: linear-gradient(180deg, rgba(53, 147, 251, 1), rgba(83, 211, 229, 1)) 2 2;
  80. border-radius: 36rpx;
  81. font-size: 28rpx;
  82. color: #1989FA;
  83. line-height: 56rpx;
  84. text-align: center;
  85. }
  86. }
  87. .slog {
  88. display: flex;
  89. flex-direction: column;
  90. align-items: center;
  91. padding: 90rpx 0 74rpx 0;
  92. .iconImg {
  93. width: 96rpx;
  94. height: 96rpx;
  95. }
  96. .h3 {
  97. font-size: 36rpx;
  98. color: #373A43;
  99. margin: 32rpx 0 22rpx 0;
  100. }
  101. .tps {
  102. font-size: 28rpx;
  103. color: #696B72;
  104. }
  105. }
  106. .card {
  107. width: 80%;
  108. height: 374rpx;
  109. background: #fff;
  110. border-radius: 32rpx;
  111. margin: 0 auto;
  112. padding: 48rpx;
  113. .h1 {
  114. font-size: 32rpx;
  115. color: #333;
  116. padding: 16rpx 0;
  117. font-weight: 600;
  118. }
  119. .text {
  120. font-size: 28rpx;
  121. color: #333;
  122. line-height: 1.5em;
  123. br {
  124. }
  125. }
  126. }
  127. .payBtnBox {
  128. position: fixed;
  129. bottom: 0;
  130. left: 0;
  131. padding: 32rpx;
  132. display: flex;
  133. align-items: center;
  134. width: 100vw;
  135. height: 128rpx;
  136. background: #FFFFFF;
  137. box-shadow: 0px -1px 0px 0px #E8E9EC;
  138. .payBtn {
  139. width: 100%;
  140. height: 96rpx;
  141. background: linear-gradient(180deg, #3593FB 0%, #53D3E5 100%);
  142. border-radius: 50rpx;
  143. line-height: 96rpx;
  144. text-align: center;
  145. font-size: 36rpx;
  146. color: #fff;
  147. }
  148. }
  149. }
  150. </style>