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

138 lines
2.5 KiB

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