2015-10-25 72 views

回答

0

好的。這是怎麼做到的:

  1. 獲取當前的滾動條。 here is how to do it.
  2. 計算項目的偏移量
  3. 用法:smoothScrollToXY(0,offset - currentScroll);
相關問題