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

178 lines
5.0 KiB

6 months ago
  1. <template>
  2. <view class="home">
  3. <image src="/static/image/bg/1.png"
  4. class="page-bg"
  5. mode=""></image>
  6. <view class="content" style="padding-top: 450rpx">
  7. <span v-show="btn==='下一页'" style="margin-bottom: 10rpx; font-size: 28rpx;">作为一位</span>
  8. <span v-show="btn==='下一页'" style="color: #c7a87c;">{{title1}}</span>
  9. <span v-for="(item,index) in textList1" :key="index" class="content-text">
  10. {{item}}
  11. </span>
  12. <view class="flex-col query" style="gap: 0rpx;">
  13. <view v-show="btn !=='db'">
  14. <view class="btn2" @click="query">
  15. {{btn}}
  16. </view>
  17. </view>
  18. <view v-show="btn ==='db'" class="flex-center" style="gap: 30rpx;">
  19. <view class="btn2" style="padding: 16rpx 80rpx;" @click="pre">
  20. 返回
  21. </view>
  22. <view class="btn2" style="padding: 16rpx 80rpx;" @click="next">
  23. 点击预约
  24. </view>
  25. </view>
  26. <text class="second-color">欢快无限饮&nbsp;&nbsp;饮酒有限度</text>
  27. </view>
  28. </view>
  29. </view>
  30. </template>
  31. <script>
  32. export default {
  33. data() {
  34. return {
  35. flag: 0,
  36. title1: '威士忌鉴赏家',
  37. textList1: [
  38. '您的独到品味和对复杂风味的深刻理解展现了',
  39. '您在威士忌世界中的非凡见解。',
  40. '无论是高年份的经典之作,',
  41. '还是精湛工艺的限量版,',
  42. '每一杯威士忌在您手中都被赋予了更多的意义。',
  43. '愿您在未来的品鉴之旅中继续探索更多顶级佳酿,',
  44. '感受威士忌的独特魅力畅享每一滴带来的极致体验!'
  45. ],
  46. btn: '下一页',
  47. title2: '威士忌探秘者',
  48. textList2: [
  49. '您的好奇心和冒险精神',
  50. '让您不断探索新奇与未知的滋味。',
  51. '愿每一杯威士忌都能为您带来',
  52. '新鲜的体验与惊喜,',
  53. '在这段探秘旅程中发现无尽的可能性。'
  54. ],
  55. title3: '威士忌品鉴大师',
  56. textList3: [
  57. '您的敏锐舌尖与挑剔眼光',
  58. '让您在细微之处也能捕捉到每一滴威士忌的精髓。',
  59. '愿您在今后的品鉴之路上,',
  60. '继续发现与享受那些别具匠心的美妙时刻。'
  61. ],
  62. title4: '威士忌藏家',
  63. textList4: [
  64. '您的眼光独到,能够识别并珍藏',
  65. '那些真正值得铭记的佳酿。',
  66. '愿您在未来的岁月中,',
  67. '继续收集那些能够讲述故事、承载记忆的珍品,将',
  68. '您的收藏变成一段永恒的艺术。'
  69. ],
  70. title5: '威士忌玩家',
  71. textList5: [
  72. '您对威士忌的热爱不仅体现在酒杯中',
  73. '更体现在与朋友分享的每一个欢乐时刻。',
  74. '愿您在每一次聚会中,',
  75. '都能用您的创意和激情,',
  76. '让威士忌成为欢聚的中心,',
  77. '点燃无数难忘的瞬间。'
  78. ],
  79. appoint_title: '',
  80. appoint_text: [
  81. '您的品味值得专属礼遇!',
  82. '在您生成了专属称号之后,',
  83. '我们将为您提供一次奢华的',
  84. '上门威士忌品鉴服务,',
  85. '让您在舒适的环境中,',
  86. '品味与您的称号完美契合的精致佳酿。'
  87. ],
  88. fail_title: '',
  89. fail_text: [
  90. '很抱歉,您的所在区域暂时',
  91. '无法提供上门威士忌品鉴服务。',
  92. '但我们仍为您准备了其他专属体验,',
  93. '敬请期待。'
  94. ],
  95. success_title: '',
  96. success_text: [
  97. '感谢您的预约!',
  98. '我们已成功安排了您的上门威士忌品鉴服务。',
  99. '我们的专员将在您选择的时间到达,',
  100. '为您带来精致的品鉴体验。',
  101. '期待与您共享这段美妙的威士忌之旅!'
  102. ],
  103. reset_title: '',
  104. reset_text:[
  105. '非常抱歉,由于特殊原因,',
  106. '我们暂时无法在您最初选定的时间段',
  107. '进行上门品鉴服务。',
  108. '为了确保您享受到最完美的威士忌体验,',
  109. '恳请您重新选择一个方便的时间,',
  110. '我们将优先为您安排,',
  111. '感谢您的理解与支持。'
  112. ]
  113. }
  114. },
  115. methods: {
  116. query() {
  117. if (this.flag === 0) {
  118. this.title1 = this.title2
  119. this.textList1 = this.textList2
  120. this.flag = this.flag + 1
  121. } else if (this.flag === 1) {
  122. this.title1 = this.title3
  123. this.textList1 = this.textList3
  124. this.flag = this.flag + 1
  125. } else if (this.flag === 2) {
  126. this.title1 = this.title4
  127. this.textList1 = this.textList4
  128. this.flag = this.flag + 1
  129. } else if (this.flag === 3) {
  130. this.title1 = this.title5
  131. this.textList1 = this.textList5
  132. this.flag = this.flag + 1
  133. } else if (this.flag === 4) {
  134. this.title1 = this.appoint_title
  135. this.textList1 = this.appoint_text
  136. this.flag = this.flag + 1
  137. this.btn = 'db'
  138. } else if (this.flag === 6) {
  139. this.btn = '查看详情'
  140. this.title1 = this.success_title
  141. this.textList1 = this.success_text
  142. }
  143. },
  144. pre() {
  145. uni.navigateBack({
  146. delta: 1
  147. })
  148. },
  149. next() {
  150. uni.navigateTo({
  151. url:'/pages_order/info/appointDate'
  152. })
  153. }
  154. }
  155. }
  156. </script>
  157. <style lang="scss" scoped>
  158. .query {
  159. }
  160. </style>