Merge branch 'YOUFANGAPP1.1' of http://192.168.0.27/dev0/youfang-app into YOUFANGAPP1.1
This commit is contained in:
@@ -383,7 +383,12 @@ function init(){
|
||||
baseInfo.area= houseInfo.area;
|
||||
baseInfo.floor= houseInfo.floor;
|
||||
baseInfo.height= houseInfo.height;
|
||||
baseInfo.liveStatus=houseInfo.liveStatus;
|
||||
if(houseInfo.liveStatus){
|
||||
baseInfo.liveStatus=houseInfo.liveStatus;
|
||||
}else{
|
||||
baseInfo.liveStatus='其它';
|
||||
}
|
||||
|
||||
baseInfo.estatetype=houseInfo.estatetype;
|
||||
baseInfo.totalPrice=houseInfo.totalPrice;
|
||||
baseInfo.price=houseInfo.price;
|
||||
|
||||
@@ -1467,13 +1467,24 @@ function markFocus(){
|
||||
}
|
||||
|
||||
function addFocus(city){
|
||||
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
|
||||
|
||||
createData(city, myDatasVue.$data.cityDatas.length);
|
||||
|
||||
}).catch(function(error){
|
||||
console.log(error)
|
||||
})
|
||||
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{
|
||||
|
||||
}
|
||||
})
|
||||
}else{
|
||||
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
|
||||
reloadMyFocus()
|
||||
createData(city, myDatasVue.$data.cityDatas.length);
|
||||
}).catch(function(error){
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user