This commit is contained in:
aihe 2024-12-17 14:17:02 +08:00
parent 32a00cd534
commit 4a4ee88b62

View File

@ -6,7 +6,8 @@
enable-back-to-top
:offset-accuracy="1"
:style="{
maxHeight: $u.addUnit(scrollViewHeight)
height: '100%',
// maxHeight: $u.addUnit(scrollViewHeight)
}"
@scroll="scrollHandler"
ref="uList"
@ -29,7 +30,8 @@
:scrollIntoView="scrollIntoView"
:offset-accuracy="1"
:style="{
maxHeight: $u.addUnit(scrollViewHeight)
height: '100%',
// maxHeight: $u.addUnit(scrollViewHeight)
}"
scroll-y
@scroll="scrollHandler"
@ -389,7 +391,7 @@
@import "../../libs/css/components.scss";
.u-index-list {
height: 100%;
&__letter {
position: fixed;
right: 0;
@ -398,9 +400,9 @@
padding: 0 6px;
&__item {
width: 16px;
height: 16px;
border-radius: 100px;
width: 40rpx;
height: 40rpx;
border-radius: 50%;
margin: 1px 0;
@include flex;
align-items: center;
@ -411,9 +413,9 @@
}
&__index {
font-size: 12px;
font-size: 26rpx;
text-align: center;
line-height: 12px;
line-height: 26rpx;
}
}
}