Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1
Conflicts: fangija-zsyf/js/district/districtDetail.js fangija-zsyf/views/house/houseDetail.html
This commit is contained in:
@@ -243,7 +243,8 @@
|
||||
<div class="card cardNearby" v-for="nearDist in nears" @click="showDistrictDetail(nearDist.city, nearDist.region, nearDist.name)">
|
||||
<div class="card-header">{{nearDist.sname}}</div>
|
||||
<div class="card-content">
|
||||
<div class="card-content-inner">{{nearDist.avgPrice}}元/㎡</div>
|
||||
<div class="card-content-inner" v-if="nearDist.avgPrice">{{nearDist.avgPrice}}元/㎡</div>
|
||||
<div class="card-content-inner" v-else>暂无</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1505,12 +1506,19 @@ function markFocus(){
|
||||
|
||||
function addFocus(city){
|
||||
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
||||
alert("请先登录")
|
||||
clicked('/views/user/passLogin.html',true,false,{},{},function(){
|
||||
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
||||
|
||||
}else{
|
||||
|
||||
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
|
||||
reloadMyFocus()
|
||||
createData(city, myDatasVue.$data.cityDatas.length);
|
||||
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||
}).catch(function(error){
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
})
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user