index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656
  1. <template>
  2. <layout-page>
  3. <scroll-view class="scrollBox" style="position:relative;">
  4. <view class="box">
  5. <view v-if="loading" class="vertical80-center">{{ loadingText }}</view>
  6. <view v-else>
  7. <!-- 职位名称 + 薪资 -->
  8. <view class="d-flex justify-space-between">
  9. <h2 class="JobName ellipsis">
  10. {{ info.name }}
  11. </h2>
  12. <span class="salary w-600">{{ info.payFrom }}-{{ info.payTo }}/{{ positionInfo.payName }}</span>
  13. </view>
  14. <!-- 职位地区 收藏职位 -->
  15. <view class="d-flex justify-space-between mt-5">
  16. <view class="bold" style="font-size: 14px;">
  17. <span>
  18. <span>{{positionInfo?.areaName }}</span>
  19. <span class="viewider-mx">|</span>
  20. <span>{{positionInfo?.eduName }}</span>
  21. <span class="viewider-mx">|</span>
  22. <span>{{positionInfo?.expName }}</span>
  23. </span>
  24. </view>
  25. <!-- 收藏职位 -->
  26. <view @click="handleCollection">
  27. <uni-icons
  28. :type="isCollection ? 'heart-filled' : 'heart'"
  29. color="#fc6d5e"
  30. class="mr"
  31. size="25"
  32. ></uni-icons>
  33. </view>
  34. </view>
  35. <!-- 标签 -->
  36. <view class="tagList mt">
  37. <view class="tag" v-for="(tag,i) in info?.tagList || []" :key="'tagList' + i">
  38. {{ tag }}
  39. </view>
  40. </view>
  41. <!-- 赏金 -->
  42. <view v-if="info.hire" class="topLine mt-5" style="display: flex; align-items: center;">
  43. <view class="iconfont icon-a-1_zhaopin" style="color: #e03506; font-size: 30px;"></view>
  44. <view class="hirePrice">{{ `赏金:${commissionCalculation(info.hirePrice, 1)}元` }}</view>
  45. </view>
  46. <!-- 岗位职责 -->
  47. <view class="topLine fs14 mt-5">
  48. <view class="fs15 w-600 my5">岗位职责</view>
  49. <view v-if="!info.content">暂无</view>
  50. <rich-text v-else class="htmlCss" :nodes="info.content"></rich-text>
  51. </view>
  52. <!-- 岗位要求 -->
  53. <view class="topLine mt-5">
  54. <view class="fs15 w-600 my5">岗位要求</view>
  55. <view v-if="!info.requirement">暂无</view>
  56. <rich-text v-else class="htmlCss" :nodes="info.requirement"></rich-text>
  57. </view>
  58. <!-- 企业信息 -->
  59. <view class="topLine mt-5 d-flex">
  60. <view class="avatarBox">
  61. <image class="avatar" :src="info.contact?.avatar || 'https://minio.citupro.com/dev/menduner/7.png'"></image>
  62. </view>
  63. <view >
  64. <view class="contact-name">{{ info.contact?.name }}</view>
  65. <view class="contact-info">{{ info.enterprise?.name }} · {{ info.contact?.postNameCn }}</view>
  66. </view>
  67. </view>
  68. <!-- 工作地址 -->
  69. <view class="topLine mt-5">
  70. <view class="fs15 w-600 my5">工作地址</view>
  71. <view class="my10">
  72. <uni-icons
  73. type="map-pin-ellipse"
  74. color="#00897B"
  75. class="mr"
  76. size="25"
  77. ></uni-icons>
  78. <span style="color: var(--color-666);font-size: 15px;line-height: 26px;">{{ info.address }}</span>
  79. </view>
  80. </view>
  81. </view>
  82. </view>
  83. </scroll-view>
  84. <!-- 分享 投递 -->
  85. <view class="bottom-sticky" v-if="!loading && jobId">
  86. <view class="bottom-content">
  87. <view @click="handleClickShare" class="bottom-content-tool">
  88. <uni-icons type="redo-filled" size="24" color="#00897B"/>
  89. <span style="color:#00897B;font-weight:bold;">分享</span>
  90. </view>
  91. <button class="btnStyle bgButtons" @tap="handleSend">立即沟通</button>
  92. <button v-if="delivery" :disabled="true" class="buttons btnStyle disable">我已投递</button>
  93. <button v-else class="buttons btnStyle" @click="handleDelivery">我要投递</button>
  94. </view>
  95. </view>
  96. <uni-popup
  97. ref="poster"
  98. type="center"
  99. class="f-straight"
  100. style="position: relative;"
  101. >
  102. <canvas
  103. :style="{
  104. width:`${appInfo.windowWidth}px;`,
  105. height:`${appInfo.windowHeight}px;margin-left:-9999px; margin-top:-99.5vh;`
  106. }" canvas-id="firstCanvas" id="firstCanvas"></canvas>
  107. <image
  108. :style="{ width:`${appInfo.windowWidth}px;`, height:`${appInfo.windowHeight*.9}px;`}"
  109. :src="imgSrc"
  110. mode="aspectFit"
  111. />
  112. <!-- <uni-icons v-if="!!imgSrc" type="clear" size="35" color="#FFF" style="position: absolute;top: 10px;right: 28px;" @click="posterClose"></uni-icons> -->
  113. </uni-popup>
  114. <!-- 选择简历 -->
  115. <uni-popup ref="popup" background-color="#fff" :mask-click="false" >
  116. <view class="dialogBox" style="width: 86vw;">
  117. <view class="dialog-title">
  118. <view class="title">选择简历</view>
  119. <uni-icons type="close" color="grey" size="26" @click="popupClose" />
  120. </view>
  121. <view style="height: 1px; margin: 0 20rpx; background-color: #dedede;"></view>
  122. <scroll-view class="dialog-content" scroll-y="true" style="max-height: 50vh; width: auto;">
  123. <uni-card
  124. v-for="(item, index) in resumeList"
  125. :key="index"
  126. shadow="0px 0px 3px 1px rgba(0,0,0,0.1)"
  127. :is-shadow="true"
  128. :border='false'
  129. background-color="red"
  130. :class="{'selected': selectIndex === index}"
  131. @click="selectIndex = index"
  132. >
  133. <view class="d-flex align-center">
  134. <view style="flex: 1;">
  135. <view style="font-weight: bold;">
  136. <uni-icons v-if="selectIndex === index" color="green" type="checkmarkempty" size="18"></uni-icons>
  137. {{ item.title }}
  138. </view>
  139. <view>上传时间:{{ timesTampChange(item.createTime, 'Y-M-D') }}</view>
  140. </view>
  141. <view class="ss-m-l-30" style="width: 60rpx;">
  142. <uni-icons @click="preview(item.url)" type="eye" size="24"></uni-icons>
  143. </view>
  144. </view>
  145. </uni-card>
  146. <view class="selectOnline" @click="handleUpload">选取微信聊天文件</view>
  147. </scroll-view>
  148. <view class="dialog-bottom" @click="deliverySubmit()">确认投递</view>
  149. </view>
  150. </uni-popup>
  151. <!-- 上传简历 -->
  152. <uni-popup ref="uploadPopup" type="dialog">
  153. <uni-popup-dialog
  154. type="warn"
  155. cancelText="取消"
  156. confirmText="确定"
  157. title="系统提示"
  158. content="您还未上传过简历,是否选取微信聊天文件投递?"
  159. @confirm="handleUpload"
  160. @close="uploadPopup.close()"
  161. ></uni-popup-dialog>
  162. </uni-popup>
  163. <!-- 职位分享 -->
  164. <uni-popup ref="sharePopup" type="share">
  165. <uni-popup-share title="分享到">
  166. <view class="share-pop">
  167. <button class="f-straight" open-type="share">
  168. <view class="share-round share-round-1" >
  169. <uni-icons
  170. type="weixin"
  171. color="#FFF"
  172. size="30"
  173. />
  174. </view>
  175. <view style="font-size:12px;">微信</view>
  176. </button>
  177. <button class="f-straight" @click="createPoster">
  178. <view class="share-round share-round-2" >
  179. <uni-icons
  180. type="download-filled"
  181. color="#FFF"
  182. size="30"
  183. />
  184. </view>
  185. <view style="font-size:12px;">生成海报</view>
  186. </button>
  187. </view>
  188. </uni-popup-share>
  189. </uni-popup>
  190. </layout-page>
  191. </template>
  192. <script setup>
  193. import { commissionCalculation } from '@/utils/position'
  194. import { timesTampChange } from '@/utils/date'
  195. import { preview } from '@/utils/preview'
  196. import { uploadFile } from '@/api/file'
  197. import layoutPage from '@/layout'
  198. import { ref } from 'vue';
  199. import {
  200. jobCvRelSend,
  201. getPositionDetails,
  202. jobCvRelCheckSend,
  203. getPersonJobUnfavorite, // 取消收藏
  204. getPersonJobFavorite, // 收藏
  205. getJobFavoriteCheck,
  206. jobCvRelHireSend
  207. } from '@/api/position'
  208. import { getPersonResumeCv, saveResume } from '@/api/user'
  209. import { dealDictObjData } from '@/utils/position'
  210. import { getAccessToken } from '@/utils/request'
  211. import { onLoad,onShareAppMessage,onShareTimeline } from '@dcloudio/uni-app'
  212. import { prologue, defaultText } from '@/hooks/useIM'
  213. const sharePopup = ref()
  214. const loading = ref(false)
  215. const loadingText = ref('加载中 . . . ')
  216. // 职位详情
  217. const info = ref({})
  218. const positionInfo = ref({})
  219. const isEmployment = ref(null)
  220. const imgSrc = ref('')
  221. const appInfo = ref({})
  222. const poster = ref()
  223. const getPositionDetail = async () => {
  224. try {
  225. loading.value = true
  226. const { data } = await getPositionDetails({ id: jobId })
  227. info.value = data
  228. positionInfo.value = { ...dealDictObjData({}, info.value), ...info.value }
  229. loading.value = false
  230. } finally {
  231. }
  232. }
  233. let jobId = ''
  234. onLoad((options) => {
  235. // 是否是众聘
  236. if (options.userId) {
  237. isEmployment.value = options.userId
  238. }
  239. jobId = options?.id || ''
  240. if (jobId) {
  241. loading.value = true
  242. loadingText.value = '加载中 . . . '
  243. deliveryCheck()
  244. getCollectionStatus()
  245. getPositionDetail()
  246. } else {
  247. loadingText.value = '加载失败 . . . '
  248. }
  249. })
  250. // 效验是否有投递过简历
  251. const delivery = ref(false) // 是否已投递简历
  252. const deliveryCheck = async () => {
  253. try {
  254. if (!getAccessToken()) return delivery.value = false
  255. const { data } = await jobCvRelCheckSend({ jobId })
  256. delivery.value = Boolean(data)
  257. } finally {
  258. }
  259. }
  260. import { showAuthModal } from '@/hooks/useModal'
  261. const popup = ref()
  262. const uploadPopup = ref()
  263. const resumeList = ref([])
  264. const selectIndex = ref(null)
  265. const handleDelivery = async () => {
  266. // 未登录
  267. if (!getAccessToken()) {
  268. uni.showToast({
  269. title:'请先登录',
  270. icon: 'none'
  271. })
  272. showAuthModal()
  273. return
  274. }
  275. // 已投递
  276. if (delivery.value) {
  277. uni.showToast({ title: '您已投递过该职位!', icon: 'none', duration: 2000, })
  278. return
  279. }
  280. const { data } = await getPersonResumeCv()
  281. resumeList.value = data
  282. // 未上传简历
  283. if (!resumeList.value?.length) {
  284. return uploadPopup.value.open()
  285. }
  286. popup.value.open()
  287. }
  288. const deliverySubmit = async (uploadFile) => {
  289. const resume = uploadFile ? uploadFile : resumeList.value[selectIndex.value]
  290. if (!resume) {
  291. selectIndex.value = null
  292. uni.showToast({ title: '请选择简历', icon: 'none', duration: 2000, })
  293. return
  294. }
  295. if (isEmployment.value) {
  296. await jobCvRelHireSend({
  297. jobId,
  298. url: resume.url,
  299. recommendUserId: isEmployment.value
  300. })
  301. } else {
  302. await jobCvRelSend({
  303. jobId,
  304. title: resume.title,
  305. url: resume.url,
  306. type: info.value.hire ? 1 : 0
  307. })
  308. }
  309. uni.showToast({ title: '投递成功', icon: 'none', duration: 2000, })
  310. deliveryCheck()
  311. popup.value.close()
  312. }
  313. const popupClose = () => {
  314. selectIndex.value = null
  315. popup.value.close()
  316. }
  317. // 发起聊天
  318. async function handleSend () {
  319. const userId = info.value.contact.userId
  320. const enterpriseId = info.value.contact.enterpriseId
  321. const textObj = {
  322. text: defaultText,
  323. positionInfo: positionInfo.value
  324. }
  325. const channel = await prologue({userId, enterpriseId, text: JSON.stringify(textObj)})
  326. console.log('channel', channel)
  327. // 跳转
  328. const query = {
  329. id: userId,
  330. name: info.value?.contact?.name,
  331. postName: info.value?.contact?.postNameCn,
  332. enterpriseName: info.value?.enterprise?.anotherName,
  333. enterpriseId: info.value?.enterpriseId,
  334. channelId: channel.channel_id,
  335. avatar: info.value?.contact?.avatar,
  336. sex: info.value?.contact?.sex,
  337. }
  338. console.log('query', query)
  339. const queryStr = Object.keys(query).reduce((r, v) => {
  340. return r += `${v}=${encodeURIComponent(query[v])}&`
  341. }, '?')
  342. uni.navigateTo({
  343. url: `/pagesA/chart/index${queryStr.slice(0, -1)}`
  344. })
  345. }
  346. // 效验求职者是否有收藏该职位
  347. const isCollection = ref(false)
  348. const getCollectionStatus = async () => {
  349. if (!getAccessToken()) return isCollection.value = false
  350. const { data } = await getJobFavoriteCheck({ jobId })
  351. isCollection.value = Boolean(data)
  352. }
  353. // 操作 收藏&取消收藏职位
  354. const handleCollection = async () => {
  355. const api = isCollection.value ? getPersonJobUnfavorite : getPersonJobFavorite
  356. await api(isCollection.value ? jobId : { jobId })
  357. await getCollectionStatus()
  358. }
  359. // 选取微信聊天文件
  360. // 上传附件
  361. const handleUpload = () => {
  362. wx.chooseMessageFile({
  363. count: 1,
  364. type: 'file',
  365. success (res) {
  366. const title = res.tempFiles[0].name
  367. const path = res.tempFiles[0].path
  368. //效验是否为支持的文件格式
  369. if(/\.(pdf|docx|doc)$/.test(title)){
  370. uploadFile(path).then(async (res) => {
  371. if (!res.data) {
  372. uni.showToast({
  373. title: '上传失败',
  374. icon: 'none'
  375. })
  376. return
  377. }
  378. await saveResume({ title, url: res.data })
  379. uni.showToast({
  380. title: '上传成功',
  381. icon: 'success'
  382. })
  383. deliverySubmit({ title, url: res.data })
  384. })
  385. }else{
  386. uni.showToast({
  387. icon: 'none',
  388. title: '请上传pdf、word类型的文件',
  389. duration: 2000
  390. })
  391. return
  392. }
  393. }
  394. })
  395. }
  396. // 分享
  397. const handleClickShare = () => {
  398. sharePopup.value.open()
  399. }
  400. //在点击open-type="share"按钮后会触发以下函数,可以在函数中写需要的逻辑,当然函数的返回值必须是一个对象,用于设置分享卡片的展示形式
  401. //发送给微信好友
  402. onShareAppMessage((res) => {
  403. let path = `/pagesB/positionDetail/index?id=${info.value.id}`
  404. if (info.value.hire) {
  405. path += `&userId=${info.value.userId}`
  406. }
  407. return {
  408. title: '我发现了一个好职位,快来看看吧', //分享的名称
  409. path
  410. }
  411. })
  412. // 获取设备信息
  413. function getSystemInfo(){
  414. return new Promise((resolve, reject) =>{
  415. uni.getSystemInfo({
  416. success: (result) => {
  417. console.log(result)
  418. resolve(result)
  419. },
  420. fail: (err) => {
  421. console.log(err)
  422. }
  423. })
  424. })
  425. }
  426. function roundedRect(ctx, x, y, width, height, radius, color) {
  427. ctx.beginPath();
  428. ctx.moveTo(x, y + radius);
  429. ctx.lineTo(x, y + height - radius);
  430. ctx.quadraticCurveTo(x, y + height, x + radius, y + height);
  431. ctx.lineTo(x + width - radius, y + height);
  432. ctx.quadraticCurveTo(x + width, y + height, x + width, y + height - radius);
  433. ctx.lineTo(x + width, y + radius);
  434. ctx.quadraticCurveTo(x + width, y, x + width - radius, y);
  435. ctx.lineTo(x + radius, y);
  436. ctx.quadraticCurveTo(x, y, x, y + radius);
  437. // ctx.fillStyle = "#f5f5f5";
  438. ctx.fillStyle = color;
  439. ctx.fill()
  440. ctx.strokeStyle = color
  441. ctx.stroke();
  442. }
  443. //微信获取图片信息
  444. function getImageTempRatio (url){
  445. return new Promise((resolve, reject)=>{
  446. wx.getImageInfo({
  447. src:url,
  448. success:(res) =>{
  449. resolve(res)
  450. }
  451. })
  452. })
  453. }
  454. // 生成海报
  455. async function createPoster () {
  456. const top = 50
  457. const left = 30
  458. console.log(info.value)
  459. sharePopup.value.close()
  460. const res = await getSystemInfo()
  461. const { windowWidth, windowHeight } = res
  462. appInfo.value = {
  463. windowWidth, windowHeight
  464. }
  465. var context = uni.createCanvasContext('firstCanvas')
  466. //底色
  467. context.setFillStyle('#03877a')
  468. context.fillRect(0,0, windowWidth, windowHeight)
  469. // 职位信息
  470. // 名称
  471. context.setFillStyle('#FFF')
  472. context.font = 'normal bold 26px Microsoft YaHei'
  473. context.fillText(info.value.name, left, top)
  474. // 薪酬
  475. context.fillStyle = 'yellow';
  476. context.font = 'normal 22px Microsoft YaHei'
  477. const payText = `${info.value.payFrom}-${info.value.payTo} / ${positionInfo.value.payName}`
  478. const payWidth = context.measureText(payText).width;
  479. const rightX = windowWidth - payWidth - left;
  480. context.fillText(payText, rightX, top);
  481. // 地区|年限|学历
  482. const areaText = `${positionInfo.value?.areaName} | ${positionInfo.value?.eduName} | ${positionInfo.value?.expName}`
  483. context.setFillStyle('#FFF')
  484. context.font = 'normal 14px Microsoft YaHei'
  485. const subTitleH = top + 20
  486. context.fillText(areaText, left, subTitleH)
  487. // 企业信息卡片
  488. roundedRect(context, left, subTitleH + 20 , windowWidth - 2 * left , 50, 10, 'rgba(255, 255, 255, 0.45)')
  489. // 企业信息
  490. // const headerMsg = await getImageTempRatio(info.value.contact.avatar)
  491. // context.drawImage(
  492. // headerMsg.path,
  493. // left + 5,
  494. // subTitleH + 25,
  495. // 40,
  496. // 40
  497. // )
  498. // 企业信息
  499. context.setFillStyle('#FFF')
  500. context.font = 'normal 16px Microsoft YaHei'
  501. const emTextH = subTitleH + 50
  502. context.fillText(info.value.enterprise.anotherName, left + 20, emTextH)
  503. const _areaText = `${info.value.areaName}`
  504. const areaTextW = context.measureText(_areaText).width;
  505. const _rightX = windowWidth - areaTextW - left - 20;
  506. context.fillText(_areaText, _rightX, emTextH);
  507. // 福利
  508. // 卡片
  509. roundedRect(context, 10, 200 , windowWidth - 20 , windowHeight - 300, 10,'#fff')
  510. // 岗位
  511. // context.setFillStyle('#000000')
  512. // context.setFontSize(20)
  513. // context.font = 'normal bold 20px Microsoft YaHei'
  514. // context.fillText('111',windowWidth/10, windowHeight * 0.2)
  515. // 地区频率时长薪资
  516. // context.setFillStyle('#6c6e7b')
  517. // context.setFontSize(15)
  518. // context.font = 'normal 15px Microsoft YaHei'
  519. // context.fillText(' | ',windowWidth/10, windowHeight * 0.2 + 30)
  520. // context.setFontSize(18)
  521. // context.font = 'normal 18px Microsoft YaHei'
  522. // context.setFillStyle('#f67272')
  523. // context.fillText('120/天', windowWidth/10, windowHeight * 0.2 + 60)
  524. // 小程序码/ 二维码
  525. context.drawImage(
  526. // image.path,
  527. windowWidth *0.5 - windowWidth/8,
  528. windowHeight * 0.60,
  529. windowWidth/4,
  530. windowWidth/4
  531. )
  532. context.setFontSize(16)
  533. context.fillText('长按二维码查看岗位', windowWidth/3.2, windowHeight * 0.65 + windowWidth/4)
  534. context.draw(false, () =>{
  535. uni.showLoading({
  536. title: '加载中……',
  537. icon: 'none',
  538. })
  539. setTimeout(() => {
  540. wx.canvasToTempFilePath({
  541. canvasId: 'firstCanvas',
  542. x:0,
  543. y:0,
  544. success:(res)=>{
  545. console.log('成功', res)
  546. imgSrc.value = res.tempFilePath
  547. },
  548. fail:(err)=>{
  549. console.log('canvasToTemp-fail', err)
  550. },
  551. complete:()=>{
  552. uni.hideLoading();
  553. }
  554. })
  555. }, 3000)
  556. // canvas生成图片
  557. poster.value.open()
  558. })
  559. }
  560. </script>
  561. <style scoped lang="scss">
  562. @import '../../static/style/position/index.scss';
  563. .bottom-content {
  564. display: flex;
  565. justify-content: space-evenly;
  566. align-items: center;
  567. width: 100%;
  568. margin: 20rpx 0;
  569. .btnStyle {
  570. flex: 1;
  571. margin-right: 20rpx;
  572. }
  573. .bgButtons {
  574. border: 2rpx solid #00897b;
  575. color: #00897b;
  576. background: #FFF;
  577. border-radius: 50rpx;
  578. }
  579. &-tool {
  580. width: 160rpx;
  581. display: flex;
  582. justify-content: center;
  583. flex-direction: column;
  584. align-items: center;
  585. }
  586. }
  587. .share-pop {
  588. width: 100%;
  589. // height:300rpx;
  590. display: flex;
  591. justify-content: center;
  592. .f-straight {
  593. margin: 40rpx;
  594. background: unset;
  595. &::after{
  596. border:none !important;
  597. }
  598. }
  599. .share-round {
  600. border-radius:50%;
  601. height:100rpx;
  602. width:100rpx;
  603. display: flex;
  604. align-items: center;
  605. justify-content: center;
  606. }
  607. .share-round-1 {
  608. background-color:#22a039;
  609. }
  610. .share-round-2 {
  611. background-color:#3693cd;
  612. }
  613. }
  614. .preview {
  615. position: fixed;
  616. z-index: 9;
  617. height: 100vh;
  618. width: 100vw;
  619. left: 0;
  620. top: 0;
  621. .image {
  622. position: absolute;
  623. width: 80%;
  624. left: 10%;
  625. top: 100rpx;
  626. }
  627. }
  628. </style>