Commit c3335e4f authored by youjie's avatar youjie

no message

parent e2f79582
......@@ -419,8 +419,7 @@
<div
class="absolute" style="z-index: 999;left: -150px;"
:style="{'top':currentHeight>navs[1].top?(currentHeight+100)+'px':(currentHeight+200)+'px'}"
v-if="
dataList.priceList.length > 0&&$q.platform.is.desktop&&
v-if="$q.platform.is.desktop&&
currentHeight>navs[1].top-400
&&currentHeight<navs[2].top&&dataList.dayList.length>3
"
......@@ -502,17 +501,19 @@
class="q-pb-xl"
:class="{'q-px-md':$q.platform.is.mobile}"
></smaple>
<div v-if="detailsImageList&&detailsImageList.length>0"
v-for="(x,i) in detailsImageList"
:id="`days_${i}`">
<div class="tripImages-footer" v-if="!dataList.tripColor" style="padding: 20px 0;">
</div>
<!-- <img v-if="dataList.teamType!=2" class="block" :src="x.header" width="100%"> -->
<img class="block" :src="x.page" style="width: 100%">
<div class="tripImages-footer">
<img v-if="dataList.tripColor" class="block" :src="x.footer" style="width: 100%">
<template v-if="detailsImageList&&detailsImageList.length>0">
<div
v-for="(x,i) in detailsImageList"
:id="`days_${i}`">
<div class="tripImages-footer" v-if="!dataList.tripColor" style="padding: 20px 0;">
</div>
</div>
<!-- <img v-if="dataList.teamType!=2" class="block" :src="x.header" width="100%"> -->
<img class="block" :src="x.page" style="width: 100%">
<div class="tripImages-footer">
<img v-if="dataList.tripColor" class="block" :src="x.footer" style="width: 100%">
</div>
</div>
</template>
<template v-else>
<template v-if="dataList.dayList.length<=3">
<trip :trip="dataList" @change="changeTripShowHandler"></trip>
......@@ -836,7 +837,7 @@ export default {
watch: {
days: {
handler: function (val, oldval) {
this.days = val;
// this.days = val;
let that = this
this.$nextTick(()=>{
try{
......@@ -847,9 +848,9 @@ export default {
} catch (error) {
console.log('----异常')
}
setTimeout(()=>{
that.getTopNum(JSON.stringify(that.days))
},1000)
// setTimeout(()=>{
// that.getTopNum(JSON.stringify(that.days))
// },1000)
})
},
immediate: true,
......@@ -1084,6 +1085,7 @@ export default {
},
getData() {
this.$q.loading.show();
let that = this
console.log(this.$q.loading)
this.apipost(
"b2b_get_GetB2BTravelInfoV1",
......@@ -1155,26 +1157,26 @@ export default {
});
}
this.$nextTick(() => {
if (this.dataList.feature.featureHtml != "") {
if (that.dataList.feature.featureHtml != "") {
let tw =
parseFloat(
this.$refs.diyContext.getBoundingClientRect().width
) / 1123.0;
that.$refs.diyContext.getBoundingClientRect().width
); // / 1123.0
let divArr = document.querySelectorAll("#setZoom>div");
for (let i = 0; i < divArr.length; i++) {
let div = divArr[i];
if (this.$q.platform.is.mobile) {
if (that.$q.platform.is.mobile) {
div.style.zoom =
div.offsetWidth > 1000
? 0.999
: document.documentElement.clientWidth / 1123.0;
: document.documentElement.clientWidth;/// 1123.0
} else {
div.style.zoom = 1;
}
}
this.zoomDiyContext = tw > 1 ? 1 : tw.toFixed(2);
that.zoomDiyContext = tw > 1 ? 1 : tw.toFixed(2);
}
setTimeout(() => {
......
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