aa
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
@charset "utf-8";
|
||||
/* CSS Document */
|
||||
|
||||
[v-cloak] {
|
||||
display: none;
|
||||
}
|
||||
/* 公用 */
|
||||
*{font-size:16px;font-family:arial,"华文细黑";}
|
||||
ul li{list-style:none;}
|
||||
@@ -1060,7 +1062,7 @@ input::-webkit-input-placeholder{
|
||||
.topBg02 p a{font-size:0.75rem;}
|
||||
|
||||
.collection{position:absolute;right:0.75rem;top:0.4rem;text-align:center;color:#666;font-size:0.7rem;}
|
||||
.collection02{border:solid 1px #C3C0BC;color:#999;}
|
||||
|
||||
.icon-collection01{width:16px;height:16px;background:url(../images/icon-collection01.png) no-repeat center center;background-size:100%;display:block;margin:0 auto;margin-bottom:0.1rem;}
|
||||
.icon-collection02{width:16px;height:16px;background:url(../images/icon-collection02.png) no-repeat center center;background-size:100%;display:block;margin:0 auto;margin-bottom:0.1rem;}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
axios.defaults.baseURL = BASE_PATH;
|
||||
axios.defaults.headers.post['Content-Type'] = 'application/json';
|
||||
axios.defaults.timeout = 10000;
|
||||
|
||||
// 添加请求拦截器
|
||||
axios.interceptors.request.use(function (config) {
|
||||
|
||||
@@ -517,9 +517,11 @@ function docollectCity(city){
|
||||
//loadMyCollectCity();
|
||||
$("a[href='#tabQuotation1']").click();
|
||||
//plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||
reloadMyFocus();
|
||||
}else if(msg == "关注成功"){
|
||||
cityInfoVue.$data.collecd = true;
|
||||
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||
reloadMyFocus();
|
||||
}else{
|
||||
$.toast(msg);
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ Vue.component('near-dist-component', {
|
||||
<div class="card-content">
|
||||
<div class="card-content-inner">{{dist.avgPrice?(dist.avgPrice+"元/㎡"):'暂无'}}</div>
|
||||
</div>
|
||||
<div class="card-footer">距您{{dist.distance}}m</div>
|
||||
<div class="card-footer">距该小区{{dist.distance}}米</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -195,7 +195,7 @@ $.config = {router: false}
|
||||
hid:hid,
|
||||
reason:i
|
||||
}).then(function(response){
|
||||
alert("感谢您的反馈!")
|
||||
$.toast("感谢您的反馈!")
|
||||
$("#price_feedback").hide();
|
||||
}).catch(function(error){console.log(error)})
|
||||
},
|
||||
|
||||
@@ -36,8 +36,8 @@
|
||||
</button>-->
|
||||
<h1 class="title">房产行情</h1>
|
||||
</header>
|
||||
<div class="content" >
|
||||
<div class="buttons-tab theme" id="tabCityDiv" >
|
||||
<div class="content">
|
||||
<div class="buttons-tab theme" id="tabCityDiv" v-cloak>
|
||||
<a href="#tabQuotation1" class="tab-link active button">全国</a>
|
||||
<div v-for="mycollectcity in citys" >
|
||||
<a class="tab-link button" @click="clickCity(mycollectcity)" v-bind:vcity="mycollectcity">{{mycollectcity}}</a>
|
||||
@@ -46,8 +46,8 @@
|
||||
</div>
|
||||
|
||||
<div class="tabs">
|
||||
<div id="tabQuotation1" class="tab active">
|
||||
<div class="card cardPrice cardPrice01 cardCity" id="countryInfo">
|
||||
<div id="tabQuotation1" class="tab active" >
|
||||
<div class="card cardPrice cardPrice01 cardCity" id="countryInfo" v-cloak>
|
||||
<div class="card-header">
|
||||
<label>全国</label>
|
||||
</div>
|
||||
|
||||
@@ -208,7 +208,12 @@ function constructHtmlContent(results, xqOneMonthUpDownRangeMap, cityAvgPriceMap
|
||||
htmlContent = htmlContent +"<div class='item-inner'><div class='item-title-row'>";
|
||||
htmlContent = htmlContent +"<div class='item-title'><label>"+result.name+"</label><span class='span01'>"+result.city+"-"+result.region+"</span></div>";
|
||||
htmlContent = htmlContent +"</div><div class='item-title-row'>";
|
||||
htmlContent = htmlContent +"<div class='item-title'><small>"+result.roomCount+"室"+result.hallCount+"厅 "+result.area+"㎡ "+result.floor+"/"+result.height+"层</small></div>";
|
||||
|
||||
//htmlContent = htmlContent +"<div class='item-title'><small>"+result.roomCount+"室"+result.hallCount+"厅";
|
||||
var houseRoomNum = result.houseRoomNum==""?"暂无":result.houseRoomNum;
|
||||
htmlContent = htmlContent +"<div class='item-title'><small>"+houseRoomNum;
|
||||
|
||||
htmlContent = htmlContent +" "+result.area+"㎡ "+result.floor+"/"+result.height+"层</small></div>"
|
||||
htmlContent = htmlContent +"</div><div class='item-subtitle'>";
|
||||
//对应城市地区小区30天涨跌幅
|
||||
//动态构建key
|
||||
|
||||
@@ -146,7 +146,7 @@ function onPlusReady() {
|
||||
// });
|
||||
// })
|
||||
var houseInfo = response.data.data.houseInfo;
|
||||
if(houseInfo.liveStatus=="出租"){
|
||||
if(houseInfo && houseInfo.liveStatus=="出租"){
|
||||
edit.liveStatus=houseInfo.liveStatus;
|
||||
edit.leaseStartDate=getNowFormatDate(houseInfo.leaseStartDate);
|
||||
edit.leaseEndDate = getNowFormatDate(houseInfo.leaseEndDate);
|
||||
|
||||
Reference in New Issue
Block a user