Commit e3abf6e6 authored by youjie's avatar youjie

no message

parent 01eba824
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</div> </div>
</div> </div>
<!-- 一张图 1-单张图,2-多张图--> <!-- 一张图 1-单张图,2-多张图-->
<div v-if="item.TitleObj.ShowTripType==1"> <div v-if="item.TitleObj.ShowTripType==1||(item.TitleObj.ShowTripType==2&&item.ScenicArray.length==1)">
<div :id="'viewSpotBox_'+(item*4)+'_0'+index" class="travelDaysMasterMap relative borderRadius18 hidden"> <div :id="'viewSpotBox_'+(item*4)+'_0'+index" class="travelDaysMasterMap relative borderRadius18 hidden">
<div class="travelDaysMasterMap-one" :style="{'color':'#fff'}"> <div class="travelDaysMasterMap-one" :style="{'color':'#fff'}">
<div class="travelDaysMasterMap-oneImg bjF6 relative UpgradedVersion-Hover"> <div class="travelDaysMasterMap-oneImg bjF6 relative UpgradedVersion-Hover">
...@@ -797,7 +797,7 @@ ...@@ -797,7 +797,7 @@
this.RenderingOk = false; this.RenderingOk = false;
this.ScenicArrayList = [] this.ScenicArrayList = []
this.item.ScenicArray.forEach((x, index) => { this.item.ScenicArray.forEach((x, index) => {
if(this.item.TitleObj.ShowTripType==1&&this.item.ScenicArray&&this.item.ScenicArray.length>0){ if((this.item.TitleObj.ShowTripType==1&&this.item.ScenicArray&&this.item.ScenicArray.length>0)||(this.item.TitleObj.ShowTripType==2&&this.item.ScenicArray&&this.item.ScenicArray.length==1)){
if (x.DefaultNum > 0) { if (x.DefaultNum > 0) {
this.defaultScenicIndex = index; this.defaultScenicIndex = index;
this.ScenicArrayList.push(x) this.ScenicArrayList.push(x)
...@@ -808,7 +808,7 @@ ...@@ -808,7 +808,7 @@
}); });
if (this.ScenicArrayList.length == 0) { if (this.ScenicArrayList.length == 0) {
this.item.ScenicArray.forEach((x, index) => { this.item.ScenicArray.forEach((x, index) => {
if(this.item.TitleObj.ShowTripType==1&&this.item.ScenicArray&&this.item.ScenicArray.length>0){ if((this.item.TitleObj.ShowTripType==1&&this.item.ScenicArray&&this.item.ScenicArray.length>0)||(this.item.TitleObj.ShowTripType==2&&this.item.ScenicArray&&this.item.ScenicArray.length==1)){
if (index == 0) { if (index == 0) {
x.DefaultNum = 1; x.DefaultNum = 1;
this.defaultScenicIndex = index; this.defaultScenicIndex = index;
......
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