From d38d38eb571001be8f9a2a660310ef550686a11d Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Mon, 9 Jun 2025 18:30:33 +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 --- api/job.js | 31 +- components/list/job.vue | 3 +- .../components/primewind-sliderrange/README.md | 74 +++ .../components/primewind-sliderrange/index.vue | 381 +++++++++++ .../pages/slider-range/index.vue | 92 +++ components/unloginInfo.vue | 10 +- main.js | 2 + pages/apply/index.vue | 2 +- pages/home/child/filter.vue | 716 +++++++++++++++++++++ pages/home/index.vue | 216 ++++++- pages/login/index.vue | 2 +- pages/person/index.vue | 26 +- pages/workBench/index.vue | 6 +- root/person/info.vue | 2 +- root/person/memberApplyQRCode.vue | 2 +- root/person/orderEdit.vue | 24 +- root/person/set.vue | 4 +- root/person/teamManage.vue | 25 +- static/css/base.scss | 125 ++++ 19 files changed, 1669 insertions(+), 74 deletions(-) create mode 100644 components/primewind-sliderrange/components/primewind-sliderrange/README.md create mode 100644 components/primewind-sliderrange/components/primewind-sliderrange/index.vue create mode 100644 components/primewind-sliderrange/pages/slider-range/index.vue create mode 100644 pages/home/child/filter.vue diff --git a/api/job.js b/api/job.js index 6401377..057e27c 100644 --- a/api/job.js +++ b/api/job.js @@ -1,19 +1,20 @@ let jobInfo = { - job_list:"/assistant/custom/job/v2/list",// 职位列表 - job_detail:"/assistant/custom/job/v2/detail",// 职位详情 - job_personDetail:"/yishoudan/custom/job/detail",// 获取自有职位详情 - job_recordJob:"/assistant/apply/handler/add",// 职位报名 - job_watch:"/assistant/custom/job/ignore/add",// 查看职位次数 - job_addJob:"/yishoudan/custom/job/addRecord",// 添加职位 - job_updateJob:"/yishoudan/custom/job/updateRecord",// 编辑提交职位 - job_setStatus:"/assistant/custom/job/v2/recruitment",// 开停招 - job_hotList:"/assistant/custom/job/v2/recommend/list",// 推荐列表 - job_getDetailInList:"/assistant/custom/job/v2/getInfo",// 职位列表获取职位详情 - job_delJob:"/yishoudan/custom/job/del",// 删除职位 - job_updateStatus:"/assistant/custom/job/ignore/add",// 更新状态 - job_getPolicyPerson:'/yishoudan/custom/job/getPolicyStr',// 获取自有职位政策 - job_getPolicyShare:'/yishoudan/store/job/getPolicyByStoreJobId',// 获取共享职位政策 - job_ai:'/yishoudan/common/structure/get'// 获取ai结果 + job_list: "/assistant/custom/job/v2/list",// 职位列表 + job_detail: "/assistant/custom/job/v2/detail",// 职位详情 + job_personDetail: "/yishoudan/custom/job/detail",// 获取自有职位详情 + job_recordJob: "/assistant/apply/handler/add",// 职位报名 + job_watch: "/assistant/custom/job/ignore/add",// 查看职位次数 + job_addJob: "/yishoudan/custom/job/addRecord",// 添加职位 + job_updateJob: "/yishoudan/custom/job/updateRecord",// 编辑提交职位 + job_setStatus: "/assistant/custom/job/v2/recruitment",// 开停招 + job_hotList: "/assistant/custom/job/v2/recommend/list",// 推荐列表 + job_getDetailInList: "/assistant/custom/job/v2/getInfo",// 职位列表获取职位详情 + job_delJob: "/yishoudan/custom/job/del",// 删除职位 + job_updateStatus: "/assistant/custom/job/ignore/add",// 更新状态 + job_getPolicyPerson: '/yishoudan/custom/job/getPolicyStr',// 获取自有职位政策 + job_getPolicyShare: '/yishoudan/store/job/getPolicyByStoreJobId',// 获取共享职位政策 + job_ai: '/yishoudan/common/structure/get', // 获取ai结果 + yi_job_class_new: "/labels/getListByTypeAndIndustry", // 新职位要求接口(新) } export default jobInfo; \ No newline at end of file diff --git a/components/list/job.vue b/components/list/job.vue index e0e608a..f727d31 100644 --- a/components/list/job.vue +++ b/components/list/job.vue @@ -12,7 +12,8 @@ > - + + diff --git a/components/primewind-sliderrange/components/primewind-sliderrange/README.md b/components/primewind-sliderrange/components/primewind-sliderrange/README.md new file mode 100644 index 0000000..8487018 --- /dev/null +++ b/components/primewind-sliderrange/components/primewind-sliderrange/README.md @@ -0,0 +1,74 @@ +# slider-range +uni-app 滑块区间选择组件 + +可根据具体需求,修改、自定义其他内容。 + +## 属性说明 + +|属性名|类型|默认值|说明| +| -- | -- | --|--| +| value | Array | [0,100] |滑块已选中区间的值| +| min | Number| 0 | 滑块区间最小值 | +| max | Number | 100 | 滑块区间最大值 | +| step | Number | 1 | 拖动时的步长 | +| disabled | Boolean | false | 是否为禁用状态 | +| height | Number | 50 | 滑块容器高度 | +| barHeight | Number | 5 | 滑块进度条高度 | +| backgroundColor | String | #e9e9e9| 滑块进度条背景色| +| activeColor | String | #1aad19 | 已选中区间进度条颜色| +| blockSize | Number | 20 | 滑块大小 | +| blockColor | String | #fff | 滑块颜色 | +| decorationVisible | Boolean | false | 是否显示滑块内装饰元素| +| tipVisible | Boolean | true | 是否显示滑块值提示文本 | +| fomat| Function | | 滑块值提示文本格式化函数,**注意**:小程序中此属性必传,否则会报错,如果无需格式化,可以简单返回原始值: `format(val) { return val }`;H5中可以不传。| + + +## 使用示例 + +```html + + + + +``` + +```javascript + +import SliderRange from '../components/slider-range/index.vue' +export default { + components: { + SliderRange + }, + data() { + return { + rangeMin: 5, + rangMax: 200, + rangeValue: [10, 50] + } + }, + methods: { + format(val) { + return val + '%' + }, + handleRangeChange(e) { + this.rangeValue = e + } + } +} +``` + +效果图 + +![](http://images.alisali.cn/img_20190715175325.png) diff --git a/components/primewind-sliderrange/components/primewind-sliderrange/index.vue b/components/primewind-sliderrange/components/primewind-sliderrange/index.vue new file mode 100644 index 0000000..de4fbbe --- /dev/null +++ b/components/primewind-sliderrange/components/primewind-sliderrange/index.vue @@ -0,0 +1,381 @@ + + + + diff --git a/components/primewind-sliderrange/pages/slider-range/index.vue b/components/primewind-sliderrange/pages/slider-range/index.vue new file mode 100644 index 0000000..288903c --- /dev/null +++ b/components/primewind-sliderrange/pages/slider-range/index.vue @@ -0,0 +1,92 @@ + + + + diff --git a/components/unloginInfo.vue b/components/unloginInfo.vue index 810dd1c..f5eeefd 100644 --- a/components/unloginInfo.vue +++ b/components/unloginInfo.vue @@ -1,15 +1,15 @@