no message

cyl/job_im
jscyl13849007907 3 weeks ago
parent 71ae108a5b
commit 9847656b03

@ -91,7 +91,7 @@
<div v-if="jobDetail.storeAddr"> <div v-if="jobDetail.storeAddr">
<view class="m-address g_mt_16 g_mb_16 g_pt_10 g_pb_10 g_flex_row_start g_border_e_t g_border_e_b" hover-class="thover" <view class="m-address g_mt_16 g_mb_16 g_pt_10 g_pb_10 g_flex_row_start g_border_e_t g_border_e_b" hover-class="thover"
@click="goAddress" v-if="jobDetail.storeLat && jobDetail.storeLng"> @click="goAddress" v-if="jobDetail.storeLat && jobDetail.storeLng">
<view class="g_flex_none g_flex_column_center" style="font-size: 16px;color: #666;"> <view class="g_flex_none" style="font-size: 16px;color: #666;">
工作地点 工作地点
</view> </view>
<view class="g_flex_1 g_ml_12 g_mr_4 g_flex_column_center"> <view class="g_flex_1 g_ml_12 g_mr_4 g_flex_column_center">
@ -293,14 +293,14 @@
<div class="other-dom" style="margin-top: 12px;background-color: #fff;border-radius: 8px;"> <div class="other-dom" style="margin-top: 12px;background-color: #fff;border-radius: 8px;">
<div class="g_flex_row_start" style="padding: 10px 12px 0;"> <div class="g_flex_row_start" style="padding: 10px 12px 0;">
<div style="font-size: 16px;color: #666;" class="g_flex_none g_flex_column_center"> <div style="font-size: 16px;color: #666;" class="g_flex_none">
信息来源 信息来源
</div> </div>
<div style="font-size: 16px;color: #333;margin-left: 0px;" class="g_flex_1 g_flex_column_center"> <div style="font-size: 16px;color: #333;margin-left: 0px;" class="g_flex_1 g_flex_column_center">
{{ fullName || "-" }} {{ fullName || "-" }}
</div> </div>
</div> </div>
<div class="g_flex_row_start" style="padding: 10px 12px 10px;"> <div class="g_flex_row_start" style="padding: 2px 12px 10px;">
<div style="font-size: 16px;color: #666;" class="g_flex_none g_flex_column_center"> <div style="font-size: 16px;color: #666;" class="g_flex_none g_flex_column_center">
有效期限 有效期限
</div> </div>
@ -315,7 +315,7 @@
业小满安全提示 业小满安全提示
</div> </div>
<div class="" style="padding: 8px 10px 10px;color: rgba(102, 102, 102, 1);font-size: 12px;"> <div class="" style="padding: 8px 10px 10px;color: rgba(102, 102, 102, 1);font-size: 12px;">
业小满严禁用人单位和招聘者用户做出任何损害求职者合法权益的违法违规行为包括但不限于扣押求职者证件收取求职者财物向求职者集资让求职者入股诱导求职者异地入职异地参加培训违法违规使用求职者简历等您一旦发现此类行为 <text style="color: rgba(87, 107, 149, 1)" @click="goReport"></text> 业小满严禁用人单位和招聘者用户做出任何损害求职者合法权益的违法违规行为包括但不限于扣押求职者证件收取求职者财物向求职者集资让求职者入股诱导求职者异地入职异地参加培训违法违规使用求职者简历等您一旦发现此类行为 <text style="color: #027aff" @click="goReport"></text>
</div> </div>
</div> </div>
@ -660,8 +660,6 @@ export default {
let that = this; let that = this;
// +48 // +48
this.calcValidEndTime(); this.calcValidEndTime();
// 12
this.getRecruitNum();
// console.log("", options); // console.log("", options);
// console.log("this.G.store().cdnBaseImg", this.G.store().cdnBaseImg); // console.log("this.G.store().cdnBaseImg", this.G.store().cdnBaseImg);
if (options.id) { if (options.id) {
@ -697,6 +695,8 @@ export default {
this.userId = sceneJson.i.split("_")[0]; this.userId = sceneJson.i.split("_")[0];
uni.setStorageSync("AGENCY_USER_ID", this.userId); uni.setStorageSync("AGENCY_USER_ID", this.userId);
} }
// 12id
this.getRecruitNum();
// console.log("=====================", that.api.hasSee); // console.log("=====================", that.api.hasSee);
this.getDetail().then((res) => { this.getDetail().then((res) => {
// console.log("res", res); // console.log("res", res);
@ -789,7 +789,7 @@ export default {
let minute = String(endTime.getMinutes()).padStart(2, '0'); let minute = String(endTime.getMinutes()).padStart(2, '0');
this.validEndTime = `${year}${month}${day}${hour}:${minute} 前有效`; this.validEndTime = `${year}${month}${day}${hour}:${minute} 前有效`;
}, },
// 12 // 12id
getRecruitNum() { getRecruitNum() {
let storageKey = 'job_recruit_num_' + this.uid; let storageKey = 'job_recruit_num_' + this.uid;
let storedData = uni.getStorageSync(storageKey); let storedData = uni.getStorageSync(storageKey);
@ -797,19 +797,20 @@ export default {
if (storedData) { if (storedData) {
let data = JSON.parse(storedData); let data = JSON.parse(storedData);
// 12 // uid12
if (now - data.timestamp < 12 * 60 * 60 * 1000) { if (data.uid === this.uid && now - data.timestamp < 12 * 60 * 60 * 1000) {
this.recruitNum = data.num; this.recruitNum = data.num;
return; return;
} }
} }
// // 280-36010
let num = Math.floor(Math.random() * 81) + 280; let num = (Math.floor(Math.random() * 9) + 28) * 10;
this.recruitNum = num; this.recruitNum = num;
uni.setStorageSync(storageKey, JSON.stringify({ uni.setStorageSync(storageKey, JSON.stringify({
num: num, num: num,
timestamp: now timestamp: now,
uid: this.uid
})); }));
}, },
showFee() { showFee() {

Loading…
Cancel
Save