|
@ -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 |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|