hjyd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

343 lines
8.7 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. <template>
  2. <div class="recruit_post_detail_container">
  3. <div class="main">
  4. <div class="top_simple_wrap">
  5. <div class="post_nature">
  6. <div class="nature">
  7. <div class="btn">
  8. {{ `${postInfo?.postName} - ${postInfo?.nature}` }}
  9. </div>
  10. <p class="slary">岗位待遇 {{ postInfo?.salary }}</p>
  11. </div>
  12. <p class="address">工作地址{{ postInfo?.address }}</p>
  13. </div>
  14. <div class="skills_con">
  15. <div class="btn_skill">所需技能</div>
  16. <p class="desc">
  17. {{ postInfo?.skills }}
  18. </p>
  19. </div>
  20. </div>
  21. <div
  22. :class="
  23. postInfo?.hasMargin
  24. ? postInfo?.hasPadding
  25. ? 'main_content has_margin has_padding'
  26. : 'main_content has_margin'
  27. : 'main_content'
  28. "
  29. >
  30. <div class="left_content">
  31. <p class="title">工作内容</p>
  32. <div
  33. class="one_piece"
  34. v-for="(item, index) in postInfo?.jobContent"
  35. :key="index"
  36. >
  37. <img v-lazy="Ok" class="ok" alt="" />
  38. <p class="text">{{ item }};</p>
  39. </div>
  40. </div>
  41. <div class="middle_duty">
  42. <p class="title">岗位职责</p>
  43. <div
  44. class="one_piece"
  45. v-for="(item, index) in postInfo?.duty"
  46. :key="index"
  47. >
  48. <img v-lazy="Ok" class="ok" alt="" />
  49. <p class="text">{{ item }}</p>
  50. </div>
  51. </div>
  52. <div class="img_con"></div>
  53. </div>
  54. </div>
  55. <div class="bt_wrap">
  56. <div class="bt_left">
  57. <div class="one_p">
  58. <img v-lazy="Email" class="icon1" alt="" />
  59. <p class="font">hr@iflytop.com</p>
  60. </div>
  61. <div class="one_p">
  62. <img v-lazy="Earth" class="icon2" alt="" />
  63. <p class="font">www.iflytop.com</p>
  64. </div>
  65. <div class="one_p">
  66. <img v-lazy="Address" class="icon3" alt="" />
  67. <p class="font">北京市昌平区回龙观街道博纳集团3号楼一层产品梦工厂</p>
  68. </div>
  69. </div>
  70. <div
  71. class="more_btn"
  72. @click="cancleDetail"
  73. v-on:mouseover="mouseover"
  74. v-on:mouseleave="mouseleave"
  75. >
  76. <span class="return_btn">返回列表</span>
  77. <img v-lazy="arrowShow ? Arrow1 : Arrow" class="icon" alt="" />
  78. </div>
  79. </div>
  80. </div>
  81. </template>
  82. <script setup>
  83. import Arrow1 from '@/assets/img/recruit/jiantou1.png'
  84. import Arrow from '@/assets/img/recruit/jiantou2.png'
  85. import Email from '@/assets/img/recruit/youjian.png'
  86. import Earth from '@/assets/img/recruit/wangzhi.png'
  87. import Address from '@/assets/img/recruit/zuobiao.png'
  88. import Ok from '@/assets/img/recruit/duigou.png'
  89. import { postDetail } from '@/mock/post'
  90. import { ref } from 'vue'
  91. const postInfo = postDetail[props.postId]
  92. const props = defineProps({
  93. handleDetail: Function,
  94. postId: String,
  95. })
  96. const arrowShow = ref(false)
  97. const mouseover = () => {
  98. arrowShow.value = true
  99. }
  100. const mouseleave = () => {
  101. arrowShow.value = false
  102. }
  103. const cancleDetail = () => {
  104. props.handleDetail(false)
  105. }
  106. </script>
  107. <style lang="scss" scoped>
  108. .recruit_post_detail_container {
  109. width: 100%;
  110. background: #fff;
  111. border-bottom: solid 6px #283fe7;
  112. padding: 50px 64px 55px 64px;
  113. box-sizing: border-box;
  114. display: flex;
  115. justify-content: space-between;
  116. flex-direction: column;
  117. .main {
  118. flex: 1;
  119. .top_simple_wrap {
  120. display: flex;
  121. align-items: center;
  122. margin-bottom: 81px;
  123. .post_nature {
  124. margin-right: 114px;
  125. .nature {
  126. display: flex;
  127. align-items: center;
  128. .btn {
  129. width: 226px;
  130. height: 44px;
  131. background: #283fe7;
  132. border: 2px solid #283fe7;
  133. border-radius: 22px;
  134. display: flex;
  135. justify-content: center;
  136. align-items: center;
  137. font-size: 18px;
  138. font-family: 'SourceHanSans';
  139. font-weight: 400;
  140. color: #ffffff;
  141. margin-right: 39px;
  142. transition-property: all;
  143. transition-duration: 0.7s;
  144. animation-fill-mode: forwards;
  145. }
  146. .btn:hover {
  147. background: #fff;
  148. color: $theme_color;
  149. }
  150. .slary {
  151. font-size: 18px;
  152. font-family: 'SourceHanSans';
  153. font-weight: 500;
  154. color: #000000;
  155. }
  156. }
  157. .address {
  158. font-size: 18px;
  159. font-family: 'SourceHanSans';
  160. font-weight: 300;
  161. color: #646a73;
  162. margin-top: 19px;
  163. }
  164. }
  165. .skills_con {
  166. .btn_skill {
  167. width: 142px;
  168. height: 44px;
  169. border: 2px solid #283fe7;
  170. border-radius: 22px;
  171. font-size: 18px;
  172. font-family: 'SourceHanSans';
  173. font-weight: 400;
  174. color: #283fe7;
  175. display: flex;
  176. align-items: center;
  177. justify-content: center;
  178. margin-bottom: 19px;
  179. transition-property: all;
  180. transition-duration: 0.7s;
  181. animation-fill-mode: forwards;
  182. }
  183. .btn_skill:hover {
  184. color: #fff;
  185. background: #283fe7;
  186. }
  187. .desc {
  188. font-size: 18px;
  189. font-family: 'SourceHanSans';
  190. font-weight: 300;
  191. color: #646a73;
  192. }
  193. }
  194. }
  195. .main_content {
  196. display: flex;
  197. align-items: flex-start;
  198. justify-content: space-between;
  199. border-bottom: solid 1px #f5f5f5;
  200. // padding-bottom: 37px;
  201. // margin-bottom: 56px;
  202. box-sizing: border-box;
  203. .left_content {
  204. margin-right: 94px;
  205. width: 460px;
  206. height: 100%;
  207. .title {
  208. font-size: 22px;
  209. font-family: 'SourceHanSans';
  210. font-weight: bold;
  211. color: #000000;
  212. margin-bottom: 33px;
  213. }
  214. .one_piece {
  215. display: flex;
  216. align-items: center;
  217. margin-bottom: 21px;
  218. .ok {
  219. width: 20px;
  220. height: 20px;
  221. }
  222. .text {
  223. margin-left: 16px;
  224. font-size: 16px;
  225. line-height: 22px;
  226. font-family: 'SourceHanSans';
  227. font-weight: 300;
  228. color: #646a73;
  229. }
  230. }
  231. }
  232. .middle_duty {
  233. flex: 1;
  234. min-height: 285px;
  235. padding-right: 40px;
  236. .title {
  237. font-size: 22px;
  238. font-family: 'SourceHanSans';
  239. font-weight: bold;
  240. color: #000000;
  241. margin-bottom: 33px;
  242. }
  243. .one_piece {
  244. display: flex;
  245. align-items: center;
  246. margin-bottom: 21px;
  247. .ok {
  248. width: 20px;
  249. height: 20px;
  250. }
  251. .text {
  252. margin-left: 16px;
  253. font-size: 16px;
  254. line-height: 22px;
  255. font-family: 'SourceHanSans';
  256. font-weight: 300;
  257. color: #646a73;
  258. }
  259. }
  260. }
  261. .img_con {
  262. width: 403px;
  263. height: 285px;
  264. border-radius: 6px;
  265. overflow: hidden;
  266. background: url(../../../../../assets/img/recruit/bangonglou.png)
  267. no-repeat;
  268. background-size: 100% 100%;
  269. }
  270. }
  271. .has_margin {
  272. margin-bottom: 56px;
  273. }
  274. .has_padding {
  275. padding-bottom: 37px;
  276. }
  277. }
  278. .bt_wrap {
  279. width: 100%;
  280. height: 30px;
  281. display: flex;
  282. align-items: center;
  283. justify-content: space-between;
  284. .bt_left {
  285. display: flex;
  286. align-items: center;
  287. white-space: nowrap;
  288. .one_p {
  289. display: flex;
  290. align-items: center;
  291. font-size: 12px;
  292. font-family: 'SourceHanSans';
  293. font-weight: 400;
  294. color: #646a73;
  295. margin-right: 66px;
  296. .icon1 {
  297. width: 24px;
  298. height: 15px;
  299. }
  300. .icon2 {
  301. width: 22px;
  302. height: 22px;
  303. }
  304. .icon3 {
  305. width: 19px;
  306. height: 23px;
  307. }
  308. .font {
  309. margin-left: 14px;
  310. }
  311. }
  312. }
  313. .more_btn {
  314. width: 120px;
  315. height: 30px;
  316. border: 1px solid #646a73;
  317. border-radius: 15px;
  318. font-size: 16px;
  319. font-family: 'SourceHanSans';
  320. font-weight: 400;
  321. color: #646a73;
  322. display: flex;
  323. align-items: center;
  324. justify-content: center;
  325. cursor: pointer;
  326. transition-property: all;
  327. transition-duration: 0.7s;
  328. animation-fill-mode: forwards;
  329. .icon {
  330. width: 5px;
  331. height: 10px;
  332. margin-left: 13px;
  333. }
  334. }
  335. .more_btn:hover {
  336. background: $theme_color;
  337. color: #fff;
  338. }
  339. }
  340. }
  341. </style>