87,997
社区成员




detailPage = plus.webview.getWebviewById('main');
mui.fire(detailPage,'newsId',{
id:2
});
var dqid = plus.webview.currentWebview().id;
if(dqid != 'home.html' && dqid != 'approvalProcess.html' && dqid != 'message.html' && dqid != 'main.html'){
plus.webview.currentWebview().close()
}
plus.webview.currentWebview().hide()
plus.webview.show('message.html',"fade-in",300);
根据模拟点击的思路我也试了但是没用啊。。我不清楚为啥加到index页面他就失效了 模拟点击...
模拟点击...
emmm,打开页面的那个页面如果是app的话,那就得让APP去做这样的事了。 APP生成一个新界面,webview界面跟选项卡,webview打开你要打开的web页面。