Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1

This commit is contained in:
尹吉欢
2018-04-16 13:03:26 +08:00
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -517,9 +517,11 @@ function docollectCity(city){
//loadMyCollectCity(); //loadMyCollectCity();
$("a[href='#tabQuotation1']").click(); $("a[href='#tabQuotation1']").click();
//plus.webview.getWebviewById('views/house/houseDetail.html').reload(); //plus.webview.getWebviewById('views/house/houseDetail.html').reload();
reloadMyFocus();
}else if(msg == "关注成功"){ }else if(msg == "关注成功"){
cityInfoVue.$data.collecd = true; cityInfoVue.$data.collecd = true;
plus.webview.getWebviewById('views/house/houseDetail.html').reload(); plus.webview.getWebviewById('views/house/houseDetail.html').reload();
reloadMyFocus();
}else{ }else{
$.toast(msg); $.toast(msg);
} }
+1 -1
View File
@@ -12,7 +12,7 @@ Vue.component('near-dist-component', {
<div class="card-content"> <div class="card-content">
<div class="card-content-inner">{{dist.avgPrice?(dist.avgPrice+"元/㎡"):'暂无'}}</div> <div class="card-content-inner">{{dist.avgPrice?(dist.avgPrice+"元/㎡"):'暂无'}}</div>
</div> </div>
<div class="card-footer">距您{{dist.distance}}m</div> <div class="card-footer">距该小区{{dist.distance}}米</div>
</div> </div>
</div> </div>
+1 -1
View File
@@ -146,7 +146,7 @@ function onPlusReady() {
// }); // });
// }) // })
var houseInfo = response.data.data.houseInfo; var houseInfo = response.data.data.houseInfo;
if(houseInfo.liveStatus=="出租"){ if(houseInfo && houseInfo.liveStatus=="出租"){
edit.liveStatus=houseInfo.liveStatus; edit.liveStatus=houseInfo.liveStatus;
edit.leaseStartDate=getNowFormatDate(houseInfo.leaseStartDate); edit.leaseStartDate=getNowFormatDate(houseInfo.leaseStartDate);
edit.leaseEndDate = getNowFormatDate(houseInfo.leaseEndDate); edit.leaseEndDate = getNowFormatDate(houseInfo.leaseEndDate);