Commit e4842613 authored by 华国豪's avatar 华国豪 🙄

‘行程特色bug@’

parent 2281780f
...@@ -103,6 +103,7 @@ input:-webkit-autofill{-webkit-box-shadow: 0 0 0px 1000px white inset;} ...@@ -103,6 +103,7 @@ input:-webkit-autofill{-webkit-box-shadow: 0 0 0px 1000px white inset;}
.w220{width: 220px!important;} .w220{width: 220px!important;}
.w230{width: 230px!important;} .w230{width: 230px!important;}
.w240{width: 240px!important;} .w240{width: 240px!important;}
.w250{width: 250px!important;}
.w260{width: 260px!important;} .w260{width: 260px!important;}
.w272{width: 272px!important;} .w272{width: 272px!important;}
.w275{width: 275px!important;} .w275{width: 275px!important;}
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<!--<div id='newFeatureBox' v-if="!Refresh" v-loading="RenderingOk">--> <!--<div id='newFeatureBox' v-if="!Refresh" v-loading="RenderingOk">-->
<div id='newFeatureBox' v-if="!Refresh"> <div id='newFeatureBox' v-if="!Refresh">
<!-- 酒店 --> <!-- 酒店 -->
<div class="travle_page" v-for="(item, index) in hotelObj.pageList" :key="'hotel'+index " v-if="item === 0"> <div class="travle_page" v-for="(item, index) in hotelObj.pageList" :key="'hotel'+index " v-if="hotelObj.list.length>0">
<!-- 酒店1 --> <!-- 酒店1 -->
<div class="travel_hotel_1" v-if="item === 0 && hotelObj.list!=null && hotelObj.list.length>0"> <div class="travel_hotel_1" v-if="item === 0 && hotelObj.list!=null && hotelObj.list.length>0">
<div class="hotel_1_header"> <div class="hotel_1_header">
...@@ -1354,7 +1354,8 @@ ...@@ -1354,7 +1354,8 @@
init: function () { //初始化 init: function () { //初始化
let dataList = JSON.parse(JSON.stringify(this.FeatureData)); let dataList = JSON.parse(JSON.stringify(this.FeatureData));
let deleteDataList = JSON.parse(JSON.stringify(this.FeatureData.FeatureHtmlJsonDelete)); let deleteDataList = JSON.parse(JSON.stringify(this.FeatureData.FeatureHtmlJsonDelete));
this.deleteArray = deleteDataList==="" ? this.deleteArray : deleteDataList; this.deleteArray = !deleteDataList ? [] : deleteDataList;
console.log("this.deleteArray", this.deleteArray)
console.log("dataList",dataList,!this.$route.query.configId,dataList.switch4or5) console.log("dataList",dataList,!this.$route.query.configId,dataList.switch4or5)
// console.log("this.$route.query.configId && this.FeatureData.FeatureType<4",this.$route.query.configId && this.FeatureData.FeatureType<4) || (this.$route.query.configId && this.FeatureData.FeatureType<4) // console.log("this.$route.query.configId && this.FeatureData.FeatureType<4",this.$route.query.configId && this.FeatureData.FeatureType<4) || (this.$route.query.configId && this.FeatureData.FeatureType<4)
if (!this.$route.query.configId || (this.$route.query.configId && dataList.switch4or5) || (this.$route.query.configId && this.FeatureData.lastFeatureType<4)){ if (!this.$route.query.configId || (this.$route.query.configId && dataList.switch4or5) || (this.$route.query.configId && this.FeatureData.lastFeatureType<4)){
...@@ -1841,6 +1842,7 @@ ...@@ -1841,6 +1842,7 @@
}, },
// 版块删除 // 版块删除
bolckToDelete: function (name, index1, index2) { bolckToDelete: function (name, index1, index2) {
console.log(name, index1)
let blockList = []; let blockList = [];
if (name === 'hotel') { if (name === 'hotel') {
blockList = this.hotelObj.list blockList = this.hotelObj.list
...@@ -1849,6 +1851,7 @@ ...@@ -1849,6 +1851,7 @@
} else if (name === 'restaurant') { } else if (name === 'restaurant') {
blockList = this.restaurantObj.list blockList = this.restaurantObj.list
} }
console.log(blockList)
this.imgTopReset(name, index1, index2); this.imgTopReset(name, index1, index2);
this.deleteArray.push(blockList[index1]); this.deleteArray.push(blockList[index1]);
console.log("删除",blockList[index1]) console.log("删除",blockList[index1])
......
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