diff --git a/App.vue b/App.vue index 8912dd3..860e559 100644 --- a/App.vue +++ b/App.vue @@ -1,348 +1,352 @@ diff --git a/api/job.js b/api/job.js index a62ff4e..ee5e4e8 100644 --- a/api/job.js +++ b/api/job.js @@ -17,6 +17,9 @@ let jobInfo = { yi_job_class_new: "/labels/getListByTypeAndIndustry", // 新职位要求接口(新) job_get_cus: "/yishoudan/job/customer/support/getJobCustomerSupportIM", // 获取客服ID hasSee: "/yishoudan/job/view/record/addRecord", + getCityNameByLatLng: '/location/getCityNameByLatLng' ,// 根据经纬度获取城市 + get_city_list: '/city/getAllCityLevel2', // 获取城市列表 + } export default jobInfo; \ No newline at end of file diff --git a/pages.json b/pages.json index eb3ea95..11af612 100644 --- a/pages.json +++ b/pages.json @@ -457,6 +457,12 @@ "navigationBarTitleText": "搜索" } }, + { + "path": "city", + "style": { + "navigationBarTitleText": "选择城市" + } + }, { "path": "error", "style": { diff --git a/pages/home/index.vue b/pages/home/index.vue index 0214da5..6600006 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -1,827 +1,866 @@ - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - {{ sortList.list[sortList.active].showName }} - - - - - {{ item.name }} - - - - - 筛选 - - - - - - - - - - - - - {{ getFilterData.ageRangeStr }} - - - + + + + + + + + + + {{ selectedCity }} + + + + + + + + + + + + + + + + + + + + {{ sortList.list[sortList.active].showName }} + + + + + {{ item.name }} + + + + + 筛选 + + + + + + + + + + + + + {{ getFilterData.ageRangeStr }} + + + - - - {{ getFilterData.sex == 1 ? "收男工" : getFilterData.sex == 2 ? "收女工" : getFilterData.sex == 3 ? "男女都收" : "" }} - - - - - - - - {{ item.name }} - - - - + + + {{ getFilterData.sex == 1 ? "收男工" : getFilterData.sex == 2 ? "收女工" : getFilterData.sex == 3 ? "男女都收" : "" }} + + + + + + + + {{ item.name }} + + + + - - - - {{ item.name }} - - - - - - - - 清除 - - - - + + + + {{ item.name }} + + + + + + + + 清除 + + + + - - - - - - - - - - - - 以下发单号向你发出关注邀请 - - - - - - - - - {{ item.agencyName }} - - - - - - 全选 - - - - - - - + + + + + + + + + + + 以下发单号向你发出关注邀请 + + + + + + + + + {{ item.agencyName }} + + + + + + 全选 + + + + + + + diff --git a/root/other/city.vue b/root/other/city.vue new file mode 100644 index 0000000..31e17ac --- /dev/null +++ b/root/other/city.vue @@ -0,0 +1,255 @@ + + + + + 当前城市 + + 全国 + + + {{ currentCity }} + + + + + + {{ group.name }} + + {{ city.shortName }} + + + + + + + + + + + + {{ letter }} + + + + + + + + + + + + + +