📅  最后修改于: 2022-03-11 15:02:14.392000             🧑  作者: Mango
import LocomotiveScroll from 'locomotive-scroll';
const scroll = new LocomotiveScroll({
el: document.querySelector('[data-scroll-container]'),
smooth: true
});