document.querySelector('.outer').addEventListener('touchmove', function (event) {
$("body").scrollTop(0)
},false)
監聽滾動並賦值
document.querySelector('.outer').addEventListener('touchmove', function (event) {
$("body").scrollTop(0)
},false)
監聽滾動並賦值
/* 功能:獲取App根目錄 實例:app.getRoot() 當前訪問路徑:/page/index.html,結果:../ 當前訪問路徑:/page/child/index.html,結果:../.