testResult.vue 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774
  1. <template>
  2. <view v-if="role" :class="['bg', `bg${roleList[role].type}`]">
  3. <view class="test_time">测试时间:{{time}}</view>
  4. <image class="carton" :src="roleList[role].img" mode="widthFix"></image>
  5. <view class="link_img">
  6. <image src="https://test.jue-ming.com:8849/api/show?filePath=./webo/Burnout/link_img.png" mode="widthFix">
  7. </image>
  8. </view>
  9. <view class="rgtd_box">
  10. <view style="overflow: hidden;"></view>
  11. <view class="rgtd_box_wrap">
  12. <view class="rgtd_box_title">
  13. <image class="title_img"
  14. src="https://test.jue-ming.com:8849/api/show?filePath=./webo/Burnout/zp.png" mode="heightFix">
  15. </image>
  16. </view>
  17. <view class="dimension_title dt1">
  18. 整体状态
  19. </view>
  20. <view class="dimension_content dc1">
  21. <text>{{resultObj[1].value[0]}}</text>
  22. </view>
  23. <view class="dimension_title">
  24. 维度说明
  25. </view>
  26. <view class="dimension_content">
  27. {{resultObj[2].value[0]}}
  28. </view>
  29. <view class="dimension_title">
  30. 维度解读
  31. </view>
  32. <view class="dimension_content">
  33. {{resultObj[3].value[0]}}
  34. </view>
  35. <view class="dimension_title">
  36. 建议
  37. </view>
  38. <view class="dimension_content ds">
  39. {{resultObj[4].value[0]}}
  40. </view>
  41. </view>
  42. </view>
  43. <view class="link_img">
  44. <image src="https://test.jue-ming.com:8849/api/show?filePath=./webo/Burnout/link_img.png" mode="widthFix">
  45. </image>
  46. </view>
  47. <view class="rgtd_box">
  48. <view style="overflow: hidden;"></view>
  49. <view class="rgtd_box_wrap">
  50. <view class="rgtd_box_title">
  51. <image class="title_img"
  52. src="https://test.jue-ming.com:8849/api/show?filePath=./webo/Burnout/qgsj.png" mode="heightFix">
  53. </image>
  54. </view>
  55. <view class="dimension_title dt1">
  56. 整体状态
  57. </view>
  58. <view class="dimension_content dc1">
  59. <text>{{resultObj[7].value[0]}}</text>
  60. </view>
  61. <view class="dimension_title">
  62. 维度说明
  63. </view>
  64. <view class="dimension_content">
  65. {{resultObj[8].value[0]}}
  66. </view>
  67. <view class="dimension_title">
  68. 维度解读
  69. </view>
  70. <view class="dimension_content">
  71. {{resultObj[9].value[0]}}
  72. </view>
  73. <view class="dimension_title">
  74. 建议
  75. </view>
  76. <view class="dimension_content ds">
  77. {{resultObj[10].value[0]}}
  78. </view>
  79. </view>
  80. </view>
  81. <view class="link_img">
  82. <image src="https://test.jue-ming.com:8849/api/show?filePath=./webo/Burnout/link_img.png" mode="widthFix">
  83. </image>
  84. </view>
  85. <view class="rgtd_box">
  86. <view style="overflow: hidden;"></view>
  87. <view class="rgtd_box_wrap">
  88. <view class="rgtd_box_title">
  89. <image class="title_img"
  90. src="https://test.jue-ming.com:8849/api/show?filePath=./webo/Burnout/xjdm.png" mode="heightFix">
  91. </image>
  92. </view>
  93. <view class="dimension_title dt1">
  94. 整体状态
  95. </view>
  96. <view class="dimension_content dc1">
  97. <text>{{resultObj[12].value[0]}}</text>
  98. </view>
  99. <view class="dimension_title">
  100. 维度说明
  101. </view>
  102. <view class="dimension_content">
  103. {{resultObj[13].value[0]}}
  104. </view>
  105. <view class="dimension_title">
  106. 维度解读
  107. </view>
  108. <view class="dimension_content">
  109. {{resultObj[14].value[0]}}
  110. </view>
  111. <view class="dimension_title">
  112. 建议
  113. </view>
  114. <view class="dimension_content ds">
  115. {{resultObj[15].value[0]}}
  116. </view>
  117. </view>
  118. </view>
  119. <view class="link_img">
  120. <image src="https://test.jue-ming.com:8849/api/show?filePath=./webo/Burnout/link_img.png" mode="widthFix">
  121. </image>
  122. </view>
  123. <view class="rgtd_box">
  124. <view style="overflow: hidden;"></view>
  125. <view class="rgtd_box_wrap">
  126. <view class="rgtd_box_title">
  127. <image class="title_img"
  128. src="https://test.jue-ming.com:8849/api/show?filePath=./webo/Burnout/wxng.png" mode="heightFix">
  129. </image>
  130. </view>
  131. <view class="dimension_title dt1">
  132. 整体状态
  133. </view>
  134. <view class="dimension_content dc1">
  135. <text>{{resultObj[17].value[0]}}</text>
  136. </view>
  137. <view class="dimension_title">
  138. 维度说明
  139. </view>
  140. <view class="dimension_content">
  141. {{resultObj[18].value[0]}}
  142. </view>
  143. <view class="dimension_title">
  144. 维度解读
  145. </view>
  146. <view class="dimension_content">
  147. {{resultObj[19].value[0]}}
  148. </view>
  149. <view class="dimension_title">
  150. 建议
  151. </view>
  152. <view class="dimension_content ds">
  153. {{resultObj[20].value[0]}}
  154. </view>
  155. </view>
  156. </view>
  157. <view class="report_desc">
  158. <view class="desc_title">报告阅读说明</view>
  159. <view class="desc_txt">谢谢您的参与,阅读本报告时,请注意以下内容:</view>
  160. <view style="display: flex;">
  161. <view class="list_mark">·</view>
  162. <view class="desc_txt">本结果仅供参考,不可作为临床诊断的依据;</view>
  163. </view>
  164. <view style="display: flex;">
  165. <view class="list_mark">·</view>
  166. <view class="desc_txt">如对报告有不理解的地方,建议咨询专业人员;</view>
  167. </view>
  168. <view style="display: flex;">
  169. <view class="list_mark">·</view>
  170. <view class="desc_txt">如结果与你自己或他人的感受有出入,可回忆在测试时是否有事情影响到你,或自己回答时是否有所顾虑。</view>
  171. </view>
  172. </view>
  173. </view>
  174. </template>
  175. <script>
  176. import {
  177. getRecordById
  178. } from "@/api/index.js";
  179. import {
  180. photoUrl
  181. } from "@/common/config.js"
  182. const photoUrls = `${photoUrl}api/show?filePath=./webo`
  183. import {
  184. getTestTime
  185. } from "@/utils/util.js"
  186. export default {
  187. data() {
  188. return {
  189. photoUrl: photoUrl,
  190. isChecked: true,
  191. isShake: false,
  192. scaleDetail: {},
  193. questionList: [],
  194. currentQuestion: {},
  195. currentAnswerList: [],
  196. currentIndex: 0,
  197. userAnswerList: [],
  198. resultId: '',
  199. isLoading: false,
  200. isDisbale: false,
  201. roleList: {
  202. '无职业倦怠': {
  203. type: 1,
  204. img: `${photoUrls}/Burnout/role/role1.png`,
  205. mrBg: '#E4FFD3',
  206. mrBorder: '#66C666',
  207. mrColor: '#0B7000'
  208. },
  209. '轻度职业倦怠': {
  210. type: 2,
  211. img: `${photoUrls}/Burnout/role/role2.png`,
  212. mrBg: '#E4FFD3',
  213. mrBorder: '#66C666',
  214. mrColor: '#0B7000'
  215. },
  216. '中度职业倦怠': {
  217. type: 3,
  218. img: `${photoUrls}/Burnout/role/role3.png`,
  219. mrBg: '#F7E9FF',
  220. mrBorder: '#B262E1',
  221. mrColor: '#962ED4'
  222. },
  223. '重度职业倦怠': {
  224. type: 4,
  225. img: `${photoUrls}/Burnout/role/role4.png`,
  226. mrBg: '#F7E9FF',
  227. mrBorder: '#B262E1',
  228. mrColor: '#962ED4'
  229. }
  230. },
  231. resultObj: [],
  232. resultId: '',
  233. role: '',
  234. scoreNum: 0,
  235. maxScore: 0,
  236. minScore: 0,
  237. keywords: '',
  238. characteristic: '', // 特点
  239. time: ''
  240. }
  241. },
  242. onLoad(options) {
  243. if (options && options.resultId) {
  244. this.resultId = options.resultId
  245. this.getScaleTestResults(this.resultId);
  246. }
  247. },
  248. computed: {
  249. percentage() {
  250. return (((this.scoreNum / this.maxScore) * 318) - 318) + 'rpx'
  251. }
  252. },
  253. methods: {
  254. getScaleTestResults(id) {
  255. let _this = this;
  256. _this.$request
  257. .get({
  258. url: `${getRecordById}?id=${id}`,
  259. loadingTip: "加载中...",
  260. data: {},
  261. })
  262. .then(
  263. (res) => {
  264. if (res.code == 200) {
  265. _this.testResult = JSON.parse(res.data?.userRecordEntity?.testResult)[0];
  266. _this.role = _this.testResult.tableContext[1].value[0];
  267. _this.resultObj = _this.testResult.tableContext;
  268. this.time = getTestTime(res.data.userRecordEntity.testDate);
  269. } else if (res.code == 401) {} else {
  270. (res) => {
  271. console.log("世界上绝对绝对绝对绝对绝对的", res);
  272. }
  273. }
  274. })
  275. },
  276. getAdvantage(str) {
  277. let tempArr = str.split("——");
  278. let title = tempArr[0].split(".")
  279. let advant = {
  280. title: title[1],
  281. content: tempArr[1]
  282. }
  283. return advant
  284. }
  285. }
  286. }
  287. </script>
  288. <style scoped>
  289. .bg {
  290. width: 100%;
  291. min-height: 3738rpx;
  292. background: #D7DEF6 url(https://test.jue-ming.com:8849/api/show?filePath=./webo/Burnout/test_result_bg.png) no-repeat top center;
  293. background-size: 714rpx auto;
  294. overflow: hidden;
  295. position: relative;
  296. padding-bottom: 200rpx;
  297. }
  298. .bg1 {
  299. background-color: #FFC7F5;
  300. }
  301. .bg2 {
  302. background-color: #ADCAFF;
  303. }
  304. .bg3 {
  305. background-color: #FFD237;
  306. }
  307. .bg4 {
  308. background-color: #E18F8F;
  309. }
  310. .scale_name {
  311. font-family: 'Alibaba PuHuiTi 2.0';
  312. font-weight: bold;
  313. font-size: 42rpx;
  314. color: #FFFFFF;
  315. margin: 59rpx 0 0 39rpx;
  316. }
  317. .test_time {
  318. font-family: 'Alibaba PuHuiTi 2.0';
  319. font-weight: normal;
  320. font-size: 28rpx;
  321. color: #111111;
  322. margin: 144rpx 0 0 26rpx;
  323. }
  324. .role_wrap {
  325. position: relative;
  326. }
  327. .role_char {
  328. width: 714rpx;
  329. height: 156rpx;
  330. display: flex;
  331. justify-content: space-around;
  332. align-items: center;
  333. position: absolute;
  334. left: 18rpx;
  335. bottom: 0;
  336. }
  337. .char_item {
  338. width: 30%;
  339. font-family: 'ZhankuKuaiLeTi';
  340. font-weight: 800;
  341. font-size: 36rpx;
  342. color: #333333;
  343. line-height: 52rpx;
  344. text-align: center;
  345. }
  346. .shadow_img {
  347. display: block;
  348. width: 170rpx;
  349. position: absolute;
  350. left: 50%;
  351. bottom: -6rpx;
  352. transform: translateX(-50%);
  353. }
  354. .role_name {
  355. text-align: center;
  356. margin: 202rpx 0 0 0;
  357. }
  358. .role_name image {
  359. width: 550rpx;
  360. }
  361. .temp_type {
  362. width: 714rpx;
  363. margin: 0 auto;
  364. }
  365. .carton {
  366. width: 718rpx;
  367. margin: 0 16rpx;
  368. }
  369. .rgtd_box {
  370. box-sizing: border-box;
  371. width: 709rpx;
  372. background: #eeeeee;
  373. border: 6rpx #000000 solid;
  374. border-radius: 36rpx;
  375. margin: 0 auto;
  376. position: relative;
  377. z-index: 1;
  378. }
  379. .rgtd_box_title {
  380. width: 708rpx;
  381. height: 130rpx;
  382. background: url(https://test.jue-ming.com:8849/api/show?filePath=./webo/Burnout/title_bg.png) no-repeat;
  383. background-size: cover;
  384. position: absolute;
  385. left: -4rpx;
  386. top: -40rpx;
  387. }
  388. .dimension_title {
  389. box-sizing: border-box;
  390. width: 100%;
  391. height: 80rpx;
  392. background: url(https://test.jue-ming.com:8849/api/show?filePath=./webo/Burnout/list_style_bg.png) no-repeat 16rpx center;
  393. background-size: 19rpx auto;
  394. padding: 26rpx 0 0 56rpx;
  395. font-family: 'Alibaba PuHuiTi 2.0';
  396. font-weight: bold;
  397. font-size: 36rpx;
  398. color: #090909;
  399. line-height: 27rpx;
  400. }
  401. .dt1 {
  402. margin-top: 78rpx;
  403. }
  404. .dimension_content {
  405. box-sizing: border-box;
  406. width: 674rpx;
  407. min-height: 91rpx;
  408. padding: 30rpx 24rpx;
  409. background: #FFFFFF;
  410. border-radius: 18rpx;
  411. margin: 20rpx auto;
  412. font-family: 'Alibaba PuHuiTi 2.0';
  413. font-weight: normal;
  414. font-size: 32rpx;
  415. color: #333333;
  416. line-height: 50rpx;
  417. text-align: justify;
  418. }
  419. .dc1 {
  420. text-align: center;
  421. }
  422. .dc1 text {
  423. font-family: 'Alibaba PuHuiTi 2.0';
  424. font-weight: 500;
  425. font-size: 48rpx;
  426. color: #FFC7D0;
  427. line-height: 50rpx;
  428. -webkit-text-stroke: 8rpx transparent;
  429. text-stroke: 8rpx transparent;
  430. -webkit-background-clip: text;
  431. background-clip: text;
  432. background-color: #090909;
  433. }
  434. .ds {
  435. background: #FFF3CA;
  436. }
  437. .link_img {
  438. width: 605rpx;
  439. margin: -10rpx auto;
  440. text-align: center;
  441. position: relative;
  442. z-index: 0;
  443. }
  444. .link_img image {
  445. width: 100%;
  446. }
  447. .remark_A {
  448. width: 588rpx;
  449. line-height: 83rpx;
  450. background: linear-gradient(90deg, #FFA400 0%, #FB3975 100%);
  451. border-radius: 42rpx;
  452. margin: 0 auto 18rpx;
  453. font-family: 'Alibaba PuHuiTi 2.0';
  454. font-weight: normal;
  455. font-size: 40rpx;
  456. color: #FFFEFE;
  457. text-align: center;
  458. letter-spacing: 2rpx;
  459. }
  460. .remark_B {
  461. width: 588rpx;
  462. line-height: 83rpx;
  463. background: linear-gradient(90deg, #FFF74B 0%, #77FF5F 100%);
  464. border-radius: 41rpx;
  465. margin: 0 auto 18rpx;
  466. font-family: 'Alibaba PuHuiTi 2.0';
  467. font-weight: normal;
  468. font-size: 40rpx;
  469. color: #333333;
  470. text-align: center;
  471. letter-spacing: 2rpx;
  472. }
  473. .rgtd_box_wrap {
  474. width: 692rpx;
  475. padding-bottom: 31rpx;
  476. border-radius: 41rpx;
  477. margin: 5rpx;
  478. }
  479. .rgtd_box_content {
  480. box-sizing: border-box;
  481. width: 674rpx;
  482. min-height: 390rpx;
  483. padding: 28rpx 47rpx;
  484. background: #FFF9FA;
  485. border-radius: 18rpx;
  486. margin: 0 auto;
  487. font-family: 'Alibaba PuHuiTi 2.0';
  488. font-weight: normal;
  489. font-size: 32rpx;
  490. color: #333333;
  491. line-height: 50rpx;
  492. letter-spacing: 2rpx;
  493. }
  494. .rgtd_text {
  495. width: 181rpx;
  496. margin: 6rpx 0 0 39rpx;
  497. }
  498. .emo_img {
  499. width: 112rpx;
  500. margin-right: 7rpx;
  501. }
  502. .rgtg_content {
  503. box-sizing: border-box;
  504. width: 714rpx;
  505. padding: 40rpx;
  506. background: #FFFFFF;
  507. border-radius: 35rpx;
  508. margin: 0 auto;
  509. font-family: 'Alibaba PuHuiTi 2.0';
  510. font-weight: normal;
  511. font-size: 28rpx;
  512. color: #333333;
  513. line-height: 1.8;
  514. letter-spacing: 2rpx;
  515. }
  516. .mrmj_content {
  517. display: flex;
  518. flex-wrap: wrap;
  519. min-height: 255rpx;
  520. }
  521. .star_img {
  522. width: 92rpx;
  523. margin-right: 43rpx;
  524. }
  525. .mrmj_content .mr_name {
  526. height: 44rpx;
  527. padding: 0 34rpx;
  528. margin: 4rpx 10rpx;
  529. background: #E4FFD3;
  530. border-radius: 22rpx;
  531. border: 1px solid #66C666;
  532. font-family: 'Alibaba PuHuiTi 2.0';
  533. font-weight: normal;
  534. font-size: 28rpx;
  535. color: #0B7000;
  536. line-height: 44rpx;
  537. text-align: center;
  538. }
  539. .mr_pic_box {
  540. width: 100%;
  541. }
  542. .mr_pic {
  543. width: 316rpx;
  544. margin: 5rpx 8rpx;
  545. }
  546. .advantage_title {
  547. font-family: 'Alibaba PuHuiTi 2.0';
  548. font-weight: bold;
  549. font-size: 32rpx;
  550. color: #333333;
  551. margin: 25rpx 5rpx 8rpx;
  552. }
  553. .advantage_content {
  554. box-sizing: border-box;
  555. width: 632rpx;
  556. background: #E4FFD3;
  557. border-radius: 22rpx;
  558. border: 1px solid #66C666;
  559. padding: 28rpx;
  560. margin: 0 auto;
  561. }
  562. .ad_item_title {
  563. display: flex;
  564. align-items: center;
  565. font-family: 'Alibaba PuHuiTi 2.0';
  566. font-weight: bold;
  567. font-size: 32rpx;
  568. color: #156300;
  569. }
  570. .love_role {
  571. width: 571rpx;
  572. margin: 0 auto;
  573. }
  574. .single_star {
  575. width: 32rpx;
  576. margin: 0 8rpx 4rpx 0;
  577. }
  578. .heart_img {
  579. width: 93rpx;
  580. margin-right: 16rpx;
  581. }
  582. .lover_type_title {
  583. font-family: 'Alibaba PuHuiTi 2.0';
  584. font-weight: bold;
  585. font-size: 32rpx;
  586. color: #333333;
  587. line-height: 43rpx;
  588. }
  589. .lover_type {
  590. width: 571rpx;
  591. font-family: 'ZhankuKuaiLeTi';
  592. font-weight: 400;
  593. font-size: 133rpx;
  594. color: #333333;
  595. line-height: 149rpx;
  596. text-align: center;
  597. margin: 50rpx auto 30rpx;
  598. background: url(https://test.jue-ming.com:8849/api/show?filePath=./webo/Burnout/role/lover_type_bg.png) no-repeat center bottom;
  599. background-size: 100% auto;
  600. }
  601. .love_decode {
  602. box-sizing: border-box;
  603. width: 632rpx;
  604. padding: 39rpx 30rpx;
  605. background: #FFE8FD;
  606. border-radius: 22rpx;
  607. border: 1px solid #FF59F1;
  608. margin: 0 auto;
  609. font-family: 'Alibaba PuHuiTi 2.0';
  610. font-weight: normal;
  611. font-size: 28rpx;
  612. color: #333333;
  613. }
  614. .result_box {
  615. width: 702rpx;
  616. min-height: 807rpx;
  617. background: #ffffff;
  618. box-shadow: 0rpx 3rpx 24rpx 0rpx rgba(126, 77, 0, 0.13);
  619. border-radius: 26rpx;
  620. margin: 168rpx auto 0;
  621. position: relative;
  622. }
  623. .pad_box {
  624. width: 100%;
  625. height: 200rpx;
  626. border-radius: 26rpx;
  627. overflow: hidden;
  628. }
  629. .title_img {
  630. height: 60rpx;
  631. margin: 37rpx 0 0 96rpx;
  632. }
  633. .result_box_r {
  634. box-sizing: border-box;
  635. width: 702rpx;
  636. min-height: 453rpx;
  637. margin: -188rpx auto 0;
  638. background: url(https://test.jue-ming.com:8849/api/show?filePath=./webo/Burnout/result_bg_r.png) no-repeat top;
  639. background-size: 100% auto;
  640. border-radius: 33rpx;
  641. font-family: 'Alibaba PuHuiTi 2.0';
  642. font-weight: normal;
  643. font-size: 32rpx;
  644. color: #555555;
  645. line-height: 50rpx;
  646. position: relative;
  647. z-index: 2;
  648. }
  649. .r_content {
  650. width: 600rpx;
  651. min-height: 307rpx;
  652. background: #FFE1E1;
  653. border-radius: 20rpx;
  654. border: 1px solid #FF6666;
  655. margin: 20rpx auto 0;
  656. padding: 30rpx;
  657. font-family: 'Alibaba PuHuiTi 2.0';
  658. font-weight: normal;
  659. font-size: 32rpx;
  660. color: #333333;
  661. line-height: 50rpx;
  662. display: flex;
  663. align-items: flex-start;
  664. }
  665. .report_desc {
  666. padding: 30rpx 38rpx;
  667. letter-spacing: 1px;
  668. }
  669. .desc_title {
  670. font-family: 'Alibaba PuHuiTi 2.0';
  671. font-weight: normal;
  672. font-size: 28rpx;
  673. color: #333333;
  674. line-height: 46rpx;
  675. }
  676. .stext {
  677. font-family: 'Alibaba PuHuiTi 2.0';
  678. font-weight: normal;
  679. font-size: 20rpx;
  680. color: #333333;
  681. line-height: 30rpx;
  682. }
  683. .desc_txt {
  684. font-family: 'Alibaba PuHuiTi 2.0';
  685. font-weight: normal;
  686. font-size: 20rpx;
  687. color: #333333;
  688. line-height: 30rpx;
  689. }
  690. .list_mark {
  691. line-height: 0.7;
  692. font-size: 36rpx;
  693. color: #333333;
  694. font-weight: 600;
  695. margin-right: 5rpx;
  696. }
  697. .analysis_title {
  698. width: 362rpx;
  699. position: absolute;
  700. top: -30rpx;
  701. left: 50%;
  702. transform: translateX(-50%);
  703. }
  704. .paperclip {
  705. width: 55rpx;
  706. position: absolute;
  707. top: -40rpx;
  708. left: 38rpx;
  709. }
  710. </style>