.test{
height: 760px;
overflow-y: auto;
&::-webkit-scrollbar {
width: 4px;
height: 4px;
}
&::-webkit-scrollbar-thumb {
background-color: #345a75;
border-radius: 10px;
}
&::-webkit-scrollbar-track {
background-color: transparent;
}
}
根据需要自行修改滚动条样式即可