From 52817607387ac711d5b951e1d51b2f293328ae7b Mon Sep 17 00:00:00 2001 From: zsk <710162063@qq.com> Date: Fri, 29 Mar 2024 14:04:38 +0800 Subject: [PATCH 1/4] 1 --- pages/detail/index.js | 18 ++++++++++++++++++ pages/detail/index.wxml | 4 ++++ 2 files changed, 22 insertions(+) diff --git a/pages/detail/index.js b/pages/detail/index.js index 16b3725..56eb9eb 100644 --- a/pages/detail/index.js +++ b/pages/detail/index.js @@ -68,6 +68,24 @@ Page({ showfixToast:false, current:0, }, + showVideo (e) { + console.log(e.target.dataset.id); + console.log(wx.getSystemInfo()); + var that = this; + + this.videoContext = wx.createVideoContext(`${e.target.dataset.id}`, this); + this.videoContext.requestFullScreen(); + this.videoContext.hideStatusBar(); + this.videoContext.play(); + // setTimeout(() => { + // that.setData({ + // isShareShow: true, + // }); + // }, 500); + }, + fullScreen(){ + this.videoContext.stop(); + }, doNothing(){}, closeFix(){ this.setData({ diff --git a/pages/detail/index.wxml b/pages/detail/index.wxml index 361c4c8..68613fb 100644 --- a/pages/detail/index.wxml +++ b/pages/detail/index.wxml @@ -62,6 +62,10 @@ + + + From 3baa59a94fe95e0e7cd9eebae287c899ae28b800 Mon Sep 17 00:00:00 2001 From: zsk <710162063@qq.com> Date: Fri, 29 Mar 2024 14:10:02 +0800 Subject: [PATCH 2/4] 1 --- pages/detail/index.wxml | 313 +++++++++++++++++++++--------------------------- 1 file changed, 134 insertions(+), 179 deletions(-) diff --git a/pages/detail/index.wxml b/pages/detail/index.wxml index ee093c8..921bd4b 100644 --- a/pages/detail/index.wxml +++ b/pages/detail/index.wxml @@ -1,36 +1,27 @@ + - - - {{jobDetail.jobName}} - - - - - - - - {{citys}}{{jobDetail.store.distance}} - - - - {{jobDetail.genderRestrict}} - 丨{{jobDetail.age}} - - + --> + + + + {{citys}}{{jobDetail.store.distance}} + - - - - {{jobDetail.hourlyPay || '--'}} - - - - {{jobDetail.monthlyPay || '--'}} - + + {{jobDetail.genderRestrict}} + 丨{{jobDetail.age}} @@ -72,7 +63,7 @@ - @@ -101,69 +92,30 @@ 面试时间 {{jobDetail.interviewDuration}} - - {{item1}} - - - - - - - - {{jobDetail.storeAddr ? jobDetail.storeAddr :'暂无地址信息'}} - - - - - - - - - - - - - - - - 职位描述 - - {{jobDetail.jobInfo}} - - - - - - 面试 - - - 面试时间 - {{jobDetail.interviewDuration}} - - - + - - 出行方式 - {{jobDetail.tripMode}} - - + + 出行方式 + {{jobDetail.tripMode}} + + - - 面试说明 - {{jobDetail.interviewDesp}} - - - 入离职 - - + + 面试说明 + {{jobDetail.interviewDesp}} + + + 入离职 + + - - 入职说明 - {{jobDetail.entryDesp}} - - - 入职说明 - {{jobDetail.leaveRequire}} - - - 返厂 - {{jobDetail.leaveDesp}} - - - + + 入职说明 + {{jobDetail.entryDesp}} + + + 入职说明 + {{jobDetail.leaveRequire}} + + + 返厂 + {{jobDetail.leaveDesp}} + + + - - - 报名须知 - {{jobDetail.agencyStatement}} - + + + 报名须知 + {{jobDetail.agencyStatement}} + - - - 财务信息 - - + + + 财务信息 + + - + - + - + - + - + - - 服务费详情 - {{jobDetail.agencyProfit}} - - - 扣税说明 - {{jobDetail.deductTaxDesp}} - - - - 账单日 - (出名单时间) - - {{jobDetail.outListTime}} - - - - 结算日 - (结算时间) - - {{jobDetail.settlementTime}} - + --> + + 服务费详情 + {{jobDetail.agencyProfit}} + + + 扣税说明 + {{jobDetail.deductTaxDesp}} + + + + 账单日 + (出名单时间) - 仅代理可见 - - - - - - 复制 - - - {{userInfo.agencyStatus == 1 ? (userInfo.noticeEndStr ? userInfo.noticeEndStr : ('详情咨询:' + userInfo.tel)) : ('详情咨询:' + serviceInfo.aliasName + (serviceInfo.workPhone || '-'))}} - - 以上联系人,可以 - 改成我的 - + {{jobDetail.outListTime}} + + + + 结算日 + (结算时间) - - + {{jobDetail.settlementTime}} + - + 复制 + + + {{userInfo.agencyStatus == 1 ? (userInfo.noticeEndStr ? userInfo.noticeEndStr : ('详情咨询:' + userInfo.tel)) : ('详情咨询:' + serviceInfo.aliasName + (serviceInfo.workPhone || '-'))}} + + 以上联系人,可以 + 改成我的 + + + + + + - - + --> + + + 该职位暂时停招 - - + + From 9be2eba23b23c18af865611634f0931e7f6bf664 Mon Sep 17 00:00:00 2001 From: zsk <710162063@qq.com> Date: Fri, 29 Mar 2024 14:19:24 +0800 Subject: [PATCH 3/4] 2 --- pages/mine/myJob/index.js | 11 ++++++++++- pages/mine/myJob/index.wxml | 5 +++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/pages/mine/myJob/index.js b/pages/mine/myJob/index.js index 0fe8715..f846a98 100644 --- a/pages/mine/myJob/index.js +++ b/pages/mine/myJob/index.js @@ -63,8 +63,17 @@ Page({ }) }, goDetail (e) { - console.log(e.currentTarget.dataset.id); var that = this; + + console.log(e.currentTarget.dataset.id); + if(e.currentTarget.dataset.recruitment != 1){ + wx.showToast({ + icon: "none", + title: '该职位已停招', + duration: 2000, + }); + return + } wx.navigateTo({ url: "../../detail/index?storeJobId=" + e.currentTarget.dataset.id, }); diff --git a/pages/mine/myJob/index.wxml b/pages/mine/myJob/index.wxml index fa61731..9c9c22e 100644 --- a/pages/mine/myJob/index.wxml +++ b/pages/mine/myJob/index.wxml @@ -11,8 +11,8 @@ --> - - + + {{item.jobName}} {{(item.citys && item.citys != '-') ? item.citys + ' | ' : ''}} {{item.age}} @@ -20,6 +20,7 @@ {{item.createTime}} + From a17086eb2a3239d11819b2b3a75926c210b70525 Mon Sep 17 00:00:00 2001 From: zsk <710162063@qq.com> Date: Fri, 29 Mar 2024 14:20:53 +0800 Subject: [PATCH 4/4] 1 --- pages/company/company/index.js | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/pages/company/company/index.js b/pages/company/company/index.js index 0b4c77e..22b98fa 100644 --- a/pages/company/company/index.js +++ b/pages/company/company/index.js @@ -26,21 +26,12 @@ Page({ goMap () { console.log("123") let that = this - wx.getLocation({ - type: 'gcj02', //返回可以用于wx.openLocation的经纬度 - success (res) { - console.log(res); - wx.openLocation({ - latitude: Number(that.data.storeInfo.lat), - longitude: Number(that.data.storeInfo.lng), - name: that.data.storeInfo.fullName, - address: that.data.storeInfo.address, - scale: 18 - }) - }, - fail (res) { - console.log(res) - } + wx.openLocation({ + latitude: Number(that.data.storeInfo.lat), + longitude: Number(that.data.storeInfo.lng), + name: that.data.storeInfo.fullName, + address: that.data.storeInfo.address, + scale: 18 }) }, /**