Commit d03de5db authored by 黄奎's avatar 黄奎
parents fdd8dcee 3e509a53
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
</div> </div>
</div> </div>
<div :id="'travelDaysMasterMap_'+index" class="travelDaysMasterMap relative"> <div :id="'travelDaysMasterMap_'+index" class="travelDaysMasterMap relative">
<div style="display: none;">{{getHeigthNum('travelDaysMasterMap_'+index,item)}}</div>
<div class="travelDaysMasterMap-one" :style="{'color':'#fff'}"> <div class="travelDaysMasterMap-one" :style="{'color':'#fff'}">
<div class="travelDaysMasterMap-oneImg absolute bjF6" :id="'travelDaysImg_one'+index"> <div class="travelDaysMasterMap-oneImg absolute bjF6" :id="'travelDaysImg_one'+index">
<img class="relative" :src="item.details[0].img"> <img class="relative" :src="item.details[0].img">
...@@ -87,7 +86,6 @@ ...@@ -87,7 +86,6 @@
</div> </div>
<div class="travelDaysContent column"> <div class="travelDaysContent column">
<!-- <template v-for="i in 1"></template> -->
<template v-for="i in 2"> <template v-for="i in 2">
<div class="travelDaysContent-text" v-for="(jindian,j) in item.details"> <div class="travelDaysContent-text" v-for="(jindian,j) in item.details">
<span>{{jindian.title}}</span> <span>{{jindian.title}}</span>
...@@ -96,7 +94,7 @@ ...@@ -96,7 +94,7 @@
</template> </template>
</div> </div>
<div class="travelDaysdetails"> <div class="travelDaysdetails absolute">
<div class="travelDaysdetailsBJ row" <div class="travelDaysdetailsBJ row"
:style="{'background':backgroundColor}"> :style="{'background':backgroundColor}">
<div class="travelDaysdetails-text row"> <div class="travelDaysdetails-text row">
...@@ -171,7 +169,6 @@ ...@@ -171,7 +169,6 @@
item.showImgTwo = false item.showImgTwo = false
} }
this.$forceUpdate() this.$forceUpdate()
return
}, },
getHeigthNum(Id,item){ getHeigthNum(Id,item){
let that = this let that = this
...@@ -290,7 +287,9 @@ ...@@ -290,7 +287,9 @@
}, },
tripList: { tripList: {
handler(val, oldVal) { handler(val, oldVal) {
this.tripList.forEach((x,index)=>{
this.getHeigthNum(`'travelDaysMasterMap_'+${this.index}`)
})
}, },
deep: true, deep: true,
immediate: true immediate: true
......
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