|
@@ -809,14 +809,15 @@ export default defineComponent({
|
|
|
const container: any = document.querySelector(
|
|
|
'.listContainerWrap .n-scrollbar-container'
|
|
|
);
|
|
|
- const sensitivity = 120; // 自定义灵敏度
|
|
|
+ const sensitivity = 150; // 自定义灵敏度
|
|
|
if (event.clientY < sensitivity) {
|
|
|
- container.scrollTop -= 5;
|
|
|
+ container.scrollTop -= 8;
|
|
|
} else if (
|
|
|
window.innerHeight - event.clientY <
|
|
|
sensitivity
|
|
|
) {
|
|
|
- container.scrollTop += 5;
|
|
|
+ console.log('1111');
|
|
|
+ container.scrollTop += 8;
|
|
|
}
|
|
|
}}
|
|
|
componentData={{
|