Commit c38eb47c authored by zhengke's avatar zhengke

修改

parent fb33018a
......@@ -1103,6 +1103,10 @@
<p :key="subIndex">{{subItem.childItem.title}}</p>
</template>
</div>
<div class="articleCont articleTxt" v-if="dataList.warmTipList[index].description!=''">
<p>温馨提示:</p>
<div v-html="dataList.warmTipList[index].description"></div>
</div>
<div class="agendaSection">
<div class="slideSubHeader">
<span class="subTitle">D{{index+1}} 日程安排</span>
......
......@@ -792,7 +792,7 @@
</div>
</div>
<!-- 行程开始 -->
<div class="swiper-slide" v-for="(item,index) in dataList.dayList" :id="'dayList'+(index+1)" :key="index">
<div class="swiper-slide" v-for="(item,index) in dataList.dayList" :key="index" :id="'dayList'+(index+1)">
<div class="tripComInner">
<div class="slideHeader" style="position:relative;">
<div class="dayNum">D{{index+1}}</div>
......@@ -820,6 +820,10 @@
<p :key="subIndex">{{subItem.childItem.title}}</p>
</template>
</div>
<div class="tripArticleCont" v-if="dataList.warmTipList[index].description!=''">
<p>温馨提示:</p>
<div v-html="dataList.warmTipList[index].description"></div>
</div>
<div class="tripSection">
<div class="tripSlideHeader">
<span class="tripSubTitle">D{{index+1}} 日程安排</span>
......@@ -844,11 +848,7 @@
</div>
<div class="detailSection" style="margin-top:0;" v-if="subItem.childItem.playTimeHour||subItem.childItem.playTimeMinutes">
<div class="item">
<span class="label">建议游玩时间</span>
<span class="text">
<template v-if="subItem.childItem.playTimeHour">{{subItem.childItem.playTimeHour}}小时</template>
<template
v-if="subItem.childItem.playTimeMinutes">{{subItem.childItem.playTimeMinutes}}分钟</template>
<span class="label">建议游玩时间</span>&nbsp;&nbsp;<span class="text"><template v-if="subItem.childItem.playTimeHour">{{subItem.childItem.playTimeHour}}小时</template><template v-if="subItem.childItem.playTimeMinutes">{{subItem.childItem.playTimeMinutes}}分钟</template>
</span>
</div>
</div>
......@@ -973,7 +973,7 @@
<span>日程安排</span>
</div>
<div class="btnDayList">
<div class="btnDay" v-for="(item,index) in dataList.dayList" @click="goDaySwiper(index)" :key="index">D{{index+1}}</div>
<div class="btnDay" v-for="(item,index) in dataList.dayList" @click="goDaySwiper(index,'dayList'+(index+1))" :key="index">D{{index+1}}</div>
</div>
</div>
</div>
......@@ -1124,9 +1124,10 @@
this.swiperV.slideTo(index, 100, false);
this.showDialog = false;
},
goDaySwiper(index) {
goDaySwiper(index,id) {
var index = index + 3; // index为指定将要切换到的slide的索引
this.swiperV.slideTo(index, 100, false);
this.swiperV.slides[index].scrollTop=0;
this.showDialog = false;
},
//加载所有坐标点
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment