From 6154b9e116cf30938cee2ae482519885faf3d6bb Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Tue, 18 Mar 2025 14:49:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E4=B8=BA=E4=BB=A3=E7=90=86=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E3=80=81=E5=88=86=E4=BA=AB=E8=81=8C=E4=BD=8D=E5=A4=8D?= =?UTF-8?q?=E9=80=89=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/job-sub/index.js | 16 ++++++++++++++++ components/job-sub/index.wxml | 17 +++++++++-------- pages/detail/index.js | 15 ++++++--------- pages/detail/index.wxml | 8 ++++++-- pages/firstBill/index.js | 4 ---- pages/listSharePage/index.js | 6 +++--- pages/listSharePage/index.wxml | 3 +-- pages/listSharePage/index.wxss | 3 ++- pages/mine/index.wxml | 4 ++-- pages/mine/index.wxss | 10 +++++----- 10 files changed, 50 insertions(+), 36 deletions(-) diff --git a/components/job-sub/index.js b/components/job-sub/index.js index 40b6812..6ae3a6b 100644 --- a/components/job-sub/index.js +++ b/components/job-sub/index.js @@ -113,5 +113,21 @@ Component({ } }, + tobeAgencyToast () { + wx.showModal({ + title: '', + content: '抱歉,您需先成为伯才代理以获得使用权限。', + confirmColor: '#1890ff', + confirmText: '成为代理', + cancelText: '知道了', + success (res) { + if (res.confirm) { + wx.navigateTo({ + url: '/pages/tobeAgency/index' + }) + } + } + }) + } } }) \ No newline at end of file diff --git a/components/job-sub/index.wxml b/components/job-sub/index.wxml index 3d94c2d..9cc6489 100644 --- a/components/job-sub/index.wxml +++ b/components/job-sub/index.wxml @@ -9,7 +9,7 @@ - {{item.jobName || item.aliasName}} + {{item.jobName || item.aliasName}} {{item.update}} @@ -25,7 +25,7 @@ - {{itm || '-'}} + {{itm || '-'}} 暂无特色 @@ -75,8 +75,9 @@ - 登录查看 - {{(agencyStatus == 1 ? (item.fuWuFei || '详询客服') : '仅代理可见') }} + 登录查看 + {{(item.fuWuFei || '详询客服')}} + {{ '仅代理可见' }} @@ -87,15 +88,15 @@ - {{item.supplierName || '-'}} + {{item.supplierName || '-'}} - - + + 复制 @@ -389,6 +389,10 @@ + + + 复制 + diff --git a/pages/firstBill/index.js b/pages/firstBill/index.js index 754dc3e..62b9d93 100644 --- a/pages/firstBill/index.js +++ b/pages/firstBill/index.js @@ -2917,10 +2917,6 @@ Page({ var that = this; if (app.globalData.isLogin) { that.data.storeJobListSearchForm.pageNum = that.data.storeJobListSearchForm.pageNum + 1; - that.setData({ - recordList: [], - // loading:true - }); if (that.data.hasMoreData) { that.getJobList(); } diff --git a/pages/listSharePage/index.js b/pages/listSharePage/index.js index 5de5085..03f73cd 100644 --- a/pages/listSharePage/index.js +++ b/pages/listSharePage/index.js @@ -2287,7 +2287,7 @@ Page({ console.log(item); funObj.roundRect1(ctx, 32, baseTop - 60 + baseMiddle * index, 776, roundRectHeight, 24, "#fff"); funObj.fillTextLineBreak(ctx, item.jobName, logoLeft, baseTop + baseMiddle * index, 500, 20, "#333", titleSize, "500"); // 岗位标题 - funObj.fillTextLineBreak(ctx, item.salaryClassifyValueHaibao, salaryClassifyValueLeft + 570, baseTop - 10 + salaryClassifyValueTop + baseMiddle * index, 400, 20, "#1890ff", titleSize - 4, "600"); // 时薪 + funObj.fillTextLineBreak(ctx, item.salaryClassifyValueHaibao, salaryClassifyValueLeft + 570, baseTop - 10 + salaryClassifyValueTop + baseMiddle * index, 400, 20, "#ff4400", titleSize - 4, "600"); // 时薪 // setTimeout(() => { // funObj.fillTextLineBreak(ctx, item.monthlyPay, salaryClassifyValueLeft + ctx.measureText(item.salaryClassifyValueHaibao + " ").width, baseTop + salaryClassifyValueTop + baseMiddle * index, 400 , 20, "#1890ff", monthlyPaySize, "400"); // 月工资 // }, 0); @@ -2372,10 +2372,10 @@ Page({ funObj.fillTextLineBreak(ctx, item.jobName, logoLeft, baseTop + baseMiddle * index, 500 * 2, 20, "#333", titleSize, "600"); // 岗位标题 - funObj.fillTextLineBreak(ctx, item.salaryClassifyValueHaibao, logoLeft, baseTop + salaryClassifyValueTop + baseMiddle * index, 400 * 2, 20, "#1890ff", titleSize - 4, "600"); // 时薪 + funObj.fillTextLineBreak(ctx, item.salaryClassifyValueHaibao, logoLeft, baseTop + salaryClassifyValueTop + baseMiddle * index, 400 * 2, 20, "#ff4400", titleSize - 4, "600"); // 时薪 // setTimeout(() => { - funObj.fillTextLineBreak(ctx, item.monthlyPay, logoLeft + ctx.measureText(item.salaryClassifyValueHaibao + " ").width, baseTop + salaryClassifyValueTop + baseMiddle * index, 400 * 2, 20, "#1890ff", monthlyPaySize, "400"); // 月工资 + funObj.fillTextLineBreak(ctx, item.monthlyPay, logoLeft + ctx.measureText(item.salaryClassifyValueHaibao + " ").width, baseTop + salaryClassifyValueTop + baseMiddle * index, 400 * 2, 20, "#ff4400", monthlyPaySize, "400"); // 月工资 // }, 0); funObj.fillTextLineBreak(ctx, item.district, logoLeft, baseTop + ageTop + baseMiddle * index, 500 * 2, 20, "#333", monthlyPaySize); // 省市 diff --git a/pages/listSharePage/index.wxml b/pages/listSharePage/index.wxml index af89cdb..a99a639 100644 --- a/pages/listSharePage/index.wxml +++ b/pages/listSharePage/index.wxml @@ -290,7 +290,7 @@ {{item.jobName || item.aliasName}} - {{item.update}} + {{item.update}} @@ -362,7 +362,6 @@ - diff --git a/pages/listSharePage/index.wxss b/pages/listSharePage/index.wxss index af9ea38..7195b88 100644 --- a/pages/listSharePage/index.wxss +++ b/pages/listSharePage/index.wxss @@ -524,7 +524,8 @@ height: 746rpx; min-width: 44px; position:absolute ; right: 0px; - top: 12px; + top: 50%; + transform: translateY(-50%); display: flex; align-items: center; justify-content: center; diff --git a/pages/mine/index.wxml b/pages/mine/index.wxml index c78b49e..e741532 100644 --- a/pages/mine/index.wxml +++ b/pages/mine/index.wxml @@ -452,8 +452,8 @@ - - {{item.name}} + + {{item.name}} diff --git a/pages/mine/index.wxss b/pages/mine/index.wxss index e3dcb32..4c5fda7 100644 --- a/pages/mine/index.wxss +++ b/pages/mine/index.wxss @@ -6,7 +6,7 @@ page { .container { /* height: 100vh; */ /* margin-top: 10px; */ - padding: 0; + padding: 0; overflow: auto; } .container .no_login { @@ -379,7 +379,7 @@ page { display: flex; justify-content: space-between; align-items: center; - padding: 12px 24px; + padding: 12px 0; /* margin: 0 10px; */ background-color: #fff; /* border-radius: 8px; */ @@ -392,9 +392,9 @@ page { z-index: 100; } .collectActive { - color: #1890ff; - font-weight: 601; - position: relative; + color: #1890ff !important; + font-weight: 601 !important; + position: relative !important; } .collectActive::after {