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

96 lines
1.9 KiB

  1. <template>
  2. <view class="main">
  3. <view class="iconImg">
  4. <image src="../../../static/images/icon/third_img_completedIphone@2x.png" mode=""></image>
  5. </view>
  6. <view class="h1">缴费完成</view>
  7. <view class="tps">恭喜您成为我校正式学员</view>
  8. <view class="addBox" v-if="addItem.adBannerDO" @click="$store.dispatch('addClick', addItem)">
  9. <view class="tag">推广</view>
  10. <image :src="addItem.adBannerDO.imgSource" mode="widthFix" @click="$store.dispatch('addClick', addItem)"></image>
  11. </view>
  12. <view class="footBtn" @click="goSwitchTab">
  13. <view class="btn">前往学习</view>
  14. </view>
  15. </view>
  16. </template>
  17. <script>
  18. import addConfig from '@/common/js/addConfig.js'
  19. export default {
  20. data() {
  21. return {
  22. addItem: {}
  23. }
  24. },
  25. onLoad() {
  26. this.addItemFn()
  27. },
  28. methods: {
  29. async addItemFn() {
  30. await this.$store.dispatch('addPageFn')
  31. this.addItem = await this.$store.dispatch('getCurrentAdd', addConfig.payMoneySuccess)
  32. console.log('广告呢')
  33. console.log(this.addItem)
  34. },
  35. goSwitchTab() {
  36. uni.switchTab({
  37. url: '/pages/tabbar/learnDrive/learnDrive'
  38. })
  39. }
  40. }
  41. }
  42. </script>
  43. <style lang="scss" scoped>
  44. .main {
  45. width: 100%;
  46. height: 100vh;
  47. background: #fff;
  48. display: flex;
  49. flex-direction: column;
  50. align-items: center;
  51. position: relative;
  52. padding: 0 32rpx;
  53. .iconImg {
  54. margin: 100rpx 0 20rpx 0;
  55. image {
  56. display: block;
  57. width: 180rpx;
  58. height: 180rpx;
  59. }
  60. }
  61. .h1 {
  62. font-size: 36rpx;
  63. color: #222222;
  64. font-weight: 600;
  65. }
  66. .tps {
  67. font-size: 30rpx;
  68. color: #222222;
  69. margin: 12rpx 0 64rpx 0;
  70. }
  71. .footBtn {
  72. position: absolute;
  73. left: 0;
  74. bottom: 56rpx;
  75. padding: 0 32rpx;
  76. width: 100vw;
  77. .btn {
  78. height: 92rpx;
  79. background: linear-gradient(180deg, #3593FB 0%, #53D3E5 100%);
  80. border-radius: 20rpx;
  81. font-size: 30rpx;
  82. color: #fff;
  83. line-height: 92rpx;
  84. text-align: center;
  85. }
  86. }
  87. }
  88. </style>