index.wxml
12.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
<!--pages/index/index.wxml-->
<view class='container'>
<view class='top'>
<!-- 左边地区 -->
<!-- <view class='top_left' bindtap="gocity">
<view class='top_left_text'>{{city}}</view>
<view class='top_left_img'>
<image src='/img/aicon_01@2x.png'></image>
</view>
</view> -->
<!-- 右边搜索框 -->
<view class='top_right' bindtap='toSearch'>
<view class='top_right_pic'>
<image src='/img/aicon_02@2x.png'></image>
</view>
<view class='top_right_text'>搜索岗位/招聘者</view>
</view>
</view>
<!-- 中部选择 -->
<view class='mid'>
<view class='mid_list' bindtap='atHome' data-cla='{{item.categories_name}}' data-id='{{item.id}}' wx:for='{{category}}' wx:key=''>
<!-- 图片 -->
<view class='mid_list_top'>
<image src='{{item.thumbnail}}'></image>
</view>
<!-- 底部文字 -->
<view class='mid_list_bottom'>
{{item.categories_name}}
</view>
</view>
<!-- <view class='mid_list' bindtap='atHome'>
<view class='mid_list_top'>
<image src='/img/aicon_03@2x.png'></image>
</view>
<view class='mid_list_bottom'>
在家可做
</view>
</view>
<view class='mid_list' bindtap='goodWord'>
<view class='mid_list_top'>
<image src='/img/aicon_05@2x.png'></image>
</view>
<view class='mid_list_bottom'>
好评工作
</view>
</view>
<view class='mid_list' bindtap='hotRecommend'>
<view class='mid_list_top'>
<image src='/img/aicon_04@2x.png'></image>
</view>
<view class='mid_list_bottom'>
热门推荐
</view>
</view>
<view class='mid_list' bindtap='easyPart'>
<view class='mid_list_top'>
<image src='/img/aicon_06@2x.png'></image>
</view>
<view class='mid_list_bottom'>
轻松兼职
</view>
</view> -->
</view>
<!-- 轮播图 -->
<!-- <view class='banner'>
<image src='/img/aicon_07@2x.png'></image>
</view> -->
<view class='banner_box'>
<swiper class='banner' indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-color="{{indicatorColor}}" indicator-active-color="{{indicatorActiveColor}}" bindchange="swiperChange" circular="true">
<block wx:for="{{slide}}" wx:key=''>
<swiper-item>
<image src="{{item.image}}" class="slide-image" data-tourl="{{item.url}}" bindtap='toUrl' />
</swiper-item>
</block>
</swiper>
<view class="dots">
<block wx:for="{{slide}}" wx:key="">
<view class="dot{{index == currentSwiper ? ' dotactive' : ''}}"></view>
</block>
</view>
</view>
<!-- 筛选 -->
<view class='select'>
<!-- <view class='select_list' bindtap='mask_show' data-idx="0">
<view>地区</view>
<view class='select_list_pic'>
<image src='/img/aicon_11@2x.png'></image>
</view>
</view> -->
<view class='select_list' bindtap='mask_show' data-idx="0">
<view>岗位</view>
<view class='select_list_pic'>
<image src='/img/aicon_11@2x.png'></image>
</view>
</view>
<view class='select_list' bindtap='mask_show' data-idx="1">
<view>推荐排序</view>
<view class='select_list_pic'>
<image src='/img/aicon_11@2x.png'></image>
</view>
</view>
<view class='select_list' bindtap='mask_show' data-idx="2">
<view>筛选</view>
<view class='select_list_pic_big'>
<image src='/img/aicon_12@2x.png'></image>
</view>
</view>
</view>
<!-- 条目 -->
<view class='items'>
<view class='item' bindtap='toPosition' wx:for='{{jobs}}' wx:key='' data-id="{{item.id}}">
<!-- 头部 -->
<view class='item_top'>
<view class='item_top_left'>
<view class='item_top_left_pic'>
<image src='{{item.logo}}'></image>
</view>
<view class='item_top_left_text'>
<view class='text_top'>{{item.station_name}}</view>
<view class='text_bottom'>{{item.min_money}}-{{item.max_money}}{{item.unit_name}}</view>
</view>
</view>
<!-- <view class='item_top_right' catchtap='toApply' data-id="{{item.id}}" wx:if="{{item.is_apply==0}}">
报名
</view>
<view class='item_top_right' wx:else>
已报名
</view> -->
</view>
<!-- 底部 -->
<view class='item_bottom'>
<view class='item_bottom_left' bindtap='toRecruiter' data-user_id="{{item.user_id}}" data-jobid="{{item.id}}">
<view class='item_bottom_left_pic'>
<image src='/img/aicon_10@2x.png'></image>
</view>
<!-- 名字 -->
<view>{{item.resume_name}}</view>
<view class="signname">报名人数:{{item.apply}}</view>
</view>
<!-- <view class='item_bottom_right'>
<view class='item_bottom_left_pic'>
<image src='/img/aicon_09@2x.png'></image>
</view>
<view>{{item.work_county}} {{item.distance}}</view>
</view> -->
</view>
</view>
</view>
<!------- 筛选弹层------->
<view class='mask' wx:if='{{mask}}' bindtap='mask_close'>
<view class="select mask_select">
<view wx:for="{{navbar}}" data-idx="{{index}}" class="select_list {{currentTab==index ? 'active' : ''}}" wx:key="unique" catchtap="navbarTap" data-categoryid="{{item.id}}">{{item.name}}
<view class='select_pic'>
<image src="{{currentTab==index?item.img1:item.img}}"></image>
<!-- <image src='../../img/aicon_11@2x.png'></image> -->
</view>
</view>
</view>
<!-- 地区内容 -->
<!-- <view class='area' wx:if="{{currentTab==0}}">
<view class="area_item">
<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}}
</view>
</view>
</view> -->
<!-- 岗位内容 -->
<view class='job' wx:if="{{currentTab==0}}">
<!-- 左侧内容 -->
<view class="job_left">
<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}}
</view>
</view>
<view class='job_right'>
<view class='job_right_items'>
<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}}
</view>
</view>
</view>
</view>
<!-- 推荐排序 -->
<view class='sort' wx:if="{{currentTab==1}}">
<view wx:for="{{sortbar}}" data-idsort="{{index}}" class="sort_item {{sortTab==index ? 'color_y' : ''}}" wx:key="unique" catchtap="sort_Tap" data-orderid="{{item.id}}">{{item.sort}}
</view>
</view>
<!-- 筛选 -->
<view class='screen' wx:if="{{currentTab==2}}">
<view class='screen_item'>
<view class='screen_item_top'> 学历要求
<view class="screen_item_bottom">
<view wx:for="{{education_1}}" data-idscreen="{{index}}" class="screen_item_bottom_i {{screenTab==index ? 'yellow_color' : ''}}" wx:key="unique" catchtap="screen_Tap" data-eduid="{{item.id}}">{{item.education_name}}
</view>
</view>
</view>
</view>
<!-- 酬薪范围 -->
<view class='screen_item'>
<view class='screen_item_top'> 酬薪范围
<view class="screen_item_bottom">
<view wx:for="{{salary_1}}" data-idscope="{{index}}" class="screen_item_bottom_i {{scopeTab==index ? 'yellow_color' : ''}}" wx:key="unique" catchtap="scope_Tap" data-id="{{item.id}}">{{item.salary_name}}
</view>
</view>
</view>
</view>
<!-- 底部按钮 -->
<view class='screen_bottom'>
<view class='screen_bottom_left' bindtap='toReset'>重置</view>
<view class='screen_bottom_right' catchtap='toConfirm'>确认</view>
</view>
</view>
</view>
<!-- 简历遮盖层 -->
<view class='mask2' wx:if="{{myResume}}">
<view class='mask2_mid'>
<!-- 关闭 -->
<view class='mask2_close' bindtap='closeResume'>
<image src='../../img/aicon_47@2x.png'></image>
</view>
<view class='mask2_mid_top'>
<view class='mask2_mid_top_big'>我的简历</view>
<view class='mask2_mid_top_small'>亲,您需要完善您的简历,才能报名哦!</view>
</view>
<!-- 下划线 -->
<view class='mask2_mid_underline'></view>
<!-- 真实姓名 -->
<view class='mask2_item'>
<view class='mask2_item_left'>真实姓名</view>
<!-- <view class='mask2_item_right'>{{resume.user_nickname}}</view> -->
<input class='mask2_item_right' placeholder='请输入姓名' bindinput='realName' value='{{resume_name}}'></input>
</view>
<!-- 性别 -->
<view class='mask2_item'>
<view class='mask2_item_left'>性别</view>
<view class='mask2_item_select'>
<view class='mask2_select_left {{gender==true?"color_select":""}}' bindtap='switch_a'>男</view>
<view class='mask2_select_right {{gender==false?"color_select":""}}' bindtap='switch_a'>女</view>
</view>
</view>
<!-- 手机号 -->
<view class='mask2_item'>
<view class='mask2_item_left'>手机号</view>
<input class='mask2_item_right' placeholder='请输入手机号' bindinput='realMobile' value='{{resume_mobile}}'></input>
</view>
<!-- 出生日期 -->
<view class='mask2_item birth'>
<view class='mask2_item_left'>出生日期</view>
<picker mode="date" value="{{date}}" bindchange="bindDateChange">
<view class="mask2_item_date">
<view class='mask2_item_date_text'>{{resume_birthday}}</view>
<view class='mask2_item_date_icon'>
<image src='../../img/right.png'></image>
</view>
</view>
</picker>
</view>
<!-- 家乡 -->
<view class='mask2_item'>
<view class='mask2_item_left'>家乡</view>
<input placeholder='请输入您的家乡' bindinput='realHome' value='{{resume_home}}'></input>
</view>
<!-- 最高学历 -->
<view class='mask2_item birth'>
<view class='mask2_item_left'>学历</view>
<picker bindchange="bindEdu" value="{{eduIndex}}" range="{{edu}}" range-key='education_name'>
<view class='mask2_item_date'>
<!-- {{edu[eduIndex].education_name}} -->
<view class='mask2_item_date_text'>{{education_name}}</view>
<view class='mask2_item_date_icon'>
<image src='../../img/right.png'></image>
</view>
</view>
</picker>
</view>
<!-- 工作年限 -->
<view class='mask2_item birth'>
<view class='mask2_item_left'>工作年限</view>
<picker bindchange="bindYear" value="{{yearIndex}}" range="{{year}}">
<view class='mask2_item_date'>
<!-- year[yearIndex] -->
<view class='mask2_item_date_text'>{{yearname}}</view>
<view class='mask2_item_date_icon'>
<image src='../../img/right.png'></image>
</view>
</view>
</picker>
</view>
<!-- 工作经验 -->
<!-- <view class='mask2_item'>
<view class='mask2_item_left'>工作经验</view>
<input placeholder='请输入工作经验' bindinput='workexperience' value='{{resume_exp}}'></input>
</view> -->
<view class='mask2_item'>
<view class='mask2_item_left'>简介</view>
<input placeholder='请输入简介' bindinput='workbrief' value='{{resume_brief}}'></input>
</view>
<!-- 是否在职 -->
<view class='mask2_item'>
<view class='mask2_item_left'>是否在职</view>
<view class='mask2_item_select'>
<view class='mask2_select_left {{status==true?"color_select":""}}' bindtap='switch_b'>在职</view>
<view class='mask2_select_right {{status==false?"color_select":""}}' bindtap='switch_b'>离职</view>
</view>
</view>
<!-- 完成按钮 -->
<view class='bottom' bindtap='saveResume'>
完成
</view>
</view>
</view>
</view>