This commit is contained in:
xuhe@fangjia.com
2018-04-23 17:20:08 +08:00
parent 1f7a35ac76
commit c0f2f7df7f
+8 -6
View File
@@ -148,9 +148,9 @@
</div>
</div>
</div>
<div class="topic">
<div class="topic" id="hotCityVue">
<div class="topicTitle">房产热点城市</div>
<div class="topicContent cityImgBox row" id="hotCityVue">
<div class="topicContent cityImgBox row">
<div class="col-33" v-for="(city,index) in hotCitys" @click="openHotCity(index)">
<img :src="city.imgUrl">
<p>{{city.city}}</p>
@@ -1423,7 +1423,6 @@ function loadAllCityData(){
})
.then(function (response) {
//0:涨幅排行 1:潜力排行 2:均价排行
cityRankVue.datas = response.data.data
})
@@ -1438,7 +1437,12 @@ function loadAllCityData(){
}
})
.then(function (response) {
hotCityVue.hotCitys = response.data.data
if(response.data.data.length==0){
$("#hotCityVue").hide();
}else{
$("#hotCityVue").show();
hotCityVue.hotCitys = response.data.data
}
})
.catch(function (error) {
console.log(error);
@@ -1453,8 +1457,6 @@ function loadAllCityData(){
}
/* 获取资讯正文字数,截取资讯正文前30字,并添加... */
$(document).ready(function () {
/*var text = $(".cardInfo02 .item-title").text();