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

65 lines
1.3 KiB

3 weeks ago
  1. <template>
  2. <view class="home">
  3. <image src="/static/image/bg/2.png"
  4. class="page-bg"
  5. mode="aspectFill"></image>
  6. <view class="swipe" style="padding-top: 310rpx;">
  7. <uv-swiper :list="bannerList"
  8. keyName="image"
  9. height="300rpx"></uv-swiper>
  10. </view>
  11. <view class="content" style="padding-top: 20rpx;">
  12. <text>欢迎</text>
  13. <text style="font-size: 80rpx; margin: 10rpx 0;">Christine</text>
  14. <view class="flex-col" style="gap: 5rpx; margin-top: 20rpx;">
  15. <text>来到百富门的世界</text>
  16. <text>品味传承与创新交织的威士忌艺术</text>
  17. <text>开启您的专属品鉴之旅</text>
  18. </view>
  19. <view style="margin-top: 40rpx;" @click="query">
  20. <view class="btn2">
  21. 点击进入
  22. </view>
  23. </view>
  24. <view class="link"
  25. @click="$utils.navigateTo('/pages/index/order')">
  26. 预约记录
  27. </view>
  28. </view>
  29. </view>
  30. </template>
  31. <script>
  32. import { mapState } from 'vuex'
  33. export default {
  34. data() {
  35. return {
  36. }
  37. },
  38. computed : {
  39. ...mapState(['bannerList']),
  40. },
  41. onShow() {
  42. },
  43. methods: {
  44. query(){
  45. uni.navigateTo({
  46. // url: '/pages/index/article'
  47. url: '/pages/index/introduce'
  48. })
  49. },
  50. }
  51. }
  52. </script>
  53. <style lang="scss" scoped>
  54. .link{
  55. margin-top: 30rpx;
  56. font-size: 26rpx;
  57. color: $uni-color;
  58. text-decoration: underline;
  59. }
  60. </style>