From 91379c50256e0583b50bd29bbe3535faf145942f Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Wed, 19 Mar 2025 14:35:20 +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/firstBill/index.js | 64 ++++ pages/firstBill/index.wxml | 717 ++++++++++++++++++++++++++++--------------- pages/listSharePage/index.js | 2 +- project.private.config.json | 2 +- 4 files changed, 527 insertions(+), 258 deletions(-) diff --git a/pages/firstBill/index.js b/pages/firstBill/index.js index 97a06a0..50f99db 100644 --- a/pages/firstBill/index.js +++ b/pages/firstBill/index.js @@ -11,6 +11,8 @@ import { Page({ data: { appId: app.globalData.appId, + innerScroll: true, + refreshabel: true, isSwiper: true, toped: "1", jobNum: 0, // 48小时更新职位数 @@ -4942,5 +4944,67 @@ Page({ catchScrollInfo (e) { // console.log(e); }, + handleOuterScroll (e) { + // console.log('handleOuterScroll', e); + let that = this + wx.createSelectorQuery() + .select("#sticky") + .boundingClientRect((e) => { + // console.log('e', e); + // if (that.data.innerScroll == true) { + if (e.top <= 0) { + that.setData({ + innerScroll: true, + refreshabel: false + }) + } else if (e.top >= 223) { + that.setData({ + innerScroll: false, + refreshabel: true + }) + } + // } else { + + // } + + }).exec() + return + wx.createSelectorQuery() + .select("#sticky") + .fields({ + scrollOffset: true, + size: true, + }, (e) => { + console.log('e', e); + // that.setData({ + // outerScroll: true + + // }) + }) + + return true + }, + handleInnerScroll (e) { + // console.log('handleInnerScroll', e); + let that = this + wx.createSelectorQuery() + .selectViewport("#sticky") + .scrollOffset((e) => { + console.log('e', e); + // if (e.changedTouches[0].pageY < 0) { + // that.setData({ + // innerScroll: true + + // }) + // } else { + // that.setData({ + // innerScroll: false + // }) + // } + + }) + + return false + } }); \ No newline at end of file diff --git a/pages/firstBill/index.wxml b/pages/firstBill/index.wxml index 3838697..eaff4f5 100644 --- a/pages/firstBill/index.wxml +++ b/pages/firstBill/index.wxml @@ -3,317 +3,312 @@ 伯才供应链 --> - - - - - {{searchCityParamStorage.name == '' ? '全国' : searchCityParamStorage.shortName}} - - - - - - - - - - - {{item}} - - - - - - - - 搜索 - - + + + + {{searchCityParamStorage.name == '' ? '全国' : searchCityParamStorage.shortName}} + - - - - - - - + - - - - - - - {{item.name}} - - - + + + + {{item.name}} + + + - + - + - - - - - {{firstMenu}} - - - - - 按工价 - - 按佣金 - 按时间 - - - - - {{ secondMenu }} - - - - - 男女不限 - - + --> + + + + + {{firstMenu}} + + + + + 按工价 + + 按佣金 + 按时间 + + + + + {{ secondMenu }} + + + + + 男女不限 + + + + + + + 分类 + + + {{selectBrandList.length}} + + + + + {{item.name}} + - - - - 分类 - - - {{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}} + + + + + + + + + + - - - - + + + - + - - - - - + + + + + - - + --> + + + + {{maxAge == minAge ? maxAge + '岁' : storeJobListSearchForm.ageRangeStr + (maxAge == 60 ? '+' : '')}} + + + + + {{secondMenu}} + + + + + + + {{item.name}} - {{maxAge == minAge ? maxAge + '岁' : storeJobListSearchForm.ageRangeStr + (maxAge == 60 ? '+' : '')}} - - - - {{secondMenu}} + + + + + + {{item.name}} - - - - - {{item.name}} - - - - - - - - {{item.name}} - - - - + - - - - 清除 + + + + 清除 + - + --> + + + + + + + + {{'最近更新' + jobNum + '条信息'}} + + + + + + + + + 没有符合条件的职位 + + + + + 已经到底啦~ + 上滑加载更多 + + + + 未登录时只能使用部分功能,申请加入伯才供应链即可使用更多功能。 + + + 登录伯才 + + + + + + + + + + + + + + + + + + + + + + + {{index < 9?'0'+(index+1):index+1 }} + + + {{item.jobName}} + + + + + + {{item.salaryClassifyValue}} + 元/时 + + + {{item.salaryClassifyValue}} + 元/天 + + + + {{item.salaryClassifyValue}} + + + + + {{item.salaryClassifyValue}} + + + 计件 + + 保底 + {{item.salaryClassifyValue}} + + + + ,{{item.age}} + + {{item.minMonthlyPay+'-'+item.maxMonthlyPay+'元/月'}},{{item.age}} + + + + + + + + + + + + + {{!isLogin ? '登录查看服务费' : (agencyStatus == 1 ? (item.fuWuFei ? item.fuWuFei : '-') : '服务费仅代理可见')}} + + + + + 项目方: {{item.agencyName}} + + + + + + + 没有符合条件的职位 + + + + 已经到底啦~ + 上滑加载更多 + + + + 未登录时只能使用部分功能,申请加入伯才供应链即可使用更多功能。 + + + 登录伯才 + + + + + + 暂无记录 + + + + + + + + + + + + + + 周耀锋 + 专属客服 + + 13937184434 + + + 取消 + + + + + + - + + + + + + + 申请加入伯才 + 请联系客户经理 + + + + 客户经理 + + {{serviceInfo.userName }} + +

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

+
+ + + + + 加载中... + + + 长按识别二维码 +
+
+
+
+
+ + + + 智能匹配 + + +
diff --git a/pages/listSharePage/index.js b/pages/listSharePage/index.js index 03f73cd..7072ffc 100644 --- a/pages/listSharePage/index.js +++ b/pages/listSharePage/index.js @@ -2171,7 +2171,7 @@ Page({ getCode () { var that = this; return new Promise((resolve, reject) => { - customRequest('/yishoudan/store/job/batchqrcode?storeJobIds=' + this.data.checkedList.map(item => item.id).join(','), { header: 'headers', method: 'GET', data: {} }).then((res) => { + customRequest('/yishoudan/custom/job/batchqrcode?storeJobIds=' + this.data.checkedList.map(item => item.id).join(','), { header: 'headers', method: 'GET', data: {} }).then((res) => { that.setData({ currCode: res.data.data.qrcode }) diff --git a/project.private.config.json b/project.private.config.json index e527afd..2f9e441 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -2,7 +2,7 @@ "setting": { "compileHotReLoad": true, "urlCheck": false, - "skylineRenderEnable": true + "skylineRenderEnable": false }, "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", "projectname": "%E4%BC%AF%E6%89%8D%E4%BE%9B%E5%BA%94%E9%93%BE",