no message

cyl/job_im
jscyl13849007907 3 weeks ago
parent a7626bdbc4
commit cdc4534371

@ -336,6 +336,10 @@ export default {
},
onShow() {
let that = this;
// isAgencyfalse
// that.checkShowApplyModal();
that.loadSelectedCityFromCache().then(() => {
this.getList();
});
@ -548,6 +552,39 @@ export default {
})
}
},
// isAgencyfalse
checkShowApplyModal() {
let that = this;
//
if (that.isAgency) {
return;
}
//
let lastShowDate = uni.getStorageSync("apply_modal_last_date");
let today = new Date().toDateString();
//
if (lastShowDate !== today) {
uni.showModal({
title: "",
content: "申请加入",
confirmText: "去申请",
showCancel: false,
confirmColor: getApp().globalData.themeColor,
success(res) {
if (res.confirm) {
//
uni.navigateTo({
url: "/root/apply/index"
});
}
}
});
//
uni.setStorageSync("apply_modal_last_date", today);
}
},
loadSelectedCityFromCache() {
// 'selectedCity'
return new Promise((reso, rej) => {

@ -91,7 +91,7 @@
<div style="background-color: rgba(2, 122, 255, 0.08);border-radius: 8px;margin: 10px auto;padding: 8px;">
<view class="m-address "
hover-class="thover"
v-if="jobDetail.storeLat && jobDetail.storeLng">
v-if="(jobDetail && jobDetail.store) || (jobDetail.storeLat && jobDetail.storeLng)">
<div class="store-item g_flex_row_start" v-if="jobDetail && jobDetail.store" style="margin-bottom: 6px;">
<view class="g_flex_none" style="font-size: 14px;color: #999;">
工作单位

Loading…
Cancel
Save