-
Notifications
You must be signed in to change notification settings - Fork 0
/
jobs.html
360 lines (340 loc) · 11.8 KB
/
jobs.html
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
<!DOCTYPE html>
<html lang="zxx">
<head>
<title>miracle miles - 社会招聘</title>
<!-- Meta tag Keywords -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="UTF-8" />
<meta name="keywords" content="" />
<style>
.jobs-banner {
width: 100%;
position: relative;
display: inline-block;
overflow: hidden;
}
.jobs-banner img {
width: 100%;
position: relative;
z-index: 1;
-webkit-transform: translate(-50%);
-ms-transform: translate(-50%);
transform: translate(-50%);
vertical-align: middle;
left: 50%;
}
@media (max-width: 767px) {
.jobs-banner img {
width: 300%;
}
}
@media (max-width: 767px) {
.jobs-banner img {
width: 200%;
}
}
.table .josbs:hover {
background: #f0f0f0;
cursor: pointer;
}
.table .josbs:hover .iconEntrance {
transform: scaleX(2);
}
.publicity {
position: absolute;
z-index: 2;
top: 31%;
width: 100%;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.publicity .title {
position: relative;
font-size: 1.8em;
text-shadow: 0 0 3px #000000;
margin-bottom: 40px;
}
.publicity .title:after {
position: absolute;
right: 0;
bottom: 0;
left: 0;
width: 70px;
height: 2px;
margin: -20px auto;
content: "";
opacity: 1;
background: #fe4157;
}
.publicity .line {
width: 40px;
height: 2px;
background: #f0f0f0;
margin: 20px 0;
}
</style>
<script>
addEventListener(
"load",
function () {
setTimeout(hideURLbar, 0);
},
false
);
function hideURLbar() {
window.scrollTo(0, 1);
}
</script>
<!-- //Meta tag Keywords -->
<!-- Custom-Files -->
<link rel="stylesheet" href="css/bootstrap.css" />
<!-- Bootstrap-Core-CSS -->
<link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
<!-- Style-CSS -->
<!-- font-awesome-icons -->
<link href="css/font-awesome.css" rel="stylesheet" />
<!-- //font-awesome-icons -->
<style>
.inner-w3pvt-page {
background: url(./images/bg/3.jpg) no-repeat center;
background-size: 100%;
}
.overlay-innerpage {
min-height: 25em;
}
@media (max-width: 600px) {
.inner-w3pvt-page,
.overlay-innerpage {
min-height: 7em;
}
}
.page-item.active .page-link {
z-index: 1;
color: #fff;
background-color: #0d2535;
border-color: #0d2535;
}
.page-link {
color: #0d2535;
}
</style>
</head>
<body>
<!--/home -->
<div id="home" class="inner-w3pvt-page">
<div class="overlay-innerpage">
<!--/top-nav -->
<div class="top_w3pvt_main container">
<!--/header -->
<header class="nav_w3pvt text-center">
<!-- nav -->
<nav class="wthree-w3ls">
<div id="logo">
<h1>
<a class="navbar-brand px-0 mx-0" href="index.html">Miracle Miles
</a>
</h1>
</div>
<label for="drop" class="toggle" style="width:40px;padding: 6px;">
<img src="./images/home/menu.png" style="width:100%" alt="">
</label>
<input type="checkbox" id="drop" />
<ul class="menu mr-auto">
<li><a href="index.html">首页</a></li>
<li><a href="about.html">关于我们</a></li>
<li>
<!-- First Tier Drop Down -->
<label for="drop-2" class="toggle toggle-2">
<a href="team.html">集团成员</a>
<span class="fa fa-angle-down" aria-hidden="true"></span>
</label>
<a href="team.html">集团成员<span class="fa fa-angle-down" aria-hidden="true"></span></a>
<input type="checkbox" checked="checked" id="drop-2" />
<ul>
<li><a href="./team-member.html#thirdly" class="drop-text">湖南弯弓信息科技有限公司</a></li>
<li><a href="./team-member.html#first" class="drop-text">TOP GLORY TRADING INC</a></li>
<li><a href="./team-member.html#fourthly" class="drop-text">福州市高盾仓储有限公司</a></li>
<li><a href="./team-member.html#second" class="drop-text">DREAM PAIRS EUROPE INC</a></li>
</ul>
</li>
<li class="active"><a href="join.html">加入我们</a></li>
<li><a href="contact.html">联系我们</a></li>
<li class="social-icons ml-lg-3">
<!-- <a target="_blank" href="https://www.facebook.com/DreamPairs/" class="p-0 social-icon">
<span class="fa fa-facebook-official" aria-hidden="true"></span>
<div class="tooltip">Facebook</div>
</a>
</li>
<li class="social-icons">
<a target="_blank" href="https://twitter.com/DreamPairs" class="p-0 social-icon">
<span class="fa fa-twitter" aria-hidden="true"></span>
<div class="tooltip">Twitter</div>
</a>
</li>
<li class="social-icons">
<a target="_blank" href="https://www.instagram.com/dreampairsshoes/" class="p-0 social-icon">
<span class="fa fa-instagram" aria-hidden="true"></span>
<div class="tooltip">Instagram</div>
</a> -->
</li>
</ul>
</nav>
<!-- //nav -->
</header>
<!--//header -->
<!--/breadcrumb-->
<div class="inner-w3pvt-page-info">
<ol class="breadcrumb d-flex">
<li class="breadcrumb-item">
<a href="index.html">首页</a>
</li>
<li class="breadcrumb-item active">社会招聘</li>
</ol>
</div>
<!--//breadcrumb-->
</div>
<!-- //top-nav -->
</div>
</div>
<section class="jobs-banner">
<!-- <img src="./images/bg/3.jpg" alt=""> -->
<p class="publicity">
<span class="title">我们期待你的加入</span>
<span class="sub-title">我们共同创造,共同成长,共同创造美好未来</span>
</p>
</section>
<!-- //home -->
<section class="jobs-content container">
<div class="job-title my-3 my-sm-5">
<h3 class="t-center mb-2">社会招聘</h3>
<small class="d-block t-center">Join Us</small>
</div>
<table class="table">
<thead class="thead-light">
<tr>
<th scope="col">职位名称</th>
<th scope="col">工作地点</th>
<th scope="col">更新时间</th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
<!-- <tr class="josbs">
<th scope="row">1</th>
<td>Otto</td>
<td>@mdo</td>
<td><i class="fa fa-long-arrow-right " aria-hidden="true"></i></td>
</tr>
<tr class="josbs">
<th scope="row">2</th>
<td>Jacob</td>
<td>@fat</td>
<td><i class="fa fa-long-arrow-right " aria-hidden="true"></i></td>
</tr>
<tr class="josbs">
<th scope="row">3</th>
<td>Larry</td>
<td>@twitter</td>
<td><i class="fa fa-long-arrow-right " aria-hidden="true"></i></td>
</tr> -->
</tbody>
</table>
<nav aria-label="Page navigation example" class="my-5 job-navigation">
<ul class="pagination justify-content-center">
<!-- <li class="page-item disabled">
<a class="page-link" href="#" tabindex="-1" aria-disabled="true"
>Previous</a
>
</li> -->
<!-- <li class="page-item"><a class="page-link" href="#">1</a></li>
<li class="page-item"><a class="page-link" href="#">2</a></li>
<li class="page-item"><a class="page-link" href="#">3</a></li> -->
<!-- <li class="page-item">
<a class="page-link" href="#">Next</a>
</li> -->
</ul>
</nav>
</section>
<!-- footer -->
<footer>
<div class="footer-layer py-sm-5 pt-5 pb-3">
<div class="container py-md-3">
<div class="footer-grid_section text-center">
<div class="footer-title mb-4">
<a class="footer-title" href="index.html">MIRACLE MILES</a>
<!-- <div class="footer-text">
<p>您也可以通过以下方式关注我们</p>
</div>
<ul class="social_section_1info">
<li class="mb-2 facebook"><a target="_blank" href="https://www.facebook.com/DreamPairs/"><span
class="fa fa-facebook"></span></a>
</li>
<li class="mb-2 twitter"><a target="_blank" href="https://twitter.com/DreamPairs"><span
class="fa fa-twitter"></span></a></li>
<li class="linkedin"><a target="_blank" href="https://www.instagram.com/dreampairsshoes/"><span
class="fa fa-linkedin"></span></a></li>
<li class="vimeo"><a target="_blank" href="https://www.youtube.com/channel/UCjeu1MJuZnVB2sMjE2uX7wQ"><span
class="fa fa-youtube-play"></span></a></li>
</ul> -->
</div>
</div>
</div>
</footer>
<!-- footer -->
<script src="./js/jqeury.js"></script>
<script src="./jobs.js"></script>
<script>
//获取url中的参数
function getUrlParam(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]);
return null;
}
var nowPage = getUrlParam('page')
nowPage = nowPage ? nowPage : 1
$(function() {
$.ajax({
url: 'http://ml.wangoon.com/api/enterprise/position/info/' + nowPage,
type: 'GET',
success: function(res) {
var tableTemplate = ''
var pageTemplate =
+nowPage === 1
? '<li class="page-item disabled"><a class="page-link" href="" tabindex="-1" aria-disabled="true" >Previous</a ></li>'
: '<li class="page-item"><a class="page-link" href="jobs.html?page='+(nowPage - 1)+'" >Previous</a ></li>'
var data = res.results
for(var i = 0; i < data.length; i++) {
tableTemplate += '<tr class="josbs" data-id=' + data[i][1] + '>\
<th scope="row" class="job-item-th">'+ data[i][2] + '</th>\
<td> '+ data[i][3].split(':')[1] + ' </td>\
<td>'+ data[i][4] + '</td>\
<td><i class="fa fa-long-arrow-right iconEntrance" aria-hidden="true"></i></td>\
</tr>'
}
for(var page = 0; page < res.total_page; page++ ) {
if(page === (nowPage - 1)) {
pageTemplate += '<li class="page-item active"><a class="page-link" href="jobs.html?page='+(page + 1)+'">'+ (page + 1) +'</a></li>'
} else {
pageTemplate += '<li class="page-item"><a class="page-link" href="jobs.html?page='+(page + 1)+'">'+ (page + 1) +'</a></li>'
}
}
console.log(nowPage >= res.total_page)
pageTemplate+=
nowPage >= res.total_page
? '<li class="page-item disabled"><a class="page-link" tabindex="-1" aria-disabled="true">Next</a></li>'
: '<li class="page-item"><a class="page-link" href="jobs.html?page='+(+nowPage + 1)+'">Next</a></li>'
$('.pagination').append(pageTemplate)
$('table').append(tableTemplate)
}
})
$(document).on('click', '.josbs', function () {
location.href = 'jobs-details.html?id=' + $(this).data('id')
})
})
</script>
</body>
</html>