From 0d701dc87aed8e3a37fff0a35f3c319eec92962b Mon Sep 17 00:00:00 2001 From: zongzhimin Date: Mon, 7 May 2018 13:46:12 +0800 Subject: [PATCH] =?UTF-8?q?YOUFANG1.0.4=20=E6=B6=88=E6=81=AF=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/js/user/myMessage.js | 4 ++-- fangija-zsyf/start.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fangija-zsyf/js/user/myMessage.js b/fangija-zsyf/js/user/myMessage.js index d0fb66c..d43a651 100644 --- a/fangija-zsyf/js/user/myMessage.js +++ b/fangija-zsyf/js/user/myMessage.js @@ -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){ diff --git a/fangija-zsyf/start.html b/fangija-zsyf/start.html index 125e965..fb8ab63 100644 --- a/fangija-zsyf/start.html +++ b/fangija-zsyf/start.html @@ -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)