From 2d9429cfd8395caf9af597c57fbc913f2cde00c3 Mon Sep 17 00:00:00 2001
From: jia <1451658316@qq.com>
Date: Fri, 1 Sep 2023 22:29:55 +0800
Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E9=98=B4=E5=BD=B1=E5=A2=9E?=
=?UTF-8?q?=E5=8A=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/zbpSwiper.vue | 2 +-
pages/supply_chains/supply_chains.vue | 106 +++++++++-----------------
2 files changed, 37 insertions(+), 71 deletions(-)
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 @@
}
-