Commit a407b4cf authored by youjie's avatar youjie
parents 8cb6c5d1 7fd3f019
...@@ -152,9 +152,9 @@ ...@@ -152,9 +152,9 @@
var oldJson = this.FeatureData.FeatureHtmlJson ? var oldJson = this.FeatureData.FeatureHtmlJson ?
JSON.parse(JSON.stringify(this.FeatureData.FeatureHtmlJson)) : JSON.parse(JSON.stringify(this.FeatureData.FeatureHtmlJson)) :
""; "";
console.log("oldJson",oldJson); console.log("oldJson", oldJson);
if (oldJson && oldJson.length>0) { if (oldJson && oldJson.length > 0) {
this.pageList=oldJson; this.pageList = oldJson;
} else { } else {
var tripObj = this.getTripData(); var tripObj = this.getTripData();
console.log("tripObj", tripObj); console.log("tripObj", tripObj);
...@@ -316,6 +316,8 @@ ...@@ -316,6 +316,8 @@
} }
if (dItem.HotelArray && dItem.HotelArray.length > 0) { if (dItem.HotelArray && dItem.HotelArray.length > 0) {
dItem.HotelArray.forEach(sItem => { dItem.HotelArray.forEach(sItem => {
//排除“温馨的家”和“机场附近酒店”
if (sItem.HotelId != 1568 && sItem.HotelId != 2353) {
var tempImgList = []; var tempImgList = [];
if (sItem.ImaArray && sItem.ImaArray.length > 0) { if (sItem.ImaArray && sItem.ImaArray.length > 0) {
sItem.ImaArray.forEach(iItem => { sItem.ImaArray.forEach(iItem => {
...@@ -334,6 +336,7 @@ ...@@ -334,6 +336,7 @@
if (!tempHotel) { if (!tempHotel) {
hotelArray.push(hObj); hotelArray.push(hObj);
} }
}
}); });
} }
if (dItem.DinnerArray && dItem.DinnerArray.length > 0) { if (dItem.DinnerArray && dItem.DinnerArray.length > 0) {
......
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