百富门答题小程序
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.

144 lines
2.5 KiB

7 months ago
5 months ago
7 months ago
5 months ago
7 months ago
5 months ago
7 months ago
5 months ago
7 months ago
5 months ago
5 months ago
7 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
7 months ago
5 months ago
7 months ago
5 months ago
7 months ago
5 months ago
7 months ago
5 months ago
7 months ago
5 months ago
7 months ago
5 months ago
7 months ago
5 months ago
7 months ago
5 months ago
7 months ago
5 months ago
7 months ago
5 months ago
7 months ago
5 months ago
7 months ago
5 months ago
  1. <template>
  2. <view class="page">
  3. <image :src="configList.img_13"
  4. class="page-bg"
  5. mode="aspectFill"></image>
  6. <image :src="configList.img_7"
  7. class="logo"
  8. mode="widthFix"></image>
  9. <view class="service">
  10. <image :src="configList[mapKey[key].icon]"
  11. class="img_2"
  12. mode="widthFix"></image>
  13. <view class="title">
  14. {{ mapKey[key].title }}
  15. </view>
  16. <view class="stext">
  17. {{ mapKey[key].stext }}
  18. </view>
  19. </view>
  20. <view class="btn-list">
  21. <view class="next-btn-2"
  22. v-if="mapKey[key].next"
  23. @click="next(mapKey[key])">
  24. 点击预约
  25. </view>
  26. <view class="next-btn"
  27. v-if="mapKey[key].rep"
  28. @click="rep(mapKey[key])">
  29. 返回
  30. </view>
  31. </view>
  32. <text class="second-color">{{ configList.bg_title }}</text>
  33. </view>
  34. </template>
  35. <script>
  36. export default {
  37. data() {
  38. return {
  39. mapKey : {
  40. success_text : {
  41. rep : '/pages/index/end',
  42. icon : 'img_3',
  43. title : '提交成功',
  44. stext : `
  45. 后台正在为您匹配合适的品鉴资源, <br>
  46. 我们会在匹配结束后 <br>
  47. 发送微信推送及电话联系您确认!
  48. `,
  49. },
  50. reservationSuccessful : {
  51. rep : true,
  52. icon : 'img_3',
  53. title : '预约成功',
  54. stext : '后台正在为您匹配合适的品鉴资源, 我们会在匹配结束后 发送微信推送及电话联系您确认!',
  55. },
  56. },
  57. key : '',
  58. }
  59. },
  60. onLoad({key}) {
  61. this.key = key
  62. },
  63. methods: {
  64. rep(map){
  65. uni.reLaunch({
  66. url: map.rep
  67. })
  68. },
  69. next(map){
  70. uni.navigateTo({
  71. url: '/pages_order/info/appoint'
  72. })
  73. },
  74. }
  75. }
  76. </script>
  77. <style scoped lang="scss">
  78. .page{
  79. .logo{
  80. width: 600rpx;
  81. margin: 150rpx 75rpx;
  82. }
  83. .service{
  84. display: flex;
  85. flex-direction: column;
  86. align-items: center;
  87. .img_2{
  88. margin: 0 auto;
  89. width: 100rpx;
  90. }
  91. .title{
  92. font-weight: 900;
  93. margin: 30rpx 0;
  94. }
  95. .stext{
  96. width: 600rpx;
  97. margin-bottom: 150rpx;
  98. line-height: 50rpx;
  99. font-size: 26rpx;
  100. color: #777;
  101. }
  102. }
  103. .btn-list{
  104. display: flex;
  105. flex-direction: column;
  106. gap: 40rpx;
  107. width: 100%;
  108. justify-content: center;
  109. align-items: center;
  110. }
  111. .next-btn{
  112. width: 400rpx;
  113. display: flex;
  114. align-items: center;
  115. justify-content: center;
  116. color: white;
  117. padding: 22rpx 90rpx;
  118. background-color: $uni-color;
  119. border-radius: 40rpx;
  120. }
  121. .next-btn-2{
  122. width: 400rpx;
  123. display: flex;
  124. align-items: center;
  125. justify-content: center;
  126. color: white;
  127. padding: 22rpx 90rpx;
  128. background-color: $uni-color-primary;
  129. border-radius: 40rpx;
  130. }
  131. }
  132. </style>