Commit 12283703 authored by youjie's avatar youjie

no message

parent 08104717
......@@ -391,13 +391,13 @@ export default {
},
scroll(e) {
this.old.scrollTop = e.detail.scrollTop
this.boxOption = Math.floor((e.detail.scrollTop - 350) / 1.5);
this.boxOption = Math.floor((e.detail.scrollTop - 450) / 1.5);
this.titleStyle.opacity =
e.detail.scrollTop - 350 < 0 ?
e.detail.scrollTop - 450 < 0 ?
0 :
Math.floor(e.detail.scrollTop - 350) / 100 > 1 ?
Math.floor(e.detail.scrollTop - 450) / 100 > 1 ?
1 :
Math.floor(e.detail.scrollTop - 350) / 100;
Math.floor(e.detail.scrollTop - 450) / 100;
},
}
......
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