This commit is contained in:
@fawn-nine
2024-07-30 17:05:46 +08:00
parent fe2ab47b63
commit 4b61167932

View File

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