Commit 4842118e authored by youjie's avatar youjie

no message

parent c521dab4
......@@ -406,7 +406,6 @@ export default defineComponent({
watch(()=>data.days,(n, o) => {
data.days = n
// console.log(data.days.length>1&&data.dayList.length>3&&data.currentHeight > data.days[0].top-60&&data.currentHeight < data.navs[2].top)
},{immediate: true,deep: true})
const methods = {
getTopNum(x){
......@@ -552,7 +551,7 @@ export default defineComponent({
setTimeout(() => {
data.navs.forEach((x, index) => {
const el = document.querySelector(`#${x.val}`)
x.top = el.offsetTop - 90
x.top = el.offsetTop - 80
})
data.priceListHeight = pricelistref.value.getBoundingClientRect().top + data.currentHeight - 60
data.days = []
......
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