Commit 51926b46 authored by 吴春's avatar 吴春
parents 41166e08 cadefb31
...@@ -417,7 +417,12 @@ html, body{ ...@@ -417,7 +417,12 @@ html, body{
height: 0; height: 0;
padding-top: 100%; padding-top: 100%;
} }
.travelDaysMasterMap-oneImg img{
width: 100%;
height: auto;
min-height: 100%;
position: absolute;
}
.travelDaysMasterMap-text { .travelDaysMasterMap-text {
left: 15px; left: 15px;
right: 15px; right: 15px;
...@@ -846,6 +851,9 @@ html, body{ ...@@ -846,6 +851,9 @@ html, body{
} }
.img100{ .img100{
width: 100%; width: 100%;
height: auto;
left: 0;
min-height: 100%;
} }
.hidden{ .hidden{
overflow: hidden; overflow: hidden;
......
...@@ -274,6 +274,12 @@ ...@@ -274,6 +274,12 @@
methods: { methods: {
getFeaturePageType(){ getFeaturePageType(){
this.subConfig.DayList.forEach(x=>{ this.subConfig.DayList.forEach(x=>{
x.ScenicArray.forEach(y=>{
y.ScenicJson = {
x: 0,
y:0
}
})
if(this.dataAll.FeaturePageType==1){ if(this.dataAll.FeaturePageType==1){
x.zoom = 0.285 x.zoom = 0.285
} }
......
...@@ -229,10 +229,10 @@ ...@@ -229,10 +229,10 @@
<VueDraggableResizable <VueDraggableResizable
v-if="item.ScenicArray.length>0||item.TrafficObj.trafficIntroduce.IntroduceImage" :w="516" v-if="item.ScenicArray.length>0||item.TrafficObj.trafficIntroduce.IntroduceImage" :w="516"
:h="388" :ref="'viewSpotVds_' + item * 4 + '_0'+index" tabindex="0" :resizable="false" :h="388" :ref="'viewSpotVds_' + item * 4 + '_0'+index" tabindex="0" :resizable="false"
:active="false" :parent="false" axis="x" @activated="onActivated(0)" :active="false" :parent="false" axis="y" @activated="onActivated(0)"
:x="ScenicArrayList&&ScenicArrayList.length>0?ScenicArrayList[0].ScenicJson.x:item.TrafficObj.trafficIntroduce.x" :x="0"
:y="0" :y="item.TrafficObj.trafficIntroduce.y"
:z="2" @dragstop="onViewSpotDragstopY"> :z="2" @dragstop="onViewSpotDragstop">
<template v-if="ScenicArrayList&&ScenicArrayList.length>0"> <template v-if="ScenicArrayList&&ScenicArrayList.length>0">
<img <img
v-if="!ScenicArrayList[0].NewImaArray[0].FileType&&ScenicArrayList[0].NewImaArray[0].Url" v-if="!ScenicArrayList[0].NewImaArray[0].FileType&&ScenicArrayList[0].NewImaArray[0].Url"
...@@ -280,10 +280,10 @@ ...@@ -280,10 +280,10 @@
<VueDraggableResizable <VueDraggableResizable
v-if="item.ScenicArray.length>1||item.TrafficObj.trafficIntroduce.IntroduceImage" :w="516" v-if="item.ScenicArray.length>1||item.TrafficObj.trafficIntroduce.IntroduceImage" :w="516"
:h="388" :ref="'viewSpotVds_' + item * 4 + '_1'+index" tabindex="0" :resizable="false" :h="388" :ref="'viewSpotVds_' + item * 4 + '_1'+index" tabindex="0" :resizable="false"
:active="false" :parent="false" axis="x" @activated="onActivated(1)" :active="false" :parent="false" axis="y" @activated="onActivated(1)"
:x="ScenicArrayList&&ScenicArrayList.length>1?ScenicArrayList[1].ScenicJson.x:item.TrafficObj.trafficIntroduce.x" :x="0"
:y="0" :y="item.TrafficObj.trafficIntroduce.y"
:z="2" @dragstop="onViewSpotDragstopY"> :z="2" @dragstop="onViewSpotDragstop">
<template v-if="ScenicArrayList&&ScenicArrayList.length>1"> <template v-if="ScenicArrayList&&ScenicArrayList.length>1">
<img <img
v-if="!ScenicArrayList[1].NewImaArray[0].FileType&&ScenicArrayList[1].NewImaArray[0].Url" v-if="!ScenicArrayList[1].NewImaArray[0].FileType&&ScenicArrayList[1].NewImaArray[0].Url"
...@@ -332,10 +332,10 @@ ...@@ -332,10 +332,10 @@
<VueDraggableResizable <VueDraggableResizable
v-if="item.ScenicArray.length>2||item.TrafficObj.trafficIntroduce.IntroduceImage" :w="516" v-if="item.ScenicArray.length>2||item.TrafficObj.trafficIntroduce.IntroduceImage" :w="516"
:h="388" :ref="'viewSpotVds_' + item * 4 + '_2'+index" tabindex="0" :resizable="false" :h="388" :ref="'viewSpotVds_' + item * 4 + '_2'+index" tabindex="0" :resizable="false"
:active="false" :parent="false" axis="x" @activated="onActivated(2)" :active="false" :parent="false" axis="y" @activated="onActivated(2)"
:x="ScenicArrayList&&ScenicArrayList.length>2?ScenicArrayList[2].ScenicJson.x:item.TrafficObj.trafficIntroduce.x" :x="0"
:y="0" :y="item.TrafficObj.trafficIntroduce.y"
:z="2" @dragstop="onViewSpotDragstopY"> :z="2" @dragstop="onViewSpotDragstop">
<template v-if="ScenicArrayList&&ScenicArrayList.length>2"> <template v-if="ScenicArrayList&&ScenicArrayList.length>2">
<img <img
v-if="!ScenicArrayList[2].NewImaArray[0].FileType&&ScenicArrayList[2].NewImaArray[0].Url" v-if="!ScenicArrayList[2].NewImaArray[0].FileType&&ScenicArrayList[2].NewImaArray[0].Url"
......
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