detail1.vue 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  1. <template>
  2. <div style="background: #f0f0f0;padding-bottom:50px">
  3. <div class="banner">
  4. <img src="~@/assets/images/yzrc.jpg" alt="">
  5. </div>
  6. <div class="bread">
  7. <div>
  8. <span>当前位置:首页-优质人才</span>
  9. </div>
  10. </div>
  11. <div class="smart-device">
  12. <div class="smart-title">
  13. <span><span>企业招聘</span>ENTERPRISE RECRUITMENT</span>
  14. </div>
  15. <div class="smart-device-content">
  16. <div class="list-content">
  17. <div v-if="active==1" class="case-list">
  18. <div class="case-content">
  19. <ul class="list-table">
  20. <li style="background:">
  21. <div>
  22. <p>
  23. {{ detail.name }}
  24. </p>
  25. </div>
  26. <div>
  27. <p>
  28. {{ detail.peopleNumber }}名
  29. </p>
  30. </div>
  31. <div>
  32. <p>
  33. {{ detail.company }}
  34. </p>
  35. </div>
  36. <div>
  37. <p>
  38. 发布日期{{ detail.createTime }}
  39. </p>
  40. </div>
  41. </li>
  42. <div style="background: #fff;" class="job-detail">
  43. <div>
  44. 招聘要求:{{ detail.workRequire }}
  45. </div>
  46. <div>
  47. 工作经验要求:{{ detail.recruitRecruit }}
  48. </div>
  49. <div class="join-op" @click="detail1(1)">
  50. <span>申请职位</span>
  51. </div>
  52. </div>
  53. </ul>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. <Message :show-dialog="showInfo" @closePop="closeMessage" />
  60. </div>
  61. </template>
  62. <script>
  63. import Message from '@/views/message/index'
  64. export default {
  65. components: {
  66. Message
  67. },
  68. data() {
  69. return {
  70. showInfo: false,
  71. active: 1,
  72. detail: {}
  73. }
  74. },
  75. mounted() {
  76. document.documentElement.scrollTop = document.body.scrollTop = 0 // 回到顶部
  77. this.detail = this.$route.query
  78. },
  79. methods: {
  80. closeMessage() {
  81. this.showInfo = false
  82. },
  83. detail1(index) {
  84. // this.$router.push({path:'/zhaoshang/detail1?smallType='+index})
  85. this.showInfo = true
  86. }
  87. }
  88. }
  89. </script>
  90. <style scoped>
  91. .banner img{
  92. width: 100% !important;
  93. }
  94. .join-op{
  95. text-align: center;
  96. }
  97. .join-op span{
  98. display: inline-block;
  99. background: #996eee;
  100. color: #fff;
  101. padding: 10px 30px;
  102. }
  103. @media screen and (min-width: 1000px){
  104. .bread{
  105. background: #fff;
  106. }
  107. .bread div{
  108. width: 1200px;
  109. margin: 0 auto;
  110. text-align: left;
  111. padding: 0.8rem 0;
  112. font-size: 1rem;
  113. }
  114. .smart-title{
  115. margin-top:2rem;
  116. margin-bottom:2rem;
  117. }
  118. .smart-device{
  119. width: 1200px;
  120. margin: 0 auto;
  121. text-align: left;
  122. font-size: 1rem;
  123. }
  124. .smart-device span span{
  125. font-size: 2rem;
  126. display: inline-block;
  127. position: relative;
  128. padding-right: 1rem;
  129. margin-right: 1rem;
  130. font-weight: 900;
  131. }
  132. .smart-device span span:after{
  133. content: '';
  134. width: 1px;
  135. height: 15px;
  136. background: #666;
  137. position: absolute;
  138. right: 0;
  139. bottom: 7px;
  140. }
  141. .device-title img{
  142. width: 80%;
  143. }
  144. .nav-list{
  145. display: flex;
  146. justify-content: center;
  147. flex-wrap: nowrap;
  148. margin: 2rem auto;
  149. width: 50%;
  150. }
  151. .nav-list li{
  152. min-width: 33.33%;
  153. max-width: 33.33%;
  154. text-align: center;
  155. color: #666;
  156. font-size: 0.8rem;
  157. cursor: pointer;
  158. }
  159. .nav-list li span{
  160. border-bottom: 2px solid #f0f0f0;
  161. padding-bottom: 0.8rem;
  162. }
  163. .active span{
  164. display: inline-block;
  165. border-bottom: 2px solid #FF6A00!important;
  166. color: #333;
  167. }
  168. .list-table li{
  169. overflow: hidden;
  170. width: 100%;
  171. background: #996eee;
  172. padding: 1rem 0;
  173. display: flex;
  174. }
  175. .list-table li>div{
  176. flex: 1;
  177. text-align: center;
  178. overflow: hidden;
  179. color: #fff;
  180. }
  181. .list-table li>div button{
  182. background: #fff;
  183. border: none;
  184. color: #333;
  185. }
  186. /*.list-table li>div:nth-child(1){*/
  187. /* width: 20%;*/
  188. /* text-align: center;*/
  189. /*}*/
  190. /*.list-table li>div:nth-child(2){*/
  191. /* width: 60%;*/
  192. /*}*/
  193. /*.list-table li>div:nth-child(3){*/
  194. /* width: 20%;*/
  195. /* text-align: right;*/
  196. /*}*/
  197. /*.list-table li>div:nth-child(3) span{*/
  198. /* margin-right: 1rem;*/
  199. /*}*/
  200. }
  201. @media screen and (max-width: 1000px){
  202. .banner{
  203. display: none;
  204. }
  205. .bread{
  206. display: none;
  207. }
  208. .smart-title{
  209. margin-top:2rem;
  210. margin-bottom:2rem;
  211. }
  212. .smart-title span span{
  213. font-size: 0.8rem;
  214. }
  215. .smart-title span{
  216. font-size: 0.6rem;
  217. }
  218. .smart-device{
  219. width: 90%;
  220. margin: 0 auto;
  221. text-align: left;
  222. font-size: 1rem;
  223. overflow: hidden;
  224. }
  225. .smart-device span span{
  226. font-size: 1.5rem;
  227. display: inline-block;
  228. position: relative;
  229. padding-right: 1rem;
  230. margin-right: 1rem;
  231. font-weight: 900;
  232. }
  233. .smart-device span span:after{
  234. content: '';
  235. width: 1px;
  236. height: 15px;
  237. background: #666;
  238. position: absolute;
  239. right: 0;
  240. bottom: 7px;
  241. }
  242. .device-title img{
  243. width: 100%;
  244. }
  245. .nav-list{
  246. display: flex;
  247. justify-content: center;
  248. flex-wrap: nowrap;
  249. margin: 2rem;
  250. }
  251. .nav-list li{
  252. min-width: 33.33%;
  253. max-width: 33.33%;
  254. text-align: center;
  255. color: #666;
  256. font-size: 0.8rem;
  257. cursor: pointer;
  258. }
  259. .nav-list li span{
  260. border-bottom: 2px solid #f0f0f0;
  261. padding-bottom: 0.8rem;
  262. }
  263. .active span{
  264. display: inline-block;
  265. border-bottom: 2px solid #FF6A00!important;
  266. color: #333;
  267. font-weight:800!important;
  268. }
  269. .list-table li{
  270. overflow: hidden;
  271. width: 100%;
  272. background: #996eee;
  273. display: flex;
  274. flex-wrap: wrap;
  275. }
  276. .list-table li>div{
  277. width: 50%;
  278. overflow: hidden;
  279. color: #fff;
  280. margin: 0.5rem 0;
  281. }
  282. .list-table li>div p{
  283. width: 88%;
  284. margin: 0 auto;
  285. font-size: 0.8rem;
  286. }
  287. /*.list-table li>div:nth-child(1){*/
  288. /* width: 30%;*/
  289. /* text-align: center;*/
  290. /*}*/
  291. /*.list-table li>div:last-child{*/
  292. /* text-align: right;*/
  293. /* margin-right: 1rem;*/
  294. /*}*/
  295. .list-table li>div button{
  296. background: #fff;
  297. border: none;
  298. color: #333;
  299. }
  300. }
  301. .list-table{
  302. width: 100%;
  303. }
  304. .list-table p{
  305. white-space:nowrap;
  306. overflow: hidden;
  307. }
  308. .join-policy h3{
  309. margin: 1rem 0;
  310. }
  311. .join-policy p{
  312. line-height: 2rem;
  313. }
  314. .job-detail>div{
  315. width: 90%;
  316. margin: 0 auto;
  317. padding: 1rem 0;
  318. }
  319. .job-detail>div p{
  320. line-height: 2rem;
  321. font-size: 0.8rem;
  322. }
  323. </style>