recruitment-mobile-prototype.html 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>招聘模块移动端原型</title>
  7. <style>
  8. * {
  9. margin: 0;
  10. padding: 0;
  11. box-sizing: border-box;
  12. }
  13. body {
  14. font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  15. line-height: 1.6;
  16. color: #333;
  17. background-color: #f5f5f5;
  18. }
  19. .container {
  20. padding: 15px;
  21. }
  22. header {
  23. background-color: #1e62d0;
  24. color: white;
  25. padding: 12px 15px;
  26. position: fixed;
  27. top: 0;
  28. left: 0;
  29. width: 100%;
  30. z-index: 100;
  31. box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  32. }
  33. .header-content {
  34. display: flex;
  35. justify-content: space-between;
  36. align-items: center;
  37. }
  38. .header-title {
  39. font-size: 18px;
  40. font-weight: bold;
  41. }
  42. .menu-button {
  43. background: none;
  44. border: none;
  45. color: white;
  46. font-size: 24px;
  47. }
  48. .back-button {
  49. background: none;
  50. border: none;
  51. color: white;
  52. font-size: 18px;
  53. display: flex;
  54. align-items: center;
  55. }
  56. .main-content {
  57. margin-top: 60px;
  58. padding-bottom: 70px;
  59. }
  60. h1 {
  61. margin-bottom: 20px;
  62. font-size: 22px;
  63. }
  64. h2 {
  65. margin-top: 20px;
  66. margin-bottom: 10px;
  67. font-size: 18px;
  68. }
  69. .search-bar {
  70. display: flex;
  71. margin-bottom: 15px;
  72. }
  73. .search-bar input {
  74. flex-grow: 1;
  75. padding: 10px;
  76. border: 1px solid #ddd;
  77. border-radius: 4px 0 0 4px;
  78. font-size: 14px;
  79. }
  80. .search-bar button {
  81. padding: 0 15px;
  82. background-color: #1e62d0;
  83. color: white;
  84. border: none;
  85. border-radius: 0 4px 4px 0;
  86. font-size: 14px;
  87. }
  88. .filter-bar {
  89. display: flex;
  90. overflow-x: auto;
  91. padding-bottom: 10px;
  92. margin-bottom: 15px;
  93. -webkit-overflow-scrolling: touch;
  94. white-space: nowrap;
  95. }
  96. .filter-chip {
  97. padding: 6px 12px;
  98. background-color: white;
  99. border: 1px solid #ddd;
  100. border-radius: 20px;
  101. margin-right: 10px;
  102. font-size: 14px;
  103. flex-shrink: 0;
  104. }
  105. .filter-chip.active {
  106. background-color: #1e62d0;
  107. color: white;
  108. border-color: #1e62d0;
  109. }
  110. .job-card {
  111. background-color: white;
  112. border-radius: 4px;
  113. padding: 15px;
  114. margin-bottom: 15px;
  115. box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  116. }
  117. .job-title {
  118. font-size: 16px;
  119. font-weight: bold;
  120. color: #1e62d0;
  121. margin-bottom: 8px;
  122. }
  123. .job-info {
  124. margin-bottom: 10px;
  125. color: #666;
  126. }
  127. .job-info span {
  128. margin-right: 10px;
  129. display: inline-flex;
  130. align-items: center;
  131. font-size: 12px;
  132. }
  133. .job-desc {
  134. margin-bottom: 15px;
  135. font-size: 14px;
  136. display: -webkit-box;
  137. -webkit-line-clamp: 2;
  138. -webkit-box-orient: vertical;
  139. overflow: hidden;
  140. }
  141. .btn {
  142. display: inline-block;
  143. padding: 8px 16px;
  144. background-color: #1e62d0;
  145. color: white;
  146. text-decoration: none;
  147. border-radius: 4px;
  148. text-align: center;
  149. cursor: pointer;
  150. border: none;
  151. font-size: 14px;
  152. }
  153. .btn-outline {
  154. background-color: transparent;
  155. color: #1e62d0;
  156. border: 1px solid #1e62d0;
  157. }
  158. .btn-block {
  159. display: block;
  160. width: 100%;
  161. }
  162. .job-detail {
  163. background-color: white;
  164. border-radius: 4px;
  165. padding: 15px;
  166. box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  167. }
  168. .job-actions {
  169. margin-top: 20px;
  170. display: flex;
  171. justify-content: center;
  172. }
  173. .form-container {
  174. background-color: white;
  175. border-radius: 4px;
  176. padding: 15px;
  177. box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  178. }
  179. .step-indicator {
  180. display: flex;
  181. margin-bottom: 20px;
  182. overflow-x: auto;
  183. padding-bottom: 10px;
  184. }
  185. .step {
  186. flex: 0 0 auto;
  187. width: 80px;
  188. text-align: center;
  189. padding-bottom: 10px;
  190. position: relative;
  191. font-size: 12px;
  192. }
  193. .step-number {
  194. display: inline-block;
  195. width: 24px;
  196. height: 24px;
  197. border-radius: 50%;
  198. background-color: #eee;
  199. color: #999;
  200. line-height: 24px;
  201. margin-bottom: 5px;
  202. }
  203. .step.active .step-number {
  204. background-color: #1e62d0;
  205. color: white;
  206. }
  207. .form-group {
  208. margin-bottom: 15px;
  209. }
  210. label {
  211. display: block;
  212. margin-bottom: 5px;
  213. font-weight: bold;
  214. font-size: 14px;
  215. }
  216. input, select, textarea {
  217. width: 100%;
  218. padding: 10px;
  219. border: 1px solid #ddd;
  220. border-radius: 4px;
  221. font-size: 14px;
  222. }
  223. textarea {
  224. height: 100px;
  225. }
  226. .form-actions {
  227. display: flex;
  228. justify-content: space-between;
  229. margin-top: 20px;
  230. }
  231. .tab-bar {
  232. position: fixed;
  233. bottom: 0;
  234. left: 0;
  235. width: 100%;
  236. background-color: white;
  237. display: flex;
  238. justify-content: space-around;
  239. padding: 10px 0;
  240. border-top: 1px solid #eee;
  241. z-index: 100;
  242. }
  243. .tab-item {
  244. flex: 1;
  245. text-align: center;
  246. font-size: 12px;
  247. color: #666;
  248. text-decoration: none;
  249. }
  250. .tab-item.active {
  251. color: #1e62d0;
  252. }
  253. .tab-icon {
  254. display: block;
  255. font-size: 20px;
  256. margin-bottom: 2px;
  257. }
  258. .hr-list {
  259. list-style-type: none;
  260. }
  261. .hr-list-item {
  262. background-color: white;
  263. padding: 15px;
  264. border-radius: 4px;
  265. margin-bottom: 10px;
  266. box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  267. }
  268. .hr-list-title {
  269. font-weight: bold;
  270. margin-bottom: 5px;
  271. }
  272. .hr-list-info {
  273. color: #666;
  274. font-size: 12px;
  275. margin-bottom: 10px;
  276. }
  277. .hr-list-actions {
  278. display: flex;
  279. gap: 10px;
  280. }
  281. .badge {
  282. display: inline-block;
  283. padding: 2px 8px;
  284. border-radius: 20px;
  285. font-size: 12px;
  286. font-weight: bold;
  287. }
  288. .badge-active {
  289. background-color: #e7f7ee;
  290. color: #28a745;
  291. }
  292. .badge-inactive {
  293. background-color: #f8f9fa;
  294. color: #6c757d;
  295. }
  296. </style>
  297. </head>
  298. <body>
  299. <!-- 招聘公告列表页 -->
  300. <div id="jobs-list-page" style="display: block;">
  301. <header>
  302. <div class="header-content">
  303. <div class="header-title">招聘公告</div>
  304. <button class="menu-button">☰</button>
  305. </div>
  306. </header>
  307. <div class="main-content">
  308. <div class="container">
  309. <div class="search-bar">
  310. <input type="text" placeholder="搜索职位名称、部门...">
  311. <button>搜索</button>
  312. </div>
  313. <div class="filter-bar">
  314. <div class="filter-chip active">全部</div>
  315. <div class="filter-chip">教学</div>
  316. <div class="filter-chip">行政</div>
  317. <div class="filter-chip">科研</div>
  318. <div class="filter-chip">5k-10k</div>
  319. <div class="filter-chip">10k-15k</div>
  320. <div class="filter-chip">15k+</div>
  321. </div>
  322. <div class="job-list">
  323. <div class="job-card" onclick="showPage('job-detail-page')">
  324. <div class="job-title">高级Java开发工程师</div>
  325. <div class="job-info">
  326. <span>教学部门</span>
  327. <span>15k-25k</span>
  328. <span>杭州</span>
  329. </div>
  330. <div class="job-desc">
  331. 负责校园教学管理系统的开发和维护,参与核心模块设计与实现,优化系统性能...
  332. </div>
  333. <button class="btn btn-block">查看详情</button>
  334. </div>
  335. <div class="job-card" onclick="showPage('job-detail-page')">
  336. <div class="job-title">前端工程师</div>
  337. <div class="job-info">
  338. <span>教学部门</span>
  339. <span>12k-18k</span>
  340. <span>杭州</span>
  341. </div>
  342. <div class="job-desc">
  343. 负责校园教学管理系统前端开发,使用Vue3+TypeScript技术栈,参与UI设计与实现...
  344. </div>
  345. <button class="btn btn-block">查看详情</button>
  346. </div>
  347. <div class="job-card" onclick="showPage('job-detail-page')">
  348. <div class="job-title">行政助理</div>
  349. <div class="job-info">
  350. <span>行政部门</span>
  351. <span>5k-8k</span>
  352. <span>杭州</span>
  353. </div>
  354. <div class="job-desc">
  355. 协助部门主管处理日常行政事务,包括文件整理、会议安排、接待来访等工作...
  356. </div>
  357. <button class="btn btn-block">查看详情</button>
  358. </div>
  359. <div class="job-card" onclick="showPage('job-detail-page')">
  360. <div class="job-title">科研助理</div>
  361. <div class="job-info">
  362. <span>科研部门</span>
  363. <span>8k-12k</span>
  364. <span>杭州</span>
  365. </div>
  366. <div class="job-desc">
  367. 协助教授进行科研项目的资料收集、数据整理与分析,参与学术论文撰写...
  368. </div>
  369. <button class="btn btn-block">查看详情</button>
  370. </div>
  371. </div>
  372. </div>
  373. </div>
  374. <div class="tab-bar">
  375. <a href="#" class="tab-item active">
  376. <span class="tab-icon">🏠</span>
  377. <span>首页</span>
  378. </a>
  379. <a href="#" class="tab-item">
  380. <span class="tab-icon">🔍</span>
  381. <span>搜索</span>
  382. </a>
  383. <a href="#" class="tab-item">
  384. <span class="tab-icon">📋</span>
  385. <span>申请</span>
  386. </a>
  387. <a href="#" class="tab-item">
  388. <span class="tab-icon">👤</span>
  389. <span>我的</span>
  390. </a>
  391. </div>
  392. </div>
  393. <!-- 职位详情页 -->
  394. <div id="job-detail-page" style="display: none;">
  395. <header>
  396. <div class="header-content">
  397. <button class="back-button" onclick="showPage('jobs-list-page')">← 返回</button>
  398. <div class="header-title">职位详情</div>
  399. <div style="width: 24px;"></div> <!-- 占位元素,保持flex布局平衡 -->
  400. </div>
  401. </header>
  402. <div class="main-content">
  403. <div class="container">
  404. <div class="job-detail">
  405. <h1>高级Java开发工程师</h1>
  406. <div class="job-info">
  407. <span>教学部门</span>
  408. <span>15k-25k</span>
  409. <span>杭州</span>
  410. <div>发布日期:2025-07-01</div>
  411. </div>
  412. <h2>职位描述</h2>
  413. <p>负责校园教学管理系统的开发和维护,参与核心模块设计与实现,优化系统性能,解决技术难题。</p>
  414. <p>作为团队核心成员,参与技术方案评审,指导初级开发人员,确保项目按时高质量交付。</p>
  415. <h2>岗位要求</h2>
  416. <ul>
  417. <li>计算机相关专业本科及以上学历,3年以上Java开发经验</li>
  418. <li>精通Java核心技术,熟悉Spring Boot、MyBatis等主流框架</li>
  419. <li>熟练掌握MySQL数据库设计与优化</li>
  420. <li>有教育行业相关系统开发经验者优先</li>
  421. <li>良好的沟通能力和团队协作精神</li>
  422. </ul>
  423. <div class="job-actions">
  424. <button class="btn" onclick="showPage('application-form-page')">立即申请</button>
  425. </div>
  426. </div>
  427. </div>
  428. </div>
  429. </div>
  430. <!-- 简历填写表单 -->
  431. <div id="application-form-page" style="display: none;">
  432. <header>
  433. <div class="header-content">
  434. <button class="back-button" onclick="showPage('job-detail-page')">← 返回</button>
  435. <div class="header-title">申请职位</div>
  436. <div style="width: 24px;"></div>
  437. </div>
  438. </header>
  439. <div class="main-content">
  440. <div class="container">
  441. <h1>申请:高级Java开发工程师</h1>
  442. <div class="form-container">
  443. <div class="step-indicator">
  444. <div class="step active">
  445. <div class="step-number">1</div>
  446. <div>个人信息</div>
  447. </div>
  448. <div class="step">
  449. <div class="step-number">2</div>
  450. <div>教育经历</div>
  451. </div>
  452. <div class="step">
  453. <div class="step-number">3</div>
  454. <div>工作经历</div>
  455. </div>
  456. <div class="step">
  457. <div class="step-number">4</div>
  458. <div>提交</div>
  459. </div>
  460. </div>
  461. <div class="form-group">
  462. <label for="name">姓名</label>
  463. <input type="text" id="name" placeholder="请输入姓名">
  464. </div>
  465. <div class="form-group">
  466. <label for="phone">手机号码</label>
  467. <input type="tel" id="phone" placeholder="请输入手机号码">
  468. </div>
  469. <div class="form-group">
  470. <label for="email">电子邮箱</label>
  471. <input type="email" id="email" placeholder="请输入电子邮箱">
  472. </div>
  473. <div class="form-group">
  474. <label for="resume">个人简历</label>
  475. <input type="file" id="resume">
  476. <small>支持PDF、Word格式,大小不超过5MB</small>
  477. </div>
  478. <div class="form-group">
  479. <label for="self-intro">自我介绍</label>
  480. <textarea id="self-intro" placeholder="请简要介绍自己的情况和求职意向"></textarea>
  481. </div>
  482. <div class="form-actions">
  483. <button class="btn btn-outline" onclick="showPage('job-detail-page')">取消</button>
  484. <button class="btn">下一步</button>
  485. </div>
  486. </div>
  487. </div>
  488. </div>
  489. </div>
  490. <!-- HR管理后台 -->
  491. <div id="hr-admin-page" style="display: none;">
  492. <header>
  493. <div class="header-content">
  494. <div class="header-title">HR管理</div>
  495. <button class="menu-button">+</button>
  496. </div>
  497. </header>
  498. <div class="main-content">
  499. <div class="container">
  500. <div class="search-bar">
  501. <input type="text" placeholder="搜索职位名称...">
  502. <button>搜索</button>
  503. </div>
  504. <div class="filter-bar">
  505. <div class="filter-chip active">全部</div>
  506. <div class="filter-chip">招聘中</div>
  507. <div class="filter-chip">已结束</div>
  508. </div>
  509. <ul class="hr-list">
  510. <li class="hr-list-item">
  511. <div class="hr-list-title">高级Java开发工程师</div>
  512. <div class="hr-list-info">
  513. 教学部门 · 15k-25k · 杭州<br>
  514. 发布于2025-07-01 · <span class="badge badge-active">招聘中</span> · 申请人数:8
  515. </div>
  516. <div class="hr-list-actions">
  517. <button class="btn btn-outline">编辑</button>
  518. <button class="btn btn-outline">下线</button>
  519. <button class="btn">查看申请</button>
  520. </div>
  521. </li>
  522. <li class="hr-list-item">
  523. <div class="hr-list-title">前端工程师</div>
  524. <div class="hr-list-info">
  525. 教学部门 · 12k-18k · 杭州<br>
  526. 发布于2025-07-01 · <span class="badge badge-active">招聘中</span> · 申请人数:5
  527. </div>
  528. <div class="hr-list-actions">
  529. <button class="btn btn-outline">编辑</button>
  530. <button class="btn btn-outline">下线</button>
  531. <button class="btn">查看申请</button>
  532. </div>
  533. </li>
  534. <li class="hr-list-item">
  535. <div class="hr-list-title">行政助理</div>
  536. <div class="hr-list-info">
  537. 行政部门 · 5k-8k · 杭州<br>
  538. 发布于2025-06-25 · <span class="badge badge-active">招聘中</span> · 申请人数:12
  539. </div>
  540. <div class="hr-list-actions">
  541. <button class="btn btn-outline">编辑</button>
  542. <button class="btn btn-outline">下线</button>
  543. <button class="btn">查看申请</button>
  544. </div>
  545. </li>
  546. <li class="hr-list-item">
  547. <div class="hr-list-title">UI设计师</div>
  548. <div class="hr-list-info">
  549. 教学部门 · 10k-15k · 杭州<br>
  550. 发布于2025-06-20 · <span class="badge badge-inactive">已结束</span> · 申请人数:7
  551. </div>
  552. <div class="hr-list-actions">
  553. <button class="btn">查看详情</button>
  554. </div>
  555. </li>
  556. </ul>
  557. </div>
  558. </div>
  559. <div class="tab-bar">
  560. <a href="#" class="tab-item active">
  561. <span class="tab-icon">📋</span>
  562. <span>职位</span>
  563. </a>
  564. <a href="#" class="tab-item">
  565. <span class="tab-icon">📝</span>
  566. <span>申请</span>
  567. </a>
  568. <a href="#" class="tab-item">
  569. <span class="tab-icon">📊</span>
  570. <span>统计</span>
  571. </a>
  572. <a href="#" class="tab-item">
  573. <span class="tab-icon">⚙️</span>
  574. <span>设置</span>
  575. </a>
  576. </div>
  577. </div>
  578. <script>
  579. function showPage(pageId) {
  580. // 隐藏所有页面
  581. document.getElementById('jobs-list-page').style.display = 'none';
  582. document.getElementById('job-detail-page').style.display = 'none';
  583. document.getElementById('application-form-page').style.display = 'none';
  584. document.getElementById('hr-admin-page').style.display = 'none';
  585. // 显示选中的页面
  586. document.getElementById(pageId).style.display = 'block';
  587. }
  588. // 添加测试链接
  589. document.addEventListener('DOMContentLoaded', function() {
  590. document.querySelectorAll('.tab-item')[3].addEventListener('click', function(e) {
  591. e.preventDefault();
  592. showPage('hr-admin-page');
  593. });
  594. });
  595. </script>
  596. </body>
  597. </html>