release.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  1. <template>
  2. <view class="content">
  3. <!-- <view class="tabs hflex acenter jbetween">
  4. <block v-for="(item,index) in tabs" :key="index">
  5. <view class="tab_item" :class="tab_active == index?'tab_active':''" @click="changeTab(index)">{{item.name}}</view>
  6. </block>
  7. </view> -->
  8. <!-- <block v-if="tab_active == 0 || tab_active == 1">
  9. <view class="boxs">
  10. <news-module :pageList="pageList"></news-module>
  11. </view>
  12. </block> -->
  13. <block v-if="tab_active == 2 && is_write == 0">
  14. <view class="box vflex acenter jcenter">
  15. <view class="img_box vflex acenter jcenter">
  16. <u-icon name="info-circle-fill" color="#506dff" size="50"></u-icon>
  17. <view class="text">还未提交应聘信息</view>
  18. </view>
  19. <view class="release" @click="release">发布</view>
  20. </view>
  21. </block>
  22. <block v-if="tab_active == 2 && is_write == 1">
  23. <view class="box hflex jbetween">
  24. <view class="">
  25. <view class="hflex acenter">
  26. <view class="name">{{application.base_info.name}}</view>
  27. <view class="edit_btn" @click="perfect(1)">编辑</view>
  28. </view>
  29. <view class="hflex acenter">
  30. <view class="hflex acenter padR-24">
  31. <image src="/static/images/index/demand/sex.png" class="icon"></image>
  32. <view class="text_style1">{{application.base_info.sex}}</view>
  33. </view>
  34. <view class="hflex acenter padR-24">
  35. <image src="/static/images/index/demand/edution.png" class="icon"></image>
  36. <view class="text_style1">{{application.base_info.edu}}</view>
  37. </view>
  38. <view class="hflex acenter padR-24">
  39. <image src="/static/images/index/demand/birthday.png" class="icon"></image>
  40. <view class="text_style1">{{application.base_info.age}}</view>
  41. </view>
  42. <view class="hflex acenter padR-24">
  43. <image src="/static/images/index/demand/work.png" class="icon"></image>
  44. <view class="text_style1">{{application.base_info.year}}</view>
  45. </view>
  46. </view>
  47. <view class="hflex acenter padT-26">
  48. <u-icon name="phone-fill" color="#666666" size="14" class="padR-24"></u-icon>
  49. <view class="text_style1">{{application.base_info.phone?application.base_info.phone:'暂无'}}</view>
  50. </view>
  51. <view class="hflex acenter padT-26">
  52. <image src="/static/images/index/demand/email.png" class="icon"></image>
  53. <view class="text_style1">{{application.base_info.email?application.base_info.email:'暂无'}}<span style="color: #506dff;" @click="copy(application.base_info.email)"><span style="padding: 0 5rpx;">|</span>复制</span></view>
  54. </view>
  55. </view>
  56. <image :src="application.base_info.avatar" mode="aspectFill" class="avatar"></image>
  57. </view>
  58. <view class="box" >
  59. <view class="hflex acenter jbetween">
  60. <view class="box_title">求职意向</view>
  61. <view class="edit_btn" @click="perfect(2)">编辑</view>
  62. </view>
  63. <view class="hflex acenter padT-26">
  64. <view class="box_title">{{application.job_inte.job_name}}</view>
  65. <view class="box_title">{{application.job_inte.salary}}</view>
  66. </view>
  67. <view class="hflex fwrap padT-26">
  68. <view class="label">可工作区域</view>
  69. <view class="text_style1" style="flex: 1;">{{application.job_inte.job_area}}</view>
  70. </view>
  71. <view class="hflex acenter padT-26">
  72. <view class="label">可工作时间</view>
  73. <view class="text_style1">{{application.job_inte.job_time}}</view>
  74. </view>
  75. <view class="hflex acenter padT-26">
  76. <view class="label">工作性质</view>
  77. <view class="text_style1">{{application.job_inte.job_type}}</view>
  78. </view>
  79. </view>
  80. <!-- <view class="box" >
  81. <view class="hflex acenter jbetween">
  82. <view class="box_title">工作经历</view>
  83. <view class="hflex acenter" @click="perfect(3)">
  84. <u-icon name="plus-circle-fill" color="#555555" size="12"></u-icon>
  85. <view class="text_style1">添加</view>
  86. </view>
  87. </view>
  88. <block v-for="(item,index) in application.experience" :key="index">
  89. <view class="padT-26" @click="editInfo(item.id)">
  90. <view class="hflex acenter jbetween">
  91. <view class="box_title">{{item.company_name}}</view>
  92. <u-icon name="arrow-right" color="#555555" size="12"></u-icon>
  93. </view>
  94. <view class="hflex acenter padT-26">
  95. <view class="text_style1 padR-24">{{item.company_date}}</view>
  96. <view class="text_style1">{{item.company_postion}}</view>
  97. </view>
  98. <view class="hflex fwrap padT-26 text_style2">工作内容:{{item.company_content}}</view>
  99. </view>
  100. </block>
  101. </view> -->
  102. <view class="box" >
  103. <view class="hflex acenter jbetween">
  104. <view class="box_title">专业技能</view>
  105. <view class="hflex acenter" @click="perfect(4)">
  106. <u-icon name="plus-circle-fill" color="#555555" size="12"></u-icon>
  107. <view class="text_style1">添加</view>
  108. </view>
  109. </view>
  110. <view class="hflex acenter fwrap">
  111. <block v-for="(item,index) in application.skills" :key="index">
  112. <view class="hflex acenter jbetween item_box2">
  113. <view class="text_style1">{{item.skills_name}}</view>
  114. <view class="text_style1">{{item.skills_degree}}</view>
  115. <image src="/static/images/index/demand/detele.png" class="detele" @click="delSkill(item.id)"></image>
  116. </view>
  117. </block>
  118. </view>
  119. </view>
  120. <view class="box" >
  121. <view class="hflex acenter jbetween">
  122. <view class="box_title">资质证书</view>
  123. <view class="hflex acenter" @click="perfect(5)">
  124. <u-icon name="plus-circle-fill" color="#555555" size="12"></u-icon>
  125. <view class="text_style1">添加</view>
  126. </view>
  127. </view>
  128. <view class="">
  129. <block v-for="(item,index) in application.certificate" :key="index">
  130. <view class="hflex aend item_box3">
  131. <view class="box_title padR-24">{{item.certificate_name}}</view>
  132. <view class="text_style1">{{item.certificate_date}}</view>
  133. <image src="/static/images/index/demand/detele.png" class="detele" @click="delSkill(item.id)"></image>
  134. </view>
  135. </block>
  136. </view>
  137. </view>
  138. <view class="box">
  139. <view class="box_title" style="padding-bottom: 16rpx;">福利待遇</view>
  140. <view class="text_style2">{{application.salary?application.salary:'暂无'}}</view>
  141. <!-- <u-input v-model="application.salary" placeholder="请填写你期望的薪资待遇" border="none"></u-input> -->
  142. <view class="line"></view>
  143. <view class="box_title" style="padding-bottom: 16rpx;">备注</view>
  144. <view class="text_style2">{{application.remarks?application.remarks:'暂无'}}</view>
  145. <!-- <u-input v-model="application.remarks" placeholder="请填写你想要备注的内容" border="none"></u-input> -->
  146. </view>
  147. <view class="box hflex acenter jbetween">
  148. <view class="text_style3">隐藏该应聘</view>
  149. <u-switch v-model="is_hide" @change="changeHide"></u-switch>
  150. </view>
  151. <view class="btn">立即修改</view>
  152. </block>
  153. </view>
  154. </template>
  155. <script>
  156. import $api from '@/static/js/api.js'
  157. var that = ''
  158. export default {
  159. data() {
  160. return {
  161. tabs: [
  162. {
  163. name: '知识教学'
  164. },
  165. {
  166. name: '百知文库'
  167. },
  168. {
  169. name: '应聘信息'
  170. }
  171. ],
  172. tab_active: 2,
  173. pageList: [
  174. {
  175. title: '2022年上半年十部好剧,《开端》第7名,《人世间》第4名,值得观看',
  176. imgs: [
  177. "/static/images/index/class_img1.png",
  178. "/static/images/index/class_img1.png",
  179. "/static/images/index/class_img1.png"
  180. ],
  181. type: '资讯',
  182. client: '澎湃新闻客户端',
  183. comment: 77,
  184. user: {
  185. avatar: '/static/images/mine/avatar1.jpg',
  186. name: '船百知官方帐号',
  187. is_blueV: true
  188. }
  189. }
  190. ],
  191. is_write: 0,
  192. application: {
  193. base_info: {
  194. name: '张三',
  195. avatar: '/static/images/mine/avatar1.jpg',
  196. sex: '男',
  197. edu: '本科',
  198. age: '27',
  199. year: '5年',
  200. phone: '18923465789',
  201. email: '18923465789@qq.com',
  202. },
  203. job_inte: {
  204. job_name: '船舶工程设计师',
  205. salary: '11-19k',
  206. job_area: '江苏省南京市浦口区江北街道东方万汇城22号楼一单元2021',
  207. job_time: '两个月',
  208. job_type: '全职'
  209. },
  210. skills: [
  211. {
  212. skills_name: 'Access',
  213. skills_degree: '熟练'
  214. },
  215. {
  216. skills_name: 'Access',
  217. skills_degree: '精通'
  218. }
  219. ],
  220. certificate: [
  221. {
  222. certificate_name: '普通话等级证书',
  223. certificate_date: '2012-06-12'
  224. },
  225. {
  226. certificate_name: '大学英语四级证书',
  227. certificate_date: '2012-06-12'
  228. }
  229. ],
  230. salary: '免费员工餐、免费培训、住房补贴、五险一金',
  231. remarks: '',
  232. },
  233. is_hide: false,
  234. }
  235. },
  236. onLoad() {
  237. that = this
  238. },
  239. methods: {
  240. // 切换tabs
  241. changeTab(index) {
  242. that.tab_active = index
  243. },
  244. // 发布
  245. release() {
  246. $api.jump('/page_index/pages/demand/publish')
  247. },
  248. // 显示隐藏招聘
  249. changeHide(e) {
  250. console.log(e);
  251. }
  252. },
  253. }
  254. </script>
  255. <style lang="scss" scoped>
  256. .content {
  257. padding: 0 30rpx;
  258. .tabs {
  259. width: 100%;
  260. padding: 14rpx 0 25rpx;
  261. .tab_item {
  262. width: 33%;
  263. font-size: 32rpx;
  264. font-weight: 400;
  265. color: #222222;
  266. line-height: 44rpx;
  267. text-align: center;
  268. }
  269. .tab_active {
  270. color: #222222;
  271. font-weight: 500;
  272. position: relative;
  273. }
  274. .tab_active::after {
  275. position: absolute;
  276. content: "";
  277. width: 48rpx;
  278. height: 8rpx;
  279. background: #506DFF;
  280. border-radius: 4rpx;
  281. bottom: -14rpx;
  282. left: 38%;
  283. }
  284. }
  285. .boxs {
  286. width: 100%;
  287. box-sizing: border-box;
  288. padding: 0 30rpx;
  289. margin: 24rpx 0 0;
  290. }
  291. .box {
  292. padding: 42rpx 0 26rpx;
  293. border-top: 1rpx solid #F4F4F4;
  294. // padding: 0 30rpx;
  295. .img_box {
  296. margin: 120rpx 0 0;
  297. .text {
  298. padding-top: 20rpx;
  299. font-size: 32rpx;
  300. font-weight: 400;
  301. color: #222222;
  302. line-height: 44rpx;
  303. }
  304. }
  305. .release {
  306. margin-top: 112rpx;
  307. width: 450rpx;
  308. height: 92rpx;
  309. background: #506DFF;
  310. border-radius: 46rpx;
  311. font-size: 36rpx;
  312. text-align: center;
  313. font-weight: 500;
  314. color: #FFFFFF;
  315. line-height: 92rpx;
  316. }
  317. .box_title {
  318. font-size: 32rpx;
  319. font-weight: 500;
  320. color: #222222;
  321. }
  322. .name {
  323. font-size: 40rpx;
  324. font-weight: 500;
  325. color: #222222;
  326. }
  327. .edit_btn {
  328. width: 84rpx;
  329. height: 36rpx;
  330. background: #F0F2F6;
  331. border-radius: 20rpx;
  332. font-size: 20rpx;
  333. text-align: center;
  334. font-weight: 400;
  335. color: #506DFF;
  336. line-height: 36rpx;
  337. margin-left: 16rpx;
  338. }
  339. .padT-26 {
  340. padding-top: 26rpx;
  341. }
  342. .padR-24 {
  343. padding-right: 24rpx;
  344. }
  345. .label {
  346. width: 148rpx;
  347. font-size: 24rpx;
  348. font-weight: 400;
  349. color: #888888;
  350. }
  351. .icon {
  352. width: 28rpx;
  353. height: 28rpx;
  354. }
  355. .text_style1 {
  356. font-size: 24rpx;
  357. padding-left: 5rpx;
  358. font-weight: 400;
  359. color: #666666;
  360. }
  361. .text_style2 {
  362. font-size: 22rpx;
  363. font-weight: 400;
  364. color: #777777;
  365. line-height: 32rpx;
  366. }
  367. .item_box2 {
  368. background: #F4F4F4;
  369. border-radius: 26rpx;
  370. box-sizing: border-box;
  371. padding: 8rpx 34rpx;
  372. margin: 20rpx 32rpx 0 0;
  373. position: relative;
  374. .detele {
  375. position: absolute !important;
  376. right: 1rpx;
  377. top: 1rpx;
  378. width: 21rpx;
  379. height: 21rpx;
  380. }
  381. }
  382. .item_box3 {
  383. width: 100%;
  384. background: #F4F4F4;
  385. border-radius: 26rpx;
  386. box-sizing: border-box;
  387. padding: 8rpx 20rpx;
  388. margin: 20rpx 0 0;
  389. position: relative;
  390. .detele {
  391. position: absolute !important;
  392. right: 1rpx;
  393. top: 1rpx;
  394. width: 21rpx;
  395. height: 21rpx;
  396. }
  397. }
  398. .avatar {
  399. width: 120rpx;
  400. height: 120rpx;
  401. border-radius: 50%;
  402. }
  403. .box_info {
  404. margin: 42rpx 0 0;
  405. .box_icon {
  406. width: 56rpx;
  407. height: 56rpx;
  408. margin-right: 28rpx;
  409. }
  410. .box_subTitle {
  411. margin-top: 4rpx;
  412. font-size: 24rpx;
  413. font-weight: 400;
  414. color: #777777;
  415. }
  416. .box_btn {
  417. box-sizing: border-box;
  418. padding: 6rpx 24rpx;
  419. font-size: 24rpx;
  420. font-weight: 400;
  421. color: #FFFFFF;
  422. line-height: 34rpx;
  423. background: #506DFF;
  424. border-radius: 14px;
  425. }
  426. }
  427. .line {
  428. margin: 20rpx 0;
  429. width: 100%;
  430. height: 1rpx;
  431. background: #F3F3F5;
  432. }
  433. .text_style3 {
  434. font-size: 28rpx;
  435. font-weight: 400;
  436. color: #222222;
  437. line-height: 40rpx;
  438. }
  439. }
  440. .btn {
  441. margin: 100rpx 0 ;
  442. width: 100%;
  443. height: 84rpx;
  444. background: #506DFF;
  445. border-radius: 42rpx;
  446. text-align: center;
  447. font-size: 36rpx;
  448. font-weight: 500;
  449. color: #FFFFFF;
  450. line-height: 84rpx;
  451. }
  452. }
  453. </style>