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 4e8378f..00f2244 100644
--- a/fangija-zsyf/js/district/districtDetail.js
+++ b/fangija-zsyf/js/district/districtDetail.js
@@ -36,6 +36,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);
@@ -68,6 +70,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);
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+"万
";
diff --git a/fangija-zsyf/views/setting/setting.html b/fangija-zsyf/views/setting/setting.html
index 69352e2..c4e54c5 100644
--- a/fangija-zsyf/views/setting/setting.html
+++ b/fangija-zsyf/views/setting/setting.html
@@ -110,6 +110,7 @@ function logout() {
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
plus.webview.getWebviewById('views/user/userInfo.html').reload();
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
+ plus.webview.getWebviewById('yfindex.html').reload();
timer.start();
}
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;
}
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(){