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

148 lines
2.9 KiB

8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
  1. <template>
  2. <!-- 无忧服务 -->
  3. <view class="page">
  4. <navbar title="无忧服务" leftClick @leftClick="$utils.navigateBack" />
  5. <view class="picture" >
  6. <!-- <image src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/BB1msKSi.img" mode=""></image> -->
  7. <uv-swiper
  8. :list="banner.service"
  9. indicator
  10. height="420rpx"
  11. keyName="imageContent"></uv-swiper>
  12. </view>
  13. <view class="serve">
  14. <view class="word">
  15. 无忧服务
  16. </view>
  17. <view class="list">
  18. <view class="button1" @click="toM">
  19. <image src="../static/service/carefree/1.png" mode=""></image>
  20. <view class="">
  21. 瓷都美食
  22. </view>
  23. </view>
  24. <view class="button2" @click="toMS">
  25. <image src="../static/service/carefree/2.png" mode=""></image>
  26. <view class="">
  27. 精品民宿
  28. </view>
  29. </view>
  30. <view class="button3" @click="toDD">
  31. <image src="../static/service/carefree/3.png" mode=""></image>
  32. <view class="">
  33. 无忧租车
  34. </view>
  35. </view>
  36. <!-- <view class="button4"
  37. @click="$utils.navigateTo('/pages_order/service/StudyFurther')">
  38. <image src="../static/service/carefree/4.png" mode=""></image>
  39. <view class="">
  40. 我要研学
  41. </view>
  42. </view> -->
  43. </view>
  44. </view>
  45. <tabber/>
  46. </view>
  47. </template>
  48. <script>
  49. import { mapState } from 'vuex'
  50. export default {
  51. data() {
  52. return {
  53. }
  54. },
  55. computed : {
  56. ...mapState(['banner']),
  57. },
  58. methods: {
  59. // 跳转美团民宿
  60. toMS(){
  61. uni.navigateToMiniProgram({
  62. appId: 'wxc147016e2b3bf9d6',
  63. // path: '',
  64. envVersion: "release",
  65. success: res => {
  66. // 打开成功
  67. console.log("打开成功", res);
  68. },
  69. fail: err => {
  70. console.log(err);
  71. }
  72. })
  73. },
  74. // 跳转美团美食
  75. toM(){
  76. uni.navigateToMiniProgram({
  77. appId: 'wxde8ac0a21135c07d',
  78. // path: '',
  79. envVersion: "release",
  80. success: res => {
  81. // 打开成功
  82. console.log("打开成功", res);
  83. },
  84. fail: err => {
  85. console.log(err);
  86. }
  87. })
  88. },
  89. // 跳转DD打车
  90. toDD(){
  91. uni.navigateToMiniProgram({
  92. appId: 'wxaf35009675aa0b2a',
  93. // path: '',
  94. envVersion: "release",
  95. success: res => {
  96. // 打开成功
  97. console.log("打开成功", res);
  98. },
  99. fail: err => {
  100. console.log(err);
  101. }
  102. })
  103. },
  104. }
  105. }
  106. </script>
  107. <style scoped lang="scss">
  108. .page{
  109. .picture{
  110. width: 100%;
  111. }
  112. .serve{
  113. .word{
  114. font-size: 32rpx;
  115. font-weight: 700;
  116. margin: 20rpx;
  117. }
  118. .list{
  119. display: flex;
  120. flex-wrap: wrap;
  121. margin-top: 30rpx;
  122. &>view{
  123. color: white;
  124. width: 335rpx;
  125. height: 200rpx;
  126. margin: 20rpx;
  127. background-color: $uni-color;
  128. border-radius: 16rpx;
  129. display: flex;
  130. justify-content: center;
  131. align-items: center;
  132. flex-direction: column;
  133. font-weight: 700;
  134. image{
  135. width: 80rpx;
  136. height: 80rpx;
  137. }
  138. }
  139. }
  140. }
  141. }
  142. </style>