From e1a5b7b504ae1f37d7854968964389cb9866ed6d Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Thu, 20 Mar 2025 18:13:18 +0800 Subject: [PATCH] =?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/detail/index.js | 1 + pages/detail/index.wxml | 147 +++++--- pages/detail/index.wxss | 15 +- pages/firstBill/index.js | 39 ++- pages/firstBill/index.wxml | 821 ++++++++++++++++++++++---------------------- pages/firstBill/index.wxss | 5 +- pages/mine/index.js | 28 +- pages/mine/index.wxml | 674 ++++++++++++++++++------------------ pages/mine/index.wxss | 2 +- pages/shareList/index.js | 20 +- project.private.config.json | 2 +- 11 files changed, 928 insertions(+), 826 deletions(-) diff --git a/pages/detail/index.js b/pages/detail/index.js index 0f79593..14027f7 100644 --- a/pages/detail/index.js +++ b/pages/detail/index.js @@ -14,6 +14,7 @@ import { Page({ data: { // currCode: '', + appId: app.globalData.appId, fromBocai: true, // 商家后台职位的判断 kefuShow: false, // 客服抽屉的显隐 storeJobId: "", diff --git a/pages/detail/index.wxml b/pages/detail/index.wxml index 25607ec..cf7dfe6 100644 --- a/pages/detail/index.wxml +++ b/pages/detail/index.wxml @@ -1,7 +1,7 @@ - - - - + + + 来源 - {{jobDetail.record.askAgencyName}} + {{jobDetail.record.askAgencyName}} - - + + 项目方 - + {{jobDetail.record.supplier.supplierName}} - - + + 代理佣金 - + {{ (fuWuFei || '详询客服')}} - *** - + *** + - + {{jobDetail.record.jobName}} - {{jobDetail.record.update}} + {{jobDetail.record.update}} @@ -72,18 +72,18 @@ - + {{item1}} - {{itm || '-'}} + {{itm || '-'}} 暂无特色 - + @@ -153,12 +153,12 @@ - + - + 复制 - - {{jobDetail.record.jobInfoWithoutReturnFee}} + + {{jobDetail.record.jobInfoWithoutReturnFee}} {{userInfo.agencyStatus == 1 ? (userInfo.noticeEndStr ? userInfo.noticeEndStr : ('详情咨询:' + userInfo.tel)) : ('详情咨询:' + serviceInfo.aliasName + (serviceInfo.workPhone || '-'))}} - + 以上联系人,可以 改成我的 @@ -393,8 +438,8 @@ 复制 - - + + @@ -452,13 +497,13 @@ 客服 --> - - + - + 客服 @@ -491,11 +536,11 @@ 加客户经理微信 - + - 加载中... + 加载中... 长按识别二维码 @@ -536,13 +581,13 @@ - - 申请加入伯才 - 请联系客户经理 + + 申请加入伯才 + 请联系客户经理 - - - 客户经理 + + + 客户经理 {{serviceInfo.userName }} @@ -564,7 +609,7 @@ - + @@ -572,7 +617,7 @@ {{item.aliasName + ' ' + item.tel}} - + 取消 diff --git a/pages/detail/index.wxss b/pages/detail/index.wxss index 31ae092..6da6132 100644 --- a/pages/detail/index.wxss +++ b/pages/detail/index.wxss @@ -386,10 +386,13 @@ button.collectBtn { color: #333; } .outSp { - border: 1px solid #f3f3f3; border-radius: 4px; /* line-height: 56rpx; */ } +.outSp_new { + border: 1px solid #f3f3f3; + +} .outSp .display-flex:last-child .rb1, .outSp .display-flex:last-child .textb1 { border-bottom: 0; @@ -408,6 +411,8 @@ button.collectBtn { color: #666; text-align: center; width: 95px; +} +.rb1_new { border-right: 1px solid #f3f3f3; border-bottom: 1px solid #f3f3f3; display: flex; @@ -417,11 +422,13 @@ button.collectBtn { .textb1 { white-space: pre-line; color: #333; - border-bottom: 1px solid #f3f3f3; - padding: 0 8px; + flex: 1; line-height: 1.8; - padding-top: 3px; +} +.textb1_new { + border-bottom: 1px solid #f3f3f3; + padding: 3px 8px 0; } .jobMoney { color: var(--color-ysd); diff --git a/pages/firstBill/index.js b/pages/firstBill/index.js index 99c15f7..01464ac 100644 --- a/pages/firstBill/index.js +++ b/pages/firstBill/index.js @@ -74,20 +74,21 @@ Page({ name: '其他特色' } ], - colorList: [{ - color: '#1890ff', - background: '#ccc' - }, - { - color: '#576B95', - background: '#ccc' - }, - { - color: '#a2cfb1', - background: '#ccc' - }, - + colorList: [ + { + color: '#1890ff', + background: '#ccc' + }, + { + color: '#576B95', + background: '#ccc' + }, + { + color: '#a2cfb1', + background: '#ccc' + }, ], + filterStyle: '', nationArray, nationIndex: -1, // 民族的索引 chaShowed: false, @@ -4954,14 +4955,16 @@ Page({ // if (that.data.innerScroll == true) { if (e.top <= 0) { that.setData({ - innerScroll: true, - refreshabel: false + filterStyle: 'box-shadow: 0px 4px 4px 0px rgba(218, 218, 218, 0.5)' }) - } else if (e.top >= 223) { + } else { that.setData({ - innerScroll: false, - refreshabel: true + filterStyle: '' }) + // that.setData({ + // innerScroll: false, + // refreshabel: true + // }) } }).exec() }, diff --git a/pages/firstBill/index.wxml b/pages/firstBill/index.wxml index ffe7d27..757e0f7 100644 --- a/pages/firstBill/index.wxml +++ b/pages/firstBill/index.wxml @@ -3,230 +3,233 @@ 伯才供应链 --> - - - - {{searchCityParamStorage.name == '' ? '全国' : searchCityParamStorage.shortName}} - - - - - - - - - - - {{item}} - - - + + + + + + {{searchCityParamStorage.name == '' ? '全国' : searchCityParamStorage.shortName}} + + + + + + + + + + + {{item}} + + + + + + - - + 搜索 - 搜索 + - - - - - - - - - - - - - - + + + + + + + + + + + + + + {{item.title}} - {{item.title}} - - + --> + - - - - - - - {{item.name}} - - - - - - {{firstMenu}} - - - - - 按工价 - - 按佣金 - 按时间 - - - - - {{ secondMenu }} - - - - - 男女不限 - - - - + + + + + + {{item.name}} - - 分类 - - - {{selectBrandList.length}} - - - - - {{item.name}} - + + + + + {{firstMenu}} + + + + + 按工价 + + 按佣金 + 按时间 - - - + + + + {{ secondMenu }} + + + + + 男女不限 + + + + + + + 分类 + + + {{selectBrandList.length}} + + + + + {{item.name}} + - - + + + + + + + - - - - - 筛选 - - - {{selectJobList.length + selectBrandList.length }} - - - - - {{item.name}} - - - - 年龄(岁) - - - - {{minAge + '-'}} - {{maxAge == 60 ? maxAge + '+' : maxAge }} + + + + 筛选 + + + {{selectJobList.length + selectBrandList.length }} + + + + + {{item.name}} + + + + 年龄(岁) + + + + {{minAge + '-'}} + {{maxAge == 60 ? maxAge + '+' : maxAge }} + + - - - - 性别 - - - {{item.name}} + + 性别 + + + {{item.name}} + - - - - 薪资福利 - - 不限 - {{item.name}} + --> + + 薪资福利 + + 不限 + {{item.name}} + - - - 吃饭住宿 - - 不限 - {{item.name}} + + 吃饭住宿 + + 不限 + {{item.name}} + - - - 班制休息 - - 不限 - {{item.name}} + + 班制休息 + + 不限 + {{item.name}} + - - - 面试特色 - - 不限 - {{item.name}} + + 面试特色 + + 不限 + {{item.name}} + - - - 其他特色 - - 不限 - {{item.name}} + + 其他特色 + + 不限 + {{item.name}} + + + + + + + + + + + + 薪资福利 + + + {{item.name}} + + + 食宿保障 + + + {{item.name}} + + + 班制特色 + + + {{item.name}} + + + 其它特色 + + + {{item.name}} + + + + + + + + + - - - - - - - - - - - 薪资福利 - - - {{item.name}} - - - 食宿保障 - - - {{item.name}} - - - 班制特色 - - - {{item.name}} - - - 其它特色 - - - {{item.name}} - - - - - - - - - @@ -234,53 +237,52 @@ - - - - - - - - - {{maxAge == minAge ? maxAge + '岁' : storeJobListSearchForm.ageRangeStr + (maxAge == 60 ? '+' : '')}} - - - - - {{secondMenu}} - - - - - - - {{item.name}} + --> + + + {{maxAge == minAge ? maxAge + '岁' : storeJobListSearchForm.ageRangeStr + (maxAge == 60 ? '+' : '')}} - - - - - - {{item.name}} + + + + {{secondMenu}} - + + + + + {{item.name}} + + + + + + + + {{item.name}} + + + + + + + + 清除 - - - - 清除 - - - - - + --> + + + - + - - {{'最近更新' + jobNum + '条信息'}} + + {{'最近更新' + jobNum + '条信息'}} @@ -468,7 +470,7 @@ {{item.jobName}} @@ -519,9 +521,9 @@ {{!isLogin ? '登录查看服务费' : (agencyStatus == 1 ? (item.fuWuFei ? item.fuWuFei : '-') : '服务费仅代理可见')}} - + - 项目方: {{item.agencyName}} + 项目方: {{item.agencyName}} @@ -582,45 +584,46 @@ - - - - - - - 申请加入伯才 - 请联系客户经理 - - - - 客户经理 - - {{serviceInfo.userName }} - -

{{serviceInfo.tel || '0371-6611 3723'}}

-
- - - - - 加载中... + + + + + + + + 申请加入伯才 + 请联系客户经理 + + + + 客户经理 + + {{serviceInfo.userName }} + +

{{serviceInfo.tel || '0371-6611 3723'}}

+
+ + + - - 长按识别二维码 + 加载中... + + 长按识别二维码
+
- - - 智能匹配 - - - + + + 智能匹配 + + + - + {{searchCityParamStorage.name == '' ? '全国' : searchCityParamStorage.shortName}} @@ -628,7 +631,7 @@ - + @@ -646,10 +649,10 @@ - + - - + + {{item.name}} @@ -728,69 +731,69 @@ {{selectJobList.length + selectBrandList.length }} - - - {{item.name}} + + + {{item.name}} - + 年龄(岁) - - - {{minAge + '-'}} - {{maxAge == 60 ? maxAge + '+' : maxAge }} + + {{minAge + '-'}} + {{maxAge == 60 ? maxAge + '+' : maxAge }} - + 性别 - {{item.name}} + {{item.name}} - - + 薪资福利 不限 - {{item.name}} + {{item.name}} - + 吃饭住宿 不限 - {{item.name}} + {{item.name}} - + 班制休息 不限 - {{item.name}} + {{item.name}} - + 面试特色 不限 - {{item.name}} + {{item.name}} - + 其他特色 不限 - {{item.name}} + {{item.name}} @@ -843,8 +846,8 @@ - - + - + - - - - + + {{maxAge == minAge ? maxAge + '岁' : storeJobListSearchForm.ageRangeStr + (maxAge == 60 ? '+' : '')}} - - + + {{secondMenu}} @@ -892,7 +895,7 @@ - + 清除 @@ -1001,12 +1004,12 @@ - - - {{firstMenu}} + + + {{firstMenu}} - - {{secondMenu}} + + {{secondMenu}} @@ -1019,7 +1022,7 @@ - + 清除 @@ -1027,7 +1030,7 @@ --> - + - @@ -1113,7 +1116,7 @@ - {{'最近更新' + jobNum + '条信息'}} + {{'最近更新' + jobNum + '条信息'}} @@ -1167,7 +1170,7 @@ {{item.jobName}} @@ -1218,9 +1221,9 @@ {{!isLogin ? '登录查看服务费' : (agencyStatus == 1 ? (item.fuWuFei ? item.fuWuFei : '-') : '服务费仅代理可见')}} - + - 项目方: {{item.agencyName}} + 项目方: {{item.agencyName}} @@ -1286,23 +1289,23 @@ - - 申请加入伯才 - 请联系客户经理 + + 申请加入伯才 + 请联系客户经理 - - - 客户经理 + + + 客户经理 {{serviceInfo.userName }}

{{serviceInfo.tel || '0371-6611 3723'}}

- + - 加载中... + 加载中... 长按识别二维码 @@ -1321,10 +1324,10 @@ - + - + {{currentJobDrawer.jobName}} @@ -1334,8 +1337,8 @@ 服务费:{{!isLogin ? '登录查看服务费' : (agencyStatus == 1 ? (currentJobDrawer.fuWuFei ? currentJobDrawer.fuWuFei : '-') : '服务费仅代理可见')}} - - 项目方: {{currentJobDrawer.agencyName}} + + 项目方: {{currentJobDrawer.agencyName}} @@ -1359,11 +1362,11 @@ - - + + {{userInfo.agencyStatus == 1 ? (userInfo.noticeEndStr ? userInfo.noticeEndStr : ('详情咨询:' + userInfo.tel)) : ('详情咨询:' + (serviceInfo.userName || '') + (serviceInfo.workPhone || '-'))}} - + 以上联系人,可以 {{userInfo.noticeEndStr ? '修改' : '改成我的'}} @@ -1403,22 +1406,22 @@ - - 智能匹配 + + 智能匹配 - - + + 性别 - - - {{item.name}} + + + {{item.name}} - - - + + 年龄(岁) - - {{minAge + '-'}} - {{maxAge == 60 ? maxAge + '+' : maxAge }} + + {{minAge + '-'}} + {{maxAge == 60 ? maxAge + '+' : maxAge }} - - + + 籍贯 - - + + 期望薪资 - - {{minSalary * 100 + '-'}} - {{maxSalary * 100}} + + {{minSalary * 100 + '-'}} + {{maxSalary * 100}} - + 纹身烟疤 - {{item.name}} + {{item.name}} - + 有无案底 - {{item.name}} + {{item.name}} - + 是否黑户 - {{item.name}} + {{item.name}} - + 身份证 - {{item.name}} + {{item.name}} @@ -1496,27 +1499,27 @@ - + - - 智能匹配 + + 智能匹配 - - + + 性别 - - - {{item.name}} + + + {{item.name}} - - - + + 年龄(岁) - - {{minAge + '-'}} - {{maxAge == 60 ? maxAge + '+' : maxAge }} + + {{minAge + '-'}} + {{maxAge == 60 ? maxAge + '+' : maxAge }} - - + + 籍贯 - - + + 期望薪资 - - {{minSalary * 100 + '-'}} - {{maxSalary * 100}} + + {{minSalary * 100 + '-'}} + {{maxSalary * 100}} - + 纹身烟疤 - {{item.name}} + {{item.name}} - + 有无案底 - {{item.name}} + {{item.name}} - + 是否黑户 - {{item.name}} + {{item.name}} - + 身份证 - {{item.name}} + {{item.name}} @@ -1602,13 +1605,13 @@ 长按识别二维码 关注公众号 - 实时了解工单状态变化 + 实时了解工单状态变化 - - @@ -1617,7 +1620,7 @@ 批量 - 分享 + 分享 diff --git a/pages/firstBill/index.wxss b/pages/firstBill/index.wxss index 8bd913d..53765c9 100644 --- a/pages/firstBill/index.wxss +++ b/pages/firstBill/index.wxss @@ -23,6 +23,7 @@ page { height: 100vh; width: 100%; padding-bottom: 0 !important; + background-color: #f5f5f5; /* flex-direction: column; */ } @@ -30,7 +31,6 @@ page { position: relative; height: 100vh; z-index: 0; - background-color: #f5f5f5; /* display: none; */ /* width: 90%; */ } @@ -45,7 +45,6 @@ page { line-height: 50px; padding-left: 12px; padding-right: 8px; - background-color: #f5f5f5; } .searchBar .weui-search-bar__form { flex: unset; @@ -1086,6 +1085,8 @@ button.collect icon::before { } .sticky { position: sticky; + background-color: #fff; + margin-top: 6px; top: 0px; left: 0; z-index: 100; diff --git a/pages/mine/index.js b/pages/mine/index.js index 3510c38..94a4f58 100644 --- a/pages/mine/index.js +++ b/pages/mine/index.js @@ -68,7 +68,8 @@ Page({ ucj: 0, }, recordList: [], - myService: [] + myService: [], + filterStyle: '' // agencyStatus: 0, // 是否是代理判断 }, @@ -705,5 +706,28 @@ Page({ }, }); }) - } + }, + handleOuterScroll (e) { + // console.log('handleOuterScroll', e); + let that = this + wx.createSelectorQuery() + .select(".tab_container") + .boundingClientRect((e) => { + // console.log('e', e); + // if (that.data.innerScroll == true) { + if (e.top <= 0) { + that.setData({ + filterStyle: 'box-shadow: 0px 4px 4px 0px rgba(218, 218, 218, 0.5)' + }) + } else { + that.setData({ + filterStyle: '' + }) + // that.setData({ + // innerScroll: false, + // refreshabel: true + // }) + } + }).exec() + }, }); diff --git a/pages/mine/index.wxml b/pages/mine/index.wxml index 46909fb..f2c44fb 100644 --- a/pages/mine/index.wxml +++ b/pages/mine/index.wxml @@ -1,59 +1,60 @@ - - - - - - - - - - - - - - - - - - - {{userInfo.user.nickName || '伯才用户' }} - - + + + + + + + + + + + + + + + + + + + + {{userInfo.user.nickName || '伯才用户' }} + + + + {{userInfo.user.tel}} - {{userInfo.user.tel}} - - - - - 去认证 + + + + 去认证 + + - - - - - - - - - - - - 微信用户 + + + + + + + + + + 微信用户 + + 让天下没有难做的劳务 - 让天下没有难做的劳务 + + + - - - - - - + --> - - - - - 我的职位 + + + + + 我的职位 + + + 发布{{map.customJobStatus1Num}}条 + + - - 发布{{map.customJobStatus1Num}}条 - + + 新增职位 - - 新增职位 - - - - - - - 申请加入 + + + + + 申请加入 + + - - - - - - - 待结算(元) - - - {{map.billStatus20Salary || '0'}} - - - - 累计结算(元) - + + + + + 待结算(元) + + + {{map.billStatus20Salary || '0'}} + + + + 累计结算(元) + + + {{map.billStatus30Salary}} + + + + 待核对 + + {{ map.billStatus10Num }} +

暂无待核对账单

+
- {{map.billStatus30Salary}}
- - 待核对 - - {{ map.billStatus10Num }} -

暂无待核对账单

- -
-
-
- - - 今日数据 - - - - - {{map.agencyData.signUps || '0'}} - 报名 - - - {{map.agencyData.arrived || '0'}} - 到面 - - - {{map.agencyData.passed || '0'}} - 通过 - - - {{map.agencyData.entry || '0'}} - 入职 + + + 今日数据 + - - {{map.agencyData.obJob || '0'}} - 在职 + + + {{map.agencyData.signUps || '0'}} + 报名 + + + {{map.agencyData.arrived || '0'}} + 到面 + + + {{map.agencyData.passed || '0'}} + 通过 + + + {{map.agencyData.entry || '0'}} + 入职 + + + {{map.agencyData.obJob || '0'}} + 在职 + - - - - - - 报名工单 - - 全部 - + + + + + 报名工单 + + 全部 + + + - - - - - {{map.num10 || '0'}} - 审核中 - - - {{map.num20 || '0'}} - 待接待 - - - {{map.num25 || '0'}} - 待面试 - - - {{map.num30 || '0'}} - 待入职 - - - - {{map.num40 || '0'}} - 在职中 - - + + {{map.num40 || '0'}} + 在职中 + + +
--> +
-
- - - - - 我的老乡 - - 全部 - - - - - - - {{map.user0 || '0'}} - 全部 - - - {{map.user3 || '0'}} - 在职中 + + + + + 我的老乡 + + 全部 + + + - - - {{map.user50 || '0'}} - 已离职 - - + + {{map.user50 || '0'}} + 已离职 + + - + - + --> + + -
- + - - - - - 10/90 - 今日/职位数 - - - 102 - 关注发单号 - - - 180 - 我的粉丝 + --> + + + + 10/90 + 今日/职位数 + + + 102 + 关注发单号 + + + 180 + 我的粉丝 + - - - - - - - - - - 当前团队 - - - - - - {{userInfo.agencyName || '-'}} + + + + + + + + + 当前团队 - - + + + + + {{userInfo.agencyName || '-'}} + + + + - - - - - - - - - 我要发单 - 快速创建新职位 - - - - - + + + + + + + + 我要发单 + 快速创建新职位 + - - 发展代理 - 让更多代理关注我 + + + + + + 发展代理 + 让更多代理关注我 + - - - - - 我的服务 - - - - - - - {{item.name}} - + + + + 我的服务 - - + + --> - - + + --> - - + - - - - - - - + --> - - 客户经理 - - {{serviceInfo.userName }} + + + + + + + + + 客户经理 + + {{serviceInfo.userName }} - -

{{serviceInfo.tel || '0371-6611 3723'}}

+ +

{{serviceInfo.tel || '0371-6611 3723'}}

+
+
-
-
- - - - - -
+
--> +
- - - - - - - 反馈与建议 + + + + + + + 反馈与建议 + + - - - - - - - - - - - 设置 + + + + + + + + + 设置 + + - - - -
-
- - 豫ICP备2023001993号-27A - - - - - - - {{item.name}} - + - - - - - - 没有符合条件的职位 + + 豫ICP备2023001993号-27A + + + + + + + {{item.name}} + + + + + + + + + 没有符合条件的职位 + + + + + 已经到底啦~ + 上滑加载更多 + + + + 未登录时只能使用部分功能,申请加入伯才供应链即可使用更多功能。 + + + 登录伯才 + + - - - 已经到底啦~ - 上滑加载更多 - - - - 未登录时只能使用部分功能,申请加入伯才供应链即可使用更多功能。 - - - 登录伯才 - - - - - + - + --> +
diff --git a/pages/mine/index.wxss b/pages/mine/index.wxss index 4c5fda7..d41239e 100644 --- a/pages/mine/index.wxss +++ b/pages/mine/index.wxss @@ -383,7 +383,7 @@ page { /* margin: 0 10px; */ background-color: #fff; /* border-radius: 8px; */ - box-shadow: 0px 4px 4px 0px rgba(218, 218, 218, 0.5); + /* box-shadow: 0px 4px 4px 0px rgba(218, 218, 218, 0.5); */ } .sticky { position: sticky; diff --git a/pages/shareList/index.js b/pages/shareList/index.js index 23116df..c74f60f 100644 --- a/pages/shareList/index.js +++ b/pages/shareList/index.js @@ -950,8 +950,24 @@ Page({ var sceneJson = commonUtil.sceneToJson(sceneStr); console.log("sceneJson===", sceneJson); // this.data.sceneStoreJobId = sceneJson.ids; - app.globalData.sceneStoreJobId = sceneJson.ids - app.globalData.agencyId = sceneJson.agId + if (sceneJson.i) { + let agId = '', ids = [] + let array = sceneJson.i.split("_"); + array.forEach((item, index) => { + if (index == 0) { + agId = item + } else { + ids.push(item) + } + }) + app.globalData.sceneStoreJobId = ids.join('_') + app.globalData.agencyId = agId + + } else { + app.globalData.sceneStoreJobId = sceneJson.ids + app.globalData.agencyId = sceneJson.agId + + } } wx.showLoading() diff --git a/project.private.config.json b/project.private.config.json index 2f9e441..d72a926 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -11,7 +11,7 @@ "list": [ { "name": "pages/tobe", - "pathName": "pages/shareList/index", + "pathName": "pages/firstBill/index", "query": "", "launchMode": "default", "scene": null