|
|
|
@ -316,6 +316,12 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onShow() {
|
|
|
|
onShow() {
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
|
|
|
|
let skipRefresh = uni.getStorageSync("HOME_SKIP_REFRESH");
|
|
|
|
|
|
|
|
if (skipRefresh) {
|
|
|
|
|
|
|
|
uni.removeStorageSync("HOME_SKIP_REFRESH");
|
|
|
|
|
|
|
|
that.cityLoading = false;
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
that.cityLoading = true;
|
|
|
|
that.cityLoading = true;
|
|
|
|
|
|
|
|
|
|
|
|
// 判断是否需要弹出申请加入弹窗(isAgency为false,且每天只弹一次)
|
|
|
|
// 判断是否需要弹出申请加入弹窗(isAgency为false,且每天只弹一次)
|
|
|
|
@ -1155,6 +1161,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
goDetail($item) {
|
|
|
|
goDetail($item) {
|
|
|
|
uni.setStorageSync("HOME_ACTIVE_TAB", this.tabInfo.active);
|
|
|
|
uni.setStorageSync("HOME_ACTIVE_TAB", this.tabInfo.active);
|
|
|
|
|
|
|
|
uni.setStorageSync("HOME_SKIP_REFRESH", true);
|
|
|
|
uni.navigateTo({
|
|
|
|
uni.navigateTo({
|
|
|
|
url: "/root/detail/job?id=" + $item.id,
|
|
|
|
url: "/root/detail/job?id=" + $item.id,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|