Commit d7dfa6c2 authored by 黄奎's avatar 黄奎

页面修改

parent fec83479
......@@ -770,6 +770,7 @@
dinner: '敬请自理'
}
x.dayArray.forEach((y, index) => {
if (y.type == 7 && y.childItem.title != '') {
let obj = {
title: y.childItem.title,
......@@ -782,8 +783,9 @@
url: ''
}
dadian.push(obj)
} else if (y.type == 1 && y.childItem.subTraffic.length > 0) {
} else if (y.type == 1) {
let title = ''
if (y.childItem.subTraffic && y.childItem.subTraffic.length > 0) {
y.childItem.subTraffic.forEach((z, i) => {
title += z.startCityName
if (z.arrivalType == 1) {
......@@ -799,6 +801,7 @@
title += z.arrivalCityName
}
})
}
var imgUrl = "";
if (y.childItem.trafficIntroduce && y.childItem.trafficIntroduce.introduceImage && y.childItem
.trafficIntroduce.introduceImage != '') {
......
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