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

View File

@ -5,8 +5,9 @@
:scrollTop="scrollTop"
enable-back-to-top
:offset-accuracy="1"
:style="{
maxHeight: $u.addUnit(scrollViewHeight)
:style="{
height: '100%',
// maxHeight: $u.addUnit(scrollViewHeight)
}"
@scroll="scrollHandler"
ref="uList"
@ -28,8 +29,9 @@
:scrollTop="scrollTop"
:scrollIntoView="scrollIntoView"
:offset-accuracy="1"
:style="{
maxHeight: $u.addUnit(scrollViewHeight)
:style="{
height: '100%',
// maxHeight: $u.addUnit(scrollViewHeight)
}"
scroll-y
@scroll="scrollHandler"
@ -388,8 +390,8 @@
<style lang="scss" scoped>
@import "../../libs/css/components.scss";
.u-index-list {
.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;
}
}
}