This commit is contained in:
2018-04-13 18:26:36 +08:00
parent 4f263c4c72
commit e26aa7ac7f
8 changed files with 72 additions and 30 deletions
+14 -2
View File
@@ -530,7 +530,11 @@ function showRegionInfo(city){
function collectCity(city, index){
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
clicked('../user/codeSms.html',true,false,{},{},function(){
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
collectCity(city)
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
plus.webview.getWebviewById('views/user/userInfo.html').reload();
})
return;
} else {
@@ -571,12 +575,20 @@ function docollectCity(city){
}
}
if(isLast){
window.location.reload();
//window.location.reload();
$("a[href='#tabQuotation0']").click();
}
myDatasVue.$data.cityDatas = newRet1;
citysVue.$data.citys = newRet2
}else{
alert(msg);
var datas = myDatasVue.$data.cityDatas
for(var i in datas){
var obj = datas[i]
if(obj.city == city){
obj.colled = true;
}
}
}
}