//監聽窗口顯示事件
var ws =plus.webview.currentWebview();
ws.addEventListener("show", function() {
console.log(JSON.stringify(ws.Id))//獲取參數
});
//監聽窗口顯示事件
var ws =plus.webview.currentWebview();
ws.addEventListener("show", function() {
console.log(JSON.stringify(ws.Id))//獲取參數
});
/* 功能:獲取App根目錄 實例:app.getRoot() 當前訪問路徑:/page/index.html,結果:../ 當前訪問路徑:/page/child/index.html,結果:../.
<script> window.onload = function(){ getRem(720,100) }; window.onresize = function(){ getRe