Commit 118c24c2 authored by youjie's avatar youjie

no message

parent 6378136d
...@@ -167,11 +167,6 @@ ...@@ -167,11 +167,6 @@
<view class="scheduleTitle fixed" <view class="scheduleTitle fixed"
:style="{ opacity: boxOption + '%' }"> :style="{ opacity: boxOption + '%' }">
<headers textAlign="left" :title="pageTitle" color="#fff"></headers> <headers textAlign="left" :title="pageTitle" color="#fff"></headers>
<view class="row justify-center items-center colorFFF"
@click="BaseInfo.length>1?optionVisible=true:''">
<text class="fz36">{{ BaseInfo[currentIndex].TCNUMS }}</text>
<view class="triangle ML10" v-if="BaseInfo.length>1"></view>
</view>
<scroll-view class="scheduleTsBox" :scroll-x="true" <scroll-view class="scheduleTsBox" :scroll-x="true"
:scroll-left="scrollLeft" :scroll-left="scrollLeft"
@scroll="scrollHandler"> @scroll="scrollHandler">
...@@ -435,15 +430,14 @@ export default { ...@@ -435,15 +430,14 @@ export default {
}, },
scroll(e) { scroll(e) {
this.old.scrollTop = e.detail.scrollTop this.old.scrollTop = e.detail.scrollTop
this.boxOption = Math.floor((e.detail.scrollTop - 100) / 1.5); this.boxOption = Math.floor((e.detail.scrollTop - 350) / 1.5);
this.titleStyle.opacity = this.titleStyle.opacity =
e.detail.scrollTop - 100 < 0 ? e.detail.scrollTop - 350 < 0 ?
0 : 0 :
Math.floor(e.detail.scrollTop - 100) / 100 > 1 ? Math.floor(e.detail.scrollTop - 350) / 100 > 1 ?
1 : 1 :
Math.floor(e.detail.scrollTop - 100) / 100; Math.floor(e.detail.scrollTop - 350) / 100;
this.$forceUpdate();
}, },
} }
} }
......
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