Commit d7dfa6c2 authored by 黄奎's avatar 黄奎

页面修改

parent fec83479
...@@ -770,6 +770,7 @@ ...@@ -770,6 +770,7 @@
dinner: '敬请自理' dinner: '敬请自理'
} }
x.dayArray.forEach((y, index) => { x.dayArray.forEach((y, index) => {
if (y.type == 7 && y.childItem.title != '') { if (y.type == 7 && y.childItem.title != '') {
let obj = { let obj = {
title: y.childItem.title, title: y.childItem.title,
...@@ -782,23 +783,25 @@ ...@@ -782,23 +783,25 @@
url: '' url: ''
} }
dadian.push(obj) dadian.push(obj)
} else if (y.type == 1 && y.childItem.subTraffic.length > 0) { } else if (y.type == 1) {
let title = '' let title = ''
y.childItem.subTraffic.forEach((z, i) => { if (y.childItem.subTraffic && y.childItem.subTraffic.length > 0) {
title += z.startCityName y.childItem.subTraffic.forEach((z, i) => {
if (z.arrivalType == 1) { title += z.startCityName
title += '<i class="iconfont icon-feiji"></i>' if (z.arrivalType == 1) {
} else if (z.arrivalType == 2) { title += '<i class="iconfont icon-feiji"></i>'
title += '<i class="iconfont icon-bus"></i>' } else if (z.arrivalType == 2) {
} else if (z.arrivalType == 3) { title += '<i class="iconfont icon-bus"></i>'
title += '<i class="iconfont icon-icon31"></i>' } else if (z.arrivalType == 3) {
} else { title += '<i class="iconfont icon-icon31"></i>'
title += '<i class="iconfont icon-gaotiedongche"></i>' } else {
} title += '<i class="iconfont icon-gaotiedongche"></i>'
if (i + 1 == y.childItem.subTraffic.length) { }
title += z.arrivalCityName if (i + 1 == y.childItem.subTraffic.length) {
} title += z.arrivalCityName
}) }
})
}
var imgUrl = ""; var imgUrl = "";
if (y.childItem.trafficIntroduce && y.childItem.trafficIntroduce.introduceImage && y.childItem if (y.childItem.trafficIntroduce && y.childItem.trafficIntroduce.introduceImage && y.childItem
.trafficIntroduce.introduceImage != '') { .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