正在显示
15 个修改的文件
包含
739 行增加
和
541 行删除
1 | { | 1 | { |
2 | "pages": [ | 2 | "pages": [ |
3 | + | ||
3 | "pages/personalData/personalData", | 4 | "pages/personalData/personalData", |
4 | "pages/index/index", | 5 | "pages/index/index", |
5 | 6 | ||
6 | - | ||
7 | - "pages/openIndex/openIndex", | 7 | + |
8 | + | ||
9 | + "pages/openIndex/openIndex", | ||
10 | + | ||
8 | "pages/publish/publish", | 11 | "pages/publish/publish", |
9 | "pages/positionDetails/positionDetails", | 12 | "pages/positionDetails/positionDetails", |
10 | "pages/goodWord/goodWord", | 13 | "pages/goodWord/goodWord", |
img/12.png
0 → 100644
3.7 KB
@@ -3,21 +3,25 @@ const app = getApp(); | @@ -3,21 +3,25 @@ const app = getApp(); | ||
3 | var QQMapWX = require('../../utils/qqmap-wx-jssdk.js'); | 3 | var QQMapWX = require('../../utils/qqmap-wx-jssdk.js'); |
4 | var qqmapsdk; | 4 | var qqmapsdk; |
5 | Page({ | 5 | Page({ |
6 | - | 6 | + |
7 | /** | 7 | /** |
8 | * 页面的初始数据 | 8 | * 页面的初始数据 |
9 | */ | 9 | */ |
10 | data: { | 10 | data: { |
11 | + station_id:'', | ||
12 | + education_id: '', | ||
13 | + salary_id: '', | ||
14 | + order: '', | ||
11 | 15 | ||
12 | myResume: false, | 16 | myResume: false, |
13 | 17 | ||
14 | - eduIndex:0, | ||
15 | - edu:[], | ||
16 | - education_name:'请选择', | ||
17 | - | ||
18 | - yearIndex:0, | ||
19 | - year:['1年','2年','3年','5年','10年','10年以上'], | ||
20 | - | 18 | + eduIndex: 0, |
19 | + edu: [], | ||
20 | + education_name: '请选择', | ||
21 | + | ||
22 | + yearIndex: 0, | ||
23 | + year: ['1年', '2年', '3年', '5年', '10年', '10年以上'], | ||
24 | + | ||
21 | gender: true, | 25 | gender: true, |
22 | status: true, | 26 | status: true, |
23 | 27 | ||
@@ -31,10 +35,10 @@ Page({ | @@ -31,10 +35,10 @@ Page({ | ||
31 | resume_is_bejob: 1, | 35 | resume_is_bejob: 1, |
32 | resume_home: '', | 36 | resume_home: '', |
33 | resume_brief: '', | 37 | resume_brief: '', |
34 | - | 38 | + |
35 | // 工作年限 | 39 | // 工作年限 |
36 | - yearname:"请选择", | ||
37 | - array2: ['1年','2年'], | 40 | + yearname: "请选择", |
41 | + array2: ['1年', '2年'], | ||
38 | index2: 0, | 42 | index2: 0, |
39 | 43 | ||
40 | 44 | ||
@@ -49,13 +53,13 @@ Page({ | @@ -49,13 +53,13 @@ Page({ | ||
49 | education_1: '', | 53 | education_1: '', |
50 | salary_1: '', | 54 | salary_1: '', |
51 | categories_id: 5, | 55 | categories_id: 5, |
52 | - categories_name:'', | 56 | + categories_name: '', |
53 | user_id: '', | 57 | user_id: '', |
54 | resume: '', | 58 | resume: '', |
55 | 59 | ||
56 | - | ||
57 | 60 | ||
58 | - district:'', | 61 | + |
62 | + district: '', | ||
59 | // 获取经纬度 | 63 | // 获取经纬度 |
60 | latitude: '', | 64 | latitude: '', |
61 | longitude: '', | 65 | longitude: '', |
@@ -70,7 +74,7 @@ Page({ | @@ -70,7 +74,7 @@ Page({ | ||
70 | url: '/img/aicon_07@2x.png' | 74 | url: '/img/aicon_07@2x.png' |
71 | }, | 75 | }, |
72 | ], | 76 | ], |
73 | - indicatorDots: true, | 77 | + // indicatorDots: true, |
74 | autoplay: false, | 78 | autoplay: false, |
75 | interval: 1000, | 79 | interval: 1000, |
76 | duration: 1000, | 80 | duration: 1000, |
@@ -80,7 +84,7 @@ Page({ | @@ -80,7 +84,7 @@ Page({ | ||
80 | // 导航选择 | 84 | // 导航选择 |
81 | navbar: [{ | 85 | navbar: [{ |
82 | name: '地区', | 86 | name: '地区', |
83 | - img:'../../img/aicon_11@2x.png', | 87 | + img: '../../img/aicon_11@2x.png', |
84 | img1: "../../img/aicon_59@2x.png" | 88 | img1: "../../img/aicon_59@2x.png" |
85 | }, | 89 | }, |
86 | { | 90 | { |
@@ -97,38 +101,45 @@ Page({ | @@ -97,38 +101,45 @@ Page({ | ||
97 | name: '筛选', | 101 | name: '筛选', |
98 | img: '../../img/aicon_12@2x.png', | 102 | img: '../../img/aicon_12@2x.png', |
99 | img1: '../../img/aicon_12@2x.png', | 103 | img1: '../../img/aicon_12@2x.png', |
100 | - | 104 | + |
101 | } | 105 | } |
102 | ], | 106 | ], |
103 | currentTab: 0, | 107 | currentTab: 0, |
104 | // 地区选择 | 108 | // 地区选择 |
105 | 109 | ||
106 | areaTab: 0, | 110 | areaTab: 0, |
111 | + | ||
112 | + area: 0, | ||
107 | //岗位选择(大类别) | 113 | //岗位选择(大类别) |
108 | 114 | ||
115 | + | ||
109 | jobTab: 0, | 116 | jobTab: 0, |
110 | //岗位选择(小类别) | 117 | //岗位选择(小类别) |
111 | - | 118 | + |
112 | proTab: 0, | 119 | proTab: 0, |
113 | // 推荐排序 | 120 | // 推荐排序 |
114 | sortbar: [{ | 121 | sortbar: [{ |
122 | + id: 1, | ||
115 | sort: '推荐排序' | 123 | sort: '推荐排序' |
116 | }, | 124 | }, |
117 | { | 125 | { |
126 | + id: 4, | ||
118 | sort: '离我最近' | 127 | sort: '离我最近' |
119 | }, | 128 | }, |
120 | { | 129 | { |
130 | + id: 2, | ||
121 | sort: '工资最高' | 131 | sort: '工资最高' |
122 | }, | 132 | }, |
123 | { | 133 | { |
134 | + id: 3, | ||
124 | sort: '最新发布' | 135 | sort: '最新发布' |
125 | }, | 136 | }, |
126 | ], | 137 | ], |
127 | sortTab: 0, | 138 | sortTab: 0, |
128 | // 筛选(学历) | 139 | // 筛选(学历) |
129 | - | 140 | + |
130 | screenTab: 0, | 141 | screenTab: 0, |
131 | - | 142 | + |
132 | scopeTab: 0, | 143 | scopeTab: 0, |
133 | 144 | ||
134 | // 设置隐藏显示功能 | 145 | // 设置隐藏显示功能 |
@@ -141,11 +152,15 @@ Page({ | @@ -141,11 +152,15 @@ Page({ | ||
141 | 152 | ||
142 | // 时间 | 153 | // 时间 |
143 | date: '', | 154 | date: '', |
144 | - go:'' | 155 | + go: '' |
145 | 156 | ||
146 | - | ||
147 | - }, | ||
148 | 157 | ||
158 | + }, | ||
159 | + swiperChange: function(e) { | ||
160 | + this.setData({ | ||
161 | + currentSwiper: e.detail.current | ||
162 | + }) | ||
163 | + }, | ||
149 | //是否填写简历 | 164 | //是否填写简历 |
150 | getjianli() { | 165 | getjianli() { |
151 | let that = this; | 166 | let that = this; |
@@ -181,24 +196,24 @@ Page({ | @@ -181,24 +196,24 @@ Page({ | ||
181 | }, | 196 | }, |
182 | 197 | ||
183 | //工作经验 | 198 | //工作经验 |
184 | - workexperience(e){ | 199 | + workexperience(e) { |
185 | this.setData({ | 200 | this.setData({ |
186 | - resume_exp:e.detail.value | 201 | + resume_exp: e.detail.value |
187 | }) | 202 | }) |
188 | }, | 203 | }, |
189 | -//简介 | ||
190 | - workbrief(e){ | 204 | + //简介 |
205 | + workbrief(e) { | ||
191 | this.setData({ | 206 | this.setData({ |
192 | - resume_brief:e.detail.value | 207 | + resume_brief: e.detail.value |
193 | }) | 208 | }) |
194 | }, | 209 | }, |
195 | //点击关闭完善简历层 | 210 | //点击关闭完善简历层 |
196 | - closeResume(){ | 211 | + closeResume() { |
197 | this.setData({ | 212 | this.setData({ |
198 | - myResume:false | 213 | + myResume: false |
199 | }) | 214 | }) |
200 | }, | 215 | }, |
201 | - | 216 | + |
202 | // 点击展示筛选mask | 217 | // 点击展示筛选mask |
203 | mask_show() { | 218 | mask_show() { |
204 | this.setData({ | 219 | this.setData({ |
@@ -212,17 +227,17 @@ Page({ | @@ -212,17 +227,17 @@ Page({ | ||
212 | console.log(222242424) | 227 | console.log(222242424) |
213 | }, | 228 | }, |
214 | // 点击确定后关闭筛选遮罩层 | 229 | // 点击确定后关闭筛选遮罩层 |
215 | - toConfirm(){ | ||
216 | - this.setData({ | ||
217 | - mask: false | ||
218 | - }) | 230 | + // toConfirm() { |
231 | + // this.setData({ | ||
232 | + // mask: false | ||
233 | + // }) | ||
219 | 234 | ||
220 | - }, | 235 | + // }, |
221 | // 跳转岗位信息 | 236 | // 跳转岗位信息 |
222 | toPosition(e) { | 237 | toPosition(e) { |
223 | console.log(e) | 238 | console.log(e) |
224 | // 绑定id跳转至工作详情 | 239 | // 绑定id跳转至工作详情 |
225 | - | 240 | + |
226 | let that = this; | 241 | let that = this; |
227 | let id = e.currentTarget.dataset.id; | 242 | let id = e.currentTarget.dataset.id; |
228 | wx.navigateTo({ | 243 | wx.navigateTo({ |
@@ -236,7 +251,7 @@ Page({ | @@ -236,7 +251,7 @@ Page({ | ||
236 | }) | 251 | }) |
237 | }, | 252 | }, |
238 | // 跳转至搜索页面 | 253 | // 跳转至搜索页面 |
239 | - toSearch(){ | 254 | + toSearch() { |
240 | wx.navigateTo({ | 255 | wx.navigateTo({ |
241 | url: '/pages/index/search_2/search_2', | 256 | url: '/pages/index/search_2/search_2', |
242 | }) | 257 | }) |
@@ -260,16 +275,16 @@ Page({ | @@ -260,16 +275,16 @@ Page({ | ||
260 | }, | 275 | }, |
261 | 276 | ||
262 | // 切换在职状态类型 | 277 | // 切换在职状态类型 |
263 | - switch_b(){ | 278 | + switch_b() { |
264 | this.setData({ | 279 | this.setData({ |
265 | - status:!this.data.status, | 280 | + status: !this.data.status, |
266 | }) | 281 | }) |
267 | let status = this.data.status; | 282 | let status = this.data.status; |
268 | - if(status == true){ | 283 | + if (status == true) { |
269 | this.setData({ | 284 | this.setData({ |
270 | resume_is_bejob: 1 | 285 | resume_is_bejob: 1 |
271 | }) | 286 | }) |
272 | - }else { | 287 | + } else { |
273 | this.setData({ | 288 | this.setData({ |
274 | resume_is_bejob: 2 | 289 | resume_is_bejob: 2 |
275 | }) | 290 | }) |
@@ -278,42 +293,42 @@ Page({ | @@ -278,42 +293,42 @@ Page({ | ||
278 | 293 | ||
279 | 294 | ||
280 | // 学历 | 295 | // 学历 |
281 | - bindEdu: function (e) { | 296 | + bindEdu: function(e) { |
282 | console.log('picker发送选择改变,携带值为', e.detail.value) | 297 | console.log('picker发送选择改变,携带值为', e.detail.value) |
283 | this.setData({ | 298 | this.setData({ |
284 | eduIndex: e.detail.value, | 299 | eduIndex: e.detail.value, |
285 | education_name: this.data.edu[e.detail.value].education_name, | 300 | education_name: this.data.edu[e.detail.value].education_name, |
286 | resume_education_id: this.data.edu[e.detail.value].id | 301 | resume_education_id: this.data.edu[e.detail.value].id |
287 | - | 302 | + |
288 | }) | 303 | }) |
289 | }, | 304 | }, |
290 | // 工作年限 | 305 | // 工作年限 |
291 | - bindYear: function (e) { | 306 | + bindYear: function(e) { |
292 | console.log('picker发送选择改变,携带值为', e.detail.value) | 307 | console.log('picker发送选择改变,携带值为', e.detail.value) |
293 | this.setData({ | 308 | this.setData({ |
294 | yearIndex: e.detail.value, | 309 | yearIndex: e.detail.value, |
295 | - yearname:this.data.year[e.detail.value] | 310 | + yearname: this.data.year[e.detail.value] |
296 | }) | 311 | }) |
297 | 312 | ||
298 | console.log(this.data.yearname) | 313 | console.log(this.data.yearname) |
299 | }, | 314 | }, |
300 | 315 | ||
301 | // 获取真实姓名 | 316 | // 获取真实姓名 |
302 | - realName(e){ | 317 | + realName(e) { |
303 | let resume_name = e.detail.value | 318 | let resume_name = e.detail.value |
304 | - this.setData({ | ||
305 | - resume_name:resume_name | 319 | + this.setData({ |
320 | + resume_name: resume_name | ||
306 | }) | 321 | }) |
307 | }, | 322 | }, |
308 | // 获取手机号码 | 323 | // 获取手机号码 |
309 | - realMobile(e){ | 324 | + realMobile(e) { |
310 | let resume_mobile = e.detail.value | 325 | let resume_mobile = e.detail.value |
311 | this.setData({ | 326 | this.setData({ |
312 | resume_mobile: resume_mobile | 327 | resume_mobile: resume_mobile |
313 | }) | 328 | }) |
314 | }, | 329 | }, |
315 | // 获取家乡地址 | 330 | // 获取家乡地址 |
316 | - realHome(e){ | 331 | + realHome(e) { |
317 | let resume_home = e.detail.value | 332 | let resume_home = e.detail.value |
318 | this.setData({ | 333 | this.setData({ |
319 | resume_home: resume_home | 334 | resume_home: resume_home |
@@ -337,16 +352,17 @@ Page({ | @@ -337,16 +352,17 @@ Page({ | ||
337 | this.getJobs() | 352 | this.getJobs() |
338 | this.getResume() | 353 | this.getResume() |
339 | this.getEdu() | 354 | this.getEdu() |
340 | - this.getjianli() | ||
341 | - | 355 | + this.getjianli(); |
356 | + | ||
357 | + // this.selectStation() | ||
342 | }, | 358 | }, |
343 | 359 | ||
344 | // 选择时间 | 360 | // 选择时间 |
345 | - bindDateChange: function (e) { | 361 | + bindDateChange: function(e) { |
346 | console.log('picker发送选择改变,携带值为', e.detail.value) | 362 | console.log('picker发送选择改变,携带值为', e.detail.value) |
347 | this.setData({ | 363 | this.setData({ |
348 | date: e.detail.value, | 364 | date: e.detail.value, |
349 | - resume_birthday:e.detail.value | 365 | + resume_birthday: e.detail.value |
350 | }) | 366 | }) |
351 | }, | 367 | }, |
352 | 368 | ||
@@ -355,7 +371,7 @@ Page({ | @@ -355,7 +371,7 @@ Page({ | ||
355 | let that = this; | 371 | let that = this; |
356 | let url = 'index/category/education'; | 372 | let url = 'index/category/education'; |
357 | let params = { | 373 | let params = { |
358 | - | 374 | + |
359 | } | 375 | } |
360 | let header = { | 376 | let header = { |
361 | "XX-Token": wx.getStorageSync('token'), | 377 | "XX-Token": wx.getStorageSync('token'), |
@@ -365,11 +381,11 @@ Page({ | @@ -365,11 +381,11 @@ Page({ | ||
365 | console.log(res); | 381 | console.log(res); |
366 | // 获取值 | 382 | // 获取值 |
367 | that.setData({ | 383 | that.setData({ |
368 | - | 384 | + |
369 | edu: res.data | 385 | edu: res.data |
370 | - | 386 | + |
371 | }) | 387 | }) |
372 | - | 388 | + |
373 | 389 | ||
374 | 390 | ||
375 | }).catch((err) => { | 391 | }).catch((err) => { |
@@ -390,7 +406,7 @@ Page({ | @@ -390,7 +406,7 @@ Page({ | ||
390 | } | 406 | } |
391 | app.post(url, params, header).then((res) => { | 407 | app.post(url, params, header).then((res) => { |
392 | console.log(res.data); | 408 | console.log(res.data); |
393 | - if(res.resume_name!=null){ | 409 | + if (res.resume_name != null) { |
394 | // 获取值 | 410 | // 获取值 |
395 | that.setData({ | 411 | that.setData({ |
396 | resume: res.data, | 412 | resume: res.data, |
@@ -406,14 +422,14 @@ Page({ | @@ -406,14 +422,14 @@ Page({ | ||
406 | // industry_id: res.data[0].industry_id | 422 | // industry_id: res.data[0].industry_id |
407 | }) | 423 | }) |
408 | } | 424 | } |
409 | - | 425 | + |
410 | 426 | ||
411 | 427 | ||
412 | }).catch((err) => { | 428 | }).catch((err) => { |
413 | 429 | ||
414 | }) | 430 | }) |
415 | }, | 431 | }, |
416 | - | 432 | + |
417 | getJobs() { | 433 | getJobs() { |
418 | let that = this; | 434 | let that = this; |
419 | let url = 'index/job/jobs'; | 435 | let url = 'index/job/jobs'; |
@@ -426,21 +442,22 @@ Page({ | @@ -426,21 +442,22 @@ Page({ | ||
426 | } | 442 | } |
427 | app.post(url, params, header).then((res) => { | 443 | app.post(url, params, header).then((res) => { |
428 | console.log(res); | 444 | console.log(res); |
445 | + console.log(res.data[0].industry_id) | ||
429 | // 获取值 | 446 | // 获取值 |
430 | that.setData({ | 447 | that.setData({ |
431 | - // personal: res.data | ||
432 | jobs: res.data, | 448 | jobs: res.data, |
433 | - industry_id:res.data[0].industry_id | 449 | + // industry_id:res.data[0].industry_id |
434 | }) | 450 | }) |
435 | - | ||
436 | 451 | ||
437 | }).catch((err) => { | 452 | }).catch((err) => { |
438 | 453 | ||
439 | }) | 454 | }) |
440 | }, | 455 | }, |
441 | 456 | ||
457 | + | ||
458 | + | ||
442 | // 在家可做 | 459 | // 在家可做 |
443 | - atHome(e){ | 460 | + atHome(e) { |
444 | console.log(e) | 461 | console.log(e) |
445 | let that = this; | 462 | let that = this; |
446 | let categories_name = e.currentTarget.dataset.cla | 463 | let categories_name = e.currentTarget.dataset.cla |
@@ -449,24 +466,24 @@ Page({ | @@ -449,24 +466,24 @@ Page({ | ||
449 | console.log(that.categories_name) | 466 | console.log(that.categories_name) |
450 | wx.navigateTo({ | 467 | wx.navigateTo({ |
451 | url: '/pages/atHome/atHome?categories_name=' + categories_name + '&categories_id=' + categories_id, | 468 | url: '/pages/atHome/atHome?categories_name=' + categories_name + '&categories_id=' + categories_id, |
452 | - | 469 | + |
453 | }) | 470 | }) |
454 | - | 471 | + |
455 | }, | 472 | }, |
456 | // 好评工作 | 473 | // 好评工作 |
457 | - goodWord(){ | 474 | + goodWord() { |
458 | wx.navigateTo({ | 475 | wx.navigateTo({ |
459 | url: '/pages/goodWord/goodWord', | 476 | url: '/pages/goodWord/goodWord', |
460 | }) | 477 | }) |
461 | }, | 478 | }, |
462 | // 热门推荐 | 479 | // 热门推荐 |
463 | - hotRecommend(){ | 480 | + hotRecommend() { |
464 | wx.navigateTo({ | 481 | wx.navigateTo({ |
465 | url: '/pages/hotRecommend/hotRecommend', | 482 | url: '/pages/hotRecommend/hotRecommend', |
466 | }) | 483 | }) |
467 | }, | 484 | }, |
468 | // 轻松兼职 | 485 | // 轻松兼职 |
469 | - easyPart(){ | 486 | + easyPart() { |
470 | wx.navigateTo({ | 487 | wx.navigateTo({ |
471 | url: '/pages/easyPart/easyPart', | 488 | url: '/pages/easyPart/easyPart', |
472 | }) | 489 | }) |
@@ -478,15 +495,23 @@ Page({ | @@ -478,15 +495,23 @@ Page({ | ||
478 | this.setData({ | 495 | this.setData({ |
479 | currentTab: e.currentTarget.dataset.idx, | 496 | currentTab: e.currentTarget.dataset.idx, |
480 | }) | 497 | }) |
498 | + console.log(that.data.industry_id) | ||
481 | that.selectStation() | 499 | that.selectStation() |
500 | + that.selectIndustry(); | ||
501 | + | ||
482 | }, | 502 | }, |
483 | // 地区选择 | 503 | // 地区选择 |
484 | area_Tap: function(e) { | 504 | area_Tap: function(e) { |
485 | console.log(88) | 505 | console.log(88) |
486 | let that = this; | 506 | let that = this; |
487 | this.setData({ | 507 | this.setData({ |
508 | + // 区的ID | ||
488 | areaTab: e.currentTarget.dataset.idarea, | 509 | areaTab: e.currentTarget.dataset.idarea, |
510 | + // 选择区名字 | ||
511 | + area: e.currentTarget.dataset.area, | ||
489 | }) | 512 | }) |
513 | + console.log('区的id为' + that.data.areaTab) | ||
514 | + console.log('区的name为' + that.data.area) | ||
490 | }, | 515 | }, |
491 | // 岗位选择 | 516 | // 岗位选择 |
492 | job_Tap: function(e) { | 517 | job_Tap: function(e) { |
@@ -497,58 +522,74 @@ Page({ | @@ -497,58 +522,74 @@ Page({ | ||
497 | jobTab: e.currentTarget.dataset.idjob, | 522 | jobTab: e.currentTarget.dataset.idjob, |
498 | industry_id: industry_id | 523 | industry_id: industry_id |
499 | }) | 524 | }) |
525 | + that.selectStation() | ||
500 | }, | 526 | }, |
501 | // 行业选择 | 527 | // 行业选择 |
502 | - pro_Tap: function (e) { | 528 | + pro_Tap: function(e) { |
503 | console.log(88) | 529 | console.log(88) |
504 | let that = this; | 530 | let that = this; |
531 | + let station_id = e.currentTarget.dataset.categoryid | ||
505 | this.setData({ | 532 | this.setData({ |
506 | proTab: e.currentTarget.dataset.idpro, | 533 | proTab: e.currentTarget.dataset.idpro, |
534 | + station_id:station_id | ||
507 | }) | 535 | }) |
508 | }, | 536 | }, |
509 | // 推荐排序 | 537 | // 推荐排序 |
510 | sort_Tap: function(e) { | 538 | sort_Tap: function(e) { |
511 | console.log(88) | 539 | console.log(88) |
512 | let that = this; | 540 | let that = this; |
541 | + let order = e.currentTarget.dataset.id; | ||
513 | this.setData({ | 542 | this.setData({ |
514 | sortTab: e.currentTarget.dataset.idsort, | 543 | sortTab: e.currentTarget.dataset.idsort, |
544 | + order: order, | ||
515 | }) | 545 | }) |
546 | + console.log(order) | ||
516 | }, | 547 | }, |
517 | // 筛选(学历要求) | 548 | // 筛选(学历要求) |
518 | screen_Tap: function(e) { | 549 | screen_Tap: function(e) { |
519 | - console.log(88) | 550 | + console.log(e) |
520 | let that = this; | 551 | let that = this; |
552 | + let education_id = e.currentTarget.dataset.id | ||
553 | + console.log('学历ID为' + education_id) | ||
521 | this.setData({ | 554 | this.setData({ |
522 | screenTab: e.currentTarget.dataset.idscreen, | 555 | screenTab: e.currentTarget.dataset.idscreen, |
556 | + education_id: education_id, | ||
523 | }) | 557 | }) |
558 | + console.log('索引id为' + that.data.screenTab) | ||
524 | }, | 559 | }, |
525 | // 筛选(酬薪范围) | 560 | // 筛选(酬薪范围) |
526 | scope_Tap: function(e) { | 561 | scope_Tap: function(e) { |
527 | - console.log(88) | 562 | + console.log(e) |
528 | let that = this; | 563 | let that = this; |
564 | + let salary_id = e.currentTarget.dataset.id | ||
529 | this.setData({ | 565 | this.setData({ |
530 | scopeTab: e.currentTarget.dataset.idscope, | 566 | scopeTab: e.currentTarget.dataset.idscope, |
567 | + salary_id: salary_id, | ||
568 | + // salary_id: e.currentTarget.dataset.id, | ||
531 | }) | 569 | }) |
570 | + | ||
571 | + console.log('酬薪ID为' + salary_id) | ||
572 | + console.log('索引ID为' + that.data.scopeTab) | ||
532 | }, | 573 | }, |
533 | 574 | ||
534 | - | 575 | + |
535 | // 去报名 | 576 | // 去报名 |
536 | toApply(e) { | 577 | toApply(e) { |
537 | let that = this; | 578 | let that = this; |
538 | - let joinid=e.currentTarget.dataset.id | ||
539 | - if(that.data.go==false){ | ||
540 | - wx.showToast({ | ||
541 | - title: '请先完善简历', | ||
542 | - icon:'none' | ||
543 | - }) | 579 | + let joinid = e.currentTarget.dataset.id |
580 | + if (that.data.go == false) { | ||
581 | + wx.showToast({ | ||
582 | + title: '请先完善简历', | ||
583 | + icon: 'none' | ||
584 | + }) | ||
544 | 585 | ||
545 | - setTimeout(function(){ | ||
546 | - that.setData({ | ||
547 | - myResume:true | ||
548 | - }) | ||
549 | - },1500) | 586 | + setTimeout(function() { |
587 | + that.setData({ | ||
588 | + myResume: true | ||
589 | + }) | ||
590 | + }, 1500) | ||
550 | 591 | ||
551 | - }else{ | 592 | + } else { |
552 | let url = 'index/job/job_apply'; | 593 | let url = 'index/job/job_apply'; |
553 | 594 | ||
554 | // 通过parmas传值给后端 | 595 | // 通过parmas传值给后端 |
@@ -562,10 +603,10 @@ Page({ | @@ -562,10 +603,10 @@ Page({ | ||
562 | app.post(url, params, header).then((res) => { | 603 | app.post(url, params, header).then((res) => { |
563 | 604 | ||
564 | console.log(res); | 605 | console.log(res); |
565 | - if(res.data==''){ | 606 | + if (res.data == '') { |
566 | wx.showToast({ | 607 | wx.showToast({ |
567 | title: res.msg, | 608 | title: res.msg, |
568 | - icon:'none' | 609 | + icon: 'none' |
569 | }) | 610 | }) |
570 | } | 611 | } |
571 | // that.setData({ | 612 | // that.setData({ |
@@ -573,10 +614,10 @@ Page({ | @@ -573,10 +614,10 @@ Page({ | ||
573 | // }) | 614 | // }) |
574 | 615 | ||
575 | }).catch((err) => { | 616 | }).catch((err) => { |
576 | - | 617 | + |
577 | }) | 618 | }) |
578 | } | 619 | } |
579 | - | 620 | + |
580 | }, | 621 | }, |
581 | 622 | ||
582 | // ----- 更新简历 ----- | 623 | // ----- 更新简历 ----- |
@@ -609,44 +650,44 @@ Page({ | @@ -609,44 +650,44 @@ Page({ | ||
609 | saveResume() { | 650 | saveResume() { |
610 | 651 | ||
611 | let that = this; | 652 | let that = this; |
612 | - if(that.data.resume_name==''){ | 653 | + if (that.data.resume_name == '') { |
613 | wx.showToast({ | 654 | wx.showToast({ |
614 | title: '请输入姓名', | 655 | title: '请输入姓名', |
615 | - icon:'none' | 656 | + icon: 'none' |
616 | }) | 657 | }) |
617 | 658 | ||
618 | return false | 659 | return false |
619 | } | 660 | } |
620 | 661 | ||
621 | - if (that.data.resume_mobile==''){ | 662 | + if (that.data.resume_mobile == '') { |
622 | wx.showToast({ | 663 | wx.showToast({ |
623 | title: '请输入手机号', | 664 | title: '请输入手机号', |
624 | - icon:'none' | 665 | + icon: 'none' |
625 | }) | 666 | }) |
626 | - | 667 | + |
627 | return false | 668 | return false |
628 | - | 669 | + |
629 | } | 670 | } |
630 | 671 | ||
631 | let reg = reg = /^[1][3,4,5,7,8][0-9]{9}$/ | 672 | let reg = reg = /^[1][3,4,5,7,8][0-9]{9}$/ |
632 | - if (!reg.test(that.data.resume_mobile)){ | ||
633 | - wx.showToast({ | ||
634 | - title: '请输入正确的手机号', | ||
635 | - icon:'none' | ||
636 | - }) | 673 | + if (!reg.test(that.data.resume_mobile)) { |
674 | + wx.showToast({ | ||
675 | + title: '请输入正确的手机号', | ||
676 | + icon: 'none' | ||
677 | + }) | ||
637 | return false | 678 | return false |
638 | } | 679 | } |
639 | 680 | ||
640 | - if (that.data.resume_birthday=='请选择'){ | 681 | + if (that.data.resume_birthday == '请选择') { |
641 | wx.showToast({ | 682 | wx.showToast({ |
642 | title: '请选择出生日期', | 683 | title: '请选择出生日期', |
643 | - icon:'none' | 684 | + icon: 'none' |
644 | }) | 685 | }) |
645 | 686 | ||
646 | return false | 687 | return false |
647 | } | 688 | } |
648 | 689 | ||
649 | - if (that.data.resume_home==''){ | 690 | + if (that.data.resume_home == '') { |
650 | wx.showToast({ | 691 | wx.showToast({ |
651 | title: '请输入家乡', | 692 | title: '请输入家乡', |
652 | icon: 'none' | 693 | icon: 'none' |
@@ -670,10 +711,10 @@ Page({ | @@ -670,10 +711,10 @@ Page({ | ||
670 | }) | 711 | }) |
671 | return false | 712 | return false |
672 | } | 713 | } |
673 | - if (that.data.resume_exp==''){ | 714 | + if (that.data.resume_exp == '') { |
674 | wx.showToast({ | 715 | wx.showToast({ |
675 | title: '请输入工作经验', | 716 | title: '请输入工作经验', |
676 | - icon:'none' | 717 | + icon: 'none' |
677 | }) | 718 | }) |
678 | 719 | ||
679 | return false | 720 | return false |
@@ -701,27 +742,27 @@ Page({ | @@ -701,27 +742,27 @@ Page({ | ||
701 | app.post(url, params, header).then((res) => { | 742 | app.post(url, params, header).then((res) => { |
702 | 743 | ||
703 | console.log(res.data); | 744 | console.log(res.data); |
704 | - if(res.data==''){ | 745 | + if (res.data == '') { |
705 | wx.showToast({ | 746 | wx.showToast({ |
706 | title: '提交成功', | 747 | title: '提交成功', |
707 | - icon:'none' | 748 | + icon: 'none' |
708 | }) | 749 | }) |
709 | 750 | ||
710 | - setTimeout(function(){ | 751 | + setTimeout(function() { |
711 | that.setData({ | 752 | that.setData({ |
712 | - myResume:false | 753 | + myResume: false |
713 | 754 | ||
714 | }) | 755 | }) |
715 | - },1500) | 756 | + }, 1500) |
716 | } | 757 | } |
717 | - | 758 | + |
718 | 759 | ||
719 | }).catch((err) => { | 760 | }).catch((err) => { |
720 | 761 | ||
721 | }) | 762 | }) |
722 | }, | 763 | }, |
723 | 764 | ||
724 | - | 765 | + // 提交筛选 |
725 | 766 | ||
726 | /** | 767 | /** |
727 | * 生命周期函数--监听页面初次渲染完成 | 768 | * 生命周期函数--监听页面初次渲染完成 |
@@ -743,7 +784,7 @@ Page({ | @@ -743,7 +784,7 @@ Page({ | ||
743 | 784 | ||
744 | let that = this; | 785 | let that = this; |
745 | let url = 'index/category/county'; | 786 | let url = 'index/category/county'; |
746 | - | 787 | + |
747 | // 通过parmas传值给后端 | 788 | // 通过parmas传值给后端 |
748 | let params = { | 789 | let params = { |
749 | city: that.data.city, | 790 | city: that.data.city, |
@@ -753,12 +794,13 @@ Page({ | @@ -753,12 +794,13 @@ Page({ | ||
753 | "XX-Device-Type": 'wxapp' | 794 | "XX-Device-Type": 'wxapp' |
754 | } | 795 | } |
755 | app.post(url, params, header).then((res) => { | 796 | app.post(url, params, header).then((res) => { |
756 | - | 797 | + |
757 | console.log(res); | 798 | console.log(res); |
758 | that.setData({ | 799 | that.setData({ |
759 | - city_1 : res.data | 800 | + city_1: res.data, |
801 | + area: res.data[0].name | ||
760 | }) | 802 | }) |
761 | - | 803 | + console.log(that.data.area) |
762 | }).catch((err) => { | 804 | }).catch((err) => { |
763 | 805 | ||
764 | }) | 806 | }) |
@@ -766,13 +808,13 @@ Page({ | @@ -766,13 +808,13 @@ Page({ | ||
766 | 808 | ||
767 | //----筛选行业分类功能---- 给后端传categories_id | 809 | //----筛选行业分类功能---- 给后端传categories_id |
768 | selectIndustry() { | 810 | selectIndustry() { |
769 | - | 811 | + |
770 | let that = this; | 812 | let that = this; |
771 | let url = 'index/category/industry'; | 813 | let url = 'index/category/industry'; |
772 | console.log(url) | 814 | console.log(url) |
773 | // 通过parmas传值给后端 | 815 | // 通过parmas传值给后端 |
774 | let params = { | 816 | let params = { |
775 | - categories_id: that.data.categories_id, | 817 | + categories_id: '', |
776 | } | 818 | } |
777 | let header = { | 819 | let header = { |
778 | "XX-Token": wx.getStorageSync('token'), | 820 | "XX-Token": wx.getStorageSync('token'), |
@@ -781,11 +823,14 @@ Page({ | @@ -781,11 +823,14 @@ Page({ | ||
781 | app.post(url, params, header).then((res) => { | 823 | app.post(url, params, header).then((res) => { |
782 | console.log(res); | 824 | console.log(res); |
783 | that.setData({ | 825 | that.setData({ |
784 | - industry_1: res.data | 826 | + industry_1: res.data, |
827 | + industry_id: res.data[0].id | ||
785 | }) | 828 | }) |
786 | 829 | ||
830 | + | ||
831 | + | ||
787 | }).catch((err) => { | 832 | }).catch((err) => { |
788 | - // that.selectStation() | 833 | + that.selectStation() |
789 | }) | 834 | }) |
790 | }, | 835 | }, |
791 | //----筛选岗位分类功能---- 给后端传industry_id | 836 | //----筛选岗位分类功能---- 给后端传industry_id |
@@ -807,9 +852,9 @@ Page({ | @@ -807,9 +852,9 @@ Page({ | ||
807 | that.setData({ | 852 | that.setData({ |
808 | station_1: res.data | 853 | station_1: res.data |
809 | }) | 854 | }) |
810 | - | 855 | + console.log(that.data.station_1) |
811 | }).catch((err) => { | 856 | }).catch((err) => { |
812 | - | 857 | + |
813 | }) | 858 | }) |
814 | }, | 859 | }, |
815 | 860 | ||
@@ -833,7 +878,7 @@ Page({ | @@ -833,7 +878,7 @@ Page({ | ||
833 | console.log(res); | 878 | console.log(res); |
834 | that.setData({ | 879 | that.setData({ |
835 | // city_1: res.data | 880 | // city_1: res.data |
836 | - education_1:res.data | 881 | + education_1: res.data |
837 | }) | 882 | }) |
838 | 883 | ||
839 | }).catch((err) => { | 884 | }).catch((err) => { |
@@ -865,30 +910,30 @@ Page({ | @@ -865,30 +910,30 @@ Page({ | ||
865 | 910 | ||
866 | }) | 911 | }) |
867 | }, | 912 | }, |
868 | - | ||
869 | 913 | ||
870 | - | 914 | + |
915 | + | ||
871 | // -----用户获得经纬度----- | 916 | // -----用户获得经纬度----- |
872 | - getUserLocation(){ | 917 | + getUserLocation() { |
873 | let vm = this; | 918 | let vm = this; |
874 | wx.getSetting({ | 919 | wx.getSetting({ |
875 | - success:(res) => { | 920 | + success: (res) => { |
876 | console.log(JSON.stringify(res)) | 921 | console.log(JSON.stringify(res)) |
877 | - if(res.authSetting['scope.userLocation'] != undefined && res.authSetting['scope.userLocation'] != true){ | 922 | + if (res.authSetting['scope.userLocation'] != undefined && res.authSetting['scope.userLocation'] != true) { |
878 | wx.showModal({ | 923 | wx.showModal({ |
879 | title: '请授权当前位置', | 924 | title: '请授权当前位置', |
880 | content: '需要获取您的地址位置,请确认授权', | 925 | content: '需要获取您的地址位置,请确认授权', |
881 | - success(res){ | ||
882 | - if(res.cancel){ | 926 | + success(res) { |
927 | + if (res.cancel) { | ||
883 | wx.showToast({ | 928 | wx.showToast({ |
884 | title: '拒绝授权', | 929 | title: '拒绝授权', |
885 | icon: 'none', | 930 | icon: 'none', |
886 | duration: 1000 | 931 | duration: 1000 |
887 | }) | 932 | }) |
888 | - }else if(res.confirm){ | 933 | + } else if (res.confirm) { |
889 | wx.openSetting({ | 934 | wx.openSetting({ |
890 | - success: function(dataAu){ | ||
891 | - if(dataAu.authSetting["scope.userLocation"]==true){ | 935 | + success: function(dataAu) { |
936 | + if (dataAu.authSetting["scope.userLocation"] == true) { | ||
892 | wx.showToast({ | 937 | wx.showToast({ |
893 | title: '授权成功', | 938 | title: '授权成功', |
894 | icon: 'success', | 939 | icon: 'success', |
@@ -896,7 +941,7 @@ Page({ | @@ -896,7 +941,7 @@ Page({ | ||
896 | }) | 941 | }) |
897 | // 再次授权,调用wx.getLocation的API | 942 | // 再次授权,调用wx.getLocation的API |
898 | vm.getLocation(); | 943 | vm.getLocation(); |
899 | - }else{ | 944 | + } else { |
900 | wx.showToast({ | 945 | wx.showToast({ |
901 | title: '授权失败', | 946 | title: '授权失败', |
902 | icon: 'none', | 947 | icon: 'none', |
@@ -908,10 +953,10 @@ Page({ | @@ -908,10 +953,10 @@ Page({ | ||
908 | } | 953 | } |
909 | } | 954 | } |
910 | }) | 955 | }) |
911 | - }else if(res.authSetting['scope.userLocation'] == undefined){ | 956 | + } else if (res.authSetting['scope.userLocation'] == undefined) { |
912 | // 调用wx.getLocation的API | 957 | // 调用wx.getLocation的API |
913 | vm.getLocation(); | 958 | vm.getLocation(); |
914 | - }else{ | 959 | + } else { |
915 | // 调用wx.getLocation的API | 960 | // 调用wx.getLocation的API |
916 | vm.getLocation(); | 961 | vm.getLocation(); |
917 | } | 962 | } |
@@ -920,7 +965,7 @@ Page({ | @@ -920,7 +965,7 @@ Page({ | ||
920 | }, | 965 | }, |
921 | 966 | ||
922 | // -----微信获得经纬度----- | 967 | // -----微信获得经纬度----- |
923 | - getLocation(){ | 968 | + getLocation() { |
924 | let vm = this; | 969 | let vm = this; |
925 | // console.log(vm) | 970 | // console.log(vm) |
926 | wx.getLocation({ | 971 | wx.getLocation({ |
@@ -930,51 +975,51 @@ Page({ | @@ -930,51 +975,51 @@ Page({ | ||
930 | console.log(JSON.stringify(res)) | 975 | console.log(JSON.stringify(res)) |
931 | var latitude = res.latitude | 976 | var latitude = res.latitude |
932 | var longitude = res.longitude | 977 | var longitude = res.longitude |
933 | - var speed = res.speed | 978 | + var speed = res.speed |
934 | var accuracy = res.accuracy; | 979 | var accuracy = res.accuracy; |
935 | - vm.getLocal(latitude,longitude) | 980 | + vm.getLocal(latitude, longitude) |
936 | }, | 981 | }, |
937 | fail: function(res) { | 982 | fail: function(res) { |
938 | - console.log('fail'+JSON.stringify(res)) | 983 | + console.log('fail' + JSON.stringify(res)) |
939 | }, | 984 | }, |
940 | // complete: function(res) {}, | 985 | // complete: function(res) {}, |
941 | }) | 986 | }) |
942 | }, | 987 | }, |
943 | 988 | ||
944 | // -----获取当前地理位置----- | 989 | // -----获取当前地理位置----- |
945 | - getLocal(latitude,longitude){ | 990 | + getLocal(latitude, longitude) { |
946 | let vm = this; | 991 | let vm = this; |
947 | qqmapsdk.reverseGeocoder({ | 992 | qqmapsdk.reverseGeocoder({ |
948 | location: { | 993 | location: { |
949 | latitude: latitude, | 994 | latitude: latitude, |
950 | longitude: longitude | 995 | longitude: longitude |
951 | }, | 996 | }, |
952 | - | ||
953 | - success(res){ | ||
954 | - | 997 | + |
998 | + success(res) { | ||
999 | + | ||
955 | console.log(res) | 1000 | console.log(res) |
956 | // let province = res.result.ad_info.province | 1001 | // let province = res.result.ad_info.province |
957 | let city = res.result.ad_info.city; | 1002 | let city = res.result.ad_info.city; |
958 | console.log(city) | 1003 | console.log(city) |
959 | let district = res.result.ad_info.district | 1004 | let district = res.result.ad_info.district |
960 | - | ||
961 | - console.log('定位的市:'+city,'定位的区:'+district) | 1005 | + |
1006 | + console.log('定位的市:' + city, '定位的区:' + district) | ||
962 | vm.setData({ | 1007 | vm.setData({ |
963 | // 转换地区 | 1008 | // 转换地区 |
964 | - | 1009 | + |
965 | city: city, | 1010 | city: city, |
966 | - district:district, | 1011 | + district: district, |
967 | latitude: latitude, | 1012 | latitude: latitude, |
968 | longitude: longitude | 1013 | longitude: longitude |
969 | }) | 1014 | }) |
970 | vm.selectArea() | 1015 | vm.selectArea() |
971 | 1016 | ||
972 | - | 1017 | + |
973 | }, | 1018 | }, |
974 | - fail: function(res){ | 1019 | + fail: function(res) { |
975 | console.log(res); | 1020 | console.log(res); |
976 | }, | 1021 | }, |
977 | - complete:function(res){ | 1022 | + complete: function(res) { |
978 | 1023 | ||
979 | } | 1024 | } |
980 | }) | 1025 | }) |
@@ -987,7 +1032,7 @@ Page({ | @@ -987,7 +1032,7 @@ Page({ | ||
987 | let url = 'wxapp/public/location'; | 1032 | let url = 'wxapp/public/location'; |
988 | // 通过parmas传值给后端 | 1033 | // 通过parmas传值给后端 |
989 | let params = { | 1034 | let params = { |
990 | - city : that.data.city, | 1035 | + city: that.data.city, |
991 | county: that.data.county, | 1036 | county: that.data.county, |
992 | longitude: that.data.longitude, | 1037 | longitude: that.data.longitude, |
993 | latitude: that.data.latitude | 1038 | latitude: that.data.latitude |
@@ -999,14 +1044,14 @@ Page({ | @@ -999,14 +1044,14 @@ Page({ | ||
999 | app.post(url, params, header).then((res) => { | 1044 | app.post(url, params, header).then((res) => { |
1000 | console.log('++++++++++++++') | 1045 | console.log('++++++++++++++') |
1001 | console.log(res); | 1046 | console.log(res); |
1002 | - | ||
1003 | - | 1047 | + |
1048 | + | ||
1004 | }).catch((err) => { | 1049 | }).catch((err) => { |
1005 | 1050 | ||
1006 | }) | 1051 | }) |
1007 | }, | 1052 | }, |
1008 | 1053 | ||
1009 | - | 1054 | + |
1010 | // 获取四大类 | 1055 | // 获取四大类 |
1011 | getCategories() { | 1056 | getCategories() { |
1012 | let that = this; | 1057 | let that = this; |
@@ -1021,17 +1066,17 @@ Page({ | @@ -1021,17 +1066,17 @@ Page({ | ||
1021 | app.post(url, params, header).then((res) => { | 1066 | app.post(url, params, header).then((res) => { |
1022 | console.log(res); | 1067 | console.log(res); |
1023 | console.log(res.data) | 1068 | console.log(res.data) |
1024 | - | 1069 | + |
1025 | // 获取值 | 1070 | // 获取值 |
1026 | that.setData({ | 1071 | that.setData({ |
1027 | - category:res.data | 1072 | + category: res.data |
1028 | }) | 1073 | }) |
1029 | console.log(that.data.category) | 1074 | console.log(that.data.category) |
1030 | 1075 | ||
1031 | }).catch((err) => { | 1076 | }).catch((err) => { |
1032 | 1077 | ||
1033 | }) | 1078 | }) |
1034 | - }, | 1079 | + }, |
1035 | // 获取幻灯片 | 1080 | // 获取幻灯片 |
1036 | getSlide() { | 1081 | getSlide() { |
1037 | let that = this; | 1082 | let that = this; |
@@ -1057,17 +1102,70 @@ Page({ | @@ -1057,17 +1102,70 @@ Page({ | ||
1057 | }).catch((err) => { | 1102 | }).catch((err) => { |
1058 | 1103 | ||
1059 | }) | 1104 | }) |
1060 | - }, | 1105 | + }, |
1061 | // 跳转Url | 1106 | // 跳转Url |
1062 | - toUrl(e){ | 1107 | + toUrl(e) { |
1063 | console.log(e) | 1108 | console.log(e) |
1064 | let that = this; | 1109 | let that = this; |
1065 | let url = e.currentTarget.dataset.tourl; | 1110 | let url = e.currentTarget.dataset.tourl; |
1066 | console.log(url) | 1111 | console.log(url) |
1067 | wx.navigateTo({ | 1112 | wx.navigateTo({ |
1068 | - url: '/pages/index/url/url?url='+url, | 1113 | + url: '/pages/index/url/url?url=' + url, |
1069 | }) | 1114 | }) |
1070 | }, | 1115 | }, |
1116 | + // 点击确认功能 | ||
1117 | + toConfirm() { | ||
1118 | + | ||
1119 | + let that = this; | ||
1120 | + let url = 'index/job/jobs'; | ||
1121 | + let params = { | ||
1122 | + // categories_id: that.data.categories_id, | ||
1123 | + // 城市(同城) | ||
1124 | + work_city: that.data.city, | ||
1125 | + // 区县 | ||
1126 | + work_county: that.data.area, | ||
1127 | + | ||
1128 | + // 行业 | ||
1129 | + industry_id: that.data.industry_id, | ||
1130 | + // 岗位 | ||
1131 | + station_id: that.data.station_id, | ||
1132 | + // 学历 | ||
1133 | + education_id: that.data.education_id, | ||
1134 | + // 薪资 | ||
1135 | + salary_id: that.data.salary_id, | ||
1136 | + // 排序方式 | ||
1137 | + order: that.data.order, | ||
1138 | + // 招聘者姓名 | ||
1139 | + // resume_name : that.data.resume_name | ||
1140 | + | ||
1141 | + } | ||
1142 | + let header = { | ||
1143 | + "XX-Token": wx.getStorageSync('token'), | ||
1144 | + "XX-Device-Type": 'wxapp' | ||
1145 | + } | ||
1146 | + app.post(url, params, header).then((res) => { | ||
1147 | + // console.log(res); | ||
1148 | + // console.log(res.data[0].industry_id) | ||
1149 | + // 获取值 | ||
1150 | + that.setData({ | ||
1151 | + jobs: res.data, | ||
1152 | + // industry_id:res.data[0].industry_id | ||
1153 | + }) | ||
1154 | + wx.showToast({ | ||
1155 | + title: '正在检索', | ||
1156 | + icon: 'none' | ||
1157 | + }) | ||
1158 | + setTimeout(function() { | ||
1159 | + that.setData({ | ||
1160 | + mask:false | ||
1161 | + }) | ||
1162 | + }, 1000) | ||
1163 | + | ||
1164 | + }).catch((err) => { | ||
1165 | + | ||
1166 | + }) | ||
1167 | + | ||
1168 | + }, | ||
1071 | 1169 | ||
1072 | 1170 | ||
1073 | 1171 |
@@ -78,25 +78,26 @@ | @@ -78,25 +78,26 @@ | ||
78 | <!-- <view class='banner'> | 78 | <!-- <view class='banner'> |
79 | <image src='/img/aicon_07@2x.png'></image> | 79 | <image src='/img/aicon_07@2x.png'></image> |
80 | </view> --> | 80 | </view> --> |
81 | - <swiper class='banner' indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-color="{{indicatorColor}}" indicator-active-color="{{indicatorActiveColor}}" bindchange="swiperChange"> | ||
82 | 81 | ||
82 | + <view class='banner_box'> | ||
83 | + <swiper class='banner' indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-color="{{indicatorColor}}" indicator-active-color="{{indicatorActiveColor}}" bindchange="swiperChange"> | ||
83 | 84 | ||
84 | - <block wx:for="{{slide}}" wx:key=''> | ||
85 | - <swiper-item> | ||
86 | - <image src="{{item.image}}" class="slide-image" data-tourl="{{item.url}}" bindtap='toUrl' /> | ||
87 | - </swiper-item> | ||
88 | 85 | ||
89 | - <!-- <view class="dot{{index == currentSwiper ? ' active' : ''}}"></view> --> | 86 | + <block wx:for="{{slide}}" wx:key=''> |
87 | + <swiper-item> | ||
88 | + <image src="{{item.image}}" class="slide-image" data-tourl="{{item.url}}" bindtap='toUrl' /> | ||
89 | + </swiper-item> | ||
90 | 90 | ||
91 | - </block> | ||
92 | - <!-- <view class="dots"> | ||
93 | - <block wx:for="{{imgUrls}}" wx:key=""> | ||
94 | - <view class="dot{{index == currentSwiper ? ' active' : ''}}"></view> | ||
95 | - </block> | ||
96 | - </view> --> | 91 | + </block> |
97 | 92 | ||
93 | + </swiper> | ||
94 | + <view class="dots"> | ||
95 | + <block wx:for="{{imgUrls}}" wx:key=""> | ||
96 | + <view class="dot{{index == currentSwiper ? ' dotactive' : ''}}"></view> | ||
97 | + </block> | ||
98 | + </view> | ||
99 | + </view> | ||
98 | 100 | ||
99 | - </swiper> | ||
100 | 101 | ||
101 | <!-- 筛选 --> | 102 | <!-- 筛选 --> |
102 | <view class='select' bindtap='mask_show'> | 103 | <view class='select' bindtap='mask_show'> |
@@ -182,35 +183,19 @@ | @@ -182,35 +183,19 @@ | ||
182 | <!-- 地区内容 --> | 183 | <!-- 地区内容 --> |
183 | <view class='area' wx:if="{{currentTab==0}}"> | 184 | <view class='area' wx:if="{{currentTab==0}}"> |
184 | <view class="area_item"> | 185 | <view class="area_item"> |
185 | - <view wx:for="{{city_1}}" data-idarea="{{index}}" class="area_item_name {{areaTab==index ? 'active' : ''}}" wx:key="unique" catchtap="area_Tap" data-categoryid="{{item.id}}">{{item.name}} | 186 | + <view wx:for="{{city_1}}" data-idarea="{{index}}" class="area_item_name {{areaTab==index ? 'active' : ''}}" wx:key="unique" catchtap="area_Tap" data-categoryid="{{item.id}}" data-area='{{item.name}}'>{{item.name}} |
186 | 187 | ||
187 | </view> | 188 | </view> |
188 | </view> | 189 | </view> |
189 | 190 | ||
190 | - <!-- <view class='area_item'> | ||
191 | - <view class='area_item_name yellow_color'>不限</view> | ||
192 | - </view> | ||
193 | - <view class='area_item'> | ||
194 | - <view class='area_item_name '>不限</view> | ||
195 | - </view> | ||
196 | - <view class='area_item'> | ||
197 | - <view class='area_item_name'>和平</view> | ||
198 | - </view> | ||
199 | - <view class='area_item'> | ||
200 | - <view class='area_item_name'>河东万达广场</view> | ||
201 | - </view> | ||
202 | - <view class='area_item'> | ||
203 | - <view class='area_item_name'>河东万达广场</view> | ||
204 | - </view> | ||
205 | - <view class='area_item'> | ||
206 | - <view class='area_item_name'>河东万达广场</view> | ||
207 | - </view> --> | 191 | + |
208 | </view> | 192 | </view> |
209 | 193 | ||
210 | <!-- 岗位内容 --> | 194 | <!-- 岗位内容 --> |
211 | <view class='job' wx:if="{{currentTab==1}}"> | 195 | <view class='job' wx:if="{{currentTab==1}}"> |
196 | + <!-- 左侧内容 --> | ||
212 | <view class="job_left"> | 197 | <view class="job_left"> |
213 | - <view wx:for="{{industry_1}}" data-idjob="{{index}}" class="job_left_item {{jobTab==index ? 'pitch_on' : ''}}" wx:key="unique" catchtap="job_Tap" data-industry_id='{{item.industry_id}}' data-categoryid="{{item.id}}">{{item.industry_name}} | 198 | + <view wx:for="{{industry_1}}" data-idjob="{{index}}" class="job_left_item {{jobTab==index ? 'pitch_on' : ''}}" wx:key="unique" catchtap="job_Tap" data-industry_id='{{item.id}}' data-categoryid="{{item.id}}">{{item.industry_name}} |
214 | </view> | 199 | </view> |
215 | </view> | 200 | </view> |
216 | 201 | ||
@@ -229,29 +214,25 @@ | @@ -229,29 +214,25 @@ | ||
229 | 214 | ||
230 | 215 | ||
231 | <view class='job_right'> | 216 | <view class='job_right'> |
232 | - <view class='job_right_items' wx:if='{{jobTab==0}}'> | ||
233 | - <view wx:for="{{probar}}" data-idpro="{{index}}" class="job_right_item {{proTab==index ? 'yellow_color' : ''}}" wx:key="unique" catchtap="pro_Tap" data-categoryid="{{item.id}}">{{item.pro}} | 217 | + <view class='job_right_items'> |
218 | + <view wx:for="{{station_1}}" data-idpro="{{index}}" class="job_right_item {{proTab==index ? 'yellow_color' : ''}}" wx:key="unique" catchtap="pro_Tap" data-categoryid="{{item.id}}">{{item.station_name}} | ||
234 | 219 | ||
235 | </view> | 220 | </view> |
236 | 221 | ||
237 | - | ||
238 | - | ||
239 | <!-- <view class='job_right_item'>不限</view> | 222 | <!-- <view class='job_right_item'>不限</view> |
240 | <view class='job_right_item'>迎宾</view> | 223 | <view class='job_right_item'>迎宾</view> |
241 | <view class='job_right_item'>传菜员</view> | 224 | <view class='job_right_item'>传菜员</view> |
242 | <view class='job_right_item'>配菜打荷</view> | 225 | <view class='job_right_item'>配菜打荷</view> |
243 | <view class='job_right_item'>洗碗工</view> | 226 | <view class='job_right_item'>洗碗工</view> |
244 | <view class='job_right_item yellow_color'>后厨</view> --> | 227 | <view class='job_right_item yellow_color'>后厨</view> --> |
245 | - | ||
246 | - | ||
247 | </view> | 228 | </view> |
248 | 229 | ||
249 | - <view class='job_right_items' wx:if='{{jobTab==1}}'> | 230 | + <!-- <view class='job_right_items' wx:if='{{jobTab==1}}'> |
250 | <view wx:for="{{probar}}" data-idpro="{{index}}" class="job_right_item {{proTab==index ? 'yellow_color' : ''}}" wx:key="unique" bindtap="pro_Tap" data-categoryid="{{item.id}}">{{item.pro}} | 231 | <view wx:for="{{probar}}" data-idpro="{{index}}" class="job_right_item {{proTab==index ? 'yellow_color' : ''}}" wx:key="unique" bindtap="pro_Tap" data-categoryid="{{item.id}}">{{item.pro}} |
251 | 232 | ||
252 | </view> | 233 | </view> |
253 | 234 | ||
254 | - </view> | 235 | + </view> --> |
255 | 236 | ||
256 | 237 | ||
257 | 238 | ||
@@ -315,8 +296,8 @@ | @@ -315,8 +296,8 @@ | ||
315 | 296 | ||
316 | <!-- 底部按钮 --> | 297 | <!-- 底部按钮 --> |
317 | <view class='screen_bottom'> | 298 | <view class='screen_bottom'> |
318 | - <view class='screen_bottom_left'>重置</view> | ||
319 | - <view class='screen_bottom_right' catch='toConfirm'>确认</view> | 299 | + <view class='screen_bottom_left' bindtap='toReset'>重置</view> |
300 | + <view class='screen_bottom_right' catchtap='toConfirm'>确认</view> | ||
320 | </view> | 301 | </view> |
321 | </view> | 302 | </view> |
322 | 303 | ||
@@ -357,7 +338,7 @@ | @@ -357,7 +338,7 @@ | ||
357 | <!-- 出生日期 --> | 338 | <!-- 出生日期 --> |
358 | <view class='mask2_item birth'> | 339 | <view class='mask2_item birth'> |
359 | <view class='mask2_item_left'>出生日期</view> | 340 | <view class='mask2_item_left'>出生日期</view> |
360 | - | 341 | + |
361 | 342 | ||
362 | <picker mode="date" value="{{date}}" bindchange="bindDateChange"> | 343 | <picker mode="date" value="{{date}}" bindchange="bindDateChange"> |
363 | <view class="mask2_item_date"> | 344 | <view class="mask2_item_date"> |
@@ -381,7 +362,7 @@ | @@ -381,7 +362,7 @@ | ||
381 | 362 | ||
382 | <picker bindchange="bindEdu" value="{{eduIndex}}" range="{{edu}}" range-key='education_name'> | 363 | <picker bindchange="bindEdu" value="{{eduIndex}}" range="{{edu}}" range-key='education_name'> |
383 | <view class='mask2_item_date'> | 364 | <view class='mask2_item_date'> |
384 | - <!-- {{edu[eduIndex].education_name}} --> | 365 | + <!-- {{edu[eduIndex].education_name}} --> |
385 | <view class='mask2_item_date_text'>{{education_name}}</view> | 366 | <view class='mask2_item_date_text'>{{education_name}}</view> |
386 | <view class='mask2_item_date_icon'> | 367 | <view class='mask2_item_date_icon'> |
387 | <image src='../../img/right.png'></image> | 368 | <image src='../../img/right.png'></image> |
@@ -395,17 +376,17 @@ | @@ -395,17 +376,17 @@ | ||
395 | <view class='mask2_item_left'>工作年限</view> | 376 | <view class='mask2_item_left'>工作年限</view> |
396 | <picker bindchange="bindYear" value="{{yearIndex}}" range="{{year}}"> | 377 | <picker bindchange="bindYear" value="{{yearIndex}}" range="{{year}}"> |
397 | <view class='mask2_item_date'> | 378 | <view class='mask2_item_date'> |
398 | - <!-- year[yearIndex] --> | 379 | + <!-- year[yearIndex] --> |
399 | <view class='mask2_item_date_text'>{{yearname}}</view> | 380 | <view class='mask2_item_date_text'>{{yearname}}</view> |
400 | <view class='mask2_item_date_icon'> | 381 | <view class='mask2_item_date_icon'> |
401 | <image src='../../img/right.png'></image> | 382 | <image src='../../img/right.png'></image> |
402 | </view> | 383 | </view> |
403 | </view> | 384 | </view> |
404 | </picker> | 385 | </picker> |
405 | - | 386 | + |
406 | </view> | 387 | </view> |
407 | -<!-- 工作经验 --> | ||
408 | - <view class='mask2_item'> | 388 | + <!-- 工作经验 --> |
389 | + <view class='mask2_item'> | ||
409 | <view class='mask2_item_left'>工作经验</view> | 390 | <view class='mask2_item_left'>工作经验</view> |
410 | <input placeholder='请输入工作经验' bindinput='workexperience' value='{{resume_exp}}'></input> | 391 | <input placeholder='请输入工作经验' bindinput='workexperience' value='{{resume_exp}}'></input> |
411 | </view> | 392 | </view> |
1 | /* pages/index/index.wxss */ | 1 | /* pages/index/index.wxss */ |
2 | -page{ | 2 | + |
3 | +page { | ||
3 | background-color: #f5f5f5; | 4 | background-color: #f5f5f5; |
4 | line-height: 1; | 5 | line-height: 1; |
5 | } | 6 | } |
6 | -.container{ | 7 | + |
8 | +.container { | ||
7 | width: 750rpx; | 9 | width: 750rpx; |
8 | display: flex; | 10 | display: flex; |
9 | flex-flow: column; | 11 | flex-flow: column; |
10 | } | 12 | } |
11 | -.top{ | 13 | + |
14 | +.top { | ||
12 | /* width: 100%; */ | 15 | /* width: 100%; */ |
13 | display: flex; | 16 | display: flex; |
14 | justify-content: space-between; | 17 | justify-content: space-between; |
15 | background: #fff; | 18 | background: #fff; |
16 | padding: 24rpx 32rpx; | 19 | padding: 24rpx 32rpx; |
17 | } | 20 | } |
18 | -.top_left{ | 21 | + |
22 | +.top_left { | ||
19 | display: flex; | 23 | display: flex; |
20 | /* justify-content: space-between; */ | 24 | /* justify-content: space-between; */ |
21 | align-items: center; | 25 | align-items: center; |
22 | /* font-size:28rpx; */ | 26 | /* font-size:28rpx; */ |
23 | - font-family:PingFang-SC-Medium; | ||
24 | - font-weight:500; | ||
25 | - color:rgba(26,26,26,1); | 27 | + font-family: PingFang-SC-Medium; |
28 | + font-weight: 500; | ||
29 | + color: rgba(26, 26, 26, 1); | ||
26 | } | 30 | } |
27 | -.top_left_text{ | 31 | + |
32 | +.top_left_text { | ||
28 | font-size: 26rpx; | 33 | font-size: 26rpx; |
29 | } | 34 | } |
30 | -.top_left_img{ | 35 | + |
36 | +.top_left_img { | ||
31 | margin-left: 14rpx; | 37 | margin-left: 14rpx; |
32 | - width:18rpx; | ||
33 | - height:10rpx; | 38 | + width: 18rpx; |
39 | + height: 10rpx; | ||
34 | display: flex; | 40 | display: flex; |
35 | } | 41 | } |
36 | -.top_left_img image{ | 42 | + |
43 | +.top_left_img image { | ||
37 | width: 100%; | 44 | width: 100%; |
38 | height: 100%; | 45 | height: 100%; |
39 | } | 46 | } |
40 | -.select_pic{ | 47 | + |
48 | +.select_pic { | ||
41 | margin-left: 8rpx; | 49 | margin-left: 8rpx; |
42 | - width:12rpx; | ||
43 | - height:8rpx; | 50 | + width: 12rpx; |
51 | + height: 8rpx; | ||
44 | display: flex; | 52 | display: flex; |
45 | } | 53 | } |
46 | -.select_pic image{ | 54 | + |
55 | +.select_pic image { | ||
47 | width: 100%; | 56 | width: 100%; |
48 | height: 100%; | 57 | height: 100%; |
49 | } | 58 | } |
50 | -.select_list:last-child .select_pic{ | 59 | + |
60 | +.select_list:last-child .select_pic { | ||
51 | width: 18rpx; | 61 | width: 18rpx; |
52 | height: 18rpx; | 62 | height: 18rpx; |
53 | - display: flex | 63 | + display: flex; |
54 | } | 64 | } |
55 | 65 | ||
56 | -.top_right{ | 66 | +.top_right { |
57 | /* margin-left: 30rpx; */ | 67 | /* margin-left: 30rpx; */ |
58 | display: flex; | 68 | display: flex; |
59 | align-items: center; | 69 | align-items: center; |
60 | - | ||
61 | - width:560rpx; | ||
62 | - height:60rpx; | ||
63 | - background:rgba(237,238,242,1); | ||
64 | - border-radius:10rpx; | 70 | + width: 560rpx; |
71 | + height: 60rpx; | ||
72 | + background: rgba(237, 238, 242, 1); | ||
73 | + border-radius: 10rpx; | ||
65 | box-sizing: border-box; | 74 | box-sizing: border-box; |
66 | padding: 0 24rpx; | 75 | padding: 0 24rpx; |
67 | } | 76 | } |
68 | -.top_right_pic{ | 77 | + |
78 | +.top_right_pic { | ||
69 | display: flex; | 79 | display: flex; |
70 | - width:28rpx; | ||
71 | - height:28rpx; | 80 | + width: 28rpx; |
81 | + height: 28rpx; | ||
72 | } | 82 | } |
73 | -.top_right_pic image{ | 83 | + |
84 | +.top_right_pic image { | ||
74 | width: 100%; | 85 | width: 100%; |
75 | height: 100%; | 86 | height: 100%; |
76 | } | 87 | } |
77 | -.top_right_text{ | 88 | + |
89 | +.top_right_text { | ||
78 | margin-left: 25rpx; | 90 | margin-left: 25rpx; |
79 | - font-size:26rpx; | ||
80 | - font-family:PingFang-SC-Medium; | ||
81 | - font-weight:500; | ||
82 | - color:rgba(153,153,153,1); | 91 | + font-size: 26rpx; |
92 | + font-family: PingFang-SC-Medium; | ||
93 | + font-weight: 500; | ||
94 | + color: rgba(153, 153, 153, 1); | ||
83 | /* line-height:24px; */ | 95 | /* line-height:24px; */ |
84 | } | 96 | } |
85 | -.top_right input{ | 97 | + |
98 | +.top_right input { | ||
86 | margin-left: 25rpx; | 99 | margin-left: 25rpx; |
87 | width: 100%; | 100 | width: 100%; |
88 | - font-size:26rpx; | ||
89 | - font-family:PingFang-SC-Medium; | ||
90 | - font-weight:500; | 101 | + font-size: 26rpx; |
102 | + font-family: PingFang-SC-Medium; | ||
103 | + font-weight: 500; | ||
91 | } | 104 | } |
105 | + | ||
92 | /* 中部 */ | 106 | /* 中部 */ |
93 | -.mid{ | 107 | + |
108 | +.mid { | ||
94 | margin-top: 14rpx; | 109 | margin-top: 14rpx; |
95 | display: flex; | 110 | display: flex; |
96 | justify-content: space-between; | 111 | justify-content: space-between; |
97 | background-color: #fff; | 112 | background-color: #fff; |
98 | padding: 32rpx 56rpx; | 113 | padding: 32rpx 56rpx; |
99 | } | 114 | } |
100 | -.mid_list{ | 115 | + |
116 | +.mid_list { | ||
101 | display: flex; | 117 | display: flex; |
102 | align-items: center; | 118 | align-items: center; |
103 | justify-content: center; | 119 | justify-content: center; |
104 | flex-flow: column; | 120 | flex-flow: column; |
105 | } | 121 | } |
106 | -.mid_list_top{ | ||
107 | - width:88rpx; | ||
108 | - height:88rpx; | 122 | + |
123 | +.mid_list_top { | ||
124 | + width: 88rpx; | ||
125 | + height: 88rpx; | ||
109 | /* box-shadow:-1px 10px 20px 0px rgba(255,179,18,0.18); */ | 126 | /* box-shadow:-1px 10px 20px 0px rgba(255,179,18,0.18); */ |
110 | - border-radius:50%; | 127 | + border-radius: 50%; |
111 | display: flex; | 128 | display: flex; |
112 | } | 129 | } |
113 | -.mid_list_top image{ | 130 | + |
131 | +.mid_list_top image { | ||
114 | width: 100%; | 132 | width: 100%; |
115 | height: 100%; | 133 | height: 100%; |
116 | } | 134 | } |
117 | -.mid_list_bottom{ | ||
118 | - font-size:26rpx; | ||
119 | - font-family:PingFang-SC-Medium; | ||
120 | - font-weight:500; | ||
121 | - color:rgba(77,77,77,1); | 135 | + |
136 | +.mid_list_bottom { | ||
137 | + font-size: 26rpx; | ||
138 | + font-family: PingFang-SC-Medium; | ||
139 | + font-weight: 500; | ||
140 | + color: rgba(77, 77, 77, 1); | ||
122 | } | 141 | } |
123 | -.banner{ | 142 | + |
143 | +.banner { | ||
124 | width: 750rpx; | 144 | width: 750rpx; |
125 | height: 220rpx; | 145 | height: 220rpx; |
126 | display: flex; | 146 | display: flex; |
127 | position: relative; | 147 | position: relative; |
128 | } | 148 | } |
129 | -.banner image{ | 149 | + |
150 | +.banner image { | ||
130 | width: 100%; | 151 | width: 100%; |
131 | height: 100%; | 152 | height: 100%; |
132 | } | 153 | } |
133 | -.select{ | 154 | + |
155 | +.select { | ||
134 | margin-top: 14rpx; | 156 | margin-top: 14rpx; |
135 | display: flex; | 157 | display: flex; |
136 | justify-content: space-between; | 158 | justify-content: space-between; |
137 | padding: 28rpx 54rpx; | 159 | padding: 28rpx 54rpx; |
138 | background: #fff; | 160 | background: #fff; |
139 | } | 161 | } |
140 | -.select_list{ | 162 | + |
163 | +.select_list { | ||
141 | display: flex; | 164 | display: flex; |
142 | align-items: center; | 165 | align-items: center; |
143 | margin-left: 9rpx; | 166 | margin-left: 9rpx; |
144 | - font-size:26rpx; | ||
145 | - font-family:PingFang-SC-Regular; | ||
146 | - font-weight:400; | ||
147 | - color:rgba(26,26,26,1); | 167 | + font-size: 26rpx; |
168 | + font-family: PingFang-SC-Regular; | ||
169 | + font-weight: 400; | ||
170 | + color: rgba(26, 26, 26, 1); | ||
148 | } | 171 | } |
149 | -.select_list_pic{ | 172 | + |
173 | +.select_list_pic { | ||
150 | margin-left: 9rpx; | 174 | margin-left: 9rpx; |
151 | width: 12rpx; | 175 | width: 12rpx; |
152 | height: 8rpx; | 176 | height: 8rpx; |
153 | display: flex; | 177 | display: flex; |
154 | } | 178 | } |
155 | -.select_list_pic image{ | 179 | + |
180 | +.select_list_pic image { | ||
156 | width: 100%; | 181 | width: 100%; |
157 | height: 100%; | 182 | height: 100%; |
158 | } | 183 | } |
159 | -.select_list_pic_big{ | 184 | + |
185 | +.select_list_pic_big { | ||
160 | margin-left: 8rpx; | 186 | margin-left: 8rpx; |
161 | - width:18rpx; | ||
162 | - height:18rpx; | 187 | + width: 18rpx; |
188 | + height: 18rpx; | ||
163 | display: flex; | 189 | display: flex; |
164 | } | 190 | } |
165 | -.select_list_pic_big image{ | 191 | + |
192 | +.select_list_pic_big image { | ||
166 | width: 100%; | 193 | width: 100%; |
167 | height: 100%; | 194 | height: 100%; |
168 | } | 195 | } |
196 | + | ||
169 | /* 条目 */ | 197 | /* 条目 */ |
170 | -.items{ | 198 | + |
199 | +.items { | ||
171 | display: flex; | 200 | display: flex; |
172 | flex-flow: column; | 201 | flex-flow: column; |
173 | } | 202 | } |
174 | -.item{ | 203 | + |
204 | +.item { | ||
175 | margin-top: 1px; | 205 | margin-top: 1px; |
176 | display: flex; | 206 | display: flex; |
177 | flex-flow: column; | 207 | flex-flow: column; |
178 | background: #fff; | 208 | background: #fff; |
179 | padding: 40rpx; | 209 | padding: 40rpx; |
180 | } | 210 | } |
181 | -.item_top{ | 211 | + |
212 | +.item_top { | ||
182 | display: flex; | 213 | display: flex; |
183 | justify-content: space-between; | 214 | justify-content: space-between; |
184 | } | 215 | } |
185 | -.item_top_left{ | 216 | + |
217 | +.item_top_left { | ||
186 | display: flex; | 218 | display: flex; |
187 | } | 219 | } |
188 | -.item_top_left_pic{ | ||
189 | - width:72rpx; | ||
190 | - height:72rpx; | ||
191 | - border-radius:2rpx; | 220 | + |
221 | +.item_top_left_pic { | ||
222 | + width: 72rpx; | ||
223 | + height: 72rpx; | ||
224 | + border-radius: 2rpx; | ||
192 | display: flex; | 225 | display: flex; |
193 | } | 226 | } |
194 | -.item_top_left_pic image{ | 227 | + |
228 | +.item_top_left_pic image { | ||
195 | width: 100%; | 229 | width: 100%; |
196 | height: 100%; | 230 | height: 100%; |
197 | } | 231 | } |
198 | -.item_top_left_text{ | 232 | + |
233 | +.item_top_left_text { | ||
199 | margin-left: 23rpx; | 234 | margin-left: 23rpx; |
200 | display: flex; | 235 | display: flex; |
201 | flex-flow: column; | 236 | flex-flow: column; |
202 | } | 237 | } |
203 | -.text_top{ | ||
204 | - font-size:32rpx; | ||
205 | - font-family:PingFang-SC-Medium; | ||
206 | - font-weight:500; | ||
207 | - color:rgba(26,26,26,1); | 238 | + |
239 | +.text_top { | ||
240 | + font-size: 32rpx; | ||
241 | + font-family: PingFang-SC-Medium; | ||
242 | + font-weight: 500; | ||
243 | + color: rgba(26, 26, 26, 1); | ||
208 | } | 244 | } |
209 | -.text_bottom{ | 245 | + |
246 | +.text_bottom { | ||
210 | margin-top: 17rpx; | 247 | margin-top: 17rpx; |
211 | - font-size:28rpx; | ||
212 | - font-family:PingFang-SC-Medium; | ||
213 | - font-weight:500; | ||
214 | - color:rgba(255,59,40,1); | ||
215 | -} | ||
216 | -.item_top_right{ | ||
217 | - width:140rpx; | ||
218 | - height:66rpx; | 248 | + font-size: 28rpx; |
249 | + font-family: PingFang-SC-Medium; | ||
250 | + font-weight: 500; | ||
251 | + color: rgba(255, 59, 40, 1); | ||
252 | +} | ||
253 | + | ||
254 | +.item_top_right { | ||
255 | + width: 140rpx; | ||
256 | + height: 66rpx; | ||
219 | line-height: 66rpx; | 257 | line-height: 66rpx; |
220 | text-align: center; | 258 | text-align: center; |
221 | - border:1px solid rgba(255,102,0,1); | ||
222 | - border-radius:33rpx; | ||
223 | - | ||
224 | - | ||
225 | - font-size:28rpx; | ||
226 | - font-family:PingFang-SC-Medium; | ||
227 | - font-weight:500; | ||
228 | - color:rgba(255,102,0,1); | 259 | + border: 1px solid rgba(255, 102, 0, 1); |
260 | + border-radius: 33rpx; | ||
261 | + font-size: 28rpx; | ||
262 | + font-family: PingFang-SC-Medium; | ||
263 | + font-weight: 500; | ||
264 | + color: rgba(255, 102, 0, 1); | ||
229 | } | 265 | } |
230 | -.item_bottom{ | 266 | + |
267 | +.item_bottom { | ||
231 | margin-top: 20rpx; | 268 | margin-top: 20rpx; |
232 | margin-left: 80rpx; | 269 | margin-left: 80rpx; |
233 | display: flex; | 270 | display: flex; |
234 | align-items: center; | 271 | align-items: center; |
235 | justify-content: space-between; | 272 | justify-content: space-between; |
236 | - font-size:26rpx; | ||
237 | - font-family:PingFang-SC-Medium; | ||
238 | - font-weight:500; | ||
239 | - color:rgba(153,153,153,1); | 273 | + font-size: 26rpx; |
274 | + font-family: PingFang-SC-Medium; | ||
275 | + font-weight: 500; | ||
276 | + color: rgba(153, 153, 153, 1); | ||
240 | } | 277 | } |
241 | -.item_bottom_left{ | 278 | + |
279 | +.item_bottom_left { | ||
242 | display: flex; | 280 | display: flex; |
243 | align-items: center; | 281 | align-items: center; |
244 | - | ||
245 | } | 282 | } |
246 | -.item_bottom_left_pic{ | ||
247 | - width:22rpx; | ||
248 | - height:22rpx; | 283 | + |
284 | +.item_bottom_left_pic { | ||
285 | + width: 22rpx; | ||
286 | + height: 22rpx; | ||
249 | display: flex; | 287 | display: flex; |
250 | margin-right: 13rpx; | 288 | margin-right: 13rpx; |
251 | } | 289 | } |
252 | -.item_bottom_left_pic image{ | 290 | + |
291 | +.item_bottom_left_pic image { | ||
253 | width: 100%; | 292 | width: 100%; |
254 | height: 100%; | 293 | height: 100%; |
255 | } | 294 | } |
256 | -.item_bottom_right{ | 295 | + |
296 | +.item_bottom_right { | ||
257 | display: flex; | 297 | display: flex; |
258 | align-items: center; | 298 | align-items: center; |
259 | } | 299 | } |
260 | -.item_bottom_left_pic{ | 300 | + |
301 | +.item_bottom_left_pic { | ||
261 | margin-left: 14rpx; | 302 | margin-left: 14rpx; |
262 | - width:20rpx; | ||
263 | - height:24rpx; | 303 | + width: 20rpx; |
304 | + height: 24rpx; | ||
264 | display: flex; | 305 | display: flex; |
265 | } | 306 | } |
266 | -.item_bottom_left_pic image{ | 307 | + |
308 | +.item_bottom_left_pic image { | ||
267 | width: 100%; | 309 | width: 100%; |
268 | height: 100%; | 310 | height: 100%; |
269 | } | 311 | } |
270 | -.mask{ | 312 | + |
313 | +.mask { | ||
271 | position: fixed; | 314 | position: fixed; |
272 | top: 0; | 315 | top: 0; |
273 | right: 0; | 316 | right: 0; |
274 | bottom: 0; | 317 | bottom: 0; |
275 | left: 0; | 318 | left: 0; |
276 | - background:rgba(0,0,0,0.4); | 319 | + background: rgba(0, 0, 0, 0.4); |
277 | z-index: 666; | 320 | z-index: 666; |
278 | display: flex; | 321 | display: flex; |
279 | flex-flow: column; | 322 | flex-flow: column; |
280 | } | 323 | } |
281 | -.mask_select{ | 324 | + |
325 | +.mask_select { | ||
282 | margin: 0; | 326 | margin: 0; |
283 | - border-top: 1px solid #EBEBEB; | ||
284 | - border-bottom: 1px solid #EBEBEB; | 327 | + border-top: 1px solid #ebebeb; |
328 | + border-bottom: 1px solid #ebebeb; | ||
285 | } | 329 | } |
286 | -.area{ | 330 | + |
331 | +.area { | ||
287 | width: 686rpx; | 332 | width: 686rpx; |
288 | background: #fff; | 333 | background: #fff; |
289 | display: flex; | 334 | display: flex; |
290 | - | ||
291 | flex-wrap: wrap; | 335 | flex-wrap: wrap; |
292 | - padding: 16rpx 34rpx 200rpx 32rpx; | 336 | + padding: 16rpx 34rpx 200rpx 32rpx; |
293 | } | 337 | } |
294 | -.area_item{ | 338 | + |
339 | +.area_item { | ||
295 | display: flex; | 340 | display: flex; |
296 | flex-wrap: wrap; | 341 | flex-wrap: wrap; |
297 | } | 342 | } |
298 | -.area_item_name{ | ||
299 | - background:rgba(255,252,245,1); | ||
300 | - /* border:1px solid rgba(255,170,0,1); */ | ||
301 | - /* color: #FFAA00; */ | ||
302 | - border-radius:5rpx; | ||
303 | - | ||
304 | - margin-top:20rpx; | ||
305 | - margin-right:15rpx; | ||
306 | - box-sizing:border-box; | ||
307 | - padding:18rpx 52rpx; | ||
308 | - background:#F2F3F7; | ||
309 | - font-size:26rpx; | ||
310 | - font-family:PingFang-SC-Regular; | ||
311 | - font-weight:400; | ||
312 | - color:rgba(26,26,26,1); | ||
313 | 343 | ||
344 | +.area_item_name { | ||
345 | + background: rgba(255, 252, 245, 1); | ||
346 | + /* border:1px solid rgba(255,170,0,1); *//* color: #FFAA00; */ | ||
347 | + border-radius: 5rpx; | ||
348 | + margin-top: 20rpx; | ||
349 | + margin-right: 15rpx; | ||
350 | + box-sizing: border-box; | ||
351 | + padding: 18rpx 52rpx; | ||
352 | + background: #f2f3f7; | ||
353 | + font-size: 26rpx; | ||
354 | + font-family: PingFang-SC-Regular; | ||
355 | + font-weight: 400; | ||
356 | + color: rgba(26, 26, 26, 1); | ||
314 | } | 357 | } |
315 | -.yellow_color{ | ||
316 | - border: 1px solid rgba(255,170,0,1); | ||
317 | - color: #FFAA00; | 358 | + |
359 | +.yellow_color { | ||
360 | + border: 1px solid rgba(255, 170, 0, 1); | ||
361 | + color: #fa0; | ||
318 | } | 362 | } |
319 | -.job{ | 363 | + |
364 | +.job { | ||
320 | display: flex; | 365 | display: flex; |
321 | height: 100%; | 366 | height: 100%; |
322 | } | 367 | } |
323 | -.job_left{ | ||
324 | 368 | ||
369 | +.job_left { | ||
325 | display: flex; | 370 | display: flex; |
326 | flex-flow: column; | 371 | flex-flow: column; |
327 | background: #fff; | 372 | background: #fff; |
328 | - width:242rpx; | 373 | + width: 242rpx; |
329 | /* height:1125rpx; */ | 374 | /* height:1125rpx; */ |
330 | } | 375 | } |
331 | -.job_left_item{ | ||
332 | - font-size:26rpx; | ||
333 | - font-family:PingFang-SC-Regular; | ||
334 | - font-weight:400; | ||
335 | - color:rgba(26,26,26,1); | 376 | + |
377 | +.job_left_item { | ||
378 | + font-size: 26rpx; | ||
379 | + font-family: PingFang-SC-Regular; | ||
380 | + font-weight: 400; | ||
381 | + color: rgba(26, 26, 26, 1); | ||
336 | padding: 32rpx; | 382 | padding: 32rpx; |
337 | } | 383 | } |
338 | -.pitch_on{ | ||
339 | - color: #FFAA00; | ||
340 | - background:rgba(242,243,247,1); | 384 | + |
385 | +.pitch_on { | ||
386 | + color: #fa0; | ||
387 | + background: rgba(242, 243, 247, 1); | ||
341 | } | 388 | } |
342 | -.job_right{ | 389 | + |
390 | +.job_right { | ||
343 | flex: 1; | 391 | flex: 1; |
344 | - background: #F2F3F7; | 392 | + background: #f2f3f7; |
345 | } | 393 | } |
346 | -.job_right_items{ | 394 | + |
395 | +.job_right_items { | ||
347 | margin-top: 16rpx; | 396 | margin-top: 16rpx; |
348 | display: flex; | 397 | display: flex; |
349 | flex-wrap: wrap; | 398 | flex-wrap: wrap; |
@@ -351,132 +400,146 @@ page{ | @@ -351,132 +400,146 @@ page{ | ||
351 | padding: 0 32rpx; | 400 | padding: 0 32rpx; |
352 | } | 401 | } |
353 | 402 | ||
354 | -.job_right_item{ | ||
355 | - | 403 | +.job_right_item { |
356 | margin-top: 20rpx; | 404 | margin-top: 20rpx; |
357 | - width:208rpx; | ||
358 | - height:60rpx; | 405 | + width: 208rpx; |
406 | + height: 60rpx; | ||
359 | line-height: 60rpx; | 407 | line-height: 60rpx; |
360 | text-align: center; | 408 | text-align: center; |
361 | - background:rgba(255,255,255,1); | ||
362 | - border-radius:5rpx; | 409 | + background: rgba(255, 255, 255, 1); |
410 | + border-radius: 5rpx; | ||
363 | font-size: 26rpx; | 411 | font-size: 26rpx; |
364 | /* border: 1px solid transparent; */ | 412 | /* border: 1px solid transparent; */ |
365 | } | 413 | } |
366 | -.sort{ | 414 | + |
415 | +.sort { | ||
367 | display: flex; | 416 | display: flex; |
368 | flex-flow: column; | 417 | flex-flow: column; |
369 | background: #fff; | 418 | background: #fff; |
370 | } | 419 | } |
371 | -.sort_item{ | 420 | + |
421 | +.sort_item { | ||
372 | /* box-sizing: border-box; */ | 422 | /* box-sizing: border-box; */ |
373 | - | ||
374 | - font-size:28rpx; | ||
375 | - font-family:PingFang-SC-Regular; | ||
376 | - font-weight:400; | ||
377 | - color:rgba(51,51,51,1); | 423 | + font-size: 28rpx; |
424 | + font-family: PingFang-SC-Regular; | ||
425 | + font-weight: 400; | ||
426 | + color: rgba(51, 51, 51, 1); | ||
378 | padding: 40rpx 0; | 427 | padding: 40rpx 0; |
379 | margin: 0 32rpx; | 428 | margin: 0 32rpx; |
380 | - border-bottom: 1px solid #EBEBEB; | 429 | + border-bottom: 1px solid #ebebeb; |
381 | } | 430 | } |
382 | -.color_y{ | ||
383 | - color: #FFAA00; | 431 | + |
432 | +.color_y { | ||
433 | + color: #fa0; | ||
384 | } | 434 | } |
385 | -.screen{ | 435 | + |
436 | +.screen { | ||
386 | height: 100%; | 437 | height: 100%; |
387 | display: flex; | 438 | display: flex; |
388 | flex-flow: column; | 439 | flex-flow: column; |
389 | background: #fff; | 440 | background: #fff; |
390 | } | 441 | } |
391 | -.screen_item{ | 442 | + |
443 | +.screen_item { | ||
392 | display: flex; | 444 | display: flex; |
393 | flex-flow: column; | 445 | flex-flow: column; |
394 | padding: 40rpx 0; | 446 | padding: 40rpx 0; |
395 | margin: 0 32rpx; | 447 | margin: 0 32rpx; |
396 | - border-bottom: 1px solid #EBEBEB; | 448 | + border-bottom: 1px solid #ebebeb; |
397 | } | 449 | } |
398 | -.screen_item_top{ | ||
399 | - font-size:30rpx; | ||
400 | - font-family:PingFang-SC-Medium; | ||
401 | - font-weight:500; | ||
402 | - color:rgba(26,26,26,1); | 450 | + |
451 | +.screen_item_top { | ||
452 | + font-size: 30rpx; | ||
453 | + font-family: PingFang-SC-Medium; | ||
454 | + font-weight: 500; | ||
455 | + color: rgba(26, 26, 26, 1); | ||
403 | } | 456 | } |
404 | -.screen_item_bottom{ | 457 | + |
458 | +.screen_item_bottom { | ||
405 | display: flex; | 459 | display: flex; |
406 | flex-wrap: wrap; | 460 | flex-wrap: wrap; |
407 | justify-content: space-between; | 461 | justify-content: space-between; |
408 | } | 462 | } |
409 | -.screen_item_bottom_i{ | 463 | + |
464 | +.screen_item_bottom_i { | ||
410 | margin-top: 20rpx; | 465 | margin-top: 20rpx; |
411 | - width:156rpx; | ||
412 | - height:60rpx; | 466 | + width: 156rpx; |
467 | + height: 60rpx; | ||
413 | line-height: 60rpx; | 468 | line-height: 60rpx; |
414 | text-align: center; | 469 | text-align: center; |
415 | - background:rgba(242,243,247,1); | ||
416 | - border-radius:5rpx; | 470 | + background: rgba(242, 243, 247, 1); |
471 | + border-radius: 5rpx; | ||
417 | font-size: 26rpx; | 472 | font-size: 26rpx; |
418 | box-sizing: border-box; | 473 | box-sizing: border-box; |
419 | /* border: 1px solid transparent; */ | 474 | /* border: 1px solid transparent; */ |
420 | } | 475 | } |
421 | -.screen_bottom{ | 476 | + |
477 | +.screen_bottom { | ||
422 | display: flex; | 478 | display: flex; |
423 | position: fixed; | 479 | position: fixed; |
424 | bottom: 0; | 480 | bottom: 0; |
425 | - border-top: 1px solid #EBEBEB; | 481 | + border-top: 1px solid #ebebeb; |
426 | } | 482 | } |
427 | -.screen_bottom_left{ | ||
428 | - width:294rpx; | ||
429 | - height:80rpx; | 483 | + |
484 | +.screen_bottom_left { | ||
485 | + width: 294rpx; | ||
486 | + height: 80rpx; | ||
430 | line-height: 80rpx; | 487 | line-height: 80rpx; |
431 | text-align: center; | 488 | text-align: center; |
432 | - background:rgba(255,255,255,1); | 489 | + background: rgba(255, 255, 255, 1); |
433 | font-size: 26rpx; | 490 | font-size: 26rpx; |
434 | } | 491 | } |
435 | -.screen_bottom_right{ | ||
436 | - width:456rpx; | ||
437 | - height:80rpx; | 492 | + |
493 | +.screen_bottom_right { | ||
494 | + width: 456rpx; | ||
495 | + height: 80rpx; | ||
438 | line-height: 80rpx; | 496 | line-height: 80rpx; |
439 | text-align: center; | 497 | text-align: center; |
440 | font-size: 26rpx; | 498 | font-size: 26rpx; |
441 | color: #fff; | 499 | color: #fff; |
442 | - background:rgba(255,170,0,1); | 500 | + background: rgba(255, 170, 0, 1); |
443 | } | 501 | } |
444 | -.mask2{ | 502 | + |
503 | +.mask2 { | ||
445 | position: fixed; | 504 | position: fixed; |
446 | - width:750rpx; | ||
447 | - height:1120rpx; | ||
448 | - background:rgba(0,0,0,0.4); | 505 | + width: 750rpx; |
506 | + height: 1120rpx; | ||
507 | + background: rgba(0, 0, 0, 0.4); | ||
449 | z-index: 666; | 508 | z-index: 666; |
450 | display: flex; | 509 | display: flex; |
451 | align-items: center; | 510 | align-items: center; |
452 | justify-content: center; | 511 | justify-content: center; |
453 | } | 512 | } |
454 | -.mask2_mid{ | 513 | + |
514 | +.mask2_mid { | ||
455 | /* margin-top: 30rpx; */ | 515 | /* margin-top: 30rpx; */ |
456 | display: flex; | 516 | display: flex; |
457 | flex-flow: column; | 517 | flex-flow: column; |
458 | align-items: center; | 518 | align-items: center; |
459 | - width:686rpx; | 519 | + width: 686rpx; |
460 | /* height:1000rpx; */ | 520 | /* height:1000rpx; */ |
461 | - background:rgba(255,255,255,1); | ||
462 | - border-radius:10rpx; | 521 | + background: rgba(255, 255, 255, 1); |
522 | + border-radius: 10rpx; | ||
463 | position: relative; | 523 | position: relative; |
464 | - height:1082rpx; | ||
465 | - overflow-y: scrollc | 524 | + height: 1082rpx; |
525 | + overflow-y: scrollc; | ||
466 | } | 526 | } |
467 | -.mask2_close{ | ||
468 | - width:30rpx; | ||
469 | - height:30rpx; | 527 | + |
528 | +.mask2_close { | ||
529 | + width: 30rpx; | ||
530 | + height: 30rpx; | ||
470 | display: flex; | 531 | display: flex; |
471 | position: absolute; | 532 | position: absolute; |
472 | top: 29rpx; | 533 | top: 29rpx; |
473 | right: 29rpx; | 534 | right: 29rpx; |
474 | } | 535 | } |
475 | -.mask2_close image{ | 536 | + |
537 | +.mask2_close image { | ||
476 | width: 100%; | 538 | width: 100%; |
477 | height: 100%; | 539 | height: 100%; |
478 | } | 540 | } |
479 | -.mask2_mid_top{ | 541 | + |
542 | +.mask2_mid_top { | ||
480 | width: 100%; | 543 | width: 100%; |
481 | margin-top: 51rpx; | 544 | margin-top: 51rpx; |
482 | display: flex; | 545 | display: flex; |
@@ -484,27 +547,30 @@ page{ | @@ -484,27 +547,30 @@ page{ | ||
484 | align-items: center; | 547 | align-items: center; |
485 | /* justify-content: center; */ | 548 | /* justify-content: center; */ |
486 | } | 549 | } |
487 | -.mask2_mid_top_big{ | ||
488 | - font-size:40rpx; | ||
489 | - font-family:PingFang-SC-Bold; | ||
490 | - font-weight:bold; | ||
491 | - color:rgba(26,26,26,1); | 550 | + |
551 | +.mask2_mid_top_big { | ||
552 | + font-size: 40rpx; | ||
553 | + font-family: PingFang-SC-Bold; | ||
554 | + font-weight: bold; | ||
555 | + color: rgba(26, 26, 26, 1); | ||
492 | } | 556 | } |
493 | -.mask2_mid_top_small{ | 557 | + |
558 | +.mask2_mid_top_small { | ||
494 | margin-top: 32rpx; | 559 | margin-top: 32rpx; |
495 | - font-size:26rpx; | ||
496 | - font-family:PingFang-SC-Medium; | ||
497 | - font-weight:500; | ||
498 | - color:rgba(102,102,102,1); | 560 | + font-size: 26rpx; |
561 | + font-family: PingFang-SC-Medium; | ||
562 | + font-weight: 500; | ||
563 | + color: rgba(102, 102, 102, 1); | ||
499 | } | 564 | } |
500 | -.mask2_mid_underline{ | 565 | + |
566 | +.mask2_mid_underline { | ||
501 | margin-top: 30rpx; | 567 | margin-top: 30rpx; |
502 | - width:592rpx; | ||
503 | - height:1px; | ||
504 | - background:rgba(235,235,235,1); | 568 | + width: 592rpx; |
569 | + height: 1px; | ||
570 | + background: rgba(235, 235, 235, 1); | ||
505 | } | 571 | } |
506 | 572 | ||
507 | -.mask2_item{ | 573 | +.mask2_item { |
508 | width: 100%; | 574 | width: 100%; |
509 | height: 100rpx; | 575 | height: 100rpx; |
510 | display: flex; | 576 | display: flex; |
@@ -513,146 +579,175 @@ page{ | @@ -513,146 +579,175 @@ page{ | ||
513 | box-sizing: border-box; | 579 | box-sizing: border-box; |
514 | /* padding: 35rpx 47rpx; */ | 580 | /* padding: 35rpx 47rpx; */ |
515 | padding: 0 47rpx; | 581 | padding: 0 47rpx; |
516 | - border-bottom: 1px solid #EBEBEB; | 582 | + border-bottom: 1px solid #ebebeb; |
517 | } | 583 | } |
518 | -.mask2_item_left{ | ||
519 | - font-size:30rpx; | ||
520 | - font-family:PingFang-SC-Medium; | ||
521 | - font-weight:500; | ||
522 | - color:rgba(102,102,102,1); | ||
523 | 584 | ||
585 | +.mask2_item_left { | ||
586 | + font-size: 30rpx; | ||
587 | + font-family: PingFang-SC-Medium; | ||
588 | + font-weight: 500; | ||
589 | + color: rgba(102, 102, 102, 1); | ||
524 | } | 590 | } |
525 | -.mask2_item_right{ | ||
526 | - font-size:30rpx; | ||
527 | - font-family:PingFang-SC-Medium; | ||
528 | - font-weight:500; | ||
529 | - color:rgba(26,26,26,1); | 591 | + |
592 | +.mask2_item_right { | ||
593 | + font-size: 30rpx; | ||
594 | + font-family: PingFang-SC-Medium; | ||
595 | + font-weight: 500; | ||
596 | + color: rgba(26, 26, 26, 1); | ||
530 | } | 597 | } |
531 | -.mask2_item_select{ | 598 | + |
599 | +.mask2_item_select { | ||
532 | display: flex; | 600 | display: flex; |
533 | } | 601 | } |
534 | -.mask2_select_left{ | ||
535 | - width:70rpx; | ||
536 | - height:44rpx; | 602 | + |
603 | +.mask2_select_left { | ||
604 | + width: 70rpx; | ||
605 | + height: 44rpx; | ||
537 | line-height: 44rpx; | 606 | line-height: 44rpx; |
538 | text-align: center; | 607 | text-align: center; |
539 | - border: 1px solid #FFAA00; | ||
540 | - border-radius:22rpx 0rpx 0rpx 22rpx; | ||
541 | - | ||
542 | - font-size:26rpx; | ||
543 | - font-family:PingFang-SC-Medium; | ||
544 | - font-weight:500; | ||
545 | - color:rgba(255,170,0,1); | 608 | + border: 1px solid #fa0; |
609 | + border-radius: 22rpx 0rpx 0rpx 22rpx; | ||
610 | + font-size: 26rpx; | ||
611 | + font-family: PingFang-SC-Medium; | ||
612 | + font-weight: 500; | ||
613 | + color: rgba(255, 170, 0, 1); | ||
546 | } | 614 | } |
547 | -.mask2_select_right{ | ||
548 | - width:70rpx; | ||
549 | - height:44rpx; | 615 | + |
616 | +.mask2_select_right { | ||
617 | + width: 70rpx; | ||
618 | + height: 44rpx; | ||
550 | line-height: 44rpx; | 619 | line-height: 44rpx; |
551 | text-align: center; | 620 | text-align: center; |
552 | - border: 1px solid #FFAA00; | ||
553 | - border-radius:0rpx 22rpx 22rpx 0rpx; | ||
554 | - | ||
555 | - font-size:26rpx; | ||
556 | - font-family:PingFang-SC-Medium; | ||
557 | - font-weight:500; | ||
558 | - color:rgba(255,170,0,1); | 621 | + border: 1px solid #fa0; |
622 | + border-radius: 0rpx 22rpx 22rpx 0rpx; | ||
623 | + font-size: 26rpx; | ||
624 | + font-family: PingFang-SC-Medium; | ||
625 | + font-weight: 500; | ||
626 | + color: rgba(255, 170, 0, 1); | ||
559 | } | 627 | } |
560 | -.color_select{ | ||
561 | - background: #FFAA00; | 628 | + |
629 | +.color_select { | ||
630 | + background: #fa0; | ||
562 | color: #fff; | 631 | color: #fff; |
563 | } | 632 | } |
564 | -.mask2_item_date{ | 633 | + |
634 | +.mask2_item_date { | ||
565 | display: flex; | 635 | display: flex; |
566 | align-items: center; | 636 | align-items: center; |
567 | } | 637 | } |
568 | 638 | ||
569 | -.mask2_item_date_text{ | ||
570 | - font-size:30rpx; | ||
571 | - font-family:PingFang-SC-Medium; | ||
572 | - font-weight:500; | ||
573 | - color:rgba(26,26,26,1); | ||
574 | - | 639 | +.mask2_item_date_text { |
640 | + font-size: 30rpx; | ||
641 | + font-family: PingFang-SC-Medium; | ||
642 | + font-weight: 500; | ||
643 | + color: rgba(26, 26, 26, 1); | ||
575 | } | 644 | } |
576 | -.mask2_item_date_icon{ | 645 | + |
646 | +.mask2_item_date_icon { | ||
577 | margin-left: 25rpx; | 647 | margin-left: 25rpx; |
578 | - width:12rpx; | ||
579 | - height:20rpx; | 648 | + width: 12rpx; |
649 | + height: 20rpx; | ||
580 | display: flex; | 650 | display: flex; |
581 | } | 651 | } |
582 | -.mask2_item_date_icon image{ | 652 | + |
653 | +.mask2_item_date_icon image { | ||
583 | width: 100%; | 654 | width: 100%; |
584 | height: 100%; | 655 | height: 100%; |
585 | } | 656 | } |
586 | -.mask2_item input{ | 657 | + |
658 | +.mask2_item input { | ||
587 | height: 30rpx; | 659 | height: 30rpx; |
588 | - font-size:30rpx; | ||
589 | - font-family:PingFang-SC-Medium; | ||
590 | - font-weight:500; | 660 | + font-size: 30rpx; |
661 | + font-family: PingFang-SC-Medium; | ||
662 | + font-weight: 500; | ||
591 | /* color:rgba(153,153,153,1); */ | 663 | /* color:rgba(153,153,153,1); */ |
592 | text-align: right; | 664 | text-align: right; |
593 | } | 665 | } |
594 | -.bottom{ | 666 | + |
667 | +.bottom { | ||
595 | margin: 12rpx 0; | 668 | margin: 12rpx 0; |
596 | - width:592rpx; | ||
597 | - height:80rpx; | 669 | + width: 592rpx; |
670 | + height: 80rpx; | ||
598 | line-height: 80rpx; | 671 | line-height: 80rpx; |
599 | text-align: center; | 672 | text-align: center; |
600 | - background:rgba(255,129,44,1); | ||
601 | - border-radius:5rpx; | ||
602 | - | ||
603 | - | ||
604 | - font-size:28rpx; | ||
605 | - font-family:PingFang-SC-Medium; | ||
606 | - font-weight:500; | ||
607 | - color:rgba(255,255,255,1); | 673 | + background: rgba(255, 129, 44, 1); |
674 | + border-radius: 5rpx; | ||
675 | + font-size: 28rpx; | ||
676 | + font-family: PingFang-SC-Medium; | ||
677 | + font-weight: 500; | ||
678 | + color: rgba(255, 255, 255, 1); | ||
608 | } | 679 | } |
680 | + | ||
609 | /* swiper */ | 681 | /* swiper */ |
610 | -.swriper{ | 682 | + |
683 | +.swriper { | ||
611 | display: block; | 684 | display: block; |
612 | height: 220rpx; | 685 | height: 220rpx; |
613 | } | 686 | } |
614 | -.slide-image{ | 687 | + |
688 | +.slide-image { | ||
615 | width: 750rpx; | 689 | width: 750rpx; |
616 | height: 220rpx; | 690 | height: 220rpx; |
617 | } | 691 | } |
618 | -.dots{ | ||
619 | -/* width: 156rpx; */ | ||
620 | -height: 36rpx; | ||
621 | -display: flex; | ||
622 | -flex-direction: row; | ||
623 | -position: absolute; | ||
624 | -left: 249rpx; | ||
625 | -bottom: 12rpx; | ||
626 | -} | ||
627 | -/*未选中时的小圆点样式 */ | ||
628 | -.dot{ | ||
629 | -width: 16rpx; | ||
630 | -height: 16rpx; | ||
631 | -border-radius: 50%; | ||
632 | -margin-right: 26rpx; | ||
633 | -background-color:#B9C0F7; | ||
634 | -} | 692 | + |
635 | /*选中以后的小圆点样式 */ | 693 | /*选中以后的小圆点样式 */ |
636 | -.active{ | ||
637 | - color: #FFAA00; | 694 | + |
695 | +.active { | ||
696 | + color: #fa0; | ||
638 | } | 697 | } |
639 | -.workexperience{ | 698 | + |
699 | +.workexperience { | ||
640 | /* /* width:300rpx; */ | 700 | /* /* width:300rpx; */ |
641 | - width:492rpx; | ||
642 | - height:200rpx; | ||
643 | - font-size:30rpx; | ||
644 | - font-family:PingFang-SC-Medium; | 701 | + width: 492rpx; |
702 | + height: 200rpx; | ||
703 | + font-size: 30rpx; | ||
704 | + font-family: PingFang-SC-Medium; | ||
645 | /* font-weight:500; */ | 705 | /* font-weight:500; */ |
646 | - color:rgba(102,102,102,1); | 706 | + color: rgba(102, 102, 102, 1); |
647 | padding: 30rpx; | 707 | padding: 30rpx; |
648 | - box-sizing: border-box | ||
649 | - | 708 | + box-sizing: border-box; |
650 | } | 709 | } |
651 | -.workexper{ | ||
652 | - margin-top:30rpx; | 710 | + |
711 | +.workexper { | ||
712 | + margin-top: 30rpx; | ||
653 | } | 713 | } |
654 | -.mask1{ | ||
655 | - display:flex; | 714 | + |
715 | +.mask1 { | ||
716 | + display: flex; | ||
656 | justify-content: space-between; | 717 | justify-content: space-between; |
657 | /* border-bottom:1rpx solid #f5f5f5; */ | 718 | /* border-bottom:1rpx solid #f5f5f5; */ |
658 | -} | ||
719 | +} | ||
720 | + | ||
721 | +.banner_box { | ||
722 | + position: relative; | ||
723 | +} | ||
724 | + | ||
725 | +.dots { | ||
726 | + width: 100%; | ||
727 | + display: flex; | ||
728 | + flex-direction: row; | ||
729 | + position: absolute; | ||
730 | + /* left: 249rpx; */ | ||
731 | + bottom: 12rpx; | ||
732 | + justify-content: center; | ||
733 | +} | ||
734 | + | ||
735 | +/*未选中时的小圆点样式 */ | ||
736 | + | ||
737 | +.dot { | ||
738 | + width: 30rpx; | ||
739 | + height: 4rpx; | ||
740 | + background: rgba(255, 255, 255, 0.5); | ||
741 | + margin-left: 8rpx; | ||
742 | +} | ||
743 | +.dot:first-child{ | ||
744 | + margin-left: 0; | ||
745 | +} | ||
746 | + | ||
747 | +/*选中以后的小圆点样式 */ | ||
748 | + | ||
749 | +.dotactive { | ||
750 | + width: 30rpx; | ||
751 | + height: 4rpx; | ||
752 | + background: rgba(255, 255, 255, 1); | ||
753 | +} |
@@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
14 | </view> | 14 | </view> |
15 | 15 | ||
16 | <!-- 右边 --> | 16 | <!-- 右边 --> |
17 | - <view class='head_top_right'> | 17 | + <view class='head_top_right' bindtap='financial_record'> |
18 | <!-- 账单图片 --> | 18 | <!-- 账单图片 --> |
19 | <view class='head_top_right_pic'> | 19 | <view class='head_top_right_pic'> |
20 | <image src='../../img/aicon_34@2x.png'></image> | 20 | <image src='../../img/aicon_34@2x.png'></image> |
@@ -65,8 +65,17 @@ Page({ | @@ -65,8 +65,17 @@ Page({ | ||
65 | let collecttype='' | 65 | let collecttype='' |
66 | if(type==0){ | 66 | if(type==0){ |
67 | collecttype=1 | 67 | collecttype=1 |
68 | + wx.showToast({ | ||
69 | + title: '收藏成功', | ||
70 | + icon: 'none', | ||
71 | + }) | ||
72 | + | ||
68 | }else{ | 73 | }else{ |
69 | collecttype = 2 | 74 | collecttype = 2 |
75 | + wx.showToast({ | ||
76 | + title: '取消成功', | ||
77 | + icon: 'none', | ||
78 | + }) | ||
70 | } | 79 | } |
71 | var url = 'index/collect/index'; | 80 | var url = 'index/collect/index'; |
72 | var params = { | 81 | var params = { |
@@ -13,9 +13,11 @@ Page({ | @@ -13,9 +13,11 @@ Page({ | ||
13 | * 生命周期函数--监听页面加载 | 13 | * 生命周期函数--监听页面加载 |
14 | */ | 14 | */ |
15 | 15 | ||
16 | - toPosition() { | 16 | + toPosition(e) { |
17 | + console.log(e) | ||
18 | + let id = e.currentTarget.dataset.id | ||
17 | wx.navigateTo({ | 19 | wx.navigateTo({ |
18 | - url: '/pages/positionDetails/positionDetails', | 20 | + url: '/pages/positionDetails/positionDetails?id=' +id, |
19 | }) | 21 | }) |
20 | }, | 22 | }, |
21 | // 跳转招聘者信息 | 23 | // 跳转招聘者信息 |
@@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
5 | <view class='underline'></view> | 5 | <view class='underline'></view> |
6 | <!-- 条目 --> | 6 | <!-- 条目 --> |
7 | <view class='items'> | 7 | <view class='items'> |
8 | - <view class='item' bindtap='toPosition' wx:for='{{record}}' wx:key=''> | 8 | + <view class='item' bindtap='toPosition' wx:for='{{record}}' wx:key='' data-id='{{item.id}}'> |
9 | <!-- 头部 --> | 9 | <!-- 头部 --> |
10 | <view class='item_top'> | 10 | <view class='item_top'> |
11 | <view class='item_top_left'> | 11 | <view class='item_top_left'> |
@@ -9,6 +9,13 @@ Page({ | @@ -9,6 +9,13 @@ Page({ | ||
9 | collect: '', | 9 | collect: '', |
10 | }, | 10 | }, |
11 | 11 | ||
12 | + toPosition(e) { | ||
13 | + console.log(e) | ||
14 | + let id = e.currentTarget.dataset.id | ||
15 | + wx.navigateTo({ | ||
16 | + url: '/pages/positionDetails/positionDetails?id=' + id, | ||
17 | + }) | ||
18 | + }, | ||
12 | /** | 19 | /** |
13 | * 生命周期函数--监听页面加载 | 20 | * 生命周期函数--监听页面加载 |
14 | */ | 21 | */ |
@@ -81,10 +88,6 @@ Page({ | @@ -81,10 +88,6 @@ Page({ | ||
81 | collect: res.data | 88 | collect: res.data |
82 | }) | 89 | }) |
83 | 90 | ||
84 | - | ||
85 | - | ||
86 | - | ||
87 | - | ||
88 | }).catch((err) => { | 91 | }).catch((err) => { |
89 | 92 | ||
90 | }) | 93 | }) |
@@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
6 | <view class='underline'></view> | 6 | <view class='underline'></view> |
7 | <!-- 条目 --> | 7 | <!-- 条目 --> |
8 | <view class='items'> | 8 | <view class='items'> |
9 | - <view class='item' wx:for='{{collect}}' wx:key=''> | 9 | + <view class='item' bindtap='toPosition' wx:for='{{collect}}' wx:key='' data-id='{{item.id}}'> |
10 | <!-- 头部 --> | 10 | <!-- 头部 --> |
11 | <view class='item_top'> | 11 | <view class='item_top'> |
12 | <view class='item_top_left'> | 12 | <view class='item_top_left'> |
@@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
19 | </view> | 19 | </view> |
20 | </view> | 20 | </view> |
21 | 21 | ||
22 | - <view class='item_top_right' bindtap='toApply' data-id='{{item.id}}'> | 22 | + <view class='item_top_right' catchtap='toApply' data-id='{{item.id}}'> |
23 | 报名 | 23 | 报名 |
24 | </view> | 24 | </view> |
25 | </view> | 25 | </view> |
-
请 注册 或 登录 后发表评论