Commit a3128727 authored by zhengke's avatar zhengke

修改

parent 6119cba8
......@@ -319,7 +319,7 @@
</div>
<div v-if='dayList&&dayList.length>0'>
<trip :tripList="dayList"></trip>
<trip :tripList="dayList" :dataList="dataList"></trip>
<!-- <block :tripList="dayList" :isDirect="isDirect" :clickDate="clickDate"></block> -->
</div>
<div class="item-title" id='feiyong'>
......@@ -896,7 +896,6 @@ export default {
this.htmlTitle = this.dataList.ltName;
this.showFlight = true
this.$forceUpdate()
// console.log("dataList",this.dataList);
}else{
this.$message.error(r.data.message)
}
......
......@@ -20,7 +20,7 @@
</div>
</div>
<div v-for="(son,i) in item.dayArray" :key="i">
<traffice :tripItem='son' v-if="son.type==1"></traffice>
<traffice :tripItem='son' :dataList="dataList" v-if="son.type==1"></traffice>
<scenic v-if="son.type==2" :tripItem='son'></scenic>
<hotel v-if="son.type==3" :tripItem='son'></hotel>
<restaurant v-if="son.type==4" :tripItem='son'></restaurant>
......@@ -39,7 +39,7 @@ import restaurant from './restaurant'
import activity from './activity'
import tips from './tips'
export default {
props: ['tripList'],
props: ['tripList','dataList'],
components: {
traffice,
scenic,
......
......@@ -18,6 +18,8 @@
</span>
</div>
<div class="right">
<span class="time" v-if="dataList.trafficList[0].airportPickUp==1">接早</span>
<span class="time" v-if="dataList.trafficList[0].airportPickUp==2">送机</span>&nbsp;&nbsp;
<span class="time" v-if="tripItem.childItem.timeType==1">上午</span>
<span class="time" v-if="tripItem.childItem.timeType==2">下午</span>
<span class="time" v-if="tripItem.childItem.timeType==0">全天</span>
......@@ -38,7 +40,8 @@
<script>
export default {
props:{
tripItem:{}
}
tripItem:{},
dataList:{}
},
}
</script>
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