diff --git a/fangija-zsyf/views/component/cityIncreaseRankingComponent.js b/fangija-zsyf/views/component/cityIncreaseRankingComponent.js index d054444..7740940 100644 --- a/fangija-zsyf/views/component/cityIncreaseRankingComponent.js +++ b/fangija-zsyf/views/component/cityIncreaseRankingComponent.js @@ -51,6 +51,7 @@ Vue.component('city_increase_ranking',{ axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){ $(event.target).parent().children().removeClass("dn"); $(event.target).addClass("dn"); + //plus.webview.getWebviewById('views/user/userInfo.html').reload() }).catch(function(error){ console.log(error) }) @@ -59,6 +60,7 @@ Vue.component('city_increase_ranking',{ axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){ $(event.target).parent().children().removeClass("dn"); $(event.target).addClass("dn"); + //plus.webview.getWebviewById('views/user/userInfo.html').reload() }).catch(function(error){ console.log(error) }) diff --git a/fangija-zsyf/views/component/cityPotentialRankingComponent.js b/fangija-zsyf/views/component/cityPotentialRankingComponent.js index 8624624..4322962 100644 --- a/fangija-zsyf/views/component/cityPotentialRankingComponent.js +++ b/fangija-zsyf/views/component/cityPotentialRankingComponent.js @@ -69,7 +69,7 @@ Vue.component('city_potential_ranking',{ axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){ $(event.target).parent().children().removeClass("dn"); $(event.target).addClass("dn"); - loadCityPotentialRanking() + plus.webview.getWebviewById('views/user/userInfo.html').reload(); }).catch(function(error){ console.log(error) }) @@ -78,7 +78,7 @@ Vue.component('city_potential_ranking',{ axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){ $(event.target).parent().children().removeClass("dn"); $(event.target).addClass("dn"); - loadCityPotentialRanking() + plus.webview.getWebviewById('views/user/userInfo.html').reload(); }).catch(function(error){ console.log(error) }) diff --git a/fangija-zsyf/views/evaluate/evaluateReport.html b/fangija-zsyf/views/evaluate/evaluateReport.html index bd3e362..d24f535 100644 --- a/fangija-zsyf/views/evaluate/evaluateReport.html +++ b/fangija-zsyf/views/evaluate/evaluateReport.html @@ -104,7 +104,7 @@ - +
均价走势
@@ -147,7 +147,6 @@ $.config = {router: false} var self = plus.webview.currentWebview(); var hid = self.hid; var houseStatus = "" - hid = '104631167348637696'; var house_info = new Vue({ el:'#house_info', data:{ @@ -259,6 +258,9 @@ $.config = {router: false} // } // evaluate_msg.msg=h.evaluateMsg $("#img").attr("src",BASE_PATH+"/img/"+h.imgId); + $("#img").click(function(){ + clicked('/views/loan/loanInfo.html',true,false,{},{houseId: hid, city: h.city, mobile: ""},function(){}) + }) loadingChart(h.city,h.region,h.name,2) //按照时间范围加载数据 $(".avgPriceTrend a").click(function(){ diff --git a/fangija-zsyf/views/house/houseDetail.html b/fangija-zsyf/views/house/houseDetail.html index 53b5100..ed6cd92 100644 --- a/fangija-zsyf/views/house/houseDetail.html +++ b/fangija-zsyf/views/house/houseDetail.html @@ -306,9 +306,883 @@ -
+ + + diff --git a/fangija-zsyf/views/news/newsDetail.html b/fangija-zsyf/views/news/newsDetail.html index 9e4d085..dcf49c4 100644 --- a/fangija-zsyf/views/news/newsDetail.html +++ b/fangija-zsyf/views/news/newsDetail.html @@ -194,8 +194,7 @@ function onPlusReady() { sharehrefTitle = data.title sharehrefDes = data.introduction - picUrl = data.coverImg - + picUrl = data.smallCoverImg //加载评论列表 addItems(itemsPerLoad, 0); //是否收藏 diff --git a/fangija-zsyf/views/setting/setting.html b/fangija-zsyf/views/setting/setting.html index d520c2d..53b4c9d 100644 --- a/fangija-zsyf/views/setting/setting.html +++ b/fangija-zsyf/views/setting/setting.html @@ -106,8 +106,12 @@ mui.init({ function logout() { localStorage.removeItem("user_token"); localStorage.removeItem("user_token_add_time"); - back(); + //退出登录之前loading下个人中心 + plus.webview.getWebviewById('views/house/houseManageList.html').reload(); + plus.webview.getWebviewById('views/user/userInfo.html').reload(); + timer.start(); } + function download(imgUrl) { var suffix = '/qun.png'; var downLoader = plus.downloader.createDownload(imgUrl, { @@ -138,6 +142,26 @@ mui.plusReady(function() { }); }); +//退出登录等待两秒 +timer = { + countdown:2, + start:function(){ + countdown = 2 + timer.down() + }, + down:function(){ + countdown -- + if(countdown <= 0){ + back(); + return; + }else{ + setTimeout(timer.down, 1000) + } + }, + cancel:function(){ + countdown = 0 + } +} \ No newline at end of file diff --git a/fangija-zsyf/views/user/userInfo.html b/fangija-zsyf/views/user/userInfo.html index 4ef7b99..a0ac6b0 100644 --- a/fangija-zsyf/views/user/userInfo.html +++ b/fangija-zsyf/views/user/userInfo.html @@ -50,7 +50,7 @@

立即登录

-
+