Commit 506ccae2 authored by 黄奎's avatar 黄奎

页面修改

parent e175b293
...@@ -10,13 +10,16 @@ let travelFeatureTwo = { ...@@ -10,13 +10,16 @@ let travelFeatureTwo = {
images: [], images: [],
type:"Hotel" type:"Hotel"
}; };
for (let item2 of item.ImaArray) { if(item.ImaArray&& item.ImaArray.length>0)
let obj2 = { {
Url: item2.Url, for (let item2 of item.ImaArray) {
x: 0, let obj2 = {
y: 0 Url: item2.Url,
}; x: 0,
obj.images.push(obj2) y: 0
};
obj.images.push(obj2)
}
} }
obj.description = item.Description; obj.description = item.Description;
obj.name = item.HotelName ? item.HotelName : ''; obj.name = item.HotelName ? item.HotelName : '';
......
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