YOUFANG1.0.4 消息列表跳转

This commit is contained in:
zongzhimin
2018-05-09 14:21:24 +08:00
parent c2196ef75a
commit c72f1f6d9f
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -80,8 +80,6 @@ function messageGoto(_this,operation,operationPage,mid){
// plus.webview.create(pages, pages, subpage_style);
// }
// plus.webview.show(pages);
alert("inOperation")
alert(pages)
if(plus.webview.getWebviewById('H5693FF3D')==null){
mui.fire(plus.webview.getWebviewById('HBuilder'),'switchView',{
name:pages
+1 -1
View File
@@ -216,7 +216,6 @@
// 推送消息跳转页面
window.addEventListener('switchView',function(event){
alert('switchView')
var self = plus.webview.currentWebview();
console.log(event.detail.name)
plus.webview.show(plus.webview.getWebviewById("HBuilder"));
@@ -238,6 +237,7 @@
if(plus.webview.getWebviewById(targetTab)==null){
targetTab = plus.webview.create(targetTab, targetTab, subpage_style)
}
self.append(targetTab);
temp[targetTab] = "true";
mui.extend(aniShow,temp);
plus.webview.show(targetTab,"fade-in",300);