YOUFANG1.0.4 消息跳转

This commit is contained in:
zongzhimin
2018-05-07 13:46:12 +08:00
parent b01066dc8d
commit 0d701dc87a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -75,13 +75,13 @@ function messageGoto(_this,operation,operationPage,mid){
clicked('/views/message/detail.html',true,false,{},{mid:mid},function(){})
}
if(operation==1){
// var pages = operationPage+'.html';
var pages = operationPage+'.html';
// if(plus.webview.getWebviewById(pages)==null){
// plus.webview.create(pages, pages, subpage_style);
// }
// plus.webview.show(pages);
mui.fire(plus.webview.getWebviewById('HBuilder'),'switchView',{
name:"views/house/houseDetail.html"
name:pages
});
}
if(operation==2){
+1 -1
View File
@@ -137,7 +137,7 @@ function run(){
if(time.innerHTML == 0 && isShow == false) {
isShow = true;
if (localStorage.getItem("yf_guide_page_status") == null && JSON.parse(localStorage.getItem("guidePageUrls")).length > 0) {
if (localStorage.getItem("yf_guide_page_status") == null && localStorage.getItem("guidePageUrls") != null && JSON.parse(localStorage.getItem("guidePageUrls")).length > 0) {
$(".swiper-container").removeClass("dn");
$(".swiper-container").swiper();
localStorage.setItem("yf_guide_page_status", 1)