Browse Source

提交

master
chenkainan 11 months ago
parent
commit
1c5a5b6092
  1. 10
      pages/index/index.vue
  2. 1
      subPackages/leyou/index.vue

10
pages/index/index.vue

@ -62,7 +62,7 @@
</view> </view>
<view class="scenic-box"> <view class="scenic-box">
<view v-for="(item,index) in scenicList" :key="index" @click="gotoScenic(item)"> <view v-for="(item,index) in scenicList" :key="index" @click="gotoScenic(item)">
<image :src="showImg(item.image)" mode="aspectFill" class="scenic-item"></image> <image :src="showImg(item.exhibition_image)" mode="aspectFill" class="scenic-item"></image>
<view class="scenic-title text-overflow">{{item.title}}</view> <view class="scenic-title text-overflow">{{item.title}}</view>
</view> </view>
</view> </view>
@ -169,7 +169,7 @@
{ {
img: 'shtl', img: 'shtl',
text: '数绘同里', text: '数绘同里',
// path: '/subPackages/webPage/webPage?url='+ encodeURIComponent('https://yandumap.sz-trip.com/') path: '/subPackages/webPage/webPage?url='+ encodeURIComponent('https://xnlv.tongli.net/TongliPanoTours/#/pc/pano')
}, },
{ {
img: 'lfys', img: 'lfys',
@ -271,7 +271,7 @@
this.goOtherDetail(item) this.goOtherDetail(item)
if(!item.link_type) { if(!item.link_type) {
uni.navigateTo({ uni.navigateTo({
url:'/subPackages/ticketBooking/detail?id='+item.id url:'/subPackages/leyou/detail?id='+item.id
}) })
} }
}, },
@ -305,10 +305,10 @@
// //
getScenicByTag() { getScenicByTag() {
this.Post({ this.Post({
tag_id: 48, scenic_type_id: 12,
offset: 0, offset: 0,
limit: 5 limit: 5
},'/api/scenic/getScenicByTagId').then(res => { },'/api/scenic/getScenicByType').then(res => {
this.scenicList = res.data this.scenicList = res.data
}) })
}, },

1
subPackages/leyou/index.vue

@ -41,7 +41,6 @@
}, },
methods: { methods: {
getList() { getList() {
https://tlgz.sz-trip.com?scenic_type_id=11&offset=0&limit=10&lon=120&lat=30&token=96035795-fe93-4db8-8cf3-aeabbdb4e8c4
this.Post({ this.Post({
scenic_type_id: 12, scenic_type_id: 12,
offset: 0, offset: 0,

Loading…
Cancel
Save