刷新
This commit is contained in:
@@ -12,6 +12,9 @@ var mapLoadCount = 0;
|
|||||||
function doAddCollect(){
|
function doAddCollect(){
|
||||||
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
|
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
|
||||||
clicked('../user/codeSms.html',true,false,{},{},function(){
|
clicked('../user/codeSms.html',true,false,{},{},function(){
|
||||||
|
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||||
|
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||||
|
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||||
doAddCollect();
|
doAddCollect();
|
||||||
})
|
})
|
||||||
return;
|
return;
|
||||||
@@ -29,10 +32,9 @@ function addCollect(){
|
|||||||
$(".collection01").hide();
|
$(".collection01").hide();
|
||||||
$(".collection02").show();
|
$(".collection02").show();
|
||||||
$.toast("随时掌握小区动态");
|
$.toast("随时掌握小区动态");
|
||||||
|
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||||
}
|
}
|
||||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
|
||||||
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
|
||||||
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
|
||||||
})
|
})
|
||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
@@ -47,6 +49,7 @@ function doRemoveCollect(){
|
|||||||
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
|
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
|
||||||
clicked('../user/codeSms.html',true,false,{},{},function(){
|
clicked('../user/codeSms.html',true,false,{},{},function(){
|
||||||
doRemoveCollect();
|
doRemoveCollect();
|
||||||
|
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||||
})
|
})
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
@@ -311,6 +314,8 @@ function showTrends(v){
|
|||||||
clicked('../user/codeSms.html',true,false,{},{},function(){
|
clicked('../user/codeSms.html',true,false,{},{},function(){
|
||||||
showTrends(v);
|
showTrends(v);
|
||||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||||
|
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||||
|
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||||
})
|
})
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -198,6 +198,9 @@ function clickTrend(city, type){
|
|||||||
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
|
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
|
||||||
clicked('../user/codeSms.html',true,false,{},{},function(){
|
clicked('../user/codeSms.html',true,false,{},{},function(){
|
||||||
clickTrend(city, type);
|
clickTrend(city, type);
|
||||||
|
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||||
|
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||||
|
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||||
})
|
})
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
@@ -542,6 +545,7 @@ function collectCity(city, type){
|
|||||||
collectCity(city, type)
|
collectCity(city, type)
|
||||||
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||||
|
//plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||||
})
|
})
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ Vue.component('city_increase_ranking',{
|
|||||||
follow:function(city,event, type){
|
follow:function(city,event, type){
|
||||||
|
|
||||||
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
||||||
clicked('/views/user/passLogin.html',true,false,{},{},function(){
|
clicked('/views/user/codeSms.html',true,false,{},{},function(){
|
||||||
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
||||||
}else{
|
}else{
|
||||||
$.confirm('您确定要关注'+city+"?", function () {
|
$.confirm('您确定要关注'+city+"?", function () {
|
||||||
|
|||||||
@@ -1845,7 +1845,9 @@ function checkIsLogin(){
|
|||||||
|
|
||||||
}else{
|
}else{
|
||||||
addEvaluation();
|
addEvaluation();
|
||||||
|
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||||
|
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||||
|
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
@@ -1280,7 +1280,6 @@ $.config = {router: false}
|
|||||||
loadMyCollectCity();
|
loadMyCollectCity();
|
||||||
|
|
||||||
}, function(e){
|
}, function(e){
|
||||||
|
|
||||||
loadAllCityData();
|
loadAllCityData();
|
||||||
loadMyCollectCity();
|
loadMyCollectCity();
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -504,6 +504,9 @@ $(".collection").on("click", function () {
|
|||||||
function doCollect() {
|
function doCollect() {
|
||||||
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
|
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
|
||||||
clicked('../user/codeSms.html',true,false,{},{},function(){
|
clicked('../user/codeSms.html',true,false,{},{},function(){
|
||||||
|
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||||
|
plus.webview.getWebviewById('views/user/userInfo.html').reload()
|
||||||
|
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||||
doCollect();
|
doCollect();
|
||||||
})
|
})
|
||||||
return;
|
return;
|
||||||
@@ -533,7 +536,7 @@ function collect(){
|
|||||||
$(".collection").removeClass("collection02")
|
$(".collection").removeClass("collection02")
|
||||||
$(".collection i").removeClass("icon-collection02")
|
$(".collection i").removeClass("icon-collection02")
|
||||||
}
|
}
|
||||||
plus.webview.getWebviewById('views/user/userInfo.html').reload()
|
|
||||||
}
|
}
|
||||||
$.toast(msg);
|
$.toast(msg);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user