testResult.vue 18 KB

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