Share a scrolling Vue plugin: Vue-custom-scrollbar. Today, during the UI walkthrough at work, it was said that there was no scroll bar in the scroll mode, so I used this plugin to force the scroll bar to be displayed while scrolling, and changed the scroll bar style in the direction of Y axis:
/deep/ .ps__thumb-y {
width: 6px;
height: 180px;
margin-right: 36px;
background: #ffffff;
border-radius: 3px;
opacity: 0.1;
}
/deep/ Force to update the component’s style. I haven’t learned much about this component yet, so I have time to learn.