我嘗試使用 window.scrollY 和 window.pageYOffset 獲取滾動位置,但仍將其記錄為 0 不管我滾動多少。 ... 也 scrollTop 不是任何規範的一部分(不同於 window.
確定! 回上一頁