var pres = null;
function pageShow (num){
var pId = ['message.html','address-book.html','discover.html','mine.html','login.html'];
var index = plus.webview.getWebviewById(pId[num]);
if(index && (pres != index)){
index.show("slide-in-left",5000); // show 方法我添加了动画,怎么没有效果呢?
console.log(index.id);
}
pres = index;
}
show 方法我添加了动画,怎么没有效果呢? 请问怎么写才会有效果呢?手册上有这个参数,为什么用不了呢?
0 个回复