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

150 lines
2.7 KiB

2 months ago
2 weeks ago
2 months ago
2 weeks ago
2 months ago
2 weeks ago
2 months ago
2 weeks ago
2 months ago
2 weeks ago
1 week ago
1 week ago
2 months ago
2 weeks ago
1 week ago
2 weeks ago
1 week ago
2 weeks ago
2 months ago
2 weeks ago
2 months ago
2 weeks ago
2 months ago
2 weeks ago
2 months ago
2 weeks ago
2 months ago
2 weeks ago
2 months ago
2 weeks ago
2 months ago
2 weeks ago
2 weeks ago
2 months ago
2 weeks ago
2 months ago
2 weeks ago
2 months ago
2 weeks ago
2 months ago
2 weeks ago
2 months ago
1 week ago
2 weeks 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. <uv-parse :content="mapKey[key].stext"></uv-parse>
  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. <view class="second-color">{{ configList.bg_title }}</view>
  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. text-align: center;
  102. }
  103. }
  104. .btn-list{
  105. display: flex;
  106. flex-direction: column;
  107. gap: 40rpx;
  108. width: 100%;
  109. justify-content: center;
  110. align-items: center;
  111. }
  112. .next-btn{
  113. width: 400rpx;
  114. display: flex;
  115. align-items: center;
  116. justify-content: center;
  117. color: white;
  118. padding: 22rpx 90rpx;
  119. background-color: $uni-color;
  120. border-radius: 40rpx;
  121. }
  122. .next-btn-2{
  123. width: 400rpx;
  124. display: flex;
  125. align-items: center;
  126. justify-content: center;
  127. color: white;
  128. padding: 22rpx 90rpx;
  129. background-color: $uni-color-primary;
  130. border-radius: 40rpx;
  131. }
  132. .second-color{
  133. width: 100%;
  134. text-align: center;
  135. margin-top: 40rpx;
  136. }
  137. }
  138. </style>