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; }