From 0f2185bfb2371256b60de3f2279b4eeb4eadd978 Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Fri, 6 May 2022 18:57:11 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/job.js | 19 + src/components/FirstJob/joblist.vue | 289 +++++- src/components/FirstJob/joblist1.vue | 1817 ++++++++++++++++++++++++++++++++++ src/router/index.js | 5 + 4 files changed, 2076 insertions(+), 54 deletions(-) create mode 100644 src/components/FirstJob/joblist1.vue diff --git a/src/api/job.js b/src/api/job.js index 9306100..1c4249f 100644 --- a/src/api/job.js +++ b/src/api/job.js @@ -76,3 +76,22 @@ export function getPolicyByJobIdApi(data) { url: `/yishoudan/store/job/getPolicyByStoreJobId?storeJobId=${data}`, }); } +// 获取热门职位城市 +export function getHotCityApi() { + return request({ + url: `/yishoudan/city/getHotCity`, + }); +} + +// 获取热门职位城市 +export function getCityWhichHasJobApi() { + return request({ + url: `/yishoudan/city/getCityHasOnlineJob`, + }); +} +// 获取热门企业 +export function getHotStoreApi() { + return request({ + url: `/yishoudan/store/getHotStore`, + }); +} diff --git a/src/components/FirstJob/joblist.vue b/src/components/FirstJob/joblist.vue index 8e7f26d..7484422 100644 --- a/src/components/FirstJob/joblist.vue +++ b/src/components/FirstJob/joblist.vue @@ -6,17 +6,9 @@ --> - - - + + + + + +
+ 确认 +
+ + +
@@ -188,7 +188,7 @@ class="searchinput" style="width: 500px" >
- 全国 + {{ currentCity }}