enterpriseInfo.vue 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123
  1. <template>
  2. <view class="content" :style="{ paddingTop: (12 + statusBarHeight + 88 - 60) + 'px' }">
  3. <!-- 固定顶部导航 -->
  4. <view class="fixed-nav" :style="{ paddingTop: (12 + statusBarHeight) + 'px' }">
  5. <view class="nav-bar">
  6. <view class="nav-left" @click="goBack">
  7. <u-icon name="arrow-leftward" color="rgba(51, 51, 51, 1)" style="font-size: 38rpx;"></u-icon>
  8. </view>
  9. <view class="nav-title">公司介绍</view>
  10. <view class="nav-right">
  11. <view class="nav-icons">
  12. <view v-if="false" class="nav-icon" @click="setCollection">
  13. <image v-if="isCollection == 0" src="/static/images/index/guanzhu.svg" class="icon-img">
  14. </image>
  15. <image v-else src="/static/images/index/gzActive.svg" class="icon-img"></image>
  16. </view>
  17. <view class="nav-icon" @click="showShare">
  18. <image src="/static/images/index/fenxiang.svg" class="icon-img"></image>
  19. </view>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. <!-- 企业信息 -->
  25. <view class="info flex justify-center">
  26. <view class="info-box flex align-center justify-between">
  27. <view class="info-box-r">
  28. <view class="info-box-r-title" v-show="info.companyName">
  29. {{ info.companyName }}
  30. </view>
  31. <view class="info-box-r-label flex align-center flex-wrap">
  32. <view class="info-box-r-label-item" v-if="info.companyPeople">
  33. {{ info.companyPeople }}
  34. </view>
  35. <!-- <view class="info-box-r-label-item" v-show="info.companyScope">
  36. {{ info.companyScope }}
  37. </view> -->
  38. </view>
  39. <view class="info-box-r-label-item" v-show="info.companyAllName">
  40. {{ info.companyAllName ? info.companyAllName : '--' }}
  41. </view>
  42. </view>
  43. <image :src="info.companyLogo ? info.companyLogo : '../../static/logo.png'"
  44. style="width: 120rpx;height: 120rpx;border-radius: 50%;" mode="">
  45. </image>
  46. </view>
  47. </view>
  48. <!-- 急聘标签 -->
  49. <!-- 公司地址 -->
  50. <view class="address flex justify-center">
  51. <view class="address-box flex justify-center">
  52. <view class="address-box-c">
  53. <!-- 工作时间 -->
  54. <view class="working-hours flex align-center">
  55. <u-icon name="clock" color="rgba(51, 51, 51, 1)" size="38"
  56. style="margin-right: 12rpx;"></u-icon>
  57. <text>{{ info.workTime }}</text>
  58. </view>
  59. <!-- 福利标签 -->
  60. <view class="benefits-section">
  61. <view class="benefits-tags flex align-center flex-wrap">
  62. <view class="benefit-tag" v-for="item in info.welfareArr">
  63. <image src="/static/images/index/huizhang.svg" class="tag-icon"></image>
  64. <text>{{ item }}</text>
  65. </view>
  66. </view>
  67. </view>
  68. <!-- 地址信息 -->
  69. <view @click="openMap()" class="address-box-c-add flex justify-between align-center">
  70. <view class="address-box-c-add-l flex align-center">
  71. <u-icon name="map" style="margin-right: 12rpx;" color="rgba(51, 51, 51, 1)"
  72. size="24"></u-icon>
  73. <!-- <text v-if="info.companyAddress">{{ info.province ? info.province : '' }}{{ info.city ? info.city : ''
  74. }}{{
  75. info.district ? info.district : '' }}{{ info.companyAddress ? info.companyAddress : ''
  76. }}</text> -->
  77. <text v-if="info.companyAddress">{{ info.companyAddress }}</text>
  78. <text v-else>暂无地址信息</text>
  79. </view>
  80. <!--
  81. <view class="address-box-c-add-r">
  82. <u-icon name="arrow-right" color="rgba(51, 51, 51, 1)" size="24"></u-icon>
  83. </view>
  84. -->
  85. </view>
  86. </view>
  87. </view>
  88. </view>
  89. <!-- 企业介绍 -->
  90. <view class="remarks flex justify-center">
  91. <view class="remarks-box">
  92. <view class="remarks-box-title">
  93. 公司介绍
  94. </view>
  95. <view class="remarks-box-con">
  96. <u-read-more show-height="100" :shadow-style="shadowStyle" color="#FD6416" text-indent="0"
  97. closeText="展开">
  98. <!-- <rich-text :nodes="info.companyDetails"
  99. style="color: #ffffff;font-size: 28rpx;font-weight: 500;">
  100. </rich-text> -->
  101. <view class="remarks-box-con-item">
  102. {{ info.companyContent }}
  103. </view>
  104. </u-read-more>
  105. </view>
  106. </view>
  107. </view>
  108. <!-- 主营业务 -->
  109. <view class="business-section flex justify-center">
  110. <view class="business-box">
  111. <view class="business-title">主营业务</view>
  112. <!-- <view class="business-tags flex flex-wrap" v-if="businessList&&businessList.length>0">
  113. <view class="business-tag" v-for="(business, index) in businessList" :key="index">
  114. {{ business }}
  115. </view>
  116. </view> -->
  117. <view class="remarks-box-con-item" v-if="info.companyScope">
  118. {{ info.companyScope }}
  119. </view>
  120. <view class="hr-desc" v-else>
  121. 暂无业务信息
  122. </view>
  123. </view>
  124. </view>
  125. <!-- hr介绍 -->
  126. <view class="hr-section flex justify-center">
  127. <view class="hr-box">
  128. <view class="hr-header flex justify-between align-center">
  129. <view class="hr-title">HR介绍</view>
  130. <view class="view-all-jobs" @click="goToMoreJobs">
  131. <text>查看所有职位</text>
  132. </view>
  133. </view>
  134. <view class="hr-list flex" v-if="info.hr && info.hr.length > 0">
  135. <view class="hr-item" v-for="(hr, index) in info.hr" :key="index">
  136. <view class="hr-content flex align-center">
  137. <view class="hr-avatar-container">
  138. <view class="hr-avatar">
  139. <image :src="hr.hrImg" mode="aspectFill" />
  140. </view>
  141. <view class="online-dot" :style="{'background':hr&&hr.onlineStatus=='ONLINE'?'#00D26A':'#999'}"></view>
  142. </view>
  143. <view class="hr-text">
  144. <view class="hr-name">{{ hr.name }}</view>
  145. <view class="hr-position">{{ hr.hrPosition }}</view>
  146. </view>
  147. </view>
  148. </view>
  149. </view>
  150. <view class="hr-desc" v-else>暂无HR信息</view>
  151. </view>
  152. </view>
  153. <!-- 人才发展 -->
  154. <view class="talent-section flex justify-center">
  155. <view class="talent-box">
  156. <view class="talent-title">人才发展</view>
  157. <view class="talent-tags flex flex-wrap">
  158. <view class="talent-tag" v-for="(talent, index) in talentList" :key="index">
  159. {{ talent }}
  160. </view>
  161. </view>
  162. </view>
  163. </view>
  164. <!-- 公司风采 -->
  165. <view class="talent-section flex justify-center">
  166. <view class="talent-box">
  167. <view class="talent-title">公司风采</view>
  168. <!-- 有图片时显示轮播 -->
  169. <swiper v-if="info.photos" class="talent-swiper" indicator-dots="true" autoplay="true" interval="3000" circular="true">
  170. <swiper-item v-for="(talent, index) in info.photos.split(',')" :key="index">
  171. <view class="photo-box">
  172. <image :src="talent" mode="aspectFill" class="photoImage"></image>
  173. </view>
  174. </swiper-item>
  175. </swiper>
  176. <!-- 没有图片时显示提示 -->
  177. <view class="hr-desc" v-else>该公司还未上传相关图片!</view>
  178. </view>
  179. </view>
  180. <!-- 工商信息 -->
  181. <view class="gsInfo flex justify-center">
  182. <view class="gsInfo-box flex justify-center">
  183. <view class="gsInfo-box-c">
  184. <view class="gsInfo-box-c-title">
  185. 工商信息
  186. </view>
  187. <view class="gsInfo-box-c-item">
  188. 公司全称:{{ info.companyAllName ? info.companyAllName : '' }}
  189. </view>
  190. <view class="gsInfo-box-c-item">
  191. 成立时间:{{ info.companyCreateTime ? info.companyCreateTime : '--' }}
  192. </view>
  193. <view class="gsInfo-box-c-item">
  194. 注册资本:{{ info.companyRegisteredFund ? info.companyRegisteredFund : '--' }}万人民币
  195. </view>
  196. <view class="gsInfo-box-c-item">
  197. 法人代表:{{ info.companyLegalPerson ? info.companyLegalPerson : '未知' }}
  198. </view>
  199. </view>
  200. </view>
  201. </view>
  202. <!-- 全部岗位弹窗 -->
  203. <btnPopous ref="jobPopup" v-if="showJobPopup && companyId && classify.length > 0" :companyId="companyId"
  204. :cittArr="cittArr" :classify="classify" :moneyArr="moneyArr" :jyArr="jyArr" @closePopup="closeJobPopup" />
  205. <u-popup v-model="shows" z-index="99999" mode="bottom" border-radius="14" height="300rpx">
  206. <view class="shar flex justify-center">
  207. <view class="shar-box flex justify-around">
  208. <view class="shar-box-item" @click="appShare('WXSceneSession')">
  209. <u-icon name="weixin-circle-fill" color="#45b630" style="margin-left: 10rpx;" size="70">
  210. </u-icon>
  211. <view class="">
  212. 微信好友
  213. </view>
  214. </view>
  215. <view class="shar-box-item" @click="appShare('WXSenceTimeline')">
  216. <u-icon name="moments-circel-fill" color="#6dbf30" size="70" style="margin-left: 20rpx;">
  217. </u-icon>
  218. <view class="">
  219. 微信朋友圈
  220. </view>
  221. </view>
  222. </view>
  223. </view>
  224. <view class="line"></view>
  225. <view class="sharNo" @click="shows = false">
  226. 取消
  227. </view>
  228. </u-popup>
  229. </view>
  230. </template>
  231. <script>
  232. import btnPopous from '../../components/btnPopous/btnPopous.vue'
  233. import config from '../../common/config.js'
  234. export default {
  235. components: {
  236. btnPopous
  237. },
  238. data() {
  239. return {
  240. statusBarHeight: 0, // 状态栏高度
  241. backStyle: {
  242. color: '#ffffff'
  243. },
  244. shadowStyle: {
  245. backgroundImage: 'none',
  246. },
  247. companyId: '',
  248. info: {},
  249. isCollection: 0, // 收藏状态
  250. showJobPopup: false, // 控制职位弹窗显示
  251. cittArr: [], //企业发布岗位的城市数组
  252. moneyArr: [], //薪资列表数组
  253. jyArr: [], //工作经验列表数组
  254. classify: [], //岗位名称数组
  255. hrList: [
  256. {
  257. name: '孙先生',
  258. position: '人事经理',
  259. color: '#4A90E2'
  260. },
  261. {
  262. name: '宋先生',
  263. position: 'HRBP',
  264. color: '#7ED321'
  265. },
  266. {
  267. name: '邹先生',
  268. position: 'HR助力',
  269. color: '#F5A623'
  270. }
  271. ],
  272. businessList: [],
  273. talentList: [],
  274. sharType: 0,
  275. sharMsg: '',
  276. shows: false
  277. };
  278. },
  279. //分享
  280. onShareAppMessage(res) {
  281. return {
  282. path: '/my/enterpriseInfo/enterpriseInfo?companyId=' + this.companyId + '&invitation=' + uni
  283. .getStorageSync(
  284. 'invitationCode'),
  285. title: this.info.companyName,
  286. }
  287. },
  288. /*
  289. * uniapp微信小程序分享页面到微信朋友圈
  290. */
  291. onShareTimeline(res) {
  292. return {
  293. path: '/my/enterpriseInfo/enterpriseInfo?companyId=' + this.companyId + '&invitation=' + uni
  294. .getStorageSync(
  295. 'invitationCode'),
  296. title: this.info.companyName,
  297. }
  298. },
  299. // onPageScroll(e) {
  300. // if (e.scrollTop > 100) {
  301. // uni.setNavigationBarTitle({
  302. // title: '西安省钱兄网络科技有限公司'
  303. // })
  304. // } else {
  305. // uni.setNavigationBarTitle({
  306. // title: '企业详情'
  307. // })
  308. // }
  309. // },
  310. onLoad(option) {
  311. // 获取状态栏高度
  312. let systemInfo = uni.getSystemInfoSync();
  313. this.statusBarHeight = systemInfo.statusBarHeight || 0;
  314. // 获取邀请码保存到本地
  315. if (option.invitation) {
  316. this.$queue.setData('inviterCode', option.invitation);
  317. }
  318. // #ifdef MP-WEIXIN
  319. if (option.scene) {
  320. const scene = decodeURIComponent(option.scene);
  321. this.$queue.setData('inviterCode', scene.split(',')[0]);
  322. }
  323. // #endif
  324. uni.showLoading({
  325. title: '加载中'
  326. })
  327. this.companyId = option.companyId
  328. this.getInfo();
  329. this.getCityCompanyId();
  330. this.getMoney();
  331. this.getJy();
  332. this.getClassify();
  333. },
  334. methods: {
  335. // 返回上一页
  336. goBack() {
  337. uni.navigateBack();
  338. },
  339. // 显示分享选项
  340. showShare() {
  341. // 可以添加分享逻辑
  342. this.shows = true
  343. },
  344. //app分享
  345. appShare(scene) {
  346. // #ifdef H5
  347. this.shar()
  348. this.shows = false;
  349. return
  350. //#endif
  351. return this.$queue.appShare(scene,this)
  352. let that = this
  353. let routes = getCurrentPages(); // 获取当前打开过的页面路由数组
  354. let curRoute = routes[routes.length - 1].$page.fullPath // 获取当前页面路由,也就是最后一个打开的页面路由
  355. uni.share({
  356. provider: "weixin", //分享服务提供商(即weixin|qq|sinaweibo)
  357. scene: scene, //场景,可取值参考下面说明。
  358. type: 5, //分享形式 0:图文 1:纯文字 2:纯图片 3:音乐 4:视频 5:小程序
  359. // href: curRoute, //跳转链接
  360. // imageUrl:'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/962fc340-4f2c-11eb-bdc1-8bd33eb6adaa.png',
  361. imageUrl: that.sharMsg,
  362. title: that.info.stationName, //分享内容的标题
  363. miniProgram: {
  364. id: 'gh_d531be6accdb', //分享的小程序原始id
  365. path: curRoute, //分享的小程序的页面路径
  366. webUrl: "https://ask.dcloud.net.cn/article/287", //地址
  367. type: that.sharType, //微信小程序的版本 0-正式版; 1-测试版; 2-体验版。 默认值为0。
  368. },
  369. success: function (res) {
  370. that.shows = false; //成功后关闭底部弹框
  371. },
  372. fail: function (err) {
  373. console.log(err, '分享失败回调')
  374. uni.showToast({
  375. title: '分享失败',
  376. icon: 'none',
  377. duration: 2000
  378. })
  379. that.shows = false;
  380. }
  381. });
  382. },
  383. getShowModal() {
  384. uni.showModal({
  385. title: '提示',
  386. content: '请登录后联系企业',
  387. showCancel: true,
  388. cancelText: '取消',
  389. confirmText: '去登录',
  390. complete: (res) => {
  391. if (res.confirm) {
  392. uni.navigateTo({
  393. url: '/pages/public/login'
  394. })
  395. }
  396. }
  397. });
  398. },
  399. shar() {
  400. if (uni.getStorageSync('token')) {
  401. let that = this
  402. // h5分享
  403. // #ifdef H5
  404. let url = config.WSHOST4 + '/my/enterpriseInfo/enterpriseInfo?companyId=' + this.companyId + '&invitation=' + uni
  405. .getStorageSync(
  406. 'invitationCode')
  407. // let url = 'http://192.168.0.109:8081/pages/index/game/order?postPushId=' + this.postPushId
  408. // alert(url)
  409. uni.setClipboardData({
  410. data: url,
  411. success() {
  412. uni.showToast({
  413. title: '分享链接已复制'
  414. })
  415. }
  416. })
  417. // #endif
  418. } else {
  419. this.getShowModal()
  420. }
  421. },
  422. // 收藏企业
  423. setCollection() {
  424. this.$Request.postT("/app/myCollection/saveCollection", {
  425. companyId: this.companyId,
  426. type: 3 // 2表示收藏企业
  427. }).then(res => {
  428. if (res.code == 0) {
  429. uni.showToast({
  430. title: res.msg
  431. })
  432. this.isCollection = this.isCollection == 0 ? 1 : 0;
  433. }
  434. })
  435. },
  436. // 显示所有职位弹窗
  437. goToMoreJobs() {
  438. if (this.classify && this.classify.length <= 0) {
  439. uni.showToast({
  440. title: '该公司还未发布岗位!',
  441. icon: 'none'
  442. })
  443. return;
  444. }
  445. this.showJobPopup = true;
  446. this.$nextTick(() => {
  447. if (this.$refs.jobPopup) {
  448. this.$refs.jobPopup.topY = true;
  449. }
  450. });
  451. },
  452. // 关闭职位弹窗
  453. closeJobPopup() {
  454. this.showJobPopup = false;
  455. },
  456. openMap() {
  457. let that = this
  458. if (that.info.companyLat && that.info.companyLng) {
  459. uni.openLocation({
  460. latitude: that.info.companyLat,
  461. longitude: that.info.companyLng,
  462. address: that.info.province + '' + that.info.city + '' + that.info.district + '' + that
  463. .info
  464. .companyAddress,
  465. name: that.info.companyAddress
  466. })
  467. } else {
  468. uni.showToast({
  469. title: '暂无位置信息',
  470. icon: 'none'
  471. })
  472. }
  473. },
  474. /**
  475. * 岗位分类数组
  476. */
  477. getClassify() {
  478. this.$Request.getT("/app/postPush/getCompanyClassifyByCompanyId", {
  479. companyId: this.companyId
  480. }).then(res => {
  481. if (res.code == 0) {
  482. this.classify = res.data //岗位分类列表数组
  483. }
  484. })
  485. },
  486. /**
  487. * 获取薪资 列表
  488. */
  489. getMoney() {
  490. this.$Request.get("/app/dict/list", {
  491. type: '薪资 '
  492. }).then(res => {
  493. if (res.code == 0) {
  494. this.moneyArr = res.data //薪资列表数组
  495. }
  496. })
  497. },
  498. /**
  499. * 获取工作经验列表
  500. */
  501. getJy() {
  502. this.$Request.get("/app/dict/list", {
  503. type: '工作经验 '
  504. }).then(res => {
  505. if (res.code == 0) {
  506. this.jyArr = res.data //工作经验列表数组
  507. }
  508. })
  509. },
  510. /**
  511. * 根据公司id查询已发布岗位的市
  512. */
  513. getCityCompanyId() {
  514. let data = {
  515. companyId: this.companyId
  516. }
  517. this.$Request.getT("/app/postPush/getCityCompanyId", data).then(res => {
  518. if (res.code == 0) {
  519. this.cittArr = res.data
  520. }
  521. })
  522. },
  523. //获取企业详情
  524. getInfo() {
  525. let that = this
  526. this.$Request.get("/app/company/selectCompanyByCompanyId", {
  527. companyId: this.companyId
  528. }).then(res => {
  529. if (res.code == 0) {
  530. let color = ['#4A90E2', '#7ED321', '#F5A623']
  531. res.data.welfareArr = res.data.welfare ? res.data.welfare.split(',') : []
  532. res.data.photosArr = res.data.photosArr ? res.data.photos.split(',') : []
  533. that.talentList = res.data.companyPeopleDevelop ? res.data.companyPeopleDevelop.split(',') : []
  534. that.businessList = res.data.workDescribe ? res.data.workDescribe.split(',') : []
  535. if (res.data.hr) {
  536. res.data.hr.forEach(function (item, index) {
  537. if (item) {
  538. item.name = '匿名'
  539. item.color = color[index % 3]
  540. for (const user of res.data.userEntities) {
  541. if (item.userId == user.userId) {
  542. item.name = user.userName;
  543. break; // 直接跳出循环
  544. }
  545. }
  546. }
  547. })
  548. }
  549. this.info = res.data
  550. if (this.info.companyName) {
  551. uni.setNavigationBarTitle({
  552. title: that.info.companyName
  553. })
  554. }
  555. that.isCollection = res.data.isCollect || 0
  556. // let reg = /.+?(省|市|自治区|自治州|县|区)/g
  557. // let cityarr = this.info.companyAddress.match(reg)
  558. // if (cityarr && cityarr != null) {
  559. // if (cityarr.length == 3) {
  560. // this.info.companyAddress = cityarr[0] + '' + cityarr[1] + '' + cityarr[2]
  561. // } else {
  562. // this.info.companyAddress = cityarr[0] + '' + cityarr[1]
  563. // }
  564. // }
  565. }
  566. uni.hideLoading()
  567. })
  568. },
  569. }
  570. }
  571. </script>
  572. <style lang="scss">
  573. page {
  574. // background-color: #4B4D5C;
  575. // overflow: hidden;
  576. }
  577. .hr-desc {
  578. color: rgba(102, 102, 102, 1);
  579. font-family: DM Sans;
  580. font-size: 20rpx;
  581. }
  582. .content {
  583. // padding-top 已改为动态计算,在模板中通过 :style 设置
  584. }
  585. .fixed-nav {
  586. position: fixed;
  587. top: 0;
  588. left: 0;
  589. right: 0;
  590. z-index: 9999;
  591. background-color: #ffffff;
  592. padding: 0 32rpx;
  593. // padding-top 已改为动态计算,在模板中通过 :style 设置
  594. }
  595. .nav-bar {
  596. display: flex;
  597. align-items: center;
  598. justify-content: space-between;
  599. height: 88rpx;
  600. padding: 0 8rpx;
  601. // margin-bottom: 30rpx; // 已移除,因为现在是固定导航栏
  602. // padding: 0 40rpx; // 已调整,因为外层 fixed-nav 已有 padding
  603. .nav-left {
  604. display: flex;
  605. align-items: center;
  606. justify-content: flex-start;
  607. width: 96rpx;
  608. }
  609. .nav-title {
  610. color: rgba(34, 37, 42, 1);
  611. font-family: DM Sans;
  612. font-size: 16px;
  613. font-weight: 400;
  614. line-height: 24px;
  615. letter-spacing: 0px;
  616. text-align: left;
  617. }
  618. .nav-right {
  619. display: flex;
  620. align-items: center;
  621. justify-content: flex-end;
  622. width: 96rpx;
  623. }
  624. .nav-icons {
  625. display: flex;
  626. align-items: center;
  627. gap: 24rpx;
  628. }
  629. .nav-icon {
  630. display: flex;
  631. align-items: center;
  632. justify-content: center;
  633. width: 36rpx;
  634. height: 36rpx;
  635. }
  636. .icon-img {
  637. width: 42rpx;
  638. height: 42rpx;
  639. }
  640. }
  641. .info {
  642. width: 100%;
  643. margin-top: 50rpx;
  644. .info-box {
  645. width: 686rpx;
  646. height: 100%;
  647. .info-box-r {
  648. width: calc(100% - 150rpx);
  649. }
  650. .info-box-r-title {
  651. color: rgba(58, 57, 67, 1);
  652. font-family: DM Sans;
  653. font-size: 42rpx;
  654. font-weight: 700;
  655. line-height: 30px;
  656. letter-spacing: 0px;
  657. text-align: left;
  658. }
  659. .info-box-r-label {
  660. color: #FFFFFF;
  661. font-size: 28rpx;
  662. font-weight: 500;
  663. margin-top: 20rpx;
  664. .info-box-r-label-item {
  665. color: rgba(153, 153, 153, 1);
  666. font-family: DM Sans;
  667. font-size: 24rpx;
  668. font-weight: 400;
  669. line-height: 16px;
  670. letter-spacing: 0%;
  671. text-align: left;
  672. margin-right: 10rpx
  673. }
  674. }
  675. }
  676. }
  677. .info-box-r-label-item {
  678. color: rgba(153, 153, 153, 1);
  679. font-family: DM Sans;
  680. font-size: 24rpx;
  681. font-weight: 400;
  682. line-height: 16px;
  683. letter-spacing: 0%;
  684. text-align: left;
  685. margin-right: 10rpx;
  686. margin-top: 20rpx;
  687. }
  688. .remarks {
  689. width: 100%;
  690. margin-top: 50rpx;
  691. .remarks-box {
  692. width: 686rpx;
  693. .remarks-box-title {
  694. color: rgba(34, 37, 42, 1);
  695. font-family: DM Sans;
  696. font-size: 16px;
  697. font-weight: 400;
  698. line-height: 24px;
  699. letter-spacing: 0px;
  700. text-align: left;
  701. }
  702. .remarks-box-con {
  703. margin-top: 30rpx;
  704. }
  705. }
  706. }
  707. .remarks-box-con-item {
  708. color: rgba(153, 153, 153, 1);
  709. font-family: DM Sans;
  710. font-size: 14px;
  711. font-weight: 400;
  712. line-height: 18px;
  713. letter-spacing: 0px;
  714. text-align: left;
  715. }
  716. .address {
  717. width: 100%;
  718. margin-top: 80rpx;
  719. .address-box {
  720. width: 686rpx;
  721. border-radius: 24rpx;
  722. .address-box-c {
  723. width: 100%;
  724. .working-hours {
  725. margin-bottom: 24rpx;
  726. text {
  727. color: rgba(51, 51, 51, 1);
  728. font-size: 28rpx;
  729. font-weight: 400;
  730. }
  731. }
  732. .benefits-section {
  733. margin-bottom: 24rpx;
  734. .benefits-tags {
  735. gap: 12rpx;
  736. .benefit-tag {
  737. background: rgba(40, 107, 229, 0.1);
  738. border-radius: 12rpx;
  739. padding: 12rpx;
  740. display: flex;
  741. align-items: center;
  742. gap: 8rpx;
  743. .tag-icon {
  744. width: 42rpx;
  745. height: 42rpx;
  746. }
  747. text {
  748. color: rgba(34, 37, 42, 0.5);
  749. font-family: DM Sans;
  750. font-size: 20rpx;
  751. font-weight: 400;
  752. line-height: 44rpx;
  753. letter-spacing: 0px;
  754. text-align: left;
  755. }
  756. }
  757. }
  758. }
  759. .address-box-c-add {
  760. padding: 0;
  761. .address-box-c-add-l {
  762. color: rgba(102, 102, 102, 1);
  763. font-family: DM Sans;
  764. font-size: 24rpx;
  765. font-weight: 400;
  766. line-height: 16px;
  767. letter-spacing: 0px;
  768. text-align: left;
  769. }
  770. .address-box-c-add-r {
  771. width: 48rpx;
  772. height: 48rpx;
  773. display: flex;
  774. align-items: center;
  775. justify-content: center;
  776. }
  777. }
  778. }
  779. }
  780. }
  781. .business-section {
  782. width: 100%;
  783. margin-top: 30rpx;
  784. .business-box {
  785. width: 686rpx;
  786. background: #ffffff;
  787. border-radius: 24rpx;
  788. .business-title {
  789. color: rgba(34, 37, 42, 1);
  790. font-family: DM Sans;
  791. font-size: 16px;
  792. font-weight: 400;
  793. line-height: 24px;
  794. letter-spacing: 0px;
  795. text-align: left;
  796. margin-bottom: 24rpx;
  797. }
  798. .business-tags {
  799. gap: 12rpx;
  800. .business-tag {
  801. background: transparent;
  802. border: 1px solid rgba(153, 196, 250, 1);
  803. border-radius: 12rpx;
  804. padding: 6rpx 12rpx;
  805. color: rgba(40, 107, 229, 1);
  806. font-family: DM Sans;
  807. font-size: 20rpx;
  808. font-weight: 400;
  809. line-height: 16px;
  810. letter-spacing: 0px;
  811. text-align: center;
  812. }
  813. }
  814. }
  815. }
  816. .talent-section {
  817. width: 100%;
  818. margin-top: 30rpx;
  819. .talent-box {
  820. width: 686rpx;
  821. background: #ffffff;
  822. border-radius: 24rpx;
  823. .talent-title {
  824. color: rgba(34, 37, 42, 1);
  825. font-family: DM Sans;
  826. font-size: 16px;
  827. font-weight: 400;
  828. line-height: 24px;
  829. letter-spacing: 0px;
  830. text-align: left;
  831. margin-bottom: 24rpx;
  832. }
  833. .talent-tags {
  834. gap: 12rpx;
  835. .talent-tag {
  836. background: rgba(153, 153, 153, 0.1);
  837. border-radius: 12rpx;
  838. padding: 6rpx 12rpx;
  839. color: rgba(102, 102, 102, 1);
  840. font-family: DM Sans;
  841. font-size: 20rpx;
  842. font-weight: 400;
  843. line-height: 16px;
  844. letter-spacing: 0px;
  845. text-align: center;
  846. }
  847. .photo {
  848. width: 100%;
  849. }
  850. }
  851. }
  852. }
  853. .photo-box {
  854. position: relative;
  855. width: 100%;
  856. padding-top: 75%;
  857. overflow: hidden;
  858. }
  859. .photoImage {
  860. position: absolute;
  861. top: 0;
  862. left: 0;
  863. width: 100%;
  864. height: 100%;
  865. }
  866. .hr-section {
  867. width: 100%;
  868. .hr-box {
  869. width: 686rpx;
  870. background: #ffffff;
  871. border-radius: 24rpx;
  872. .hr-header {
  873. padding: 50rpx 0 0 0;
  874. margin-bottom: 30rpx;
  875. .hr-title {
  876. color: rgba(34, 37, 42, 1);
  877. font-family: DM Sans;
  878. font-size: 16px;
  879. font-weight: 400;
  880. line-height: 24px;
  881. letter-spacing: 0px;
  882. text-align: left;
  883. }
  884. .view-all-jobs {
  885. text {
  886. color: rgba(255, 102, 0, 1);
  887. font-family: DM Sans;
  888. font-size: 12px;
  889. font-weight: 400;
  890. line-height: 16px;
  891. letter-spacing: 0px;
  892. text-align: right;
  893. }
  894. }
  895. }
  896. .hr-list {
  897. padding: 0 0 30rpx 0;
  898. flex-wrap: wrap;
  899. gap: 20rpx;
  900. .hr-item {
  901. // flex: 1;
  902. .hr-content {
  903. align-items: center;
  904. .hr-avatar-container {
  905. position: relative;
  906. margin-right: 16rpx;
  907. .hr-avatar {
  908. width: 80rpx;
  909. height: 80rpx;
  910. border-radius: 50%;
  911. display: flex;
  912. align-items: center;
  913. justify-content: center;
  914. position: relative;
  915. image {
  916. width: 80rpx;
  917. height: 80rpx;
  918. border-radius: 50%;
  919. }
  920. .avatar-text {
  921. color: #ffffff;
  922. font-size: 32rpx;
  923. font-weight: 600;
  924. }
  925. }
  926. .online-dot {
  927. position: absolute;
  928. bottom: 4rpx;
  929. right: 4rpx;
  930. width: 20rpx;
  931. height: 20rpx;
  932. background-color: #7ED321;
  933. border-radius: 50%;
  934. border: 3rpx solid #ffffff;
  935. }
  936. }
  937. .hr-text {
  938. .hr-name {
  939. color: rgba(34, 37, 42, 1);
  940. font-family: DM Sans;
  941. font-size: 28rpx;
  942. font-weight: 500;
  943. line-height: 20px;
  944. margin-bottom: 4rpx;
  945. text-align: left;
  946. }
  947. .hr-position {
  948. color: rgba(153, 153, 153, 1);
  949. font-family: DM Sans;
  950. font-size: 24rpx;
  951. font-weight: 400;
  952. line-height: 16px;
  953. text-align: left;
  954. }
  955. }
  956. }
  957. }
  958. }
  959. }
  960. }
  961. .gsInfo {
  962. width: 100%;
  963. margin-top: 20rpx;
  964. .gsInfo-box {
  965. width: 686rpx;
  966. height: 100%;
  967. border-radius: 24rpx;
  968. .gsInfo-box-c {
  969. width: 100%;
  970. height: 100%;
  971. padding-top: 30rpx;
  972. padding-bottom: 30rpx;
  973. }
  974. .gsInfo-box-c-title {
  975. color: rgba(34, 37, 42, 1);
  976. font-family: DM Sans;
  977. font-size: 16px;
  978. font-weight: 400;
  979. line-height: 24px;
  980. letter-spacing: 0px;
  981. text-align: left;
  982. margin-bottom: 10rpx;
  983. }
  984. .gsInfo-box-c-item {
  985. color: rgba(153, 153, 153, 1);
  986. font-family: DM Sans;
  987. font-size: 12px;
  988. font-weight: 400;
  989. line-height: 16px;
  990. letter-spacing: 0%;
  991. text-align: left;
  992. margin-bottom: 10rpx;
  993. }
  994. }
  995. }
  996. .shar {
  997. width: 100%;
  998. height: 100rpx;
  999. margin-top: 40rpx;
  1000. .shar-box {
  1001. width: 686rpx;
  1002. height: 100%;
  1003. .shar-box-item {
  1004. font-size: 24rpx;
  1005. }
  1006. }
  1007. }
  1008. .line {
  1009. width: 100%;
  1010. border: 1rpx solid #F2F2F7;
  1011. margin-top: 30rpx;
  1012. margin-bottom: 20rpx;
  1013. }
  1014. .sharNo {
  1015. width: 100%;
  1016. color: #cccccc;
  1017. font-size: 24rpx;
  1018. text-align: center;
  1019. }
  1020. </style>