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

169 lines
3.4 KiB

1 year ago
1 year ago
1 year ago
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" @click="download">立即下载</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="download">立即下载</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. download() {
  51. this.$u.toast('需要下载接口')
  52. }
  53. }
  54. }
  55. </script>
  56. <style lang="scss" scoped>
  57. .main {
  58. width: 100%;
  59. padding-bottom: 128rpx;
  60. .top_row {
  61. width: 100%;
  62. display: flex;
  63. height: 112rpx;
  64. background: #FFFFFF;
  65. box-shadow: 0px 2rpx 0px 0px #E8E9EC, 0px 6px 12px 0px rgba(232,233,236,0.4);
  66. align-items: center;
  67. padding: 0 32rpx;
  68. .logo {
  69. width: 72rpx;
  70. height: 72rpx;
  71. }
  72. .text {
  73. font-size: 36rpx;
  74. color: #333;
  75. padding: 0 0 0 16rpx;
  76. flex: 1;
  77. }
  78. .btnSmall {
  79. width: 144rpx;
  80. height: 56rpx;
  81. border: 2rpx solid rgba(53, 147, 251, 1);
  82. // border-image: linear-gradient(180deg, rgba(53, 147, 251, 1), rgba(83, 211, 229, 1)) 2 2;
  83. border-radius: 36rpx;
  84. font-size: 28rpx;
  85. color: #1989FA;
  86. line-height: 56rpx;
  87. text-align: center;
  88. }
  89. }
  90. .slog {
  91. display: flex;
  92. flex-direction: column;
  93. align-items: center;
  94. padding: 90rpx 0 74rpx 0;
  95. .iconImg {
  96. width: 96rpx;
  97. height: 96rpx;
  98. }
  99. .h3 {
  100. font-size: 36rpx;
  101. color: #373A43;
  102. margin: 32rpx 0 22rpx 0;
  103. }
  104. .tps {
  105. font-size: 28rpx;
  106. color: #696B72;
  107. }
  108. }
  109. .card {
  110. width: 80%;
  111. height: 374rpx;
  112. background: #fff;
  113. border-radius: 32rpx;
  114. margin: 0 auto;
  115. padding: 48rpx;
  116. .h1 {
  117. font-size: 32rpx;
  118. color: #333;
  119. padding: 16rpx 0;
  120. font-weight: 600;
  121. }
  122. .text {
  123. font-size: 28rpx;
  124. color: #333;
  125. line-height: 1.5em;
  126. br {
  127. }
  128. }
  129. }
  130. .payBtnBox {
  131. position: fixed;
  132. bottom: 0;
  133. left: 0;
  134. padding: 32rpx;
  135. display: flex;
  136. align-items: center;
  137. width: 100vw;
  138. height: 128rpx;
  139. background: #FFFFFF;
  140. box-shadow: 0px -1px 0px 0px #E8E9EC;
  141. .payBtn {
  142. width: 100%;
  143. height: 96rpx;
  144. background: linear-gradient(180deg, #3593FB 0%, #53D3E5 100%);
  145. border-radius: 50rpx;
  146. line-height: 96rpx;
  147. text-align: center;
  148. font-size: 36rpx;
  149. color: #fff;
  150. }
  151. }
  152. }
  153. </style>