Commit 40b3ffdc authored by youjie's avatar youjie

修复放大缩小bug

parent ed3366af
......@@ -204,6 +204,7 @@
</div>
<div class="dayPage-box row">
<div class="dayPage-form relative" v-if="!item.isHide">
<template v-if="isTemplate">
<el-tooltip class="item" effect="dark" content="放大行程" placement="top">
<span class="el-icon-full-screen absolute BlowUpTravelDays"
@click="clickBlowUpTravelDays(item)"></span>
......@@ -222,6 +223,8 @@
<span v-if="item.IsBlowUp" class="el-icon-error BlowUpTravelDaysClose"
@click="clickBlowUpTravelDays(item)"></span>
</div>
</template>
<span v-else style="color: red;">请选择版型</span>
</div>
<div class="newDayContent"
:style="{'width':!item.isHide?'520px':'1020px'}">
......@@ -276,23 +279,25 @@
},
methods: {
PromptTemplate(){
let _this = this
this.$confirm("一旦选择不可更改, 确认?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
})
.then(() => {
this.isTemplate = true
this.getFeaturePageType()
_this.isTemplate = true
_this.getFeaturePageType()
})
.catch(() => {
this.isTemplate = false
this.dataAll.FeaturePageType = 0
_this.isTemplate = false
_this.dataAll.FeaturePageType = 0
});
},
getFeaturePageType(){
this.subConfig.DayList.forEach(x=>{
x.IsBlowUp = false
x.ScenicArray.forEach(y=>{
y.ScenicJson = {
x: 0,
......@@ -361,6 +366,8 @@
dayItem.WarmTipObj = warmTipObj;
dayItem.isHide = false;
dayItem.isRead = false;
dayItem.IsBlowUp = false
dayItem.zoom = 1
if(this.dataAll.FeaturePageType==1){
dayItem.zoom = 0.285
}
......
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