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