order.vue 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179
  1. <template>
  2. <view style="padding: 88rpx 40rpx 40rpx 40rpx;">
  3. <!-- 顶部导航 -->
  4. <view class="nav-bar">
  5. <view class="nav-left" @click="goBack">
  6. <u-icon name="arrow-leftward" color="rgba(51, 51, 51, 1)" style="font-size: 38rpx;"></u-icon>
  7. </view>
  8. <view class="nav-title">职位详情</view>
  9. <view class="nav-right">
  10. <view class="nav-icons">
  11. <view class="nav-icon" @click="setCollection">
  12. <image v-if="info.isCollection==0" src="/static/images/index/guanzhu.svg" class="icon-img"></image>
  13. <image v-else src="/static/images/index/gzActive.svg" style="width: 52rpx;height: 52rpx;"></image>
  14. </view>
  15. <view class="nav-icon" @click="showShare">
  16. <image src="/static/images/index/fenxiang.svg" style="width: 60rpx;height: 60rpx;"></image>
  17. </view>
  18. </view>
  19. </view>
  20. </view>
  21. <!-- 岗位要求 -->
  22. <view class="job flex justify-center">
  23. <view class="job-info flex justify-center">
  24. <view class="job-info-c">
  25. <view class="job-info-c-top flex align-center justify-between">
  26. <view class="job-info-c-title" v-if="info.stationName">
  27. <block v-if="isSameName(info.ruleClassifyName,info.stationName)">
  28. {{info.ruleClassifyName}}-
  29. </block>
  30. <block>
  31. {{info.stationName}}
  32. </block>
  33. </view>
  34. <view class="job-info-c-price" v-if="info.salaryRange">
  35. {{info.salaryRange}}
  36. </view>
  37. </view>
  38. <view class="enterprise-box-c-bto flex align-center justify-between" @click.stop="gotoMap()">
  39. <view class="enterprise-box-c-bto-l flex align-center gap-10rpx">
  40. <u-icon name="map" color="rgba(58, 57, 67, 1)" style="margin-right: 10rpx;"
  41. size="24"></u-icon>
  42. {{info.province?info.province:''}}{{info.city?info.city:''}}{{info.county?info.county:''}}{{info.address?info.address:''}}
  43. </view>
  44. <!-- <view class="enterprise-box-c-bto-r">
  45. <u-icon name="arrow-right" color="#016BF6" style="margin-right: 20rpx;" size="28"></u-icon>
  46. </view> -->
  47. </view>
  48. <view class="job-info-c-label flex align-center flex-wrap">
  49. <view class="job-info-c-label-item" v-if="info.county">
  50. {{info.county}}
  51. </view>
  52. <view class="job-info-c-label-item" v-if="info.experience">
  53. {{info.experience}}
  54. </view>
  55. <view class="job-info-c-label-item" v-if="info.education">
  56. {{info.education}}
  57. </view>
  58. </view>
  59. </view>
  60. </view>
  61. </view>
  62. <!-- 急聘 -->
  63. <view class="urgent-banner">
  64. <view class="urgent-icon">
  65. <image src="/static/images/index/jipin2.svg" class="icon-img"></image>
  66. </view>
  67. <view class="urgent-text">
  68. <view class="urgent-title">该招聘为急聘职位</view>
  69. <view class="urgent-subtitle">急清职位可在下方点击一键投递简历</view>
  70. </view>
  71. </view>
  72. <!-- 企业信息 -->
  73. <view class="enterprise-box-c-info flex align-start justify-between">
  74. <view class="enterprise-left flex align-center">
  75. <view class="avatar-container">
  76. <image :src="info.company?info.company.companyLogo:'../../../static/logo.png'"
  77. style="width: 95rpx;height: 95rpx;border-radius: 50%;" mode=""></image>
  78. <view class="online-dot"></view>
  79. </view>
  80. <view class="enterprise-box-c-info-n">
  81. <view class="">
  82. {{info.company?info.company.companyName:''}}
  83. </view>
  84. <view class="">
  85. {{info.company?info.company.companyScope:''}}
  86. </view>
  87. <view>
  88. 3分钟前回复
  89. </view>
  90. </view>
  91. </view>
  92. <view class="more-jobs flex align-center" @click="goToMoreJobs">
  93. <text>更多职位</text>
  94. <u-icon name="arrow-right" color="rgba(51, 51, 51, 1)" size="28"></u-icon>
  95. </view>
  96. </view>
  97. <!-- 岗位介绍 -->
  98. <view class="jobRemarks flex justify-center">
  99. <!-- <skeleton type="round" bgColor="#ffffff"> -->
  100. <view class="jobRemarks-box flex justify-center">
  101. <view class="jobRemarks-box-c">
  102. <view class="jobRemarks-box-c-title flex align-center">
  103. <image src="/static/images/index/ins.png" class="title-icon"></image>
  104. <text>职位说明</text>
  105. </view>
  106. <view class="jobRemarks-box-c-label flex align-center flex-wrap" v-if="info.tag">
  107. <view class="jobRemarks-box-c-label-item" v-for="(item,index) in info.tag.split(',')"
  108. :key="index">
  109. {{item}}
  110. </view>
  111. </view>
  112. <view class="job-description">
  113. <view class="description-item">1.负责Amazon英国、欧洲站、制定推广与销售计划,达成团队要求的销售业绩;</view>
  114. <view class="description-item">2.做好数据的统计分析工作,收集、分析市场信息,竞争对手状况,并根据产品销售与排名变化,及时制定和调整产品的销售策略;</view>
  115. <view class="description-item">3.熟悉Amazon店铺操作,负责店铺产品编辑上传,精准把握关键词选择,负责标题,详情页面的优化;</view>
  116. <view class="description-item">4.熟悉Amazon平台规则,熟悉Amazon站内广告投放和促销式,站外促销,找红人营销等提高曝光率和转化率的引流方;</view>
  117. <view class="description-item">5.控制产品风险,合理规划FBA库存,及时合理处理滞销FBA库存;</view>
  118. <view class="description-item">6.对产品销售进行跟踪,分析,及时汇报销售中存在的问题,并给出可行性意见;</view>
  119. <view class="description-item">7.及时处理客户留言及回评,解答客户相关咨询与投诉,并进行问题整理统计分析,提高店铺的好评率,确保账号安全;</view>
  120. <view class="description-item">8.每月定期整理分析运营各项数据,并提出相应的合理化建议。</view>
  121. <view class="description-item">工作经验要求:</view>
  122. <view class="description-item">1.Amazon平台欧美站点1年以上独立运营经验,英语能力良好</view>
  123. <view class="description-item">2.了解亚马逊平台算法逻辑和排名规则,有清晰的运营思路,掌握亚马逊平台推广技巧</view>
  124. <view class="description-item">3.能接受小精品/精铺模式,品类不限,发展空间更大</view>
  125. <view class="description-item">4.熟练掌握办公软件,擅长Excel表格的数据汇总和整理</view>
  126. <view class="description-item">5.有团队合作精神,良好的沟通和人际交往能力,有较好的主动性及挑战自我的信心</view>
  127. <view class="description-item">6.会使用各种AI来辅助运营工作,做过英国,欧洲本土号的优先录用</view>
  128. </view>
  129. <view class="jobRemarks-box-c-con" v-if="info.positionDetails">
  130. <view class="jobRemarks-box-c-con-item" v-html="info.positionDetails">
  131. </view>
  132. </view>
  133. <view class="jobRemarks-box-c-line"></view>
  134. <view class="jobRemarks-box-c-title flex align-center" style="margin-top: 25rpx;">
  135. <image src="/static/images/index/welfare.png" class="title-icon"></image>
  136. <text>岗位福利</text>
  137. </view>
  138. <view class="jobRemarks-box-c-label flex align-center flex-wrap" v-if="info.positionWelfare">
  139. <view class="jobRemarks-box-c-label-item"
  140. v-for="(item,index) in info.positionWelfare?info.positionWelfare.split(','):[]"
  141. :key="index">
  142. {{item}}
  143. </view>
  144. </view>
  145. <view class="jobRemarks-box-c-label flex align-center flex-wrap" v-else>
  146. <view class="jobRemarks-box-c-label-item">
  147. 暂无
  148. </view>
  149. </view>
  150. <view class="job-description">
  151. <view class="description-item">1.完整的晋升机制,每年2次调薪机会;</view>
  152. <view class="description-item">2.满一年五天带薪年假;</view>
  153. <view class="description-item">3.每月员工下午茶;</view>
  154. <view class="description-item">4.各类大促活动有对应的激励方案;</view>
  155. <view class="description-item">5.丰厚的提成和年终奖励;</view>
  156. <view class="description-item">6.开设员工俱乐部:羽毛球、篮球、舞蹈、瑜伽等等。</view>
  157. </view>
  158. </view>
  159. </view>
  160. <!-- </skeleton> -->
  161. </view>
  162. <!-- 企业简介 -->
  163. <view class="enterprise" v-if="info.lng">
  164. <!-- 公司介绍卡片 -->
  165. <view class="company-intro-card" @click="goInfo(info.company.companyId)">
  166. <view class="company-avatar">
  167. <image :src="info.company?info.company.companyLogo:'../../../static/logo.png'"
  168. style="width: 95rpx;height: 95rpx;border-radius: 50%;" mode="aspectFill"></image>
  169. </view>
  170. <view class="company-info">
  171. <view class="company-name">{{info.company?info.company.companyName:''}}</view>
  172. <view class="company-details">{{info.company?info.company.companyPeople:''}} · {{info.company?info.company.companyScope:''}}</view>
  173. </view>
  174. <view class="company-arrow">
  175. <u-icon name="arrow-right" color="rgba(51, 51, 51, 1)" size="32"></u-icon>
  176. </view>
  177. </view>
  178. <!-- 地图区域 -->
  179. <view class="enterprise-box flex justify-center">
  180. <view class="enterprise-box-c">
  181. <!-- #ifndef APP -->
  182. <view class="enterprise-box-c-map">
  183. <map style="width: 100%; height: 100%;" scale="14" @tap.stop="gotoMap()" :latitude="info.lat"
  184. :longitude="info.lng" :markers="covers">
  185. </map>
  186. </view>
  187. <!-- #endif -->
  188. </view>
  189. </view>
  190. </view>
  191. <!-- 底部操作 -->
  192. <view class="caozuo flex justify-center align-center">
  193. <view class="caozuo-box-l flex justify-center align-center" @click="oneClickApply">
  194. 一键投递
  195. </view>
  196. <view class="caozuo-box-r flex justify-center align-center" @click="bindphone(2)">
  197. 立即沟通
  198. </view>
  199. <!-- <view class="caozuo-box flex align-center justify-between">
  200. <view class="caozuo-box-l flex align-center">
  201. <!-- #ifdef MP-WEIXIN -->
  202. <view class="caozuo-box-l-item flex align-center flex-wrap">
  203. <button open-type="share">
  204. <u-icon name="share" color="#333333" size="50"></u-icon>
  205. <text style="margin-top: 16rpx;">分享</text>
  206. </button>
  207. </view>
  208. <!-- #endif -->
  209. <!-- #ifdef H5 -->
  210. <view class="caozuo-box-l-item flex align-center flex-wrap" @click="shar()">
  211. <u-icon name="share" color="#333333" size="50"></u-icon>
  212. <view class="">
  213. 分享
  214. </view>
  215. </view>
  216. #endif
  217. #ifdef APP-PLUS
  218. <view class="caozuo-box-l-item flex align-center flex-wrap" @click="shows = true">
  219. <u-icon name="share" color="#333333" size="50"></u-icon>
  220. <view class="">
  221. 分享
  222. </view>
  223. </view>
  224. <!-- #endif -->
  225. <view class="caozuo-box-l-item flex align-center flex-wrap" @click="goJuBao()">
  226. <u-icon name="warning" color="#333333" size="50"></u-icon>
  227. <view class="">
  228. 举报
  229. </view>
  230. </view>
  231. <view @click="setCollection()" class="caozuo-box-l-item flex align-center flex-wrap">
  232. <u-icon name="star" v-if="info.isCollection==0" color="#333333" size="50"></u-icon>
  233. <u-icon name="star-fill" v-else color="#016BF6" size="50"></u-icon>
  234. <view class="">
  235. {{info.isCollection==0?'收藏':'取消'}}
  236. </view>
  237. </view>
  238. </view>
  239. </view> -->
  240. </view>
  241. <u-popup v-model="shows" z-index="99999" mode="bottom" border-radius="14" height="300rpx">
  242. <view class="shar flex justify-center">
  243. <view class="shar-box flex justify-around">
  244. <view class="shar-box-item" @click="appShare('WXSceneSession')">
  245. <u-icon name="weixin-circle-fill" color="#45b630" style="margin-left: 10rpx;" size="70">
  246. </u-icon>
  247. <view class="">
  248. 微信好友
  249. </view>
  250. </view>
  251. <view class="shar-box-item" @click="appShare('WXSenceTimeline')">
  252. <u-icon name="moments-circel-fill" color="#6dbf30" size="70" style="margin-left: 20rpx;">
  253. </u-icon>
  254. <view class="">
  255. 微信朋友圈
  256. </view>
  257. </view>
  258. </view>
  259. </view>
  260. <view class="line"></view>
  261. <view class="sharNo" @click="shows = false">
  262. 取消
  263. </view>
  264. </u-popup>
  265. <!-- 返回首页按钮 -->
  266. <!-- #ifdef H5 -->
  267. <!--
  268. <view class="backHome" @click="goHome()">
  269. <image src="../../../static/images/index/backHome.png" mode=""></image>
  270. </view>
  271. -->
  272. <!-- #endif -->
  273. </view>
  274. </template>
  275. <script>
  276. import config from '../../../common/config.js'
  277. export default {
  278. //分享
  279. onShareAppMessage(res) {
  280. return {
  281. path: '/pages/index/game/order?postPushId=' + this.postPushId + '&invitation=' + uni.getStorageSync(
  282. 'invitationCode'),
  283. title: this.info.stationName,
  284. }
  285. },
  286. /*
  287. * uniapp微信小程序分享页面到微信朋友圈
  288. */
  289. onShareTimeline(res) {
  290. return {
  291. path: '/pages/index/game/order?postPushId=' + this.postPushId + '&invitation=' + uni.getStorageSync(
  292. 'invitationCode'),
  293. title: this.info.stationName,
  294. }
  295. },
  296. data() {
  297. return {
  298. loading: true,
  299. shows: false,
  300. postPushId: '',
  301. info: {}, //岗位详情
  302. token: uni.getStorageSync('token'),
  303. covers: [{
  304. id: 1,
  305. latitude: '',
  306. longitude: '',
  307. width: 20,
  308. height: 20,
  309. iconPath: '../../../static/images/mapMarker.png',
  310. callout: {
  311. content: '',
  312. color: '#000', //文字颜色
  313. fontSize: 10, //文本大小
  314. padding: 10, //附近留白
  315. borderRadius: 24, //边框圆角
  316. bgColor: '#FFFFFF', //背景颜色
  317. display: 'ALWAYS', //常显
  318. }
  319. }],
  320. sharType: 0,
  321. sharMsg: '',
  322. };
  323. },
  324. onLoad(option) {
  325. // 获取邀请码保存到本地
  326. if (option.invitation) {
  327. this.$queue.setData('inviterCode', option.invitation);
  328. }
  329. // #ifdef MP-WEIXIN
  330. if (option.scene) {
  331. const scene = decodeURIComponent(option.scene);
  332. this.$queue.setData('inviterCode', scene.split(',')[0]);
  333. }
  334. // #endif
  335. //小程序分享版本
  336. this.$Request.getT('/app/common/type/340').then(res => {
  337. if (res.code == 0) {
  338. if (res.data && res.data.value) {
  339. this.sharType = res.data.value
  340. }
  341. }
  342. });
  343. //小程序分享图片
  344. this.$Request.getT('/app/common/type/341').then(res => {
  345. if (res.code == 0) {
  346. if (res.data && res.data.value) {
  347. this.sharMsg = res.data.value
  348. }
  349. }
  350. });
  351. uni.showLoading({
  352. title: '加载中'
  353. })
  354. this.postPushId = option.postPushId
  355. this.getInfo()
  356. },
  357. methods: {
  358. // 返回上一页
  359. goBack() {
  360. uni.navigateBack();
  361. },
  362. // 显示分享选项
  363. showShare() {
  364. this.shows = true;
  365. },
  366. //判断岗位名称与职位名称是否相同(不区分大小写)
  367. isSameName(className, name) {
  368. let str1 = className.trim();
  369. let str2 = name.trim();
  370. if (str1.length !== str2.length) {
  371. return true;
  372. }
  373. return str1.toLowerCase() !== str2.toLowerCase();
  374. },
  375. goHome() {
  376. let pages = getCurrentPages(); // 获取页面栈
  377. console.log(pages)
  378. if (pages.length > 1) { //有上一页
  379. uni.navigateBack()
  380. } else {
  381. uni.switchTab({
  382. url: '/pages/index/index'
  383. })
  384. }
  385. },
  386. //app分享
  387. appShare(scene) {
  388. let that = this
  389. let routes = getCurrentPages(); // 获取当前打开过的页面路由数组
  390. let curRoute = routes[routes.length - 1].$page.fullPath // 获取当前页面路由,也就是最后一个打开的页面路由
  391. uni.share({
  392. provider: "weixin", //分享服务提供商(即weixin|qq|sinaweibo)
  393. scene: scene, //场景,可取值参考下面说明。
  394. type: 5, //分享形式 0:图文 1:纯文字 2:纯图片 3:音乐 4:视频 5:小程序
  395. // href: curRoute, //跳转链接
  396. // imageUrl:'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/962fc340-4f2c-11eb-bdc1-8bd33eb6adaa.png',
  397. imageUrl: that.sharMsg,
  398. title: that.info.stationName, //分享内容的标题
  399. miniProgram: {
  400. id: 'gh_d531be6accdb', //分享的小程序原始id
  401. path: curRoute, //分享的小程序的页面路径
  402. webUrl: "https://ask.dcloud.net.cn/article/287", //地址
  403. type: that.sharType, //微信小程序的版本 0-正式版; 1-测试版; 2-体验版。 默认值为0。
  404. },
  405. success: function(res) {
  406. that.shows = false; //成功后关闭底部弹框
  407. },
  408. fail: function(err) {
  409. console.log(err, '分享失败回调')
  410. uni.showToast({
  411. title: '分享失败',
  412. icon: 'none',
  413. duration: 2000
  414. })
  415. that.shows = false;
  416. }
  417. });
  418. },
  419. getShowModal() {
  420. uni.showModal({
  421. title: '提示',
  422. content: '请登录后联系企业',
  423. showCancel: true,
  424. cancelText: '取消',
  425. confirmText: '去登录',
  426. complete: (res) => {
  427. if (res.confirm) {
  428. uni.navigateTo({
  429. url: '/pages/public/login'
  430. })
  431. }
  432. }
  433. });
  434. },
  435. shar() {
  436. if (this.token) {
  437. let that = this
  438. // h5分享
  439. // #ifdef H5
  440. let url = config.WSHOST4 + '/pages/index/game/order?postPushId=' + this.postPushId
  441. // let url = 'http://192.168.0.109:8081/pages/index/game/order?postPushId=' + this.postPushId
  442. // alert(url)
  443. uni.setClipboardData({
  444. data: url,
  445. success() {
  446. uni.showToast({
  447. title: '分享链接已复制'
  448. })
  449. }
  450. })
  451. // #endif
  452. } else {
  453. this.getShowModal()
  454. }
  455. },
  456. goJuBao() {
  457. if (this.token) {
  458. uni.navigateTo({
  459. url: '/my/feedback/jubao?postPushId=' + this.postPushId
  460. })
  461. } else {
  462. this.getShowModal()
  463. }
  464. },
  465. //在线联系
  466. bindphone(phone, index) {
  467. if (uni.getStorageSync('token')) {
  468. this.$Request.get('/app/resumes/selectResumesByUserId').then(res => {
  469. if (res.code == 0) {
  470. let obj = res.data
  471. if (JSON.stringify(obj) == '{}' || obj == null) {
  472. uni.showModal({
  473. title: '提示',
  474. content: '暂无简历,请完善简历!',
  475. confirmText: '去完善',
  476. confirmColor: '#016BF6',
  477. complete(ret) {
  478. if (ret.confirm) {
  479. uni.navigateTo({
  480. url: '/package/my/resume'
  481. })
  482. }
  483. }
  484. })
  485. } else {
  486. this.$Request.postJson('/app/chat/insertChatConversation', {
  487. userId: uni.getStorageSync('userId'), //用户userid
  488. focusedUserId: this.info.user.userId, //企业userid
  489. type: 1,
  490. postPushId: this.info.postPushId,
  491. resumesId: res.data.resumesId
  492. }).then(res => {
  493. if (res.code == 0) {
  494. uni.navigateTo({
  495. url: '/pages/msg/im?byUserId=' + this.info.user
  496. .userId + '&chatConversationId=' + res.data
  497. .chatConversationId + '&postPushId=' + res.data
  498. .postPushId
  499. })
  500. }
  501. })
  502. }
  503. }
  504. })
  505. } else {
  506. uni.showModal({
  507. title: '提示',
  508. content: '请登录后联系企业',
  509. showCancel: true,
  510. cancelText: '取消',
  511. confirmText: '去登录',
  512. complete: (res) => {
  513. if (res.confirm) {
  514. uni.navigateTo({
  515. url: '/pages/public/login'
  516. })
  517. }
  518. }
  519. });
  520. }
  521. },
  522. //拉起地图导航
  523. gotoMap() {
  524. let that = this
  525. uni.openLocation({
  526. latitude: that.info.lat,
  527. longitude: that.info.lng,
  528. address: that.info.province + '' + that.info.city + '' + that.info.county + '' + that.info
  529. .address,
  530. name: that.info.address,
  531. complete(ret) {
  532. }
  533. })
  534. },
  535. /**
  536. * 收藏岗位
  537. */
  538. setCollection() {
  539. this.$Request.postT("/app/myCollection/saveCollection", {
  540. postPushId: this.postPushId,
  541. type: 1
  542. }).then(res => {
  543. if (res.code == 0) {
  544. uni.showToast({
  545. title: res.msg
  546. })
  547. this.getInfo()
  548. }
  549. })
  550. },
  551. /**
  552. * 获取岗位详情
  553. */
  554. getInfo() {
  555. this.$Request.getT("/app/postPush/selectPostPushDetails", {
  556. userId: uni.getStorageSync('userId'),
  557. postPushId: this.postPushId
  558. }).then(res => {
  559. if (res.code == 0) {
  560. this.info = res.data
  561. this.covers = [{
  562. id: 1,
  563. latitude: this.info.lat,
  564. longitude: this.info.lng,
  565. width: 20,
  566. height: 20,
  567. iconPath: '../../../static/images/mapMarker.png',
  568. callout: {
  569. content: this.info.city + '' + this.info.county + '' + this.info.address,
  570. color: '#000', //文字颜色
  571. fontSize: 10, //文本大小
  572. padding: 10, //附近留白
  573. borderRadius: 24, //边框圆角
  574. bgColor: '#FFFFFF', //背景颜色
  575. display: 'ALWAYS', //常显
  576. }
  577. }]
  578. }
  579. uni.hideLoading()
  580. })
  581. },
  582. //跳转企业详情
  583. goInfo(companyId) {
  584. uni.navigateTo({
  585. url: '/my/enterpriseInfo/enterpriseInfo?companyId=' + companyId
  586. })
  587. },
  588. //跳转更多职位
  589. goToMoreJobs() {
  590. uni.navigateTo({
  591. url: '/package/list/companyList?companyId=' + this.info.company.companyId
  592. })
  593. },
  594. //一键投递
  595. oneClickApply() {
  596. if (uni.getStorageSync('token')) {
  597. this.$Request.get('/app/resumes/selectResumesByUserId').then(res => {
  598. if (res.code == 0) {
  599. let obj = res.data
  600. if (JSON.stringify(obj) == '{}' || obj == null) {
  601. uni.showModal({
  602. title: '提示',
  603. content: '暂无简历,请完善简历!',
  604. confirmText: '去完善',
  605. confirmColor: '#016BF6',
  606. complete(ret) {
  607. if (ret.confirm) {
  608. uni.navigateTo({
  609. url: '/package/my/resume'
  610. })
  611. }
  612. }
  613. })
  614. } else {
  615. // 执行一键投递逻辑
  616. this.$Request.postT("/app/postPush/oneClickApply", {
  617. postPushId: this.postPushId,
  618. resumesId: res.data.resumesId
  619. }).then(res => {
  620. if (res.code == 0) {
  621. uni.showToast({
  622. title: '投递成功',
  623. icon: 'success'
  624. })
  625. } else {
  626. uni.showToast({
  627. title: res.msg || '投递失败',
  628. icon: 'none'
  629. })
  630. }
  631. })
  632. }
  633. }
  634. })
  635. } else {
  636. uni.showModal({
  637. title: '提示',
  638. content: '请登录后投递简历',
  639. showCancel: true,
  640. cancelText: '取消',
  641. confirmText: '去登录',
  642. complete: (res) => {
  643. if (res.confirm) {
  644. uni.navigateTo({
  645. url: '/pages/public/login'
  646. })
  647. }
  648. }
  649. });
  650. }
  651. },
  652. }
  653. }
  654. </script>
  655. <style lang="scss">
  656. page {
  657. // background-color: #F2F2F7;
  658. padding-bottom: 200rpx;
  659. }
  660. .urgent-banner {
  661. width: 100%;
  662. height: 120rpx;
  663. background: linear-gradient(90deg, rgba(255, 65, 86, 1) 0%, rgba(255, 102, 0, 0.35) 100%);
  664. border-radius: 16rpx;
  665. display: flex;
  666. align-items: center;
  667. padding: 0 30rpx;
  668. margin: 0 auto 20rpx auto;
  669. .urgent-icon {
  670. width: 64rpx;
  671. height: 64rpx;
  672. border-radius: 50%;
  673. display: flex;
  674. align-items: center;
  675. justify-content: center;
  676. margin-right: 24rpx;
  677. flex-shrink: 0;
  678. }
  679. .urgent-text {
  680. flex: 1;
  681. text-align: left;
  682. .urgent-title {
  683. color: #ffffff;
  684. font-family: DM Sans;
  685. font-size: 26rpx;
  686. font-weight: 400;
  687. letter-spacing: 0px;
  688. }
  689. .urgent-subtitle {
  690. color: rgba(255, 255, 255, 1);
  691. font-family: DM Sans;
  692. font-size: 18rpx;
  693. font-weight: 400;
  694. text-align: left;
  695. }
  696. }
  697. }
  698. .nav-bar {
  699. display: flex;
  700. align-items: center;
  701. justify-content: space-between;
  702. margin-bottom: 30rpx;
  703. .nav-left {
  704. display: flex;
  705. align-items: center;
  706. justify-content: flex-start;
  707. width: 96rpx;
  708. }
  709. .nav-title {
  710. flex: 1;
  711. color: rgba(51, 51, 51, 1);
  712. font-family: DM Sans;
  713. font-size: 32rpx;
  714. font-weight: 700;
  715. line-height: 26px;
  716. text-align: center;
  717. }
  718. .nav-right {
  719. display: flex;
  720. align-items: center;
  721. justify-content: flex-end;
  722. width: 96rpx;
  723. }
  724. .nav-icons {
  725. display: flex;
  726. align-items: center;
  727. gap: 24rpx;
  728. }
  729. .nav-icon {
  730. display: flex;
  731. align-items: center;
  732. justify-content: center;
  733. width: 36rpx;
  734. height: 36rpx;
  735. }
  736. .icon-img {
  737. width: 42rpx;
  738. height: 42rpx;
  739. }
  740. .icon-img.active {
  741. filter: hue-rotate(120deg) saturate(1.5);
  742. }
  743. }
  744. button {
  745. background: #ffffff;
  746. border: none !important;
  747. width: 120rpx;
  748. font-size: 24rpx;
  749. height: 80rpx;
  750. display: flex;
  751. justify-content: center;
  752. align-content: flex-start;
  753. flex-wrap: wrap;
  754. margin: 0;
  755. padding: 0 !important;
  756. line-height: 0 !important;
  757. }
  758. button:after {
  759. border: none !important;
  760. }
  761. .backHome {
  762. position: fixed;
  763. right: 30rpx;
  764. bottom: 160rpx;
  765. image {
  766. width: 80rpx;
  767. height: 80rpx;
  768. border-radius: 50%;
  769. }
  770. }
  771. .shar {
  772. width: 100%;
  773. height: 100rpx;
  774. margin-top: 40rpx;
  775. .shar-box {
  776. width: 686rpx;
  777. height: 100%;
  778. .shar-box-item {
  779. font-size: 24rpx;
  780. }
  781. }
  782. }
  783. .line {
  784. width: 100%;
  785. border: 1rpx solid #F2F2F7;
  786. margin-top: 30rpx;
  787. margin-bottom: 20rpx;
  788. }
  789. .sharNo {
  790. width: 100%;
  791. color: #cccccc;
  792. font-size: 24rpx;
  793. text-align: center;
  794. }
  795. .job {
  796. width: 100%;
  797. margin-top: 30rpx;
  798. .job-info {
  799. // width: 686rpx;
  800. width: 100%;
  801. height: 100%;
  802. border-radius: 24rpx;
  803. background-color: #ffffff;
  804. .job-info-c {
  805. // width: 626rpx;
  806. width: 100%;
  807. height: 100%;
  808. padding-top: 30rpx;
  809. padding-bottom: 30rpx;
  810. }
  811. .enterprise-box-c-bto {
  812. width: 100%;
  813. border-radius: 30rpx;
  814. margin-top: 34rpx;
  815. color: rgba(156, 164, 171, 1);
  816. font-family: DM Sans;
  817. font-size: 12px;
  818. font-weight: 400;
  819. line-height: 12px;
  820. letter-spacing: 0.5%;
  821. }
  822. .job-info-c-title {
  823. color: rgba(58, 57, 67, 1);
  824. font-family: DM Sans;
  825. font-size: 26px;
  826. font-weight: 700;
  827. line-height: 30px;
  828. letter-spacing: 0px;
  829. text-align: left;
  830. }
  831. .job-info-c-label {
  832. margin-top: 30rpx;
  833. .job-info-c-label-item {
  834. margin-right: 30rpx;
  835. color: rgba(153, 153, 153, 1);
  836. font-size: 24rpx;
  837. padding: 4px;
  838. border-radius: 6px;
  839. background: rgba(198, 198, 198, 0.1);
  840. }
  841. }
  842. .job-info-c-price {
  843. color: rgba(1, 107, 246, 1);
  844. font-family: DM Sans;
  845. font-size: 18px;
  846. font-weight: 700;
  847. line-height: 20px;
  848. letter-spacing: 0.5%;
  849. text-align: right;
  850. }
  851. }
  852. }
  853. .enterprise-box-c-info {
  854. width: 100%;
  855. height: auto;
  856. padding: 16px;
  857. border: 0.5px solid rgba(227, 231, 236, 1);
  858. border-radius: 6px;
  859. background: rgba(253, 253, 253, 1);
  860. // margin-top: 40rpx;
  861. .enterprise-left {
  862. flex: 1;
  863. }
  864. .avatar-container {
  865. position: relative;
  866. display: inline-block;
  867. }
  868. .online-dot {
  869. position: absolute;
  870. bottom: 4rpx;
  871. right: 4rpx;
  872. width: 20rpx;
  873. height: 20rpx;
  874. background: #00D26A;
  875. border: 2rpx solid #ffffff;
  876. border-radius: 50%;
  877. }
  878. .more-jobs {
  879. color: rgba(153, 153, 153, 1);
  880. font-size: 22rpx;
  881. font-weight: 400;
  882. gap: 8rpx;
  883. }
  884. .enterprise-box-c-info-n {
  885. margin-left: 18rpx;
  886. view:nth-of-type(1) {
  887. color: #333333;
  888. font-size: 24rpx;
  889. font-weight: 600;
  890. }
  891. view:nth-of-type(2) {
  892. color: #999999;
  893. font-size: 24rpx;
  894. font-weight: 500;
  895. margin-top: 8rpx;
  896. }
  897. view:nth-of-type(3) {
  898. display: inline-block;
  899. width: auto;
  900. border-radius: 6px;
  901. padding: 4rpx 12rpx;
  902. background: rgba(236, 225, 253, 1);
  903. color: rgba(107, 85, 214, 0.96);
  904. font-size: 20rpx;
  905. font-weight: 500;
  906. margin-top: 8rpx;
  907. white-space: nowrap;
  908. }
  909. }
  910. }
  911. .jobRemarks {
  912. width: 100%;
  913. .jobRemarks-box {
  914. width: 100%;
  915. height: 100%;
  916. background-color: #ffffff;
  917. border-radius: 24rpx;
  918. .jobRemarks-box-c {
  919. width: 100%;
  920. height: 100%;
  921. padding-top: 30rpx;
  922. padding-bottom: 30rpx;
  923. }
  924. .jobRemarks-box-c-title {
  925. color: rgba(1, 107, 246, 1);
  926. font-size: 32rpx;
  927. padding: 8px 12px;
  928. border-radius: 36px;
  929. font-weight: 500;
  930. background: rgba(246, 246, 246, 1);
  931. .title-icon {
  932. width: 32rpx;
  933. height: 32rpx;
  934. }
  935. }
  936. .job-description {
  937. margin-top: 20rpx;
  938. margin-bottom: 20rpx;
  939. .description-item {
  940. color: rgba(97, 110, 124, 1);
  941. font-family: DM Sans;
  942. font-size: 26rpx;
  943. font-weight: 400;
  944. line-height: 16px;
  945. letter-spacing: 0px;
  946. text-align: left;
  947. margin-bottom: 8rpx;
  948. }
  949. }
  950. .jobRemarks-box-c-label {
  951. width: 100%;
  952. margin-top: 25rpx;
  953. .jobRemarks-box-c-label-item {
  954. color: rgba(1, 107, 246, 1);
  955. font-size: 20rpx;
  956. padding: 10rpx 15rpx;
  957. background-color: #F6F6F6;
  958. border-radius: 10rpx;
  959. margin-right: 20rpx;
  960. margin-bottom: 10rpx;
  961. background: rgba(252, 233, 220, 1);
  962. }
  963. }
  964. .jobRemarks-box-c-con {
  965. width: 100%;
  966. margin-top: 25rpx;
  967. .jobRemarks-box-c-con-item {
  968. margin-bottom: 10rpx;
  969. color: #141414;
  970. font-size: 28rpx;
  971. font-weight: 500;
  972. }
  973. }
  974. .jobRemarks-box-c-line {
  975. width: 100%;
  976. border: 1rpx solid #E6E6E6;
  977. margin-top: 25rpx;
  978. }
  979. }
  980. }
  981. .enterprise {
  982. width: 100%;
  983. margin-top: 25rpx;
  984. .company-intro-card {
  985. width: 100%;
  986. background-color: #ffffff;
  987. border-radius: 24rpx;
  988. padding: 12rpx 24rpx;
  989. margin-bottom: 20rpx;
  990. display: flex;
  991. align-items: center;
  992. border: 0.5px solid rgba(227, 231, 236, 1);
  993. .company-avatar {
  994. flex-shrink: 0;
  995. margin-right: 24rpx;
  996. }
  997. .company-info {
  998. flex: 1;
  999. .company-name {
  1000. color: rgba(51, 51, 51, 1);
  1001. font-size: 26rpx;
  1002. font-weight: 600;
  1003. line-height: 1.4;
  1004. margin-bottom: 8rpx;
  1005. }
  1006. .company-details {
  1007. color: rgba(153, 153, 153, 1);
  1008. font-size: 24rpx;
  1009. font-weight: 400;
  1010. line-height: 1.4;
  1011. }
  1012. }
  1013. .company-arrow {
  1014. flex-shrink: 0;
  1015. margin-left: 48rpx;
  1016. }
  1017. }
  1018. .enterprise-box {
  1019. width: 100%;
  1020. background-color: #ffffff;
  1021. height: 100%;
  1022. padding-bottom: 25rpx;
  1023. border-radius: 24rpx;
  1024. .enterprise-box-c {
  1025. width: 100%;
  1026. height: 100%;
  1027. }
  1028. .enterprise-box-c-map {
  1029. width: 100%;
  1030. margin-top: 20rpx;
  1031. height: 400rpx;
  1032. }
  1033. }
  1034. }
  1035. .caozuo {
  1036. width: 100%;
  1037. height: 120rpx;
  1038. position: fixed;
  1039. bottom: 0;
  1040. left: 0;
  1041. background-color: #ffffff;
  1042. padding: 0 40rpx;
  1043. gap: 20rpx;
  1044. .caozuo-box-l {
  1045. flex: 0.8;
  1046. height: 80rpx;
  1047. color: #ffffff;
  1048. border-radius: 45rpx;
  1049. background: linear-gradient(90deg, rgba(255, 65, 86, 1) 0%, rgba(255, 102, 0, 0.35) 100%);
  1050. font-size: 32rpx;
  1051. font-weight: 400;
  1052. }
  1053. .caozuo-box-r {
  1054. flex: 1.2;
  1055. height: 80rpx;
  1056. color: #ffffff;
  1057. border-radius: 45rpx;
  1058. /* #ifndef APP-PLUS */
  1059. background: var(--线性渐变, linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1) 100%));
  1060. /* #endif */
  1061. /* #ifdef APP-PLUS */
  1062. background: var(--线性渐变, linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1) 100%));
  1063. line-height: 80rpx;
  1064. text-align: center;
  1065. /* #endif */
  1066. font-size: 32rpx;
  1067. font-weight: 400;
  1068. }
  1069. // .caozuo-box {
  1070. // width: 686rpx;
  1071. // height: 80rpx;
  1072. // .caozuo-box-l {
  1073. // .caozuo-box-l-item {
  1074. // width: 60rpx;
  1075. // font-size: 24rpx;
  1076. // color: #242424;
  1077. // font-weight: 500;
  1078. // margin-right: 50rpx;
  1079. // }
  1080. // }
  1081. // }
  1082. }
  1083. </style>