景徳镇旅游微信小程序
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.

185 lines
3.6 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <template>
  2. <view class="page">
  3. <view class="banner">
  4. <uv-swiper
  5. :list="bannerList"
  6. indicator
  7. height="620rpx"
  8. indicatorStyle="bottom: 100rpx;"
  9. keyName="url"></uv-swiper>
  10. <view class="top">
  11. <view class="search">
  12. <uv-search
  13. placeholder="请输入搜索服务"
  14. :showAction="false"
  15. v-model="keyword"></uv-search>
  16. </view>
  17. <view class="title">
  18. <image src="/static/image/home/title.png" mode=""></image>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="content">
  23. <view class="grid">
  24. <uv-grid :border="false"
  25. :col="5">
  26. <uv-grid-item
  27. v-for="(item,index) in baseList"
  28. @click="$utils.navigateTo(item.path)"
  29. :key="index">
  30. <image class="grid-icon" :src="item.icon" mode=""></image>
  31. <text class="grid-text">{{item.title}}</text>
  32. </uv-grid-item>
  33. </uv-grid>
  34. </view>
  35. </view>
  36. <PrivacyAgreementPoup/>
  37. <tabber select="0"/>
  38. </view>
  39. </template>
  40. <script>
  41. import PrivacyAgreementPoup from '@/components/config/PrivacyAgreementPoup.vue'
  42. export default {
  43. components : {
  44. PrivacyAgreementPoup,
  45. },
  46. data() {
  47. return {
  48. queryParams: {
  49. pageNo: 1,
  50. pageSize: 10,
  51. title: ''
  52. },
  53. baseList : [
  54. {
  55. icon : '/static/image/home/g1.png',
  56. title : '申遗历程',
  57. path : '',
  58. },
  59. {
  60. icon : '/static/image/home/g2.png',
  61. title : '遗产概况',
  62. path : '',
  63. },
  64. {
  65. icon : '/static/image/home/g3.png',
  66. title : '遗产讲述',
  67. path : '',
  68. },
  69. {
  70. icon : '/static/image/home/g4.png',
  71. title : '达人同游',
  72. path : '',
  73. },
  74. {
  75. icon : '/static/image/home/g5.png',
  76. title : '遗产路径',
  77. path : '',
  78. },
  79. {
  80. icon : '/static/image/home/g6.png',
  81. title : '我要跟拍',
  82. path : '',
  83. },
  84. {
  85. icon : '/static/image/home/g7.png',
  86. title : '非遗体验',
  87. path : '',
  88. },
  89. {
  90. icon : '/static/image/home/g8.png',
  91. title : '无忧服务',
  92. path : '/pages_order/service/carefree',
  93. },
  94. {
  95. icon : '/static/image/home/g9.png',
  96. title : '文创好物',
  97. path : '',
  98. },
  99. {
  100. icon : '/static/image/home/g10.png',
  101. title : '我要帮助',
  102. path : '',
  103. },
  104. ],
  105. bannerList: [
  106. {
  107. url: 'https://img-s-msn-com.akamaized.net/tenant/amp/entityid/BB1msKSi.img',
  108. },
  109. {
  110. url: 'https://img-s-msn-com.akamaized.net/tenant/amp/entityid/BB1msKSi.img',
  111. },
  112. {
  113. url: 'https://img-s-msn-com.akamaized.net/tenant/amp/entityid/BB1msKSi.img',
  114. },
  115. ],
  116. productList: [],
  117. keyword : '',
  118. }
  119. },
  120. computed : {
  121. },
  122. methods: {
  123. }
  124. }
  125. </script>
  126. <style scoped lang="scss">
  127. .page{
  128. padding-bottom: 200rpx;
  129. .banner{
  130. position: relative;
  131. .top{
  132. position: absolute;
  133. top: var(--status-bar-height);
  134. left: 0;
  135. padding-top: 30rpx;
  136. display: flex;
  137. width: 100%;
  138. flex-direction: column;
  139. align-items: center;
  140. .search{
  141. width: 400rpx;
  142. margin-left: -100rpx;
  143. /deep/ .uv-search__content__icon{
  144. padding: 30rpx 0;
  145. }
  146. }
  147. .title{
  148. image{
  149. width: 600rpx;
  150. height: 300rpx;
  151. }
  152. }
  153. }
  154. }
  155. .content{
  156. position: relative;
  157. margin-top: -60rpx;
  158. .grid{
  159. padding-bottom: 30rpx;
  160. background-color: #fff;
  161. border-radius: 60rpx;
  162. box-shadow: 0 0 10rpx 10rpx #00000033;
  163. .grid-icon{
  164. width: 80rpx;
  165. height: 80rpx;
  166. margin-bottom: 10rpx;
  167. margin-top: 30rpx;
  168. }
  169. .grid-text{
  170. font-size: 24rpx;
  171. font-weight: 900;
  172. }
  173. }
  174. }
  175. }
  176. </style>