diff --git a/components/zbpSwiper.vue b/components/zbpSwiper.vue index aa93d1f..1737ea9 100644 --- a/components/zbpSwiper.vue +++ b/components/zbpSwiper.vue @@ -5,7 +5,7 @@ - + {{street}} diff --git a/pages/supply_chains/supply_chains.vue b/pages/supply_chains/supply_chains.vue index f743662..9e3beff 100644 --- a/pages/supply_chains/supply_chains.vue +++ b/pages/supply_chains/supply_chains.vue @@ -3,11 +3,11 @@ - + - + {{street}} @@ -16,14 +16,12 @@ :class="[isFshow?'sitbox':'']"> - - + @@ -52,8 +50,8 @@ - - + + 点击查看 @@ -75,7 +73,7 @@ - + 点击查看 @@ -125,7 +123,7 @@ - + @@ -225,7 +223,7 @@ streeta_id: '', street: '', bgColor: '', - ishshow: false, + ishshow: true, isFshow: false, } }, @@ -293,15 +291,16 @@ // #ifdef APP-PLUS onPageScroll(e) { // this.scrollTop = e.scrollTop; - console.log(e.scrollTop) + // console.log(e.scrollTop) if (e.scrollTop > 0) { - this.ishshow = true - setTimeout(() => { - this.ishshow = false - this.isFshow = true - }, 3000) + this.isFshow = true + + } else if (e.scrollTop == 0) { + this.ishshow = false + this.isFshow = false } else { + this.ishshow = false this.isFshow = false } @@ -650,7 +649,7 @@ } -