From b1bf15b093f7826dd6684dde63d2b733c5af77c6 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Fri, 15 May 2026 10:33:12 +0800 Subject: [PATCH] no message --- root/detail/job.vue | 16 ++++++--- uni_modules/rh-ui/components/rh-apply/rh-apply.vue | 42 ++++++++++++++-------- 2 files changed, 38 insertions(+), 20 deletions(-) diff --git a/root/detail/job.vue b/root/detail/job.vue index 38d4f2c..c22a5f8 100644 --- a/root/detail/job.vue +++ b/root/detail/job.vue @@ -446,7 +446,7 @@ export default { // console.log("getWXCanvas", res); wx.hideLoading(); resolve({ - title: uni.getStorageSync("apply-token") && uni.getStorageSync("apply-userinfo") ? (uni.getStorageSync("apply-userinfo").user.userName +'帮你挑选了一个靠谱好工作,快来看看是不是适合你~') : '', + title: uni.getStorageSync("apply-token") && uni.getStorageSync("apply-userinfo") ? (uni.getStorageSync("apply-userinfo").user.userName +'帮你挑选了一份靠谱好工作,快来看看是不是适合你~') : '', imageUrl: res.tempFilePath, path, }); @@ -469,7 +469,7 @@ export default { // console.log("getWXCanvas", res); wx.hideLoading(); resolve({ - title: uni.getStorageSync("apply-token") && uni.getStorageSync("apply-userinfo") ? (uni.getStorageSync("apply-userinfo").user.userName +'帮你挑选了一个靠谱好工作,快来看看是不是适合你~') : '', + title: uni.getStorageSync("apply-token") && uni.getStorageSync("apply-userinfo") ? (uni.getStorageSync("apply-userinfo").user.userName +'帮你挑选了一份靠谱好工作,快来看看是不是适合你~') : '', imageUrl: appInfo.logo, query:path, }); @@ -1130,10 +1130,10 @@ export default { baseLeft = 24; // 左侧基准线 logoSize = 132; // logo尺寸 mainFontSize = 36; // 内容字体大小 - titleFontSize = 76; // 标题字体大小 + titleFontSize = 60; // 标题字体大小 let ytit = 56; let stit = 56; - let btit = 66; + let btit = 50; let dis = 44, labelHeight = 44; let offsetY = 50; // 整体向下偏移10像素 @@ -1204,7 +1204,13 @@ export default { _G.roundRect1(ctx, mycenter - 712 / 2, line7, 712, 100, 4, getApp().globalData.themeColor); // 立即咨询背景 // 根据标签数量调整立即咨询位置 // _G.fillTextLineBreak(ctx, "立即咨询", mycenter - 24 - ctx.measureText("立即咨询").width / 2, line7 + (that.jobDetail.jobSpecialLabelNames.length > 3 ? 70 : 0), 300, 120, "#fff", titleFontSize, "500"); // 立即咨询 - _G.fillTextLineBreak(ctx, "立即查看", mycenter - 24 - ctx.measureText("立即查看").width / 2, line7 + 70, 300, 120, "#fff", btit, "500"); // 立即查看 + ctx.textBaseline = "middle"; + ctx.textAlign = "center"; + ctx.font = "500 " + btit + "px Arial"; + ctx.fillStyle = "#fff"; + ctx.fillText("立即查看", mycenter, line7 + 50); + ctx.textBaseline = "alphabetic"; + ctx.textAlign = "left"; // 绘制职位logo // console.log("that.jobDetail.logo", that.jobDetail.logo); // uni.downloadFile({ diff --git a/uni_modules/rh-ui/components/rh-apply/rh-apply.vue b/uni_modules/rh-ui/components/rh-apply/rh-apply.vue index 92ae9d3..9775874 100644 --- a/uni_modules/rh-ui/components/rh-apply/rh-apply.vue +++ b/uni_modules/rh-ui/components/rh-apply/rh-apply.vue @@ -71,17 +71,14 @@ - - - - - 我已阅读并同意 - ;">《用户协议》 - - ;">《隐私政策》 - - - + + + + + 我已阅读并同意 + 《用户服务协议》 + 及 + 《隐私政策》 @@ -239,7 +236,7 @@ export default { interviewTimeStr: "", }, persenInfo: [], - agreeRadio: ["agree"], + switchChecked: false, jobData: [], zhengceTextList: [], btnLoading: false, @@ -419,7 +416,9 @@ export default { this.updateInfo.interviewAddress = e; this.$forceUpdate(); }, - radioGroupChange(e) {}, + switchChange() { + this.switchChecked = !this.switchChecked; + }, goReturn() { uni.navigateBack(); }, @@ -461,10 +460,10 @@ export default { handleClickMobile() {}, submitForm() { let that = this; - if (!that.agreeRadio) { + if (!that.switchChecked) { uni.showToast({ icon: "none", - title: "请阅读协议", + title: "请先同意用户及隐私协议", }); return false; } @@ -592,5 +591,18 @@ export default { .text-wrap { white-space: pre-wrap; } + .biggerSize { + position: relative; + } + .biggerSize::after { + content: ""; + width: 80px; + height: 40px; + position: absolute; + left: 50%; + top: 100%; + z-index: 99; + transform: translate(-50%, -50%); + } }