暂存
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user