思路1.编写原生js代码: mounted () { window.addEventListener('scroll', this.handleScroll) }, methods:{ handleScroll () { var scrollTop = document.getElementById( ...
確定! 回上一頁