feat:完善功能

This commit is contained in:
zjc
2025-03-04 14:07:05 +08:00
parent ccaf3c4e12
commit b984b1b01c
2 changed files with 55 additions and 21 deletions

View File

@@ -200,8 +200,23 @@
.main {
width: 100%;
height: vh(600);
overflow-x: auto;
overflow-y: hidden;
/* 滚动条整体样式 */
&::-webkit-scrollbar {
height: vh(10); /* 滚动条的宽度 */
}
/* 滚动条轨道 */
&::-webkit-scrollbar-track {
background: 'transparent'; /* 轨道的背景色 */
}
/* 滚动条滑块 */
&::-webkit-scrollbar-thumb {
background: rgba(0, 150, 255, 0.63); /* 滑块的背景色 */
border-radius: 5px; /* 滑块的圆角 */
}
> img {
width: 100%;
width: auto;
height: 100%;
}
}