From 280b2673779bb2a0ba208db6f41a13bc938ac515 Mon Sep 17 00:00:00 2001 From: raoyanhui Date: Fri, 13 Apr 2018 16:32:08 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E8=AF=84=E4=BC=B0=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E7=9B=B8=E6=AF=94=E5=9D=87=E4=BB=B7=E6=98=BE=E7=A4=BA=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/house/houseManageList.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fangija-zsyf/views/house/houseManageList.html b/fangija-zsyf/views/house/houseManageList.html index bb0ad74..34f42e4 100644 --- a/fangija-zsyf/views/house/houseManageList.html +++ b/fangija-zsyf/views/house/houseManageList.html @@ -240,13 +240,13 @@ function constructHtmlContent(results, xqOneMonthUpDownRangeMap, cityAvgPriceMap var cityAvgPriceValue = cityAvgPriceMap[cityAvgPriceKey]; if(!isNaN(cityAvgPriceValue)){ if(parseInt(cityAvgPriceValue)>=parseInt(result.price)){ - htmlContent = htmlContent + "
相比"+result.city+"均价: 高"+(parseInt(cityAvgPriceValue)-parseInt(result.price))+"元
"; + htmlContent = htmlContent + "
相比"+result.city+"均价: 低"+(parseInt(cityAvgPriceValue)-parseInt(result.price))+"元
"; }else{ - htmlContent = htmlContent + "
相比"+result.city+"均价: 低"+(parseInt(result.price)-parseInt(cityAvgPriceValue))+"元
"; + htmlContent = htmlContent + "
相比"+result.city+"均价: 高"+(parseInt(result.price)-parseInt(cityAvgPriceValue))+"元
"; } }else{ //为非数字清空放空格 - htmlContent = htmlContent + "
相比"+result.city+"均价: "+' '+"
"; + htmlContent = htmlContent + "
相比"+result.city+"均价: 暂无
"; } htmlContent = htmlContent + "
均价: "+result.price+"元/㎡
"; htmlContent = htmlContent + "
"+tempTotalPrice+"万
"; From 2b5697bdc364ce4c02cd6358ec97bc429a7ef069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E5=90=89=E6=AC=A2?= Date: Fri, 13 Apr 2018 16:58:10 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/user/updatePass.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fangija-zsyf/views/user/updatePass.html b/fangija-zsyf/views/user/updatePass.html index f601f24..2cb8847 100644 --- a/fangija-zsyf/views/user/updatePass.html +++ b/fangija-zsyf/views/user/updatePass.html @@ -111,7 +111,11 @@ new Vue({ }, // 修改密码 updatePass: function() { - if (this.pass == '' || this.pass.length < 7) { + if (this.pass == '') { + $.toast("请输入密码"); + return; + } + if (this.pass.length < 7) { $.toast("请输入6位以上数字或字母"); return; } From cf8a8dc610236e634d24e06766494e4e99127d25 Mon Sep 17 00:00:00 2001 From: raoyanhui Date: Fri, 13 Apr 2018 17:35:37 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E9=80=80=E5=87=BA?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=88=B7=E6=96=B0=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/setting/setting.html | 1 + 1 file changed, 1 insertion(+) diff --git a/fangija-zsyf/views/setting/setting.html b/fangija-zsyf/views/setting/setting.html index 53b4c9d..0ef2602 100644 --- a/fangija-zsyf/views/setting/setting.html +++ b/fangija-zsyf/views/setting/setting.html @@ -109,6 +109,7 @@ function logout() { //退出登录之前loading下个人中心 plus.webview.getWebviewById('views/house/houseManageList.html').reload(); plus.webview.getWebviewById('views/user/userInfo.html').reload(); + plus.webview.getWebviewById('yfindex.html').reload(); timer.start(); } From ff1788a34a35d23d5c625b9fb60ece0290df66b8 Mon Sep 17 00:00:00 2001 From: raoyanhui Date: Fri, 13 Apr 2018 17:36:25 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E7=99=BB=E5=BD=95=20=20=E5=88=B7=E6=96=B0=20?= =?UTF-8?q?=E8=AF=84=E4=BC=B0=20=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/user/userInfo.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fangija-zsyf/views/user/userInfo.html b/fangija-zsyf/views/user/userInfo.html index e071a1a..c9374ff 100644 --- a/fangija-zsyf/views/user/userInfo.html +++ b/fangija-zsyf/views/user/userInfo.html @@ -292,6 +292,8 @@ function checkIsLogin(){ //跳转登录方法, 考虑回调 function gotoLogin(){ clicked('/views/user/codeSms.html',true,false,{},{},function(){ + plus.webview.getWebviewById('views/house/houseManageList.html').reload(); + plus.webview.getWebviewById('yfindex.html').reload(); checkIsLogin(); }) } @@ -305,10 +307,12 @@ function gotoUpdatePass(){ function gotoLoanApply(houseId, city){ clicked('/views/loan/loanInfo.html',true,false,{},{houseId: houseId, city: city, mobile: _mobile},function(){}) } + //跳转到小区详情 function gotoDistrictDetail(city,region,name){ clicked('/views/district/detail.html',true,false,{},{city:city,region:region,name:name},function(){}) } + //跳转房产详情 function gotoHouseDetail(id){ clicked('/views/house/detail.html',true,false,{},{houseId:id},function(){ From 7208804c0220609f2c627b074a0e5060cf3677a0 Mon Sep 17 00:00:00 2001 From: zongzhimin Date: Fri, 13 Apr 2018 18:24:30 +0800 Subject: [PATCH 5/5] YOUFANG --- fangija-zsyf/js/axiosPlugin.js | 3 ++- fangija-zsyf/js/district/districtDetail.js | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/fangija-zsyf/js/axiosPlugin.js b/fangija-zsyf/js/axiosPlugin.js index 3d46b8e..b3f4b53 100644 --- a/fangija-zsyf/js/axiosPlugin.js +++ b/fangija-zsyf/js/axiosPlugin.js @@ -14,5 +14,6 @@ axios.interceptors.request.use(function (config) { axios.interceptors.response.use(function (response) { return response; }, function (error) { - return Promise.reject(error); + clicked('error.html',true,false,{},{},function(){}) + return Promise.reject(error); }); \ No newline at end of file diff --git a/fangija-zsyf/js/district/districtDetail.js b/fangija-zsyf/js/district/districtDetail.js index 4eb5ef7..c74e870 100644 --- a/fangija-zsyf/js/district/districtDetail.js +++ b/fangija-zsyf/js/district/districtDetail.js @@ -35,6 +35,8 @@ function addCollect(){ } alert(12) plus.webview.getWebviewById('views/user/userInfo.html').reload(); + plus.webview.getWebviewById('yfindex.html').reload(); + plus.webview.getWebviewById('views/house/houseManageList.html').reload(); }) .catch(function (error) { console.log(error); @@ -67,6 +69,8 @@ function removeCollect(){ $.toast("取消关注"); } plus.webview.getWebviewById('views/user/userInfo.html').reload(); + plus.webview.getWebviewById('yfindex.html').reload(); + plus.webview.getWebviewById('views/house/houseManageList.html').reload(); }) .catch(function (error) { console.log(error);