publish.wxml
11.7 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
<view class='container'>
<view class='items'>
<view class='item'>
<view class='item_left'>岗位分类</view>
<picker bindchange="jobClass" value="{{jobIndex}}" range="{{array}}" range-key='categories_name' data-id='{{item.id}}'>
<view class='item_right'>
<view class="item_right_text">
<!-- {{array[jobIndex].categories_name}} -->
{{categories_name}}
</view>
<view class='item_right_icon'>
<image src='../../img/right.png'></image>
</view>
</view>
</picker>
</view>
<view class='item' wx:if="{{categories_id==5}}">
<view class='item_left'>选择行业</view>
<picker bindchange="industryClass" value="{{industryIndex}}" range="{{industry}}" range-key='industry_name'>
<view class='item_right'>
<view class="item_right_text">
<!-- {{industry[industryIndex].industry_name}} -->
{{hangye}}
</view>
<view class='item_right_icon'>
<image src='../../img/right.png'></image>
</view>
</view>
</picker>
</view>
<!-- <view class='item hangye' wx:else>
<view class='item_left'>输入行业</view>
<view class='item_right'>
<view class="item_right_text ">
<input placeholder='请输入行业' bindinput="enterhangye"/>
</view>
</view>
</view> -->
<view class='item' wx:if="{{categories_id==5}}">
<view class='item_left'>选择岗位</view>
<picker bindchange="postClass" value="{{postIndex}}" range="{{post}}" range-key='station_name'>
<view class='item_right'>
<view class="item_right_text">
<!-- {{post[postIndex].station_name}} -->
{{gangwei}}
</view>
<view class='item_right_icon'>
<image src='../../img/right.png'></image>
</view>
</view>
</picker>
</view>
<view class='item hangye' wx:else>
<view class='item_left'>输入岗位</view>
<view class='item_right'>
<view class="item_right_text">
<!-- {{post[postIndex].station_name}} -->
<input placeholder='请输入岗位' bindinput="entergangwei" />
</view>
<!-- <view class='item_right_icon'>
<image src='../../img/right.png'></image>
</view> -->
</view>
</view>
<!-- 企业logo -->
<view class='item logo'>
<view class='item_left'>企业logo</view>
<!-- logo图片 -->
<view class='pic_box'>
<view class="btn-file">
<image src="{{logoitem?logoitem:'../../img/btn-file.png'}}" data-src="{{item}}" bindtap="chooseImage" />
<!-- 删除按钮 -->
<!-- <view class="delete" bindtap="delete" data-index="{{index}}">
<image src='../../img/icon.png'></image>
</view> -->
</view>
<!-- <view class='gallery_pic' bindtap='chooseImage'>
<image src='../../img/btn-file.png'></image>
</view> -->
</view>
</view>
<!-- banner -->
<view class='item banner'>
<view class='item_left'>banner</view>
<!-- logo图片 -->
<view class='pic_banner '>
<view class="banner_small">
<image src="{{banneritem?banneritem:'../../img/btn-file.png'}}" data-src="{{item}}" bindtap="chooseImage2" />
<!-- 删除按钮 -->
<!-- <view class="delete" bindtap="delete2" data-index="{{index}}">
<image src='../../img/icon.png'></image>
</view> -->
</view>
<!-- <view class='banner_pic' bindtap='chooseImage2'>
<image src='../../img/btn-file.png'></image>
</view> -->
</view>
</view>
<!-- 输入工资 -->
<view class='item'>
<view class='item_left entergongzi'>输入工资</view>
<view class='item_right salary'>
<!-- 酬薪范围与固定薪资切换 -->
<!-- <view class='item_right_top'>
<view class='item_right_top_left {{status==true?"color_y":""}}' bindtap='switch_a'>酬薪范围</view>
<view class='item_right_top_right {{status==false?"color_y":""}}' bindtap='switch_a'>固定薪资</view>
</view> -->
<!-- 范围 -->
<view class='item_right_bottom' wx:if="{{status}}">
<input class='item_right_bottom_i' bindinput='minMoney' placeholder='最低' type="number">
</input>
<!-- 箭头 -->
<view class='item_arrowsR'>
<image src='../../img/arrowsR.png'></image>
</view>
<input class='item_right_bottom_i' bindinput='maxMoney' placeholder='最高' type="number">
</input>
<!-- 元/月 -->
<picker bindchange="binddanweirChange" value="{{index}}" range="{{danweiarray}}" range-key='unit_name'>
<view class='item_right_bottom_money'>
{{danweiarray[danindex].unit_name}}
<view class='bottom_money_icon'>
<image src='../../img/aicon_01@2x.png'></image>
</view>
</view>
</picker>
</view>
<view class='item_right_bottom' wx:else>
<input class='item_right_bottom_i' bindinput='guminMoney' placeholder='固定' type="number">
</input>
<!-- 箭头 -->
<view class='item_arrowsR'>
<!-- <image src='../../img/arrowsR.png'></image> -->
</view>
<input class='item_right_bottom_i1' bindinput=''>
</input>
<!-- <view class='item_right_bottom_money'>
元/月
<view class='bottom_money_icon'>
<image src='../../img/aicon_01@2x.png'></image>
</view>
</view> -->
<picker bindchange="binddanweirChange" value="{{index}}" range="{{danweiarray}}" range-key="unit_name">
<view class='item_right_bottom_money'>
{{danweiarray[danindex].unit_name}}
<view class='bottom_money_icon'>
<image src='../../img/aicon_01@2x.png'></image>
</view>
</view>
</picker>
</view>
</view>
</view>
<!-- 选择学历 -->
<view class='item' wx:if="{{categories_id==5}}">
<view class='item_left'>选择学历</view>
<picker bindchange="selectEdu" value="{{eduIndex}}" range="{{edu}}" range-key='education_name'>
<view class='item_right'>
<view class="item_right_text">
{{eduname}}
</view>
<view class='item_right_icon'>
<image src='../../img/right.png'></image>
</view>
</view>
</picker>
</view>
<!-- 选择性别 -->
<view class='item' wx:if="{{categories_id==5}}">
<view class='item_left'>选择性别</view>
<picker bindchange="selectsex" value="{{sexindex}}" range="{{sex}}" range-key='name'>
<view class='item_right'>
<view class="item_right_text">
{{sexname}}
</view>
<view class='item_right_icon'>
<image src='../../img/right.png'></image>
</view>
</view>
</picker>
</view>
<!-- 发布时间 -->
<!-- <view class='item'>
<view class='item_left'>发布时间</view>
<view class='item_right releaseTime'>
<picker mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" data-id="1" value="{{multiIndex}}" range="{{multiArray}}">
<view class='item_right_rel'>
<view>{{time}}</view>
<view class='item_right_rel_icon'>
<image src='../../img/aicon_01@2x.png'></image>
</view>
</view>
</picker>
<view class='item_right_arrowsB'>
<image src='../../img/arrowsB.png'></image>
</view>
<picker mode="multiSelector" data-id="2" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}">
<view class='item_right_rel'>
<view>{{endtime}}</view>
<view class='item_right_rel_icon'>
<image src='../../img/aicon_01@2x.png'></image>
</view>
</view>
</picker>
</view>
</view> -->
<!-- 选工作地点 -->
<view class='item map' wx:if="{{categories_id==5}}">
<!-- 选择地区 -->
<view class='map_item address' bindtap="enter">
<view class='item_left'>详细地址</view>
<view class='item_right'>
<view class='item_right_text'>{{addressname}}</view>
<view class='item_right_icon'>
<!-- <image src='../../img/right.png'></image> -->
</view>
</view>
</view>
<view class="page-section page-section-gap" wx:if="{{categories_id==5}}">
<map id="myMap" style="width: 100%; height: 300px;" latitude="{{latitude}}" longitude="{{longitude}}" markers="{{markers}}" covers="{{covers}}" show-location></map>
</view>
</view>
<!-- 应聘联系方式 -->
<view class='employ'>
<view class='employ_left'>应聘联系方式</view>
<view class='employ_right'>
<!-- 手机号 -->
<picker bindchange="yingji" value="{{connectindex}}" range="{{connectarr}}">
<view class='employ_item'>
<view class='employ_item_i'>{{connectname}}</view>
</view>
</picker>
<view class='employ_item' wx:if="{{connectindex==0}}">
<input placeholder='请输入手机号' bindinput="connectmobile" data-type="weixn"></input>
</view>
<view class='employ_item' wx:if="{{connectindex==2}}">
<input placeholder='请输入微信号' bindinput="connectwx" data-type="weixn"></input>
</view>
<view class='employ_item' wx:if="{{connectindex==1}}">
<!-- <view class='employ_item_i'>微信公众号</view> -->
<input placeholder='请输入微信号公众号' bindinput="connectwxgroup" data-type="weixingroup"></input>
</view>
<view class='employ_item' wx:if="{{connectindex==3}}">
<!-- <view class='employ_item_i'>QQ号</view> -->
<input placeholder='请输入QQ号' bindinput="connectqq" data-type="qqnum"></input>
</view>
<view class='employ_item' wx:if="{{connectindex==4}}">
<!-- <view class='employ_item_i'>QQ群</view> -->
<input placeholder='请输入QQ群' bindinput="connectqqgroup" data-type="qqgroup"></input>
</view>
</view>
</view>
<!-- 招聘要求 -->
<!-- <view class='require'>
<view class='require_top'>招聘要求</view>
<view class='require_textarea'>
<textarea placeholder='性别不限/学历不限/年龄不限/经验不限' bindinput="zhaopinyaoqiu" maxlength='200'></textarea>
<view class='require_textarea_text'>{{len}}/200</view>
</view>
</view> -->
<!-- 福利要求 -->
<!-- <view class='require'>
<view class='require_top'>福利要求</view>
<view class='require_textarea'>
<textarea placeholder='性别不限/学历不限/年龄不限/经验不限' bindinput="fuliyaoqiu" maxlength='200'></textarea>
<view class='require_textarea_text'>{{len_fuli}}/200</view>
</view>
</view> -->
<!-- 岗位描述 -->
<view class='require'>
<view class='require_top'>岗位描述</view>
<view class='require_textarea'>
<textarea placeholder='性别不限/学历不限/年龄不限/经验不限' bindinput="gangweiyaoqiu" maxlength='200'></textarea>
<view class='require_textarea_text'>{{len_miaoshu}}/200</view>
</view>
</view>
</view>
<!-- 按钮 -->
<view class='bottom'>
<view class='bottom_btn' bindtap='publish'>确认发布</view>
</view>
</view>