aa
This commit is contained in:
@@ -64,7 +64,7 @@
|
|||||||
<div class="item-title"><label><b>{{name}}</b></label><span class="span01">{{cityRegion}}</span></div>
|
<div class="item-title"><label><b>{{name}}</b></label><span class="span01">{{cityRegion}}</span></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item-title-row">
|
<div class="item-title-row">
|
||||||
<div class="item-title"><small><label v-if="roomCount > 0">{{roomCount}}室</label><label v-if="hallCount > 0">{{hallCount}}厅</label> {{area}}m <label v-if="floor > 0 && height">{{floor}}/{{height}}层</label></small></div>
|
<div class="item-title"><small>{{houseRoomNum}} {{area}}m {{floor_height}}</small></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
<a class="add alert-text-title"><i class="icon icon-houseLevel"></i>{{estatetype}}</a>
|
<a class="add alert-text-title"><i class="icon icon-houseLevel"></i>{{estatetype}}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div class="card-content-inner">{{Math.round(totalPrice/10000)}}<span>万</span></div>
|
<div class="card-content-inner">{{totalPrice}}<span>万</span></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-footer">
|
<div class="card-footer">
|
||||||
<span>
|
<span>
|
||||||
@@ -352,11 +352,9 @@ var baseInfo = new Vue({
|
|||||||
name : "",
|
name : "",
|
||||||
address:"",
|
address:"",
|
||||||
cityRegion:"",
|
cityRegion:"",
|
||||||
roomCount: "",
|
houseRoomNum: "",
|
||||||
hallCount: "",
|
|
||||||
area: "",
|
area: "",
|
||||||
floor: "",
|
floor_height: "",
|
||||||
height: "",
|
|
||||||
liveStatus:"",
|
liveStatus:"",
|
||||||
estatetype:"",
|
estatetype:"",
|
||||||
totalPrice:"",
|
totalPrice:"",
|
||||||
@@ -411,11 +409,19 @@ function init(){
|
|||||||
baseInfo.name = houseInfo.name;
|
baseInfo.name = houseInfo.name;
|
||||||
baseInfo.address = houseInfo.address;
|
baseInfo.address = houseInfo.address;
|
||||||
baseInfo.cityRegion=houseInfo.city+"-"+houseInfo.region;
|
baseInfo.cityRegion=houseInfo.city+"-"+houseInfo.region;
|
||||||
baseInfo.roomCount= houseInfo.roomCount;
|
baseInfo.houseRoomNum= houseInfo.houseRoomNum;
|
||||||
baseInfo.hallCount= houseInfo.hallCount;
|
|
||||||
baseInfo.area= houseInfo.area;
|
baseInfo.area= houseInfo.area;
|
||||||
baseInfo.floor= houseInfo.floor;
|
var floor_height = "";
|
||||||
baseInfo.height= houseInfo.height;
|
if(houseInfo.floor!=0){
|
||||||
|
floor_height = houseInfo.floor;
|
||||||
|
}
|
||||||
|
if(houseInfo.height!=0){
|
||||||
|
floor_height += "/" + houseInfo.height;
|
||||||
|
}
|
||||||
|
if(floor_height!=""){
|
||||||
|
floor_height+="层";
|
||||||
|
}
|
||||||
|
baseInfo.floor_height= floor_height;
|
||||||
if(houseInfo.liveStatus){
|
if(houseInfo.liveStatus){
|
||||||
baseInfo.liveStatus=houseInfo.liveStatus;
|
baseInfo.liveStatus=houseInfo.liveStatus;
|
||||||
}else{
|
}else{
|
||||||
@@ -435,6 +441,11 @@ function init(){
|
|||||||
}
|
}
|
||||||
baseInfo.estatetype=houseInfo.estatetype;
|
baseInfo.estatetype=houseInfo.estatetype;
|
||||||
baseInfo.totalPrice=houseInfo.totalPrice;
|
baseInfo.totalPrice=houseInfo.totalPrice;
|
||||||
|
if(houseInfo.totalPrice==0){
|
||||||
|
baseInfo.totalPrice = "暂无";
|
||||||
|
}else{
|
||||||
|
baseInfo.totalPrice = (houseInfo.totalPrice/10000).toFixed(2)
|
||||||
|
}
|
||||||
baseInfo.price=houseInfo.price;
|
baseInfo.price=houseInfo.price;
|
||||||
baseInfo.totalScore=houseInfo.totalScore;
|
baseInfo.totalScore=houseInfo.totalScore;
|
||||||
baseInfo.index=response.data.data.index;
|
baseInfo.index=response.data.data.index;
|
||||||
|
|||||||
Reference in New Issue
Block a user