From 7ae76dfe4801351d53be5c0a101e700e077024fb Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Tue, 14 Oct 2025 14:19:06 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- root/NEUIKit/pages/Chat/message/message-input.vue | 51 +++++++++++------------ 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/root/NEUIKit/pages/Chat/message/message-input.vue b/root/NEUIKit/pages/Chat/message/message-input.vue index 8c16b43..b4b6174 100644 --- a/root/NEUIKit/pages/Chat/message/message-input.vue +++ b/root/NEUIKit/pages/Chat/message/message-input.vue @@ -468,15 +468,15 @@ const keyboardheightchange = (e) => { // uni.$emit("msgKeyHeight", availableHeight); // 传递实际可用高度 // writeStyle.value = `bottom: calc(${e.detail.height}px - env(safe-area-inset-bottom))`; - if (systemInfo.platform === 'ios') { + if (systemInfo.platform === "ios") { const availableHeight = systemInfo.windowHeight - e.detail.height - ssff.value + 34; uni.$emit("msgKeyHeight", availableHeight); // 传递实际可用高度 writeStyle.value = `bottom: calc(${e.detail.height}px - env(safe-area-inset-bottom))`; - }else{ - const availableHeight = systemInfo.windowHeight - e.detail.height - ssff.value; - uni.$emit("msgKeyHeight", availableHeight); // 传递实际可用高度 - writeStyle.value = `bottom: calc(${e.detail.height}px - env(safe-area-inset-bottom))`; - } + } else { + const availableHeight = systemInfo.windowHeight - e.detail.height - ssff.value; + uni.$emit("msgKeyHeight", availableHeight); // 传递实际可用高度 + writeStyle.value = `bottom: calc(${e.detail.height}px - env(safe-area-inset-bottom))`; + } } setTimeout(() => { uni.$emit(events.ON_SCROLL_BOTTOM); @@ -845,26 +845,25 @@ const screenHeight = ref(0); screenHeight.value = uni.getSystemInfoSync().windowHeight; const chooseData = ref({}); onMounted(() => { - try { - try { - const windowInfo = uni.getWindowInfo(); - console.log("windowInfo", windowInfo); - let safeTop = windowInfo?.safeArea?.top || 0; - - // 如果 safeArea.top 为 0,根据不同平台使用不同默认值 - if (safeTop === 0) { - const systemInfo = uni.getSystemInfoSync(); - // iOS 设备通常需要安全区域适配 - if (systemInfo.platform === 'ios') { - safeTop = systemInfo.statusBarHeight || 44; // iOS 状态栏高度通常为 44 - } else { - safeTop = systemInfo.statusBarHeight || 30; - } - } - ssff.value = safeTop + 14; - } catch (error) { - ssff.value = 48; // 设置默认值 - } + try { + const windowInfo = uni.getWindowInfo(); + console.log("windowInfo", windowInfo); + let safeTop = windowInfo?.safeArea?.top || 0; + + // 如果 safeArea.top 为 0,根据不同平台使用不同默认值 + if (safeTop === 0) { + const systemInfo = uni.getSystemInfoSync(); + // iOS 设备通常需要安全区域适配 + if (systemInfo.platform === "ios") { + safeTop = systemInfo.statusBarHeight || 44; // iOS 状态栏高度通常为 44 + } else { + safeTop = systemInfo.statusBarHeight || 30; + } + } + ssff.value = safeTop + 14; + } catch (error) { + ssff.value = 48; // 设置默认值 + } if (uni.getStorageSync("im_sendParams")) { chooseData.value = JSON.parse(uni.getStorageSync("im_sendParams")).jobDetail; } From f5737bb0a6d53ca313daeb75e96e7fd09cf80378 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Tue, 14 Oct 2025 14:27:11 +0800 Subject: [PATCH 02/11] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/home/index.vue b/pages/home/index.vue index 0e9b1e6..6e6bb90 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -259,7 +259,7 @@ export default { size: 50, list: [], isFinish: -1, - sortTag: 2, + sortTag: 0, }, keyword: "", tabInfo: { From 36c18f0560c036a73dc7e20f04da4c789dda4643 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Wed, 15 Oct 2025 13:55:55 +0800 Subject: [PATCH 03/11] no message --- pages/home/index.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/home/index.vue b/pages/home/index.vue index 6e6bb90..5b7f780 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -419,12 +419,14 @@ export default { .select("#tttop") .boundingClientRect((data) => { console.log("data", data); - if (data.top <= 0) { - that.toTop = true; - that.showToTop = true; - } else { - that.toTop = false; - that.showToTop = false; + if(data){ + if (data.top <= 0) { + that.toTop = true; + that.showToTop = true; + } else { + that.toTop = false; + that.showToTop = false; + } } // domTopInfo.value[id] = data.top; // scrollTop.value = data.top - 200; @@ -443,9 +445,7 @@ export default { reachBottom() { let that = this; console.log("onReachBottom", that.query.isFinish); - this.G.isLogin(); - if (this.G.isLogin()) { - console.log("that.query.size", that.query.size); + if(uni.getStorageSync("apply-token")){ if (that.query.isFinish == -1 || that.query.isFinish == that.query.size) { that.query.page++; that.getList("concat"); From 36084e280f303c40f2fe6d2ce0a1773f6fdced70 Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Fri, 17 Oct 2025 14:00:45 +0800 Subject: [PATCH 04/11] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- root/home/quickApplication.vue | 5 ----- 1 file changed, 5 deletions(-) diff --git a/root/home/quickApplication.vue b/root/home/quickApplication.vue index c613eb3..01db7fd 100644 --- a/root/home/quickApplication.vue +++ b/root/home/quickApplication.vue @@ -459,11 +459,6 @@ export default { handleClickMobile() {}, submitForm() { let that = this; - - uni.navigateTo({ - url: "/root/home/applicationSuccess?jobId=" + that.updateInfo.jobId, - }); - return if (!that.agreeRadio) { uni.showToast({ icon: "none", From 007b2558be51721edead9d495777bd487fe9bf24 Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Mon, 20 Oct 2025 09:07:10 +0800 Subject: [PATCH 05/11] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/panel/formSlot.vue | 3 +- pages/home/index.vue | 1 + root/components/applyFlow.vue | 10 +- root/detail/job.vue | 23 +- root/detail/userShare.vue | 19 +- root/home/editTownsman.vue | 567 ++++++++++++++++++------------------ root/home/quickApplication.vue | 5 +- root/person/inviteFollowSuccess.vue | 14 +- root/person/set.vue | 4 +- 9 files changed, 340 insertions(+), 306 deletions(-) diff --git a/components/panel/formSlot.vue b/components/panel/formSlot.vue index 7feba02..7339d77 100644 --- a/components/panel/formSlot.vue +++ b/components/panel/formSlot.vue @@ -124,7 +124,7 @@
- +
@@ -385,6 +385,7 @@ export default { }, // 身份证号 handleIDcard(e, $item, $index) { + console.log('123123132',e); this.$emit("changeIDcard", e); }, // 家庭住址 diff --git a/pages/home/index.vue b/pages/home/index.vue index 5b7f780..9b1bdc3 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -196,6 +196,7 @@ export default { uni.setStorageSync("TABBAR_HEIGHT", res.height); }) .exec(); + }, data() { return { diff --git a/root/components/applyFlow.vue b/root/components/applyFlow.vue index ea9e2af..dcd5ee0 100644 --- a/root/components/applyFlow.vue +++ b/root/components/applyFlow.vue @@ -4,12 +4,12 @@
-
创建团队/企业
-
团队名称/企业简称:
+
创建公司账号
+
您的公司简称:
-
创建团队后可关注发单号,浏览职位及工单报名。
+
报名助手需以公司身份使用,创建公司后可关注发单号,浏览职位及工单报名。
取消
@@ -255,7 +255,9 @@ export default { // 不是代理询问是否创建或加入团队 applyFlowWidthoutAgencyConfirm() { let that = this; - this.confirmWithoutAgency = true; + // this.confirmWithoutAgency = true; + this.submitConfirm = true; + return; that.G.handleConfirm({ cancelText: "创建团队", diff --git a/root/detail/job.vue b/root/detail/job.vue index 2b54ac6..90f35bb 100644 --- a/root/detail/job.vue +++ b/root/detail/job.vue @@ -510,7 +510,7 @@
客服
-->
-
+
@@ -611,6 +611,7 @@ export default { onReady() { this.G.setNavStyle(); }, + onShareAppMessage() { // return this.G.shareFun("/root/detail/job?id=" + this.jobDetail.id, // "", this.jobDetail.jobName + " " + this.jobDetail.priceStr + " " + "好厂好工作 火热招聘中"); @@ -643,6 +644,18 @@ export default { this.currentTime = dateUtil.formatDateYMD(new Date().toLocaleDateString()) + " 06:00"; this.dateTimeArray = obj.dateTimeArray; this.dateTime = obj.dateTime; + // uni.showShareMenu({ + // withShareTicket: true, + // menus: ["shareAppMessage", "shareTimeline"], + // }); + // // 分享朋友圈注释 + // onShare1Timeline() { + // return { + // title: "分享标题", + // imageUrl: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/pugongying/goxj2-qpwbo.png", + // query: { info: `{info:'test'}` }, + // }; + // }, }, data() { return { @@ -1381,7 +1394,7 @@ export default { if (that.goImLoading) { return false; } - + that.goImLoading = true; that.F.wyyxGet(that.api.job_get_cus + "?jobId=" + that.jobDetail.id, {}, (cusData) => { that.F.wyyxPost( @@ -1404,7 +1417,8 @@ export default { }); that.jobDetail.info = newList.join("丨"); that.F.wyyxPost( - that.api.wyyx_sendCard, { + that.api.wyyx_sendCard, + { conversationType: 1, // senderUserId: uni.getStorageSync("apply-uid"), // 发送者id 即当前登录用户id // receiverUserId: cusData, // 接收方用户id @@ -1414,8 +1428,7 @@ export default { jobDetail: { title: that.jobDetail.jobName, info: that.jobDetail.info, - label: that.jobDetail.jobRequestLabelNames.length > 0 ? that - .jobDetail.jobRequestLabelNames : "", + label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : "", salaryClassifyValue: that.jobDetail.priceStr, serviceFee: that.jobDetail.fuWuFei, monthPay: that.jobDetail.monthPay, diff --git a/root/detail/userShare.vue b/root/detail/userShare.vue index e94f750..e42bee2 100644 --- a/root/detail/userShare.vue +++ b/root/detail/userShare.vue @@ -10,7 +10,7 @@ 'background-image': info.supplierAccountCoverUrl ? `url(${info.supplierAccountCoverUrl})` : 'url(https://matripe-cms.oss-cn-beijing.aliyuncs.com/dailibaoming/v3/mbg.jpg)', 'background-size': '100% 100%', width: 'calc(100vw + ' + backgroundScale + 'px)', - height: 'calc(' + (100 / 1.2).toFixed(2) + 'vw + ' + moveDistance + 'px)', + height: 'calc(' + (100 / 1.4).toFixed(2) + 'vw + ' + moveDistance + 'px)', 'transform-origin': '50% 0%', transform: `scale(${1 + backgroundScale * 0.008})`, }" @@ -18,7 +18,7 @@ - + - - - - - + + + + - - + + - - + + - - - - - - - - - - - - + ]" + @updateFile="updateFile" + > + + + + + + + + + + + + diff --git a/root/home/quickApplication.vue b/root/home/quickApplication.vue index 01db7fd..d84bdc3 100644 --- a/root/home/quickApplication.vue +++ b/root/home/quickApplication.vue @@ -109,8 +109,11 @@ export default { onReady() { this.G.setNavStyle(); let that = this; - uni.$on("getTownsman", function (data) { + uni.$on("getTownsman", (data) => { console.log("getTownsman", data); + // 前端本地处理根据身份证号获取年龄 + let infoByIDcard = this.G.getInfoByIDcard(data.info.idCard); + data.info.age = infoByIDcard.age; if (that.persenInfo.length == 0) { that.persenInfo[0] = { ...data.info, diff --git a/root/person/inviteFollowSuccess.vue b/root/person/inviteFollowSuccess.vue index 94a4039..ab48c18 100644 --- a/root/person/inviteFollowSuccess.vue +++ b/root/person/inviteFollowSuccess.vue @@ -9,18 +9,18 @@
点此处查看更多职位
-
我的团队
+
我的公司
{{ agencyInfo.fullName || agencyInfo.userName }}{{ agencyNum > 0 ? `(${agencyNum}人)` : "" }}
-
添加团队成员
+
添加公司成员
-

为什么要添加成员到团队?

+

为什么要添加成员到公司?

-

1.发单号是以团队为单位进行发单和关注的。

+

1.发单号是以公司为单位进行发单和关注的。

2.创建人关注发单号后,内部成员均可报名。

-

3.团队成员无需再次关注,共享报名权限。

-

4.系统自动完成团队内部数据汇总与统计。

+

3.公司成员无需再次关注,共享报名权限。

+

4.系统自动完成公司内部数据汇总与统计。

@@ -51,7 +51,7 @@ export default { }, onLoad(options) { console.log(options); - this.getNum(); + // this.getNum(); }, created() {}, diff --git a/root/person/set.vue b/root/person/set.vue index 601872b..ce6c666 100644 --- a/root/person/set.vue +++ b/root/person/set.vue @@ -15,7 +15,7 @@ @clickItem="handleClickItem" /> - + Date: Fri, 31 Oct 2025 13:02:43 +0800 Subject: [PATCH 07/11] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/index.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/home/index.vue b/pages/home/index.vue index 9b1bdc3..172d2a5 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -171,11 +171,11 @@ export default { uni.$on("updateJobList", () => { that.updateJobInfo(); }); - if (uni.getStorageSync("SHOW_INVITE_ALL")) { - if (uni.getStorageSync("SHOW_INVITE_ALL") == 1 && uni.getStorageSync("SHOW_INVITE") == 1) { - that.getInviteList(); - } - } + // if (uni.getStorageSync("SHOW_INVITE_ALL")) { + // if (uni.getStorageSync("SHOW_INVITE_ALL") == 1 && uni.getStorageSync("SHOW_INVITE") == 1) { + // that.getInviteList(); + // } + // } console.log('uni.getStorageSync("apply-supplierAccount")', uni.getStorageSync("apply-supplierAccount")); that.updateJobInfo(); } @@ -779,7 +779,7 @@ export default { let that = this; that.attentionConfig.num++; - this.getInviteList(); + // this.getInviteList(); }, /** From ec784f5fac7f182d674c5e5987f3fc6abdce647a Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Fri, 31 Oct 2025 18:40:44 +0800 Subject: [PATCH 08/11] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- root/detail/userShare.vue | 2 +- root/person/inviteFollowMe.vue | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/root/detail/userShare.vue b/root/detail/userShare.vue index e42bee2..d4d46da 100644 --- a/root/detail/userShare.vue +++ b/root/detail/userShare.vue @@ -772,7 +772,7 @@ export default { let that = this; this.G.isLogin(); if (this.G.isLogin()) { - if (that.userInfo.agencyId) { + if (that.userInfo.agencyId && that.userInfo.fullName) { // that.submitConfirm = true; // that.$refs.applyFlow.applyFlowWidthoutAgencyConfirm(); that.$refs.applyFlow.applyFlowConfirm(); diff --git a/root/person/inviteFollowMe.vue b/root/person/inviteFollowMe.vue index e7da5b6..bd1cd1c 100644 --- a/root/person/inviteFollowMe.vue +++ b/root/person/inviteFollowMe.vue @@ -110,13 +110,13 @@ export default { applyAdd() { let that = this; - if (!this.agencyInfo.fullName) { - uni.showToast({ - title: "请输入企业简称", - icon: "none", - }); - return; - } + // if (!this.agencyInfo.fullName) { + // uni.showToast({ + // title: "请输入企业简称", + // icon: "none", + // }); + // return; + // } if (this.ing) { return; } From 41dc9d4e84632a0e8ff5568d735d2e9aeed3eaa8 Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Mon, 10 Nov 2025 18:31:39 +0800 Subject: [PATCH 09/11] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 32 +++++++++++++++++++++++++++++++- main.js | 2 +- pages/workBench/index.vue | 9 +++++---- root/detail/fellow.vue | 2 +- root/home/editTownsman.vue | 2 +- root/home/quickApplication.vue | 9 ++++++--- utils/common.js | 8 +++++++- 7 files changed, 52 insertions(+), 12 deletions(-) diff --git a/App.vue b/App.vue index 9348e3a..66babae 100644 --- a/App.vue +++ b/App.vue @@ -42,7 +42,7 @@ export default { let that = this; console.log("show 项目init:", options, decodeURIComponent(options.query.scene)); let requestComeFrom = this.G.globalConstantData.requestComeFrom; - uni.setStorageSync("requestComeFrom", (requestComeFrom && (requestComeFrom == "assistant_miniapp" || requestComeFrom == "supply_chain_miniapp")) ? 'isToB' : 'isToC'); + uni.setStorageSync("requestComeFrom", requestComeFrom && (requestComeFrom == "assistant_miniapp" || requestComeFrom == "supply_chain_miniapp") ? "isToB" : "isToC"); // 清除扫码获取的id信息 uni.removeStorageSync("scene"); @@ -96,6 +96,36 @@ export default { // console.log("app.vue 检查IM连接状态"); that.checkAndReconnectIM(); } + const updateManager = uni.getUpdateManager(); + updateManager.onCheckForUpdate(function (res) { + console.log("检测是否有新版本:", res.hasUpdate); + }); + updateManager.onUpdateReady(function (res) { + uni.showModal({ + title: "更新提示", + content: "新版本已经准备好,需重启应用", + showCancel: false, + success(res) { + if (res.confirm) { + console.log("新版本已经准备好,需重启应用"); + updateManager.applyUpdate(); + } + }, + }); + }); + updateManager.onUpdateFailed(function (res) { + uni.showModal({ + title: "更新提示", + content: "新版本下载异常,需重启应用", + showCancel: false, + success(res) { + if (res.confirm) { + console.log("新版本下载异常,需重启应用"); + updateManager.applyUpdate(); + } + }, + }); + }); }, onHide: function () { // 应用进入后台时不清除定时器,保持心跳 diff --git a/main.js b/main.js index 4881722..c99c465 100644 --- a/main.js +++ b/main.js @@ -206,7 +206,7 @@ export function createApp () { }, $sourceType); }, /* 上传图片 - */ + */ uploadImgByAlbum (callback = () => { }, type = 'default', $num = 1, $sourceType = ['album']) { var that = this; G.uploadImage($num, (imgRes) => { diff --git a/pages/workBench/index.vue b/pages/workBench/index.vue index 2fd64b8..e1c8ede 100644 --- a/pages/workBench/index.vue +++ b/pages/workBench/index.vue @@ -201,10 +201,7 @@ export default { that.isLogin = uni.getStorageSync("apply-token") ? true : false; console.log("that.isLogin", that.isLogin); that.loginInfo = uni.getStorageSync("apply-userinfo"); - if (uni.getStorageSync("applyType") || uni.getStorageSync("applyType") === 0) { - that.menuActive = uni.getStorageSync("applyType"); - uni.removeStorageSync("applyType"); - } + this.getList(); if (!that.isLogin) { that.loading = false; @@ -220,6 +217,10 @@ export default { onShow() { let that = this; if (that.isLogin) { + if (uni.getStorageSync("applyType") || uni.getStorageSync("applyType") === 0) { + that.menuActive = uni.getStorageSync("applyType"); + uni.removeStorageSync("applyType"); + } this.getList(); } this.getGZHInfo(); diff --git a/root/detail/fellow.vue b/root/detail/fellow.vue index c4dec9c..2ba9217 100644 --- a/root/detail/fellow.vue +++ b/root/detail/fellow.vue @@ -374,7 +374,7 @@ export default { }, handleClickIDcard(e) { this.info.idCard = e; - if (this.info.idCard.length == 15 || this.info.idCard.length == 18) { + if (this.info.idCard && (this.info.idCard.length == 15 || this.info.idCard.length == 18)) { let info = this.G.getInfoByIDcard(this.info.idCard); this.info.age = info.age; this.info.sex = info.sex ? (info.sex == "男" ? 1 : 2) : ""; diff --git a/root/home/editTownsman.vue b/root/home/editTownsman.vue index 00908ff..d156f89 100644 --- a/root/home/editTownsman.vue +++ b/root/home/editTownsman.vue @@ -171,7 +171,7 @@ export default { watch: { "info.idCard"() { console.log("this.info.idCard", this.info.idCard); - if (this.info.idCard.length == 15 || this.info.idCard.length == 18) { + if (this.info.idCard && (this.info.idCard.length == 15 || this.info.idCard.length == 18)) { let info = this.G.getInfoByIDcard(this.info.idCard); console.log("info info info ", info); this.info.age = info.age; diff --git a/root/home/quickApplication.vue b/root/home/quickApplication.vue index d84bdc3..5970a0c 100644 --- a/root/home/quickApplication.vue +++ b/root/home/quickApplication.vue @@ -111,9 +111,12 @@ export default { let that = this; uni.$on("getTownsman", (data) => { console.log("getTownsman", data); - // 前端本地处理根据身份证号获取年龄 - let infoByIDcard = this.G.getInfoByIDcard(data.info.idCard); - data.info.age = infoByIDcard.age; + // 前端本地处理根据身份证号获取年龄 + if (data.info.idCard && (data.info.idCard.length == 15 || data.info.idCard.length == 18)) { + let infoByIDcard = this.G.getInfoByIDcard(data.info.idCard); + data.info.age = infoByIDcard.age; + } + if (that.persenInfo.length == 0) { that.persenInfo[0] = { ...data.info, diff --git a/utils/common.js b/utils/common.js index 12079f8..008a27e 100644 --- a/utils/common.js +++ b/utils/common.js @@ -1197,10 +1197,16 @@ let data = { getInfoByIDcard (idCard) { let info = {} let birthday + if (idCard.length !== 15 && idCard.length !== 18) { + return { + sex: '', + age: '', + } + } // 获取性别 if (idCard.length === 15) { info.sex = ['女', '男'][idCard.substr(14, 1) % 2] - birthday = Y + [idCard.substr(6, 2), idCard.substr(8, 2), idCard.substr(10, 2)].join('-') + birthday = [idCard.substr(6, 2), idCard.substr(8, 2), idCard.substr(10, 2)].join('-') } else if (idCard.length === 18) { info.sex = ['女', '男'][idCard.substr(16, 1) % 2] birthday = [idCard.substr(6, 4), idCard.substr(10, 2), idCard.substr(12, 2)].join('-') From 90f98d8ab904ec2a026d99114effccd3ade82d8c Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Thu, 13 Nov 2025 16:22:22 +0800 Subject: [PATCH 10/11] =?UTF-8?q?=E5=BF=AB=E9=80=9F=E6=8A=A5=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/customTabbar.vue | 31 ++++++++--- pages/home/index.vue | 4 +- pages/person/index.vue | 4 +- root/bind/order.vue | 4 +- root/detail/userShare.vue | 43 ++++++++++++--- static/css/base.scss | 3 ++ static/css/iconfont.css | 62 ++++++++++++++++++++-- .../vk-uview-ui/components/u-icon/u-icon.vue | 29 +++------- .../components/u-skeleton/u-skeleton.vue | 2 +- 9 files changed, 135 insertions(+), 47 deletions(-) diff --git a/components/customTabbar.vue b/components/customTabbar.vue index 8a8672c..ba461c5 100644 --- a/components/customTabbar.vue +++ b/components/customTabbar.vue @@ -98,22 +98,31 @@ export default { text: "首页", iconSize: 48, }, - { - iconPath: "icon-fadanhao-31 g_c_9", - selectedIconPath: "icon-fadanhao-31 g_c_main", - pagePath: "/pages/home/order", - text: "发单号", - iconSize: 48, - }, + // { + // iconPath: "icon-fadanhao-31 g_c_9", + // selectedIconPath: "icon-fadanhao-31 g_c_main", + // pagePath: "/pages/home/order", + // text: "发单号", + // iconSize: 48, + // }, { iconPath: "icon-message g_c_9", selectedIconPath: "icon-message g_c_main", pagePath: "/pages/message/index", text: "消息", - iconSize: 78, + iconSize: 48, iconType: "custom", count: 0, }, + // 图标大小需要到u-icon中修改 + { + iconPath: "icon-kuaisubaoming g_c_main", + selectedIconPath: "icon-kuaisubaoming g_c_main", + pagePath: "/pages/addJob/index", + iconSize: 78, + iconType: "custom", + iconPadding: "2px", + }, { iconPath: "icon-order_active g_c_9", selectedIconPath: "icon-order_active g_c_main", @@ -141,6 +150,12 @@ export default { let that = this; console.log(index); this.isShow = false; + if (index === 2) { + uni.navigateTo({ + url: "/root/home/quickApplication", + }); + return false; + } return true; }, uploadPage() { diff --git a/pages/home/index.vue b/pages/home/index.vue index 172d2a5..66757e7 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -107,9 +107,9 @@
-
+ diff --git a/pages/person/index.vue b/pages/person/index.vue index d57e363..285c4cc 100644 --- a/pages/person/index.vue +++ b/pages/person/index.vue @@ -54,7 +54,7 @@ - + 在招 {{ item.recruitmentJobNum ? item.recruitmentJobNum : "0" }} diff --git a/root/detail/userShare.vue b/root/detail/userShare.vue index d4d46da..94003dd 100644 --- a/root/detail/userShare.vue +++ b/root/detail/userShare.vue @@ -18,7 +18,7 @@ - + +
+
@@ -150,6 +153,12 @@ export default { onReady() { this.G.setNavStyle(); }, + mounted() { + let systemInfo = uni.getSystemInfoSync(); + let height = systemInfo.platform == "ios" ? 44 : 48; + + this.stickyHeight = systemInfo.statusBarHeight + height; + }, // onShareAppMessage(){ // return this.G.shareFun(); // }, @@ -157,6 +166,7 @@ export default { return { numSlot: [], showPage: false, + stickyHeight: 0, // sticky距离顶部高度 fromShare: false, btnLoading: false, background: { @@ -247,11 +257,11 @@ export default { }; }, onPageScroll(e) { - if (e.scrollTop > 120) { - this.navColor = `rgb(255,255,255,${e.scrollTop / 200})`; - } else { - this.navColor = `rgb(255,255,255,0)`; - } + // if (e.scrollTop > 120) { + // this.navColor = `rgb(255,255,255,${e.scrollTop / 200})`; + // } else { + // this.navColor = `rgb(255,255,255,0)`; + // } }, onLoad(options) { let that = this; @@ -336,6 +346,13 @@ export default { } }, methods: { + scroll(e) { + if (e.detail.scrollTop > 120) { + this.navColor = `rgb(255,255,255,${e.detail.scrollTop / 200})`; + } else { + this.navColor = `rgb(255,255,255,0)`; + } + }, // 触摸开始事件 onTouchStart(e) { if (this.isTouching) { @@ -433,6 +450,11 @@ export default { }); } }, + searchJob() { + this.query.list = []; + this.query.page = 1; + this.getDefault(); + }, /** * 获取登录人的团队信息 */ @@ -599,6 +621,7 @@ export default { pageNum: that.query.page, pageSize: that.query.size, agencyId: that.info.id, + keys: that.keyword, }; console.log("that.tabInfo.active", that.tabInfo.active); if (that.tabInfo.active == 1) { @@ -840,4 +863,10 @@ export default { .scroll-area { height: 100vh; } +.sticky { + position: sticky; + // top: 95px; + left: 0; + z-index: 100; +} diff --git a/static/css/base.scss b/static/css/base.scss index 932d35b..d51d4e8 100644 --- a/static/css/base.scss +++ b/static/css/base.scss @@ -528,6 +528,9 @@ $max-font-size: 28; font-size: 12px; zoom: 0.95; } +.g_fs_36 { + font-size: 36px; +} // 尺寸 $min-size: 0; $max-size: 200; diff --git a/static/css/iconfont.css b/static/css/iconfont.css index d6489c0..963c73f 100644 --- a/static/css/iconfont.css +++ b/static/css/iconfont.css @@ -1,8 +1,8 @@ @font-face { font-family: "iconfont"; /* Project id 4374774 */ - src: url('//at.alicdn.com/t/c/font_4374774_y7g55uwl0s.woff2?t=1756693701292') format('woff2'), - url('//at.alicdn.com/t/c/font_4374774_y7g55uwl0s.woff?t=1756693701292') format('woff'), - url('//at.alicdn.com/t/c/font_4374774_y7g55uwl0s.ttf?t=1756693701292') format('truetype'); + src: url('//at.alicdn.com/t/c/font_4374774_2935rh1xxue.woff2?t=1763019619317') format('woff2'), + url('//at.alicdn.com/t/c/font_4374774_2935rh1xxue.woff?t=1763019619317') format('woff'), + url('//at.alicdn.com/t/c/font_4374774_2935rh1xxue.ttf?t=1763019619317') format('truetype'); } .iconfont { @@ -13,6 +13,62 @@ -moz-osx-font-smoothing: grayscale; } +.icon-kuaisubaoming:before { + content: "\e67f"; +} + +.icon-filedone:before { + content: "\e7b4"; +} + +.icon-file-exception:before { + content: "\e7b5"; +} + +.icon-filesync:before { + content: "\e7b6"; +} + +.icon-filesearch:before { + content: "\e7b9"; +} + +.icon-fileprotect:before { + content: "\e7bb"; +} + +.icon-file-text:before { + content: "\e7bc"; +} + +.icon-audit:before { + content: "\e7bf"; +} + +.icon-antdesign:before { + content: "\e879"; +} + +.icon-shujudaping:before { + content: "\e616"; +} + +.icon-shujudaping1:before { + content: "\e644"; +} + +.icon-shujutongji:before { + content: "\e62f"; +} + +.icon-chengyuanjituanduiguanli:before { + content: "\e6c5"; +} + +.icon-wokanguodemingpian:before { + content: "\e6d2"; +} + .icon-detail:before { content: "\e793"; } diff --git a/uni_modules/vk-uview-ui/components/u-icon/u-icon.vue b/uni_modules/vk-uview-ui/components/u-icon/u-icon.vue index f79050d..820b618 100644 --- a/uni_modules/vk-uview-ui/components/u-icon/u-icon.vue +++ b/uni_modules/vk-uview-ui/components/u-icon/u-icon.vue @@ -66,6 +66,7 @@ export default { imgradius: { default: "0", }, + // 图标类型(后加) imgType: { default: "", }, @@ -291,9 +292,9 @@ export default { @import "../../iconfont.css"; @font-face { font-family: "iconfont"; /* Project id 4374774 */ - src: url('//at.alicdn.com/t/c/font_4374774_pm01bomgppe.woff2?t=1755661995542') format('woff2'), - url('//at.alicdn.com/t/c/font_4374774_pm01bomgppe.woff?t=1755661995542') format('woff'), - url('//at.alicdn.com/t/c/font_4374774_pm01bomgppe.ttf?t=1755661995542') format('truetype'); + src: url('//at.alicdn.com/t/c/font_4374774_2935rh1xxue.woff2?t=1763019619317') format('woff2'), + url('//at.alicdn.com/t/c/font_4374774_2935rh1xxue.woff?t=1763019619317') format('woff'), + url('//at.alicdn.com/t/c/font_4374774_2935rh1xxue.ttf?t=1763019619317') format('truetype'); } .iconfont { @@ -303,25 +304,9 @@ export default { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } -// 首页 -.icon-home:before { - content: "\e7e1"; -} -// 工单 -.icon-order_active:before { - content: "\e617"; -} -// 消息 -.icon-message:before { - content: "\e78a"; -} -// 我的 -.icon-user:before { - content: "\e7ae"; -} -// 发单号 -.icon-fadanhao-32:before { - content: "\e67d"; +.icon-kuaisubaoming:before { + font-size: 36px; + content: "\e67f"; } .u-icon { display: inline-flex; diff --git a/uni_modules/vk-uview-ui/components/u-skeleton/u-skeleton.vue b/uni_modules/vk-uview-ui/components/u-skeleton/u-skeleton.vue index c8cb19e..de89831 100644 --- a/uni_modules/vk-uview-ui/components/u-skeleton/u-skeleton.vue +++ b/uni_modules/vk-uview-ui/components/u-skeleton/u-skeleton.vue @@ -6,7 +6,7 @@ position: 'absolute', left: left + 'px', top: top + 'px', - zIndex: 9998, + zIndex: 99, overflow: 'hidden' }" @touchmove.stop.prevent> From 7e0fa81ee6cae34a81580f9295eac6ea4b72dcfa Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Mon, 17 Nov 2025 15:10:20 +0800 Subject: [PATCH 11/11] =?UTF-8?q?=E6=8A=A5=E5=90=8D=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E8=80=81=E4=B9=A1=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- root/bind/more.vue | 2 +- root/detail/userShare.vue | 3 +- root/home/components/AiApply.vue | 503 ++++++++++++++++++++------------------- root/home/quickApplication.vue | 5 +- 4 files changed, 259 insertions(+), 254 deletions(-) diff --git a/root/bind/more.vue b/root/bind/more.vue index 7c7a0e3..ebf80a6 100644 --- a/root/bind/more.vue +++ b/root/bind/more.vue @@ -1,5 +1,5 @@