ctReport.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047
  1. <template>
  2. <view class="report-content">
  3. <view class="topinfo">
  4. <image style="position: relative; left: 7%;" src="/static/img/ct.png"></image>
  5. <view class="mark">得分:{{serverData.examMark}} 分</view>
  6. </view>
  7. <view class="topinfos">
  8. <view class="title">评 测 报 告</view>
  9. <view>EVALUATION REPORT</view>
  10. <view>机构名称:{{serverData.schoolName}}</view>
  11. <view>姓名:{{serverData.studentName}}</view>
  12. <view>科目:{{serverData.subjectName}}</view>
  13. <view>时间:{{serverData.createDate}}</view>
  14. <view>用时:{{serverData.examTime}}</view>
  15. </view>
  16. <view class="ehcarts-title">测评结果等级</view>
  17. <view>
  18. <image
  19. v-if="serverData.level"
  20. style="width: 100%; height: 360upx; 30px"
  21. :src="'/static/img/' + serverData.level + '.png'"></image>
  22. <view class="min_title">
  23. 根据教育部《关于普通高中学业水平考试的实施意见》
  24. (教基二[2014]10号)所给的标准,以等级呈现成绩,
  25. 位次由高到低为A至E等级。其中A等级15%,B等级30%,C等级30%,D、E等级共25%,
  26. 智能提分系统参照此文件,在义务教育阶段同等适用。
  27. </view>
  28. </view>
  29. <view class="ehcarts-title">评测分析</view>
  30. <view class="qiun-columns">
  31. <view >
  32. <view class="item">学科: {{serverData.subjectName}}</view>
  33. <view class="item">试题数量: {{serverData.questionNumber}}题</view>
  34. </view>
  35. <view >
  36. <view class="item">总分: 100</view>
  37. <view class="item">知识点: {{serverData.languagePointsNumber}}</view>
  38. </view>
  39. <view class="qiun-charts">
  40. <canvas canvas-id="analyse"
  41. id="analyse"
  42. class="charts"
  43. :width="cWidth * pixelRatio"
  44. :height="cHeight * pixelRatio"
  45. :style="{'width': cWidth + 'px', 'height' : cHeight+'px'}"
  46. @touchstart="touchPie($event, 'analyse')">
  47. </canvas>
  48. </view>
  49. </view>
  50. <view class="ehcarts-title">知识点掌握情况</view>
  51. <view class="qiun-columns">
  52. <view class="qiun-charts3">
  53. <!--#ifdef MP-ALIPAY -->
  54. <canvas
  55. canvas-id="languagePintsRate"
  56. id="languagePintsRate"
  57. class="charts3"
  58. :style="{'width':cWidth3*pixelRatio+'px',
  59. 'height':cHeight3*pixelRatio+'px',
  60. 'transform': 'scale('+(1/pixelRatio)+')',
  61. 'position': relative, 'left': 20%,
  62. 'margin-top':-cHeight3*(pixelRatio-1)/2+'px'}">
  63. </canvas>
  64. <canvas
  65. canvas-id="questionRate"
  66. id="questionRate"
  67. class="charts3"
  68. :style="{'width':cWidth3*pixelRatio+'px',
  69. 'height':cHeight3*pixelRatio+'px',
  70. 'position': relative, 'left': 20% ,
  71. 'transform': 'scale('+(1/pixelRatio)+')',
  72. 'margin-top':-cHeight3*(pixelRatio-1)/2+'px'}">
  73. </canvas>
  74. <!--#endif-->
  75. <!--#ifndef MP-ALIPAY -->
  76. <canvas
  77. canvas-id="languagePintsRate"
  78. style="position': relative; left: 6%"
  79. id="languagePintsRate" class="charts3"></canvas>
  80. <canvas
  81. canvas-id="questionRate"
  82. id="questionRate"
  83. class="charts3" style="position': relative; left: 50%">
  84. </canvas>
  85. <!--#endif-->
  86. </view>
  87. <view>
  88. <view class="count_item">
  89. <!-- 39B54A-->
  90. <view style="color: #98eac2; padding-left: 50px;">已掌握 {{serverData.graspLanguagePointsNumber}}</view>
  91. <view style="color: #F19192;padding-left: 50px;">未掌握 {{serverData.noGraspLanguagePointsNumber}}</view>
  92. <view class="tip" v-html="serverData.languagePointsRateDiffer" style="padding-left: 30upx;">
  93. </view>
  94. </view>
  95. <view class="count_item">
  96. <view style="color: #77ABDF;padding-left: 22px;">答对题数 {{serverData.rightQuestionNumber}}</view>
  97. <view style="color: #F19192;padding-left: 22px;">答错题数 {{serverData.errorQuestionNumber}}</view>
  98. <view class="tip " v-html="serverData.rightQuestionRateDiffer">
  99. </view>
  100. </view>
  101. </view>
  102. </view>
  103. <view class="ehcarts-title">测评结果</view>
  104. <view
  105. v-for="(item, index) in serverData.ctLanguagePointsResponseList"
  106. style="margin:10px;"
  107. class="qiun-columns">
  108. <ai-progress
  109. :content="item.languagePointsName"
  110. :lineData="true"
  111. strokeWidth="20"
  112. :textInside="true" :percentage="item.rightRate">
  113. </ai-progress>
  114. <view style="margin: 15upx;">
  115. <view @click="showMsg" class="icons_item">
  116. <uni-icons type="eye" size="20"></uni-icons>
  117. 知识点视频</view>
  118. <view @click="showMsg" class="icons_item">
  119. <uni-icons type="compose" size="20"></uni-icons>
  120. 推荐学习路径1</view>
  121. <view @click="showMsg" class="icons_item">
  122. <uni-icons type="compose" size="20"></uni-icons>
  123. 推荐学习路径2</view>
  124. </view>
  125. </view>
  126. <view class="ehcarts-title">答题详情</view>
  127. <view style="background: #fff;" class="page">
  128. <!-- <page-head :title="title"></page-head> -->
  129. <view class="uni-list">
  130. <!-- <view style="margin-top: 10upx;margin-left: 20upx;">总答题:10 总答题:10 总答题:10</view> -->
  131. <view>
  132. <view class="question_count_item">总答题{{serverData.questionNumber}}题</view>
  133. <view style="color: #1ddceb" class="question_count_item">答对{{serverData.rightQuestionNumber}}题</view>
  134. <view style="color: #eb2a17" class="question_count_item">答错{{serverData.errorQuestionNumber}}题</view>
  135. </view>
  136. <block
  137. v-for="(item,index) in serverData.studentQuestionAnswerList"
  138. :key="index">
  139. <view class="uni-list-cell" hover-class="uni-list-cell-hover">
  140. <view class="uni-triplex-row">
  141. <view class="uni-triplex-left">
  142. <uni-tag
  143. :text="item.questionName"
  144. type="error" :circle="true">
  145. </uni-tag>
  146. <!-- <text class="uni-title uni-ellipsis">
  147. {{item.questionName}}
  148. </text> -->
  149. <uParse :content="item.content" />
  150. <!-- <text class="uni-text" v-html="item.content"></text> -->
  151. <!-- 判断题 -->
  152. <view v-if="item.question_type === 6" class="uni-padding-wrap">
  153. <view style="margin-top: 10upx;">
  154. <label class="radio">
  155. <radio
  156. value="1"
  157. :checked="item.userInfoAnswer === '1'"
  158. :disabled="true"/>对
  159. </label>
  160. </view>
  161. <view style="margin-top: 10upx;">
  162. <label >
  163. <radio value="0"
  164. :disabled="true"
  165. :checked="item.userInfoAnswer === '0'"
  166. class="radio" />错</label>
  167. </view>
  168. </view>
  169. <!-- 单项选择题 -->
  170. <view v-if="item.question_type === 3" class="uni-padding-wrap">
  171. <view
  172. v-for="(subItem, index) in item.options"
  173. :key="index" style="margin-top: 10upx;">
  174. <label class="radio">
  175. <radio
  176. :value="subItem.value"
  177. :disabled="true"
  178. :checked="item.userInfoAnswer === subItem.value"
  179. />{{subItem.option}}
  180. </label>
  181. </view>
  182. </view>
  183. <!-- 多项选择题 -->
  184. <view v-if="item.question_type === 4" class="uni-padding-wrap">
  185. <view
  186. v-for="(subItem, index) in item.options"
  187. :key="index" style="margin-top: 10upx;">
  188. <label class="radio">
  189. <checkbox
  190. :disabled="true"
  191. :value="subItem.value"
  192. :checked="subItem.checked" />{{subItem.option}}
  193. </label>
  194. </view>
  195. </view>
  196. <text
  197. v-if="item.question_type === 6 && item.userInfoAnswer === '1'"
  198. class="uni-ellipsis">你的答案: 对</text>
  199. <text
  200. v-else-if="item.question_type === 6 && item.userInfoAnswer === '0'"
  201. class="uni-ellipsis">你的答案: 错</text>
  202. <text
  203. v-else
  204. class="uni-ellipsis">你的答案: {{item.userInfoAnswer | parserAnswer}}</text>
  205. <text
  206. v-if="item.question_type === 6 && item.answer === '1'"
  207. class="uni-ellipsis">正确答案: 对</text>
  208. <text
  209. v-else-if="item.question_type === 6 && item.answer === '0'"
  210. class="uni-ellipsis">正确答案: 错</text>
  211. <text
  212. v-else
  213. class="uni-ellipsis">正确答案: {{item.answer | parserAnswer}}</text>
  214. <text class="uni-ellipsis">解析:</text>
  215. <uParse :content="item.analysis" />
  216. <!-- <text v-html="item.analysis" class="uni-ellipsis"></text> -->
  217. </view>
  218. </view>
  219. </view>
  220. </block>
  221. </view>
  222. </view>
  223. <view class="ai_btn">
  224. <button
  225. @click="showMsg"
  226. class="ai_btn_item"
  227. type="warn">自主学习</button>
  228. <button
  229. @click="showMsg"
  230. type="primary"
  231. class="ai_btn_item">继续测评报告点</button>
  232. <button
  233. @click="saveImage"
  234. type="primary"
  235. class="ai_btn_item">保存图片</button>
  236. </view>
  237. </view>
  238. </template>
  239. <script>
  240. //import html2canvas from 'html2canvas';
  241. import uniTag from '@/components/uni-tag/uni-tag.vue'
  242. import uCharts from '@/components/u-charts/u-charts.js'
  243. import uniIcons from '@/components/uni-icons/uni-icons.vue'
  244. import aiProgress from '@/components/ai-progress/ai-progress.vue'
  245. import uParse from '@/components/uParse/src/wxParse.vue'
  246. import { mapGetters } from 'vuex'
  247. var _self;
  248. var canvasObj = {};
  249. export default {
  250. components: {aiProgress, uniIcons, uniTag, uParse},
  251. data() {
  252. return {
  253. examInfoId: null,
  254. title: 'list-triplex-row',
  255. lists: [],
  256. serverData: {},
  257. cWidth: '',
  258. cHeight: '',
  259. cWidth2: '', //横屏图表
  260. cHeight2: '', //横屏图表
  261. cWidth3: '', //圆弧进度图
  262. cHeight3: '', //圆弧进度图
  263. arcbarWidth: '', //圆弧进度图,进度条宽度,此设置可使各端宽度一致
  264. gaugeWidth: '', //仪表盘宽度,此设置可使各端宽度一致
  265. tips: '',
  266. pixelRatio: 1,
  267. serverData: '',
  268. itemCount: 30, //x轴单屏数据密度
  269. sliderMax: 50
  270. }
  271. },
  272. computed: {
  273. ...mapGetters({
  274. studentId: 'paper/getStudentId'
  275. })
  276. },
  277. onLoad(params) {
  278. //if (params.studentId) {
  279. let studentIdValue = parseInt(params.studentId)
  280. // alert(studentIdValue)
  281. if (studentIdValue) {
  282. this.$store.commit('paper/updateStudentId', studentIdValue)
  283. }
  284. if (params.examInfoId) {
  285. this.examInfoId = parseInt(params.examInfoId)
  286. }
  287. //}
  288. /* if (!this.studentId) {
  289. let studentIdValue = parseInt(params.studentId)
  290. this.$store.commit('paper/updateStudentId', studentIdValue)
  291. // this.studentId = studentIdValue
  292. } */
  293. let list = [];
  294. for (let i = 0; i < 5; i++) {
  295. list.push(i)
  296. }
  297. this.lists = list
  298. _self = this;
  299. //#ifdef MP-ALIPAY
  300. uni.getSystemInfo({
  301. success: function(res) {
  302. if (res.pixelRatio > 1) {
  303. //正常这里给2就行,如果pixelRatio=3性能会降低一点
  304. //_self.pixelRatio =res.pixelRatio;
  305. _self.pixelRatio = 2;
  306. }
  307. }
  308. });
  309. //#endif
  310. this.cWidth = uni.upx2px(750);
  311. this.cHeight = uni.upx2px(500);
  312. this.cWidth2 = uni.upx2px(700);
  313. this.cHeight2 = uni.upx2px(1100);
  314. this.cWidth3 = uni.upx2px(250);
  315. this.cHeight3 = uni.upx2px(250);
  316. this.arcbarWidth = uni.upx2px(24);
  317. this.gaugeWidth = uni.upx2px(30);
  318. this.getCtTestReport()
  319. //this.fillData(Data);
  320. },
  321. /* onReady() {
  322. this.getServerData();
  323. }, */
  324. methods: {
  325. /* saveImage () {
  326. html2canvas(document.querySelector("#test"))
  327. .then(canvas => {
  328. //document.body.appendChild(canvas);
  329. let imgUrl = canvas.toDataURL("image/png");
  330. alert(imgUrl)
  331. let saveA = document.createElement("a");
  332. //document.body.appendChild(canvas);
  333. saveA.href = imgUrl;
  334. saveA.download = "zspic" + (new Date).getTime();
  335. saveA.target = "_blank";
  336. saveA.click();
  337. });
  338. }, */
  339. showMsg () {
  340. uni.showToast({
  341. icon: 'none',
  342. title: '请与当地加盟校联系开通即可享受服务'
  343. })
  344. },
  345. getCtTestReport () {
  346. let params = {
  347. studentId: this.studentId,
  348. examInfoId: this.examInfoId
  349. }
  350. this.$httpApi.get('/front/aiCt/getCtTestReport', params)
  351. .then(response => {
  352. this.serverData = response.data
  353. let studentQuestionAnswerList = this.serverData.studentQuestionAnswerList
  354. if (studentQuestionAnswerList !== null && studentQuestionAnswerList.length > 0) {
  355. studentQuestionAnswerList.forEach(item => {
  356. // 多选题
  357. if (item.question_type === 4) {
  358. let optionList = item.options
  359. let userInfoAnswer = item.userInfoAnswer
  360. /* let userInfoAnswerArray = []
  361. if (userInfoAnswer) {
  362. userInfoAnswer.split(',').forEach(value => {
  363. if (value) {
  364. userInfoAnswerArray.push(value)
  365. }
  366. })
  367. } */
  368. optionList.forEach(option => {
  369. let value = option.value
  370. option.checked = false
  371. if (userInfoAnswer.length > 0) {
  372. userInfoAnswer.forEach(answer => {
  373. if (answer === value) {
  374. option.checked = true
  375. }
  376. })
  377. }
  378. })
  379. }
  380. })
  381. }
  382. // 记载测评分析图表
  383. let ctLanguagePointsResponseList = this.serverData.ctLanguagePointsResponseList
  384. this.loadAnalyseReport(ctLanguagePointsResponseList)
  385. let graspLanguagePointsNumber = this.serverData.graspLanguagePointsNumber
  386. let noGraspLanguagePointsNumber = this.serverData.noGraspLanguagePointsNumber
  387. let languagePintsSeries = [
  388. {
  389. "name": "知识点掌握",
  390. "data": graspLanguagePointsNumber / (graspLanguagePointsNumber + noGraspLanguagePointsNumber),
  391. "color": "#7ee1c4"
  392. }
  393. ]
  394. this.loadLanguagePintsReport(languagePintsSeries)
  395. let rightQuestionNumber = this.serverData.rightQuestionNumber
  396. let errorQuestionNumber = this.serverData.errorQuestionNumber
  397. let questionSeries = [
  398. {
  399. "name": "准确率",
  400. "data": rightQuestionNumber / (rightQuestionNumber + errorQuestionNumber),
  401. "color": "#409eff"
  402. }
  403. ]
  404. this.loadQuestionRateReport(questionSeries)
  405. })
  406. },
  407. loadAnalyseReport (ctLanguagePointsResponseList) {
  408. let languagePointsList = []
  409. ctLanguagePointsResponseList.forEach(item => {
  410. // languagePointsNameArray.push(item.languagePointsName)
  411. languagePointsList.push({
  412. data: item.languagePointsQuestionNumber,
  413. name: item.languagePointsName
  414. })
  415. })
  416. let options = {
  417. series: []
  418. }
  419. options.series = languagePointsList;
  420. this.showPie("analyse", options);
  421. },
  422. loadLanguagePintsReport (data) {
  423. let options = {
  424. series: data
  425. }
  426. this.showArcbar('languagePintsRate', options);
  427. },
  428. loadQuestionRateReport (data) {
  429. let options = {
  430. series: data
  431. }
  432. this.showArcbar2('questionRate', options);
  433. },
  434. showPie(canvasId, chartData) {
  435. canvasObj[canvasId] = new uCharts({
  436. $this: _self,
  437. canvasId: canvasId,
  438. type: 'pie',
  439. fontSize: 11,
  440. padding:[15,15,0,15],
  441. legend:{
  442. show:true,
  443. padding:5,
  444. lineHeight:11,
  445. margin:0,
  446. },
  447. background: '#FFFFFF',
  448. pixelRatio: _self.pixelRatio,
  449. series: chartData.series,
  450. animation: false,
  451. width: _self.cWidth * _self.pixelRatio,
  452. height: _self.cHeight * _self.pixelRatio,
  453. dataLabel: true,
  454. extra: {
  455. pie: {
  456. lableWidth: 15
  457. }
  458. },
  459. })
  460. },
  461. showRadar(canvasId, chartData) {
  462. canvasObj[canvasId] = new uCharts({
  463. $this: _self,
  464. canvasId: canvasId,
  465. type: 'radar',
  466. fontSize: 11,
  467. padding:[15,15,0,15],
  468. legend:{
  469. show:true,
  470. padding:5,
  471. lineHeight:11,
  472. margin:0,
  473. },
  474. background: '#FFFFFF',
  475. pixelRatio: _self.pixelRatio,
  476. animation: false,
  477. dataLabel: true,
  478. categories: chartData.categories,
  479. series: chartData.series,
  480. width: _self.cWidth * _self.pixelRatio,
  481. height: _self.cHeight * _self.pixelRatio,
  482. extra: {
  483. radar: {
  484. max: 200 //雷达数值的最大值
  485. }
  486. }
  487. })
  488. },
  489. showArcbar(canvasId, chartData) {
  490. new uCharts({
  491. $this: _self,
  492. canvasId: canvasId,
  493. type: 'arcbar',
  494. fontSize: 11,
  495. title: {
  496. name: Math.round(chartData.series[0].data * 100) + '%',
  497. color: chartData.series[0].color,
  498. fontSize: 25 * _self.pixelRatio
  499. },
  500. subtitle: {
  501. name: chartData.series[0].name,
  502. color: '#666666',
  503. fontSize: 15 * _self.pixelRatio
  504. },
  505. extra: {
  506. arcbar: {
  507. backgroundColor: '#C2F8EB',
  508. type: 'circle', //整圆类型进度条图
  509. width: _self.arcbarWidth * _self.pixelRatio, //圆弧的宽度
  510. startAngle: 0.5 //整圆类型只需配置起始角度即可
  511. }
  512. },
  513. background: '#FFFFFF',
  514. pixelRatio: _self.pixelRatio,
  515. series: chartData.series,
  516. animation: false,
  517. width: _self.cWidth3 * _self.pixelRatio,
  518. height: _self.cHeight3 * _self.pixelRatio,
  519. dataLabel: true,
  520. })
  521. },
  522. showArcbar2(canvasId, chartData) {
  523. new uCharts({
  524. $this: _self,
  525. canvasId: canvasId,
  526. type: 'arcbar',
  527. fontSize: 11,
  528. title: {
  529. name: Math.round(chartData.series[0].data * 100) + '%',
  530. color: chartData.series[0].color,
  531. fontSize: 25 * _self.pixelRatio
  532. },
  533. subtitle: {
  534. name: chartData.series[0].name,
  535. color: '#666666',
  536. fontSize: 15 * _self.pixelRatio
  537. },
  538. extra: {
  539. arcbar: {
  540. backgroundColor: '#50e1c2',
  541. type: 'circle', //整圆类型进度条图
  542. width: _self.arcbarWidth * _self.pixelRatio, //圆弧的宽度
  543. startAngle: 0.5 //整圆类型只需配置起始角度即可
  544. }
  545. },
  546. background: '#FFFFFF',
  547. pixelRatio: _self.pixelRatio,
  548. series: chartData.series,
  549. animation: false,
  550. width: _self.cWidth3 * _self.pixelRatio,
  551. height: _self.cHeight3 * _self.pixelRatio,
  552. dataLabel: true,
  553. })
  554. },
  555. changeData() {
  556. canvasObj['canvasColumn'].updateData({
  557. series: _self.serverData.ColumnB.series,
  558. categories: _self.serverData.ColumnB.categories
  559. })
  560. },
  561. touchPie(e,id) {
  562. canvasObj[id].showToolTip(e, {
  563. format: function(item) {
  564. return item.name + ':' + item.data
  565. }
  566. })
  567. },
  568. },
  569. filters: {
  570. parserAnswer(answer) {
  571. if (answer) {
  572. if (answer instanceof Array) {
  573. let answerStr = ''
  574. answer.forEach(item => {
  575. answerStr += item + ","
  576. })
  577. return answerStr.substr(0, answerStr.length - 1)
  578. }
  579. return answer
  580. }
  581. return '未作答'
  582. }
  583. }
  584. }
  585. </script>
  586. <style scoped>
  587. .uni-tag {
  588. width: 30%
  589. }
  590. </style>
  591. <style>
  592. .icons_item {
  593. font-size: 30upx;
  594. margin-top: 10upx;
  595. margin-left: 10upx;
  596. color: red;
  597. width: 265upx;
  598. float: left;
  599. display: inline-block;
  600. }
  601. .uni-text-small {
  602. font-size:24upx;
  603. }
  604. /* page */
  605. .uni-h5 {font-size: 28upx; color: #8f8f94;}
  606. /* 文本溢出隐藏 */
  607. .uni-ellipsis {
  608. overflow: hidden;
  609. white-space: nowrap;
  610. margin-top: 15upx;
  611. color: #999999;
  612. text-overflow: ellipsis;
  613. }
  614. .uni-page-head{
  615. padding:35upx;
  616. text-align: center;
  617. }
  618. .question_count_item {
  619. width: 30%;
  620. margin: 12upx;
  621. display: inline-block;
  622. }
  623. .uni-page-head-title {
  624. display: inline-block;
  625. padding: 0 40upx;
  626. font-size: 30upx;
  627. height: 88upx;
  628. line-height: 88upx;
  629. color: #BEBEBE;
  630. box-sizing: border-box;
  631. border-bottom: 2upx solid #D8D8D8;
  632. }
  633. .min_title {
  634. font-size: 14px;
  635. margin: 5px;
  636. color: #DADADA;
  637. }
  638. .uni-page-body {
  639. width: 100%;
  640. flex-grow: 1;
  641. overflow-x: hidden;
  642. }
  643. .uni-list-cell {
  644. position: relative;
  645. display: flex;
  646. flex-direction: row;
  647. justify-content: space-between;
  648. align-items: center;
  649. }
  650. .uni-list-cell-hover {
  651. background-color: #eee;
  652. }
  653. .uni-list-cell-pd {
  654. padding: 22upx 30upx;
  655. }
  656. .uni-list-cell-left {
  657. font-size:28upx;
  658. padding: 0 30upx;
  659. }
  660. .uni-list-cell-db,
  661. .uni-list-cell-right {
  662. flex: 1;
  663. }
  664. .uni-list-cell::after {
  665. position: absolute;
  666. z-index: 3;
  667. right: 0;
  668. bottom: 0;
  669. left: 30upx;
  670. height: 1px;
  671. content: '';
  672. -webkit-transform: scaleY(.5);
  673. transform: scaleY(.5);
  674. background-color: #c8c7cc;
  675. }
  676. .uni-list .uni-list-cell:last-child::after {
  677. height: 0upx;
  678. }
  679. .uni-list-cell-last.uni-list-cell::after {
  680. height: 0upx;
  681. }
  682. .uni-list-cell-divider {
  683. position: relative;
  684. display: flex;
  685. color: #999;
  686. background-color: #f7f7f7;
  687. padding:15upx 20upx;
  688. }
  689. .uni-list-cell-divider::before {
  690. position: absolute;
  691. right: 0;
  692. top: 0;
  693. left: 0;
  694. height: 1px;
  695. content: '';
  696. -webkit-transform: scaleY(.5);
  697. transform: scaleY(.5);
  698. background-color: #c8c7cc;
  699. }
  700. .tip {
  701. color: #9A9A9A;
  702. font-size: 26upx;
  703. margin-top: 2upx;
  704. width: 300upx;
  705. text-align: center;
  706. }
  707. .uni-list-cell-divider::after {
  708. position: absolute;
  709. right: 0;
  710. bottom: 0;
  711. left: 0upx;
  712. height: 1px;
  713. content: '';
  714. -webkit-transform: scaleY(.5);
  715. transform: scaleY(.5);
  716. background-color: #c8c7cc;
  717. }
  718. .uni-list-cell-navigate {
  719. font-size:30upx;
  720. padding: 22upx 30upx;
  721. line-height: 48upx;
  722. position: relative;
  723. display: flex;
  724. box-sizing: border-box;
  725. width: 100%;
  726. flex: 1;
  727. justify-content: space-between;
  728. align-items: center;
  729. }
  730. .uni-list-cell-navigate {
  731. padding-right: 36upx;
  732. }
  733. .uni-navigate-badge {
  734. padding-right: 50upx;
  735. }
  736. .uni-list-cell-navigate.uni-navigate-right:after {
  737. font-family: uniicons;
  738. content: '\e583';
  739. position: absolute;
  740. right: 24upx;
  741. top: 50%;
  742. color: #bbb;
  743. -webkit-transform: translateY(-50%);
  744. transform: translateY(-50%);
  745. }
  746. .uni-list-cell-navigate.uni-navigate-bottom:after {
  747. font-family: uniicons;
  748. content: '\e581';
  749. position: absolute;
  750. right: 24upx;
  751. top: 50%;
  752. color: #bbb;
  753. -webkit-transform: translateY(-50%);
  754. transform: translateY(-50%);
  755. }
  756. .uni-list-cell-navigate.uni-navigate-bottom.uni-active::after {
  757. font-family: uniicons;
  758. content: '\e580';
  759. position: absolute;
  760. right: 24upx;
  761. top: 50%;
  762. color: #bbb;
  763. -webkit-transform: translateY(-50%);
  764. transform: translateY(-50%);
  765. }
  766. .uni-collapse.uni-list-cell {
  767. flex-direction: column;
  768. }
  769. .uni-list-cell-navigate.uni-active {
  770. background: #eee;
  771. }
  772. .uni-list.uni-collapse {
  773. box-sizing: border-box;
  774. height: 0;
  775. overflow: hidden;
  776. }
  777. .uni-collapse .uni-list-cell {
  778. padding-left: 20upx;
  779. }
  780. .uni-collapse .uni-list-cell::after {
  781. left: 52upx;
  782. }
  783. .uni-list.uni-active {
  784. height: auto;
  785. }
  786. /* 三行列表 */
  787. .uni-triplex-row {
  788. display: flex;
  789. flex: 1;
  790. width: 100%;
  791. box-sizing: border-box;
  792. flex-direction: row;
  793. padding: 22upx 30upx;
  794. }
  795. .uni-triplex-right,
  796. .uni-triplex-left {
  797. display: flex;
  798. flex-direction: column;
  799. }
  800. .uni-triplex-left {
  801. width: 84%;
  802. }
  803. .uni-triplex-left .uni-title{
  804. padding:8upx 0;
  805. }
  806. .uni-text {
  807. display: inherit !important;
  808. }
  809. .uni-triplex-left .uni-text, .uni-triplex-left .uni-text-small{color:#999999;}
  810. .uni-triplex-right {
  811. width: 16%;
  812. text-align: right;
  813. }
  814. .count_item {
  815. display: inline-block;
  816. width: 50%;
  817. /* margin-left: 13%; */
  818. /* width: 40%;
  819. margin-left: 9%; */
  820. margin-top: 10px;
  821. }
  822. .topinfos {
  823. margin: 20px auto;
  824. padding: 10px 0 20px;
  825. display: flex;
  826. background-color: #ed2828;
  827. color: #fff;
  828. justify-content: center;
  829. align-items: center;
  830. flex-direction: column;
  831. }
  832. .report-content {
  833. width: 100%;
  834. height: 100%;
  835. }
  836. .mark {
  837. position: relative;
  838. right: 4%;
  839. text-align: center;
  840. font-size: 24px;
  841. font-weight: 700;
  842. }
  843. .ehcarts-title {
  844. display: flex;
  845. justify-content: space-between;
  846. align-items: center;
  847. font-size: 32upx;
  848. color: white;
  849. padding: 30upx 30upx 30upx 50upx;
  850. margin-top: 20upx;
  851. width: 100%;
  852. position: relative;
  853. background-color: #FF9966;
  854. border-bottom: 1px #FF9966 solid
  855. }
  856. .qiun-columns .item {
  857. /* width: 20upx; */
  858. display: inline-block;
  859. float: left;
  860. margin-top: 20upx;
  861. margin-bottom: 20upx;
  862. margin-left: 50upx;
  863. }
  864. page {
  865. background: #F2F2F2;
  866. width: 750upx;
  867. overflow-x: hidden;
  868. }
  869. .qiun-padding {
  870. padding: 2%;
  871. width: 96%;
  872. }
  873. .qiun-wrap {
  874. display: flex;
  875. flex-wrap: wrap;
  876. }
  877. .qiun-rows {
  878. display: flex;
  879. flex-direction: row !important;
  880. }
  881. .ai_btn {
  882. display: inline-block;
  883. line-height: 40px;
  884. position: relative;
  885. left: 8%;
  886. }
  887. .ai_btn_item {
  888. border-radius: 60upx;
  889. float: left;
  890. line-height: 50px;
  891. margin-left: 20px;
  892. margin-top: 20px;
  893. }
  894. .qiun-columns {
  895. display: flex;
  896. flex-direction: column !important;
  897. }
  898. .qiun-common-mt {
  899. margin-top: 10upx;
  900. }
  901. .qiun-bg-white {
  902. background: #FFFFFF;
  903. }
  904. .qiun-title-bar {
  905. width: 96%;
  906. padding: 10upx 2%;
  907. flex-wrap: nowrap;
  908. }
  909. .qiun-title-dot-light {
  910. border-left: 10upx solid #0ea391;
  911. padding-left: 10upx;
  912. font-size: 32upx;
  913. color: #000000
  914. }
  915. /* 通用样式 */
  916. .qiun-charts {
  917. width: 750upx;
  918. height: 500upx;
  919. background-color: #FFFFFF;
  920. }
  921. .charts {
  922. width: 750upx;
  923. height: 500upx;
  924. background-color: #FFFFFF;
  925. }
  926. /* 横屏样式 */
  927. .qiun-charts-rotate {
  928. width: 700upx;
  929. height: 1100upx;
  930. background-color: #FFFFFF;
  931. padding: 25upx;
  932. }
  933. .charts-rotate {
  934. width: 700upx;
  935. height: 1100upx;
  936. background-color: #FFFFFF;
  937. }
  938. /* 圆弧进度样式 */
  939. .qiun-charts3 {
  940. width: 750upx;
  941. height: 250upx;
  942. background-color: #FFFFFF;
  943. position: relative;
  944. }
  945. .charts3 {
  946. position: absolute;
  947. width: 250upx;
  948. height: 250upx;
  949. background-color: #FFFFFF;
  950. }
  951. .qiun-tip {
  952. display: block;
  953. width: auto;
  954. overflow: hidden;
  955. padding: 15upx;
  956. height: 30upx;
  957. line-height: 30upx;
  958. margin: 10upx;
  959. background: #ff9933;
  960. font-size: 30upx;
  961. border-radius: 8upx;
  962. justify-content: center;
  963. text-align: center;
  964. border: 1px solid #dc7004;
  965. color: #FFFFFF;
  966. }
  967. </style>