From 48ad3a266996f9eab27424c5f274fe8a7bd50751 Mon Sep 17 00:00:00 2001 From: dengxin <2390584170@qq.com> Date: Mon, 19 Feb 2024 19:01:57 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vue.config.js b/vue.config.js index c4294a3..6c48eed 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,9 +3,9 @@ module.exports = { port: 1887, proxy: { '/api': { - target: 'http://192.168.0.104:8000', // 本地服务接口地址 - // target: "http://39.98.184.58:8000", // 阿里云后台地址 - // target: "http://192.168.0.100:8000", // 本地网关 + // target: 'http://192.168.0.102:8000', // 本地服务接口地址 + target: "http://39.98.184.58:8000", // 阿里云后台地址 + // target: "http://192.168.0.101:8000", // 本地网关 ws: true, pathRewrite: { '^/api': '/' From 12634bdc548fb70c460c26a946c078147487b719 Mon Sep 17 00:00:00 2001 From: Apcallover <1503963513@qq.com> Date: Mon, 19 Feb 2024 19:09:20 +0800 Subject: [PATCH 2/5] =?UTF-8?q?flat:=20style=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 37 ++++++++++++++++++++++--------- static/img/index/bangzhu.png | Bin 0 -> 881 bytes static/img/index/gangwei-2.png | Bin 0 -> 1206 bytes static/img/index/icon-liulan.png | Bin 0 -> 1159 bytes static/img/index/jobRegister.png | Bin 2730 -> 975 bytes static/img/index/near.png | Bin 2638 -> 1170 bytes static/img/index/shenqing.png | Bin 0 -> 875 bytes static/img/index/shoucang.png | Bin 0 -> 1770 bytes static/img/index/skill.png | Bin 3097 -> 1434 bytes static/img/index/union.png | Bin 4482 -> 1167 bytes 10 files changed, 26 insertions(+), 11 deletions(-) create mode 100644 static/img/index/bangzhu.png create mode 100644 static/img/index/gangwei-2.png create mode 100644 static/img/index/icon-liulan.png create mode 100644 static/img/index/shenqing.png create mode 100644 static/img/index/shoucang.png diff --git a/pages/index/index.vue b/pages/index/index.vue index 8fb785a..3016807 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -48,7 +48,7 @@ - + 简历登记 @@ -59,7 +59,7 @@ - + 最新任务 @@ -70,7 +70,7 @@ + + + + 您想工作的地点 + + + {{ myResume.city !== "{}" ? myResume.city.id ? getCity(myResume.city.id) : myResume.city.workplace : + '请选择' }} @@ -53,7 +67,7 @@ 您的学历 - {{ myResume.education == {} ? myResume.education.label : '请选择' }} + {{ myResume.education !== "{}" ? myResume.education.label : '请选择' }} @@ -89,6 +103,12 @@ keyName="label"> + + + @@ -135,7 +155,18 @@ export default { canSubMit: false, isShowButton: false, isShowBorder: false, - isShowAddSkill: true + isShowAddSkill: true, + + areaModal: { + address: '', + addressShow: false, + title: 'Hello', + // indexs: [0, 0, 8], + // defaultIds: [1, 110000, 110106], + defaultNames: ['北京市', '北京市', '东城区'], + labelName: "areaName" + + }, } }, onShow() { @@ -217,6 +248,7 @@ export default { }) }, goAdd: function () { + uni.navigateTo({ url: './addSkill' }) @@ -306,7 +338,7 @@ export default { // 电话号码格式正确 console.log(phone, "电话号码格式正确"); setResume({ - id: this.id, education: education.label, workplace: city.parentLabel + '-' + city.label, telephone: phone, wage + id: this.id, education: education.label, workplace: city.workplace ? city.workplace : city.parentLabel + '-' + city.label, telephone: phone, wage }).then(res => { this.isShowButton = false; this.getResume() @@ -321,7 +353,17 @@ export default { - } + }, + + confirmAddress(val) { + console.log(val); + var valArr = val.value; + // this.areaModal.address = [...new Set(val.value)].join(' / ') + this.isShowButton = true + this.myResume.city.workplace = [...new Set(val.value)].join('/') + console.log(this.areaModal.address); + this.areaModal.addressShow = false + }, } } From de782759066d31e12cb36d6801f7340af4eba697 Mon Sep 17 00:00:00 2001 From: Apcallover <1503963513@qq.com> Date: Mon, 19 Feb 2024 20:28:04 +0800 Subject: [PATCH 4/5] =?UTF-8?q?flat:=20style=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 1 + pages.json | 13 +++++- pages/project/project.vue | 17 +++++++- pages/project/projectList.vue | 76 +++++++++++++++++++++++++++++++++++ 4 files changed, 104 insertions(+), 3 deletions(-) create mode 100644 pages/project/projectList.vue diff --git a/main.js b/main.js index e49b2e0..e8b1a4a 100644 --- a/main.js +++ b/main.js @@ -11,6 +11,7 @@ import uView from '@/uni_modules/uview-ui' // Vue.component('mescroll-uni', MescrollUni) function navTo(url, needLogin) { + console.log(url) if(needLogin) { return } diff --git a/pages.json b/pages.json index c83cbc3..fa1bd59 100644 --- a/pages.json +++ b/pages.json @@ -166,14 +166,23 @@ "navigationBarTextStyle" : "white" } } - - ,{ "path" : "pages/user/policyContent", "style" : { "navigationBarTitleText" : "新政详情", "navigationBarBackgroundColor" : "#FFFFFF" } + }, + { + "path" : "pages/project/projectList", + "style": { + "navigationBarTitleText": "位置", + "navigationBarBackgroundColor": "#FFFFFF", + "enablePullDownRefresh": true, + "navigationBarShadow": { + "colorType": "none" + } + } } ], "subPackages": [{ diff --git a/pages/project/project.vue b/pages/project/project.vue index 8879466..192872c 100644 --- a/pages/project/project.vue +++ b/pages/project/project.vue @@ -5,7 +5,11 @@ - + + + 四川德阳市 + + @@ -402,6 +406,15 @@ export default { \ No newline at end of file From 2829e48ee57a6ac87cf21bf172cb7b039cbcb4de Mon Sep 17 00:00:00 2001 From: Apcallover <1503963513@qq.com> Date: Mon, 19 Feb 2024 20:28:31 +0800 Subject: [PATCH 5/5] =?UTF-8?q?flat:=20style=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/project/projectList.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/pages/project/projectList.vue b/pages/project/projectList.vue index efe799f..b5c4920 100644 --- a/pages/project/projectList.vue +++ b/pages/project/projectList.vue @@ -21,9 +21,6 @@ export default { } }, onLoad() { - uni.setNavigationBarStyle({ // 设置导航条样式 - shadowColor: 'transparent' // 将shadowColor属性值设为"transparent"表示不显示阴影 - }) } }