Commit 3de10937 authored by zhengke's avatar zhengke

修改

parent 3d258e07
...@@ -1613,7 +1613,6 @@ ...@@ -1613,7 +1613,6 @@
}) })
} }
this.travelLngLat = Arr; this.travelLngLat = Arr;
console.log('day加载' + dayNum, this.travelLngLat);
} }
}, },
getItemArray(item, type) { getItemArray(item, type) {
...@@ -1667,7 +1666,7 @@ ...@@ -1667,7 +1666,7 @@
//滚动选中 //滚动选中
handleScroll() { handleScroll() {
try { try {
let navs = ['tripLine', 'aboutTrip', 'tripArrange']; var navs = ['tripLine', 'aboutTrip', 'tripArrange'];
this.dataList.dayList.forEach((x, index) => { this.dataList.dayList.forEach((x, index) => {
navs.push('dayList' + x.dayNum) navs.push('dayList' + x.dayNum)
}) })
...@@ -1684,6 +1683,13 @@ ...@@ -1684,6 +1683,13 @@
this.dataindex = index; this.dataindex = index;
} }
} catch (error) {} } catch (error) {}
//滚动条到底了
if(this.scrollobj.scrollHeight-this.scrollobj.scrollTop==this.scrollobj.clientHeight){
var lastChecked = navs.pop();
if (lastChecked.indexOf("dayList") != -1) {
this.crtnav = lastChecked;
}
}
}, },
//隐藏显示 //隐藏显示
getShowMore(item) { getShowMore(item) {
......
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