Commit ed0a5a1c authored by 黄奎's avatar 黄奎

Merge branch 'master' of http://gitlab.oytour.com/luochao/superman

# Conflicts:
#	src/components/LeaveGroupDownload/travelDays.vue
parents 373b99c5 4900e7bc
...@@ -32,9 +32,10 @@ ...@@ -32,9 +32,10 @@
</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 relative bjF6" :id="'travelDaysImg_one'+index"> <div class="travelDaysMasterMap-oneImg absolute bjF6" :id="'travelDaysImg_one'+index">
<img class="absolute" :src="item.details[0].img?item.details[0].img:'https://imgfile.oytour.com/Static/NewTripFeature/acquiesce.jpg'"> <img class="relative" :src="item.details[0].img">
</div> </div>
<div class="travelDaysMasterMap-text absolute z-index2">{{item.details[0].title}}</div> <div class="travelDaysMasterMap-text absolute z-index2">{{item.details[0].title}}</div>
</div> </div>
...@@ -45,14 +46,14 @@ ...@@ -45,14 +46,14 @@
:id="'travelDaysImg_two'+index" :id="'travelDaysImg_two'+index"
v-if="(item.details&&item.details.length>1&&item.details[1].img)||(item.jiu2&&item.jiu2.length>0&&item.jiu2[0].url)"> v-if="(item.details&&item.details.length>1&&item.details[1].img)||(item.jiu2&&item.jiu2.length>0&&item.jiu2[0].url)">
<template v-if="item.details.length>1&&item.details[1].img"> <template v-if="item.details.length>1&&item.details[1].img">
<img class="" :src="item.details[1].img?item.details[1].img:'https://imgfile.oytour.com/Static/NewTripFeature/acquiesce.jpg'"> <img :src="item.details[1].img">
<div class="travelDaysMasterMap-text textTwo absolute z-index2"> <div class="travelDaysMasterMap-text textTwo absolute z-index2">
{{item.details[1].title}}</div> {{item.details[1].title}}</div>
</template> </template>
<template v-else> <template v-else>
<template v-for="(jiudian,j) in item.jiu2"> <template v-for="(jiudian,j) in item.jiu2">
<template v-if="jiudian.url&&j==0"> <template v-if="jiudian.url&&j==0">
<img class="" v-if="jiudian.url" :src="jiudian.url?jiudian.url:'https://imgfile.oytour.com/Static/NewTripFeature/acquiesce.jpg'"> <img v-if="jiudian.url" :src="jiudian.url">
<div class="travelDaysMasterMap-text textTwo absolute z-index2"> <div class="travelDaysMasterMap-text textTwo absolute z-index2">
{{jiudian.newTitle}}</div> {{jiudian.newTitle}}</div>
</template> </template>
...@@ -66,7 +67,7 @@ ...@@ -66,7 +67,7 @@
:id="'travelDaysImg_three'+index" :id="'travelDaysImg_three'+index"
v-if="(item.details&&item.details.length>2&&item.details[2].img)||(item.jiu2&&item.jiu2.length>1&&item.jiu2[0].url)"> v-if="(item.details&&item.details.length>2&&item.details[2].img)||(item.jiu2&&item.jiu2.length>1&&item.jiu2[0].url)">
<template v-if="item.details.length>2&&item.details[2].img"> <template v-if="item.details.length>2&&item.details[2].img">
<img class="" :src="item.details[2].img?item.details[2].img:'https://imgfile.oytour.com/Static/NewTripFeature/acquiesce.jpg'"> <img :src="item.details[2].img">
<div class="travelDaysMasterMap-text textTwo absolute z-index2"> <div class="travelDaysMasterMap-text textTwo absolute z-index2">
{{item.details[2].title}}</div> {{item.details[2].title}}</div>
</template> </template>
...@@ -74,7 +75,7 @@ ...@@ -74,7 +75,7 @@
<template v-else> <template v-else>
<template v-for="(jiudian,j) in item.jiu2"> <template v-for="(jiudian,j) in item.jiu2">
<template v-if="jiudian.url&&j==1"> <template v-if="jiudian.url&&j==1">
<img class="" v-if="jiudian.url" :src="jiudian.url?item.details[2].img:'https://imgfile.oytour.com/Static/NewTripFeature/acquiesce.jpg'"> <img v-if="jiudian.url" :src="jiudian.url">
<div class="travelDaysMasterMap-text textTwo absolute z-index2"> <div class="travelDaysMasterMap-text textTwo absolute z-index2">
{{jiudian.name}}</div> {{jiudian.name}}</div>
</template> </template>
...@@ -86,13 +87,16 @@ ...@@ -86,13 +87,16 @@
</div> </div>
<div class="travelDaysContent column"> <div class="travelDaysContent column">
<!-- <template v-for="i in 1"></template> -->
<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 v-if="jindian.title">【{{jindian.title}}】</span> <span>{{jindian.title}}</span>
{{jindian.content?jindian.content:'暂无数据'}} {{jindian.content}}
</div> </div>
</template>
</div> </div>
<div class="travelDaysdetails absolute"> <div class="travelDaysdetails">
<div class="travelDaysdetailsBJ row" <div class="travelDaysdetailsBJ row"
:style="{'background':backgroundColor}"> :style="{'background':backgroundColor}">
<div class="travelDaysdetails-text row"> <div class="travelDaysdetails-text row">
...@@ -167,6 +171,7 @@ ...@@ -167,6 +171,7 @@
item.showImgTwo = false item.showImgTwo = false
} }
this.$forceUpdate() this.$forceUpdate()
return
}, },
getHeigthNum(Id,item){ getHeigthNum(Id,item){
let that = this let that = this
...@@ -285,9 +290,7 @@ ...@@ -285,9 +290,7 @@
}, },
tripList: { tripList: {
handler(val, oldVal) { handler(val, oldVal) {
this.tripList.forEach((x,index)=>{
this.getHeigthNum('travelDaysMasterMap_'+index,x)
})
}, },
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