Browse Source

路线跳转h5

master
jiazhipeng 1 year ago
parent
commit
60fedbb76b
  1. 6
      pages/index/index.vue

6
pages/index/index.vue

@ -76,7 +76,7 @@
<view v-if="lineList && lineList.length > 0">
<view class="title-box flex-between">
<image :src="showImg(homeUi.xltj)" mode=""></image>
<view @click="gotoPath('/subPackages/line/lineList')">更多 ></view>
<view @click="gotoPath(linePage)">更多 ></view>
</view>
<view class="box">
<view v-for="(item,index) in lineList" :key="index" class="line-item" @click="goCalendarDetail(item.goods,1)">
@ -150,6 +150,7 @@
export default {
data() {
return {
linePage: '/subPackages/webPage/webPage?url='+ encodeURIComponent('https://yandumap.sz-trip.com/lineList?code=demo'),
topBanner: [],
weatherList: [],
navList: [
@ -176,7 +177,8 @@
{
img: 'https://static.ticket.sz-trip.com/yandu/images/index/xltj.png',
text: '线路推荐',
path: '/subPackages/line/lineList'
// path: '/subPackages/line/lineList'
path: '/subPackages/webPage/webPage?url='+ encodeURIComponent('https://yandumap.sz-trip.com/lineList?code=demo'),
},
{
img: 'https://static.ticket.sz-trip.com/yandu/images/index/zhdt.png',

Loading…
Cancel
Save