From 4b611679326b80a4d586d45d65187d6a48bf8d96 Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Tue, 30 Jul 2024 17:05:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/miniClass/classList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/miniClass/classList.vue b/pages/miniClass/classList.vue index 448aff2..b4cf57f 100644 --- a/pages/miniClass/classList.vue +++ b/pages/miniClass/classList.vue @@ -125,7 +125,7 @@ }, onPageScroll(e) { this.scrollTop = e.scrollTop; - if (this.scrollTop > 500) { + if (this.scrollTop >300) { this.fixed = true } else { this.fixed = false @@ -310,7 +310,7 @@ } .curseSet{margin-right: 20rpx; font-size: 28rpx; display: flex; align-items: center;} .fixed { - position: fixed; + position: fixed; top: 100rpx; border-bottom: 1px solid #eee; z-index: 1; width: 100%; background-color: #fff; }