Commit eac56426 authored by youjie's avatar youjie

no message

parent 53a09adb
...@@ -978,16 +978,16 @@ export default { ...@@ -978,16 +978,16 @@ export default {
display: "服务设施", display: "服务设施",
}, },
{ {
val: "assemblypoint", val: "warning",
top: 0, top: 0,
isActive: false, isActive: false,
display: "酒店地址", display: "購買須知",
}, },
{ {
val: "warning", val: "assemblypoint",
top: 0, top: 0,
isActive: false, isActive: false,
display: "購買須知", display: "酒店地址",
}, },
{ {
val: "tips", val: "tips",
...@@ -1027,7 +1027,7 @@ export default { ...@@ -1027,7 +1027,7 @@ export default {
}, },
mounted() { mounted() {
window.addEventListener("scroll", this.handleScroll);
this.dateRange.to = date.formatDate(date.addToDate(new Date(), { days: 9 }), 'YYYY-MM-DD') this.dateRange.to = date.formatDate(date.addToDate(new Date(), { days: 9 }), 'YYYY-MM-DD')
this.dateRange.from = date.formatDate(date.addToDate(new Date(), { days: 8 }), 'YYYY-MM-DD') this.dateRange.from = date.formatDate(date.addToDate(new Date(), { days: 8 }), 'YYYY-MM-DD')
...@@ -1152,7 +1152,7 @@ export default { ...@@ -1152,7 +1152,7 @@ export default {
document.exitPictureInPicture(); document.exitPictureInPicture();
} }
let h = document.location.hash; let h = document.location.hash;
if (h.indexOf("#/detailsHotal/") == -1) { if (h.indexOf("#/detailHotal/") == -1) {
window.removeEventListener("scroll", this.handleScroll); window.removeEventListener("scroll", this.handleScroll);
} }
}, },
...@@ -1518,7 +1518,7 @@ export default { ...@@ -1518,7 +1518,7 @@ export default {
setTimeout(() => { setTimeout(() => {
this.navs.forEach((x) => { this.navs.forEach((x) => {
x.top = x.top =
this.$refs[x.val].getBoundingClientRect().top + this.currentHeight - 60; this.$refs[x.val].getBoundingClientRect().top + this.currentHeight - 150;
}); });
this.priceListHeight = this.priceListHeight =
this.$refs.pricelist.getBoundingClientRect().top + this.$refs.pricelist.getBoundingClientRect().top +
...@@ -1587,7 +1587,9 @@ export default { ...@@ -1587,7 +1587,9 @@ export default {
} }
}); });
this.JapanIncrease = res.data.data.JapanIncrease; this.JapanIncrease = res.data.data.JapanIncrease;
this.$nextTick(()=>{
window.addEventListener("scroll", this.handleScroll);
})
} else { } else {
this.$q.notify({ this.$q.notify({
type: "negative", type: "negative",
......
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