From 65cc77cf06abe9254b206d2de4ac53816799eff8 Mon Sep 17 00:00:00 2001 From: zxy <353513737@qq.com> Date: Fri, 8 Mar 2024 19:51:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=A1=A8=E5=8D=95=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/recruit/reform.vue | 4 +- pages/recruit/subPage/recruit.vue | 86 +++++++++++++++++++++++++++++-- vue.config.js | 4 +- 3 files changed, 87 insertions(+), 7 deletions(-) diff --git a/pages/recruit/reform.vue b/pages/recruit/reform.vue index 4b0e3b5..7734151 100644 --- a/pages/recruit/reform.vue +++ b/pages/recruit/reform.vue @@ -15,11 +15,11 @@ 您的招工需求 - + 招工指引 diff --git a/pages/recruit/subPage/recruit.vue b/pages/recruit/subPage/recruit.vue index f0f9c40..2e0c019 100644 --- a/pages/recruit/subPage/recruit.vue +++ b/pages/recruit/subPage/recruit.vue @@ -17,11 +17,48 @@ 您的招工需求 - + + + + + + + + + + 招工指引 @@ -44,6 +81,15 @@ 提交 + + @@ -55,7 +101,41 @@ components: {CustomTabbar, CustomNavbar}, data() { return { - value2: '招工内容' + value2: '招工内容', + showSex: false, + model1: { + userInfo: { + name: 'uView UI', + sex: '', + }, + }, + actions: [{ + name: '男', + }, + { + name: '女', + }, + { + name: '保密', + }, + ], + rules: { + 'userInfo.name': { + type: 'string', + required: true, + message: '请填写姓名', + trigger: ['blur', 'change'] + }, + 'userInfo.sex': { + type: 'string', + max: 1, + required: true, + message: '请选择男或女', + trigger: ['blur', 'change'] + }, + }, + radio: '', + switchVal: false } }, methods: { diff --git a/vue.config.js b/vue.config.js index 5ff5c0d..f2ea6c9 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,8 +3,8 @@ module.exports = { port: 1887, proxy: { '/api': { - // target: 'http://192.168.3.104:8000', // 本地服务接口地址 - target: "http://39.98.184.58:8000", // 阿里云后台地址 + target: 'http://192.168.3.108:8000', // 本地服务接口地址 + // target: "http://39.98.184.58:8000", // 阿里云后台地址 // target: "http://192.168.0.101:8000", // 本地网关 // target: 'http://192.168.3.111:8000', // 本地服务接口地址 ws: true, From 3af0620a2b071ae70983a717a76730e8dc223927 Mon Sep 17 00:00:00 2001 From: zxy <353513737@qq.com> Date: Sat, 9 Mar 2024 15:52:49 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E6=8B=9B=E5=B7=A5?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/dic.js | 280 +++++++++++++++++++++ pages.json | 24 ++ pages/recruit/subPage/person.vue | 405 ++++++++++++++++++++++++++++++ pages/recruit/subPage/recruit.vue | 153 +++++------ pages/recruit/subPage/task.vue | 23 ++ pages/recruit/subPage/work.vue | 23 ++ vue.config.js | 4 +- 7 files changed, 821 insertions(+), 91 deletions(-) create mode 100644 common/dic.js create mode 100644 pages/recruit/subPage/person.vue create mode 100644 pages/recruit/subPage/task.vue create mode 100644 pages/recruit/subPage/work.vue diff --git a/common/dic.js b/common/dic.js new file mode 100644 index 0000000..eab7a54 --- /dev/null +++ b/common/dic.js @@ -0,0 +1,280 @@ +// 发布岗位和个人招工 参考工资 +const salary = [{ + name: "2000元(含)以下/月", + label: "2000元(含)以下/月", + }, + { + name: "2000-5000元(含)/月", + label: "2000-5000元(含)/月", + }, + { + name: "5000-8000元(含)/月", + label: "5000-8000元(含)/月", + }, + { + name: "8000-10000元(含)/月", + label: "8000-10000元(含)/月", + }, + { + name: "10000-15000元(含)/月", + label: "10000-15000元(含)/月", + }, + { + name: "15000-20000元(含)/月", + label: "15000-20000元(含)/月", + }, + { + name: "20000-25000元(含)/月", + label: "20000-25000元(含)/月", + }, + { + name: "25000-30000元(含)/月", + label: "25000-30000元(含)/月", + }, + { + name: "30000元以上/月", + label: "30000元以上/月", + }, + { + name: "面议、暂无要求", + label: "面议、暂无要求", + }, +] +const taskSalary = [ + [ + "10-15元/小时", + "16-20元/小时", + "21-25元/小时", + "26-30元/小时", + "30元/小时以上", + "100-150元/天", + "151-200元/天", + "201-250元/天", + "251-300元/天", + "300元/天以上", + "30000元以上/月", + "面议、暂无要求" + ] +] + +const tradeArr = [ + [{ + "id": "1754327500065390596", + "name": "农、林、牧、渔业", + }, + { + "id": "1754327500065390597", + "name": "采矿业", + }, + { + "id": "1754327500065390598", + "name": "采矿业,制造业", + }, + { + "id": "1754327500065390599", + "name": "制造业", + }, + { + "id": "1754327500065390600", + "name": "电力、热力、燃气及水生产和供应业", + }, + { + "id": "1754327500065390601", + "name": "建筑业", + }, + { + "id": "1754327500065390602", + "name": "批发和零售业", + }, + { + "id": "1754327500065390603", + "name": "交通运输、仓储和邮政业", + }, + { + "id": "1754327500065390604", + "name": "住宿和餐饮业", + }, + { + "id": "1754327500065390605", + "name": "信息传输、软件和信息技术服务业", + }, + { + "id": "1754327500065390606", + "name": "金融业", + }, + { + "id": "1754327500065390607", + "name": "房地产业", + }, + { + "id": "1754327500065390608", + "name": "租赁和商务服务业", + }, + { + "id": "1754327500065390609", + "name": "科学研究和技术服务业", + }, + { + "id": "1754327500065390610", + "name": "水利、环境和公共设施管理业", + }, + { + "id": "1754327500065390611", + "name": "居民服务、修理和其他服务业", + }, + { + "id": "1754327500065390612", + "name": "教育", + }, + { + "id": "1754327500065390613", + "name": "卫生和社会工作", + }, + { + "id": "1754327500065390614", + "name": "文化、体育和娱乐业", + }, + { + "id": "1754327500065390615", + "name": "公共管理、社会保障和社会组织", + }, + { + "id": "1754327500065390616", + "name": "国际组织", + }, + { + "id": "1754327500065390617", + "name": "其他", + }, + { + "id": "1754327500065390890", + "name": "111", + }, + { + "id": "1758061062381690882", + "name": "11", + }, + { + "id": "1758102909546467329", + "name": "服务业", + } + ] +] + +const natureArr = [ + ['灵活用工'] +] + +const ageArr = [ + [{ + label: "不限年龄", + value: "不限年龄", + }, + { + label: "30以下", + value: "30以下", + }, + { + label: "35以下", + value: "35以下", + }, + { + label: "40以下", + value: "40以下", + }, + { + label: "45以下", + value: "45以下", + }, + { + label: "50以下", + value: "50以下", + }, + { + label: "55以下", + value: "55以下", + }, + { + label: "60以下", + value: "60以下", + }, + ] +] + +const eduArr = [ + [{ + label: "不限", + value: 8, + }, + { + label: "初中及以下", + value: 7, + }, + { + label: "中专/中技", + value: 6, + }, + { + label: "高中", + value: 5, + }, + { + label: "大专", + value: 4, + }, + { + label: "本科", + value: 3, + }, + { + label: "硕士", + value: 2, + }, + { + label: "博士", + value: 1, + }, + { + label: "MBA/EMBA", + value: 0, + }, + ] +] + +const expeArr = [ + [{ + label: "不限经验", + value: "不限经验", + }, + { + label: "1年以下", + value: "1年以下", + }, + { + label: "1~3年", + value: "1~3年", + }, + { + label: "3~5年", + value: "3~5年", + }, + { + label: "5~10年", + value: "5~10年", + }, + { + label: "10年以上", + value: "10年以上", + }, + ] +] + +export default { + salary, + taskSalary, + tradeArr, + natureArr, + ageArr, + eduArr, + expeArr +} \ No newline at end of file diff --git a/pages.json b/pages.json index 0318ad2..0e160ea 100644 --- a/pages.json +++ b/pages.json @@ -256,6 +256,30 @@ "enablePullDownRefresh" : false, "navigationStyle": "custom" } + }, + { + "path" : "pages/recruit/subPage/task", + "style" : + { + "navigationBarTitleText" : "", + "enablePullDownRefresh" : false + } + }, + { + "path" : "pages/recruit/subPage/work", + "style" : + { + "navigationBarTitleText" : "", + "enablePullDownRefresh" : false + } + }, + { + "path" : "pages/recruit/subPage/person", + "style" : + { + "navigationBarTitleText" : "", + "enablePullDownRefresh" : false + } } ], "subPackages": [{ diff --git a/pages/recruit/subPage/person.vue b/pages/recruit/subPage/person.vue new file mode 100644 index 0000000..2d6cd7c --- /dev/null +++ b/pages/recruit/subPage/person.vue @@ -0,0 +1,405 @@ + + + + + + \ No newline at end of file diff --git a/pages/recruit/subPage/recruit.vue b/pages/recruit/subPage/recruit.vue index 2e0c019..c10229d 100644 --- a/pages/recruit/subPage/recruit.vue +++ b/pages/recruit/subPage/recruit.vue @@ -17,50 +17,31 @@ 您的招工需求 - - - - - - - - - - + + + + + + {{ item + }} + + + + + + + + + + + + + + + - 招工指引 + - - + @@ -97,45 +70,17 @@ @@ -196,6 +144,7 @@ } .form-wrapper { padding: 20rpx; + margin-bottom: 40rpx; .require { font-size: 36rpx; font-weight: 500; @@ -250,4 +199,30 @@ } } } +.typeButtonWrapper { + width: 92%; + margin: 0 auto; + display: flex; + justify-content: space-between; + /* margin-bottom: 10rpx; */ +} + +.typeButtonLeft { + display: flex; + +} + +.typeButton { + font-size: 14px; + padding: 10rpx 40rpx; + background: #f6f6f6; + border-radius: 50px; + margin-right: 10rpx; + white-space: nowrap; +} + +.activeButton { + color: #4171f9; + background-color: #cfdaf8; +} diff --git a/pages/recruit/subPage/task.vue b/pages/recruit/subPage/task.vue new file mode 100644 index 0000000..197a14c --- /dev/null +++ b/pages/recruit/subPage/task.vue @@ -0,0 +1,23 @@ + + + + + + diff --git a/pages/recruit/subPage/work.vue b/pages/recruit/subPage/work.vue new file mode 100644 index 0000000..6b38ab9 --- /dev/null +++ b/pages/recruit/subPage/work.vue @@ -0,0 +1,23 @@ + + + + + + diff --git a/vue.config.js b/vue.config.js index f2ea6c9..e57bc8c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,8 +3,8 @@ module.exports = { port: 1887, proxy: { '/api': { - target: 'http://192.168.3.108:8000', // 本地服务接口地址 - // target: "http://39.98.184.58:8000", // 阿里云后台地址 + // target: 'http://192.168.3.108:8000', // 本地服务接口地址 + target: "http://39.98.184.58:8000", // 阿里云后台地址 // target: "http://192.168.0.101:8000", // 本地网关 // target: 'http://192.168.3.111:8000', // 本地服务接口地址 ws: true,