Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into xh-youfangApp1.1
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
</button>
|
||||
</header>
|
||||
|
||||
<div class="content" id="cityInfo">
|
||||
<div class="content" id="cityInfo" v-cloak>
|
||||
<div class="card cardPrice cardPrice01 cardCity01" v-bind:hrefid="myCityMap.hrefId">
|
||||
<div class="card-header">
|
||||
<label>{{myCityMap.city}}</label>
|
||||
|
||||
@@ -1565,7 +1565,14 @@ function addFocus(city){
|
||||
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||
createData(city, myDatasVue.$data.cityDatas.length);
|
||||
|
||||
var curDatas = response.data.data
|
||||
if(curDatas && curDatas.length>0){
|
||||
if(!IsInArray(curDatas, city)){
|
||||
cityDetaiVue.$data.citys.push(city);
|
||||
}
|
||||
}
|
||||
|
||||
}).catch(function(error){
|
||||
console.log(error)
|
||||
})
|
||||
@@ -1577,7 +1584,15 @@ function addFocus(city){
|
||||
reloadMyFocus()
|
||||
reloadCityIncreaseRanking()
|
||||
reloadCityPotentialRanking()
|
||||
cityDetaiVue.$data.citys.push(city);
|
||||
|
||||
var curDatas = cityDetaiVue.$data.citys
|
||||
if(curDatas && curDatas.length>0){
|
||||
|
||||
if(!IsInArray(curDatas, city)){
|
||||
cityDetaiVue.$data.citys.push(city);
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
$.toast(response.data.message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user