From cf3f4597a149fbc132dbb0d64595ce86b20f3201 Mon Sep 17 00:00:00 2001 From: dengxin <2390584170@qq.com> Date: Sat, 17 Feb 2024 18:22:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=9B=E8=81=98=E9=A1=B5=E9=9D=A2ui=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/companyList/companyList.vue | 315 +++++++++++---------- components/vertical-menu/vertical-menu.vue | 27 +- pageMy/my/resume/index.vue | 11 +- pages.json | 2 +- pages/project/project.vue | 235 ++++++++------- pages/seach/seach.vue | 284 ++++++++++++------- 6 files changed, 498 insertions(+), 376 deletions(-) diff --git a/components/companyList/companyList.vue b/components/companyList/companyList.vue index a339843..a982aef 100644 --- a/components/companyList/companyList.vue +++ b/components/companyList/companyList.vue @@ -7,34 +7,34 @@ - {{companyitem.wage}}{{wageUnit[companyitem.wageUnitCategory]}} + {{ companyitem.wage }}{{ wageUnit[companyitem.wageUnitCategory] }} - - {{item}} + + {{ item }} - {{companyitem.companyName}} + {{ companyitem.companyName }} - 报名截止日期:{{dateFormat(companyitem.etimePub)}} + 报名截止日期:{{ dateFormat(companyitem.etimePub) }} - {{companyitem.distanceStr}}km + {{ companyitem.distanceStr }}km - {{getCity(companyitem.cityId)}} + {{ getCity(companyitem.cityId) }} - - - + + + 评价 @@ -44,165 +44,168 @@ diff --git a/components/vertical-menu/vertical-menu.vue b/components/vertical-menu/vertical-menu.vue index 74fc3cb..29c91a7 100644 --- a/components/vertical-menu/vertical-menu.vue +++ b/components/vertical-menu/vertical-menu.vue @@ -26,7 +26,7 @@ - @@ -45,8 +45,8 @@ - 取消 - 确定 + 取消 + 确定 - + @@ -62,6 +63,16 @@ import classifyData from './classifyData.js'; import { getTrade } from '@/api/resume.js' export default { + props: { + closePopUp: { + type: Function, + required: true + }, + subMitPopUp: { + type: Function, + required: true + }, + }, components: { // vTabs, // companyList, verticalMenu @@ -92,10 +103,9 @@ export default { }, industryModal: { - industry: [['中国', '美国', '日本']], + industry: "", + industryList: [[]], industryShow: false, - - }, submitData: {}, @@ -120,6 +130,8 @@ export default { } }) this.tabbar = newData; + this.industryModal.industry = res.data.data[0]?.name + this.industryModal.industryList = [res.data.data] }) }, @@ -286,6 +298,7 @@ export default { }, pickerIndustryFunc(val) { console.log(val); + this.industryModal.industry = val.value[0].name; this.industryModal.industryShow = false } diff --git a/pageMy/my/resume/index.vue b/pageMy/my/resume/index.vue index b33ca37..95de7d1 100644 --- a/pageMy/my/resume/index.vue +++ b/pageMy/my/resume/index.vue @@ -41,7 +41,8 @@ 您想工作的地点 - {{ myResume.city == {} ? myResume.city.id ? getCity(myResume.city.id) : myResume.city.workplace : '请选择' }} + {{ myResume.city == {} ? myResume.city.id ? getCity(myResume.city.id) : myResume.city.workplace : '请选择' + }} @@ -374,7 +375,9 @@ export default { color: #666666; background: #ffffff; overflow-y: auto; - white-space: nowrap; + /* white-space: nowrap; */ + overflow-wrap: break-word; + word-wrap: break-word; } .list image { @@ -386,9 +389,11 @@ export default { .list { padding: 0 15px 0 30rpx; height: 126rpx; - line-height: 126rpx; + /* line-height: 126rpx; */ background: #fff; border-bottom: 1px solid #f2f2f2; + display: flex; + align-items: center; } .title image { diff --git a/pages.json b/pages.json index 786410e..b127937 100644 --- a/pages.json +++ b/pages.json @@ -105,7 +105,7 @@ { "path" : "pages/seach/seach", "style" : { - "navigationBarTitleText" : "", + "navigationBarTitleText" : "德阳市灵活就业平台", "navigationBarBackgroundColor" : "#FFFFFF" } }, diff --git a/pages/project/project.vue b/pages/project/project.vue index ac4a4a4..0716d9b 100644 --- a/pages/project/project.vue +++ b/pages/project/project.vue @@ -1,91 +1,87 @@ @@ -102,11 +98,13 @@ import { getcoder } from "@/api/map.js"; import verticalMenu from '@/components/vertical-menu/vertical-menu.vue'; + export default { components: { vTabs, companyList, verticalMenu }, + data() { return { activeTab: 0, @@ -136,12 +134,8 @@ export default { key: 'FW3BZ-6JTK6-GCUS5-MZCRR-3GPR5-HJFEI', open: false, showPopUp: false, - indexList: ["年龄", "学历", "工资"], - itemArr: [ - ['列表A1', '列表A2', '列表A3'], - ['列表B1', '列表B2', '列表B3'], - ['列表C1', '列表C2', '列表C3'], - ] + + nonReactiveArray: ["任务", "岗位", "推荐"], } }, onLoad: function () { @@ -362,42 +356,78 @@ export default { } }, - openPopUp() { - // console.log('open'); - }, + closePopUp() { this.showPopUp = false - // console.log('close'); + }, + subMitPopUp({submitData,areaModal,industryModal}) { + console.log(submitData,areaModal,industryModal,"------确定"); + this.showPopUp = false } } } -