暂存
This commit is contained in:
@@ -125,7 +125,7 @@
|
|||||||
},
|
},
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
this.scrollTop = e.scrollTop;
|
this.scrollTop = e.scrollTop;
|
||||||
if (this.scrollTop > 500) {
|
if (this.scrollTop >300) {
|
||||||
this.fixed = true
|
this.fixed = true
|
||||||
} else {
|
} else {
|
||||||
this.fixed = false
|
this.fixed = false
|
||||||
@@ -310,7 +310,7 @@
|
|||||||
}
|
}
|
||||||
.curseSet{margin-right: 20rpx; font-size: 28rpx; display: flex; align-items: center;}
|
.curseSet{margin-right: 20rpx; font-size: 28rpx; display: flex; align-items: center;}
|
||||||
.fixed {
|
.fixed {
|
||||||
position: fixed;
|
position: fixed; top: 100rpx; border-bottom: 1px solid #eee;
|
||||||
z-index: 1; width: 100%; background-color: #fff;
|
z-index: 1; width: 100%; background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user