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

175 lines
5.0 KiB

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