From 7286688f76ff6e9275f3858d946ffb188865248e Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Sun, 7 Jun 2026 14:43:05 +0800 Subject: [PATCH] no message --- App.vue | 6 ++++-- components/panel/posterCard.vue | 2 +- pages/apply/index.vue | 4 ++-- pages/home/index.vue | 9 ++++----- pages/message/index.vue | 4 ++-- pages/order/index.vue | 4 ++-- pages/person/index.vue | 17 +++++++---------- root/bind/applyForm.vue | 2 +- root/login/index.vue | 2 +- root/merchantManagement/posterShare.vue | 8 ++++---- root/person/posterShare.vue | 10 +++++----- 11 files changed, 33 insertions(+), 35 deletions(-) diff --git a/App.vue b/App.vue index 3ad575b..3948db8 100644 --- a/App.vue +++ b/App.vue @@ -67,11 +67,13 @@ export default { that.globalData.title = "业小满招聘"; that.globalData.logo = uni.getStorageSync("miniApp-info").logo || "https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/yexiaoman.png"; } else if (that.globalData.appId == "wxfab5320942daaafa") { + that.globalData.thmemeColor = "#2FC67D"; + that.globalData.themeBackgroundColor = "#2FC67D21"; that.globalData.title = "人海发单宝"; - that.globalData.logo = uni.getStorageSync("miniApp-info").logo || "https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/kuaipin.jpg"; + that.globalData.logo = uni.getStorageSync("miniApp-info").logo || "https://bocai-cms.oss-cn-beijing.aliyuncs.com/5220b1cd-c5a7-4a2c-895c-b75310ff7410_wx_logo.png"; } else if (that.globalData.appId == "wx92d63109b01e74d2") { that.globalData.title = "人海招工宝"; - that.globalData.logo = uni.getStorageSync("miniApp-info").logo || "https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/kuaipin.jpg"; + that.globalData.logo = uni.getStorageSync("miniApp-info").logo || "https://bocai-cms.oss-cn-beijing.aliyuncs.com/5220b1cd-c5a7-4a2c-895c-b75310ff7410_wx_logo.png"; } else if (that.globalData.appId == "wxcd0e4a001e1d87bd") { that.globalData.title = "会聘工作"; that.globalData.logo = uni.getStorageSync("miniApp-info").logo || "https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/kuaipin.jpg"; diff --git a/components/panel/posterCard.vue b/components/panel/posterCard.vue index a165485..2a508e8 100644 --- a/components/panel/posterCard.vue +++ b/components/panel/posterCard.vue @@ -39,7 +39,7 @@ {{ miniAppInfo.fullName || miniAppInfo.agencyName }}
- {{ miniAppInfo.slogan }} + {{ miniAppInfo.slogan || '为劳动者创造价值' }}
diff --git a/pages/apply/index.vue b/pages/apply/index.vue index 97a8d3c..3bea3bb 100644 --- a/pages/apply/index.vue +++ b/pages/apply/index.vue @@ -25,7 +25,7 @@ export default { path = `/pages/apply/index`; let appInfo = uni.getStorageSync("miniApp-info"); return { - title: appInfo.slogan || "你想找的厂都有,立即查看", + title: appInfo.slogan || "为劳动者创造价值", imageUrl: appInfo.sharePoster, path, }; @@ -34,7 +34,7 @@ export default { let that = this; let appInfo = uni.getStorageSync("miniApp-info"); return { - title: appInfo.slogan || "你想找的厂都有,立即查看", + title: appInfo.slogan || "为劳动者创造价值", imageUrl: appInfo.logo, }; }, diff --git a/pages/home/index.vue b/pages/home/index.vue index 22226cb..161dfac 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -221,7 +221,7 @@ export default { let appInfo = uni.getStorageSync("miniApp-info"); return { // title: "你想找的厂都有,立即查看", - title: appInfo.slogan || "你想找的厂都有,立即查看", + title: appInfo.slogan || "为劳动者创造价值", imageUrl: appInfo.sharePoster, path, }; @@ -231,7 +231,7 @@ export default { let appInfo = uni.getStorageSync("miniApp-info"); console.log("appInfo", appInfo); return { - title: appInfo.slogan || "你想找的厂都有,立即查看", + title: appInfo.slogan || "为劳动者创造价值", imageUrl: appInfo.logo, query:`filterInfo=${JSON.stringify(that.getFilterData)}&cityInfo=${that.selectedCity}` }; @@ -302,7 +302,7 @@ export default { that.getJobNum(); setTimeout(() => { if (uni.getStorageSync("miniApp-info").notice) { - let notice = uni.getStorageSync("miniApp-info").notice; + let notice = uni.getStorageSync("miniApp-info").notice || '愿祖国繁荣富强,山河锦绣如画;盼华夏儿女同心,共筑盛世中华!'; var reg = /[\r\n]/g; notice = notice.replace(reg, ""); that.noticList = [notice]; @@ -393,7 +393,7 @@ export default { setTimeout(() => { if (uni.getStorageSync("miniApp-info").notice) { - let notice = uni.getStorageSync("miniApp-info").notice; + let notice = uni.getStorageSync("miniApp-info").notice || '愿祖国繁荣富强,山河锦绣如画;盼华夏儿女同心,共筑盛世中华!'; var reg = /[\r\n]/g; notice = notice.replace(reg, ""); that.noticList = [notice]; @@ -546,7 +546,6 @@ export default { popSelect: { isShow: false, }, - // "在这里,使用世界前沿的人工智能技术,为用户甄选海量的高清美图,用更流畅,更快捷,更精准的搜索体验,带你去发现多彩的世界。" noticList: [], showNotic: "paused", userId: 0, diff --git a/pages/message/index.vue b/pages/message/index.vue index 491cb24..c7e5df7 100644 --- a/pages/message/index.vue +++ b/pages/message/index.vue @@ -64,7 +64,7 @@ const G = getCurrentInstance().appContext.app.config.globalProperties.G; onShareAppMessage(() => { let appInfo = uni.getStorageSync("miniApp-info"); return { - title: appInfo.slogan || "你想找的厂都有,立即查看", + title: appInfo.slogan || "为劳动者创造价值", imageUrl: appInfo.sharePoster, path: "/pages/message/index", }; @@ -74,7 +74,7 @@ onShareAppMessage(() => { onShareTimeline(() => { let appInfo = uni.getStorageSync("miniApp-info"); return { - title: appInfo.slogan || "你想找的厂都有,立即查看", + title: appInfo.slogan || "为劳动者创造价值", imageUrl: appInfo.logo, query: "", }; diff --git a/pages/order/index.vue b/pages/order/index.vue index 2098a6b..d11c847 100644 --- a/pages/order/index.vue +++ b/pages/order/index.vue @@ -17,7 +17,7 @@ export default { path = `/pages/order/index`; let appInfo = uni.getStorageSync("miniApp-info"); return { - title: appInfo.slogan || "你想找的厂都有,立即查看", + title: appInfo.slogan || "为劳动者创造价值", imageUrl: appInfo.sharePoster, path, }; @@ -26,7 +26,7 @@ export default { let that = this; let appInfo = uni.getStorageSync("miniApp-info"); return { - title: appInfo.slogan || "你想找的厂都有,立即查看", + title: appInfo.slogan || "为劳动者创造价值", imageUrl: appInfo.logo, }; }, diff --git a/pages/person/index.vue b/pages/person/index.vue index 344bb2b..66e81d3 100644 --- a/pages/person/index.vue +++ b/pages/person/index.vue @@ -205,7 +205,7 @@ {{ miniAppInfo.fullName || miniAppInfo.agencyName }}
- {{ miniAppInfo.slogan || "全心全意为老乡服务" }} + {{ miniAppInfo.slogan || "为劳动者创造价值" }}
@@ -232,7 +232,7 @@ export default { path = `/pages/person/index`; let appInfo = uni.getStorageSync("miniApp-info"); return { - title: appInfo.slogan || "你想找的厂都有,立即查看", + title: appInfo.slogan || "为劳动者创造价值", imageUrl: appInfo.sharePoster, path, }; @@ -241,7 +241,7 @@ export default { let that = this; let appInfo = uni.getStorageSync("miniApp-info"); return { - title: appInfo.slogan || "你想找的厂都有,立即查看", + title: appInfo.slogan || "为劳动者创造价值", imageUrl: appInfo.logo, }; }, @@ -365,7 +365,7 @@ export default { that.isLogin = false; that.userInfo.avatar = that.G.store().svgBaseImg + "defaultAva.svg"; that.userInfo.name = "微信用户"; - that.userInfo.tel = that.miniAppInfo.slogan || "全心全意为老乡服务"; + that.userInfo.tel = that.miniAppInfo.slogan || "为劳动者创造价值"; // that.userInfo.tel = "钱多 活少 离家近"; that.userInfo.agencyName = ""; that.userInfo.teamType = 0; @@ -471,8 +471,7 @@ export default { contentFontSize = 36; that.G.roundRect1(ctx, 30, baseTop, mycenter - 60, 360, 48, "#fff"); that.G.fillTextLineBreak(ctx, that.miniAppInfo.fullName || that.miniAppInfo.agencyName, baseLeft + 20, baseTop + 162, 300, 64, "#000", titleFontSize, "500"); // 代理名字 - let slogan = that.miniAppInfo.slogan || "全心全意为老乡服务"; - // let slogan = '全新全意为老乡服务' + let slogan = that.miniAppInfo.slogan || "为劳动者创造价值"; that.G.fillTextLineBreak(ctx, slogan, baseLeft + 20, baseTop + 168 + titleFontSize, 600, 48, "#666", contentFontSize, "500"); // slogan that.G.roundRect(ctx, QRres.tempFilePath, mycenter - 320, baseTop + 60, 240, 240, 0); ctx.restore(); @@ -647,8 +646,7 @@ export default { contentFontSize = 36; that.G.roundRect1(ctx, mycenter - (canvas.width - 60) / 2, baseTop, canvas.width - 60, 360, 48, "#fff"); that.G.fillTextLineBreak(ctx, that.miniAppInfo.fullName || that.miniAppInfo.agencyName, baseLeft + 20, baseTop + 162, 300, 64, "#000", titleFontSize, "500"); // 代理名字 - let slogan = that.miniAppInfo.slogan || "全心全意为老乡服务"; - // let slogan = '全新全意为老乡服务' + let slogan = that.miniAppInfo.slogan || "为劳动者创造价值"; that.G.fillTextLineBreak(ctx, slogan, baseLeft + 20, baseTop + 168 + titleFontSize, 600, 48, "#666", contentFontSize, "500"); // slogan // miniAppInfo return new Promise((imgres) => { @@ -954,8 +952,7 @@ export default { contentFontSize = 36; that.G.roundRect1(ctx, mycenter - (canvas.width - 60) / 2, baseTop, canvas.width - 60, 360, 48, "#fff"); that.G.fillTextLineBreak(ctx, that.miniAppInfo.fullName || that.miniAppInfo.agencyName, baseLeft + 20, baseTop + 162, 300, 64, "#000", titleFontSize, "500"); // 代理名字 - let slogan = that.miniAppInfo.slogan || "全心全意为老乡服务"; - // let slogan = '全新全意为老乡服务' + let slogan = that.miniAppInfo.slogan || "为劳动者创造价值"; that.G.fillTextLineBreak(ctx, slogan, baseLeft + 20, baseTop + 168 + titleFontSize, 600, 48, "#666", contentFontSize, "500"); // slogan // miniAppInfo return new Promise((imgres) => { diff --git a/root/bind/applyForm.vue b/root/bind/applyForm.vue index 1555e37..f6acaa1 100644 --- a/root/bind/applyForm.vue +++ b/root/bind/applyForm.vue @@ -226,7 +226,7 @@ export default { that.info.logo = _datas.logo; that.info.recordStatus = 1; that.info.agencyName = _datas.agencyName; - that.info.agencySlogan = _datas.agencySlogan; + that.info.agencySlogan = _datas.agencySlogan || "为劳动者创造价值"; that.info.ddsec = uni.getStorageSync("miniApp-info").desp; that.info.ffullName = uni.getStorageSync("miniApp-info").fullName || uni.getStorageSync("miniApp-info").agencyName; } diff --git a/root/login/index.vue b/root/login/index.vue index 4b48810..54dabc3 100644 --- a/root/login/index.vue +++ b/root/login/index.vue @@ -5,7 +5,7 @@ - {{ miniAppInfo.slogan }} + {{ miniAppInfo.slogan || "为劳动者创造价值" }} diff --git a/root/merchantManagement/posterShare.vue b/root/merchantManagement/posterShare.vue index f269528..8d56692 100644 --- a/root/merchantManagement/posterShare.vue +++ b/root/merchantManagement/posterShare.vue @@ -12,7 +12,7 @@ {{ miniAppInfo.fullName || miniAppInfo.agencyName }}
- {{ miniAppInfo.slogan || "全心全意为老乡服务" }} + {{ miniAppInfo.slogan || "为劳动者创造价值" }}
@@ -40,7 +40,7 @@ {{ miniAppInfo.fullName || miniAppInfo.agencyName }}
- {{ miniAppInfo.slogan || "全心全意为老乡服务" }} + {{ miniAppInfo.slogan || "为劳动者创造价值" }}
@@ -232,8 +232,8 @@ export default { contentFontSize = 36; _G.roundRect1(ctx, mycenter - (canvas.width - 60) / 2, baseTop, canvas.width - 60, 360, 48, "#fff"); _G.fillTextLineBreak(ctx, that.miniAppInfo.fullName || that.miniAppInfo.agencyName, baseLeft + 20, baseTop + 162, 300, 64, "#000", titleFontSize, "500"); // 代理名字 - let slogan = that.miniAppInfo.slogan || "全心全意为老乡服务"; - // let slogan = '全新全意为老乡服务' + let slogan = that.miniAppInfo.slogan || "为劳动者创造价值"; + // let slogan = '为劳动者创造价值' _G.fillTextLineBreak(ctx, slogan, baseLeft + 20, baseTop + 168 + titleFontSize, 600, 48, "#666", contentFontSize, "500"); // slogan // miniAppInfo diff --git a/root/person/posterShare.vue b/root/person/posterShare.vue index aa41c25..54c871a 100644 --- a/root/person/posterShare.vue +++ b/root/person/posterShare.vue @@ -38,7 +38,7 @@ {{ miniAppInfo.fullName || miniAppInfo.agencyName }}
- {{ miniAppInfo.slogan || "全心全意为老乡服务" }} + {{ miniAppInfo.slogan || "为劳动者创造价值" }}
@@ -240,8 +240,8 @@ export default { contentFontSize = 36; that.G.roundRect1(ctx, mycenter - (canvas.width - 60) / 2, baseTop, canvas.width - 60, 360, 48, "#fff"); that.G.fillTextLineBreak(ctx, that.miniAppInfo.fullName || that.miniAppInfo.agencyName, baseLeft + 20, baseTop + 162, 300, 64, "#000", titleFontSize, "500"); // 代理名字 - let slogan = that.miniAppInfo.slogan || "全心全意为老乡服务"; - // let slogan = '全新全意为老乡服务' + let slogan = that.miniAppInfo.slogan || "为劳动者创造价值"; + // let slogan = '为劳动者创造价值' that.G.fillTextLineBreak(ctx, slogan, baseLeft + 20, baseTop + 168 + titleFontSize, 600, 48, "#666", contentFontSize, "500"); // slogan // miniAppInfo @@ -327,8 +327,8 @@ export default { contentFontSize = 36; that.G.roundRect1(ctx, 30, baseTop, mycenter - 60, 360, 48, "#fff"); that.G.fillTextLineBreak(ctx, that.miniAppInfo.fullName || that.miniAppInfo.agencyName, baseLeft + 20, baseTop + 162, 300, 64, "#000", titleFontSize, "500"); // 代理名字 - let slogan = that.miniAppInfo.slogan || "全心全意为老乡服务"; - // let slogan = '全新全意为老乡服务' + let slogan = that.miniAppInfo.slogan || "为劳动者创造价值"; + // let slogan = '为劳动者创造价值' that.G.fillTextLineBreak(ctx, slogan, baseLeft + 20, baseTop + 168 + titleFontSize, 600, 48, "#666", contentFontSize, "500"); // slogan that.G.roundRect(ctx, QRres.tempFilePath, mycenter - 320, baseTop + 60, 240, 240, 0); ctx.restore();