YOUFANG1.0.4 消息列表跳转
This commit is contained in:
@@ -80,8 +80,6 @@ function messageGoto(_this,operation,operationPage,mid){
|
|||||||
// plus.webview.create(pages, pages, subpage_style);
|
// plus.webview.create(pages, pages, subpage_style);
|
||||||
// }
|
// }
|
||||||
// plus.webview.show(pages);
|
// plus.webview.show(pages);
|
||||||
alert("inOperation")
|
|
||||||
alert(pages)
|
|
||||||
if(plus.webview.getWebviewById('H5693FF3D')==null){
|
if(plus.webview.getWebviewById('H5693FF3D')==null){
|
||||||
mui.fire(plus.webview.getWebviewById('HBuilder'),'switchView',{
|
mui.fire(plus.webview.getWebviewById('HBuilder'),'switchView',{
|
||||||
name:pages
|
name:pages
|
||||||
|
|||||||
@@ -216,7 +216,6 @@
|
|||||||
|
|
||||||
// 推送消息跳转页面
|
// 推送消息跳转页面
|
||||||
window.addEventListener('switchView',function(event){
|
window.addEventListener('switchView',function(event){
|
||||||
alert('switchView')
|
|
||||||
var self = plus.webview.currentWebview();
|
var self = plus.webview.currentWebview();
|
||||||
console.log(event.detail.name)
|
console.log(event.detail.name)
|
||||||
plus.webview.show(plus.webview.getWebviewById("HBuilder"));
|
plus.webview.show(plus.webview.getWebviewById("HBuilder"));
|
||||||
@@ -238,6 +237,7 @@
|
|||||||
if(plus.webview.getWebviewById(targetTab)==null){
|
if(plus.webview.getWebviewById(targetTab)==null){
|
||||||
targetTab = plus.webview.create(targetTab, targetTab, subpage_style)
|
targetTab = plus.webview.create(targetTab, targetTab, subpage_style)
|
||||||
}
|
}
|
||||||
|
self.append(targetTab);
|
||||||
temp[targetTab] = "true";
|
temp[targetTab] = "true";
|
||||||
mui.extend(aniShow,temp);
|
mui.extend(aniShow,temp);
|
||||||
plus.webview.show(targetTab,"fade-in",300);
|
plus.webview.show(targetTab,"fade-in",300);
|
||||||
|
|||||||
Reference in New Issue
Block a user