TaskCard.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747
  1. <!-- 工作台任务卡片 -->
  2. <template>
  3. <div class="task-card">
  4. <div class="top-title-box">
  5. <p>{{ $t('literal.dashboardTasks') }}</p>
  6. </div>
  7. <div class="card-max-big-box">
  8. <div class="year-card-box for-max-big-box">
  9. <div class="year-card-top-title-box">
  10. <p>{{ $t('literal.academicYearStatistics') }}</p>
  11. <p>{{ $t('literal.academicYearExamHistory') }}</p>
  12. </div>
  13. <div class="bottom-content-box scrollbar-box">
  14. <p class="null-p" v-if="!yearMinList[0]">{{ $t('literal.noData') }}</p>
  15. <div class="bottom-big-box-1" v-for="(item,index) in yearMinList">
  16. <p>{{item.academicYear}}</p>
  17. <p>{{item.statusCode==0?$t('literal.notStarted'):(item.statusCode==2?$t('literal.passed')+item.score:(item.statusCode==1?$t('literal.inProgress'):$t('literal.notPassed')))}}</p>
  18. </div>
  19. </div>
  20. </div>
  21. <!--任务卡列表-->
  22. <div class="year-card-box for-max-big-box">
  23. <div class="year-card-top-title-box">
  24. <p>{{ $t('literal.learningAndExamTasks') }}</p>
  25. <p>{{ $t('literal.learningTasksToComplete') }}</p>
  26. </div>
  27. <div class="bottom-content-box scrollbar-box">
  28. <p class="null-p" v-if="!dataList2[0]">{{ $t('literal.noData') }}</p>
  29. <div class="bottom-big-box-5" v-for="(item,index) in dataList2" @click="tableButtonOne(item.conditionType,item)">
  30. <p class="text-name-p">{{item.examName}}</p>
  31. <div class="text-flex-box" v-if="item.conditionType == 1">
  32. <p>{{ $t('literal.preExamStudy') }}</p>
  33. <p>{{item.completedStudyHours}} / {{item.studyHoursRequirement}} {{ $t('literal.studyHours') }}</p>
  34. </div>
  35. <div class="text-flex-box" v-if="item.conditionType == 2">
  36. <p>{{ $t('literal.preExamStudy') }}</p>
  37. <p>{{ $t('literal.incomplete') }}</p>
  38. </div>
  39. <div class="text-flex-box" v-if="item.conditionType == 3">
  40. <p>{{ $t('literal.mockExam') }}</p>
  41. <p>{{ $t('literal.incomplete') }}</p>
  42. </div>
  43. <div class="text-flex-box" v-if="item.examKind==1&&item.conditionType == 4">
  44. <p>{{ $t('literal.onlineExam') }}</p>
  45. <p>
  46. <span :class="!item.isPassed&&item.attemptCount==0?'color-A':(!item.isPassed&&item.attemptCount>0?'color-B':(item.isPassed?'color-C':''))">{{!item.isPassed&&item.attemptCount==0?$t('literal.notStarted'):(!item.isPassed&&item.attemptCount>0?$t('literal.notPassed'):(item.isPassed?$t('literal.passed'):''))}}</span>
  47. <span style="margin-left:20px;">{{item.attemptCount>0?$t('literal.score')+item.maxScore+$t('literal.points'):''}}</span>
  48. </p>
  49. </div>
  50. <div class="text-flex-box" v-if="item.examKind==2&&item.conditionType == 4">
  51. <p>{{ $t('literal.makeupExam') }}</p>
  52. <p>{{ $t('literal.incomplete') }}</p>
  53. </div>
  54. <p class="time-p">{{parseTime(item.startTime,"{y}-{m}-{d} {h}:{i}")}} {{$t('tableTitle.to')}} {{parseTime(item.endTime,"{y}-{m}-{d} {h}:{i}")}}</p>
  55. </div>
  56. </div>
  57. </div>
  58. <!--模拟练习卡-->
  59. <div class="examination-card-box for-max-big-box">
  60. <div class="year-card-top-title-box">
  61. <p>{{ $t('literal.mockPractice') }}</p>
  62. <p>{{ $t('literal.practiceProgressAndAccuracy') }}</p>
  63. </div>
  64. <div class="bottom-content-box scrollbar-box" style="cursor: pointer;" @click="goPracticeQuestions()">
  65. <div class="bottom-big-box-6">
  66. <p>{{summaryData.completedCount}} / {{summaryData.totalCount}}</p>
  67. <p >{{ $t('literal.questionsCompletedTotalInQuestionBank') }}</p>
  68. </div>
  69. <div class="bottom-big-box-6">
  70. <p>{{summaryData.correctRate}}%</p>
  71. <p >{{ $t('literal.currentMockPracticeAccuracy') }}</p>
  72. </div>
  73. </div>
  74. </div>
  75. <!--在线任务卡-->
  76. <div class="for-max-big-box" v-for="(item,index) in dataList" :key="index">
  77. <div class="year-card-top-title-box">
  78. <p>{{item.examName}}</p>
  79. <p v-if="item.examKind==1&&item.conditionType != 4">{{ $t('literal.completeThePrerequisitesToTakeTheExam') }}</p>
  80. <p v-if="item.examKind==1&&item.conditionType == 4">
  81. <span>{{parseTime(item.startTime,"{y}-{m}-{d} {h}:{i}")}} {{$t('tableTitle.to')}} {{parseTime(item.endTime,"{y}-{m}-{d} {h}:{i}")}}</span>
  82. </p>
  83. <p v-if="item.examKind==1&&item.conditionType == 4">
  84. <span :class="!item.isPassed&&item.attemptCount==0?'color-A':(!item.isPassed&&item.attemptCount>0?'color-B':(item.isPassed?'color-C':''))">{{!item.isPassed&&item.attemptCount==0?$t('literal.notStarted'):(!item.isPassed&&item.attemptCount>0?$t('literal.notPassed'):(item.isPassed?$t('literal.passed'):''))}}</span>
  85. <span v-if="item.maxScore>0" style="margin-left:15px;">{{item.attemptCount>0?$t('literal.score')+item.maxScore+$t('literal.points'):''}}</span>
  86. </p>
  87. </div>
  88. <div class="bottom-content-box scrollbar-box">
  89. <div class="bottom-big-box-4">
  90. <p :class="item.completedStudyHours<item.studyHoursRequirement?'text-name':''">{{ $t('literal.requiredStudyHours') }}</p>
  91. <p class="colorA" v-if="item.needStudy" @click="tableButton(1,item)">{{ $t('literal.startLearning') }}</p>
  92. <p class="position-p-1" v-if="item.completedStudyHours<item.studyHoursRequirement">{{item.completedStudyHours}} / {{item.studyHoursRequirement}} {{ $t('literal.studyHours') }}</p>
  93. <p class="text-type" v-if="item.completedStudyHours>=item.studyHoursRequirement">{{ $t('literal.requirementMet') }}</p>
  94. </div>
  95. <div class="bottom-big-box-4" v-if="item.examStudy">
  96. <p>{{ $t('literal.preExamStudy') }}</p>
  97. <p class="colorA" @click="tableButton(2,item)">{{ $t('literal.startLearning') }}</p>
  98. <!--<p class="colorA" v-if="!item.needStudy" @click="tableButton(2,item)">开始学习</p>-->
  99. <!--<p class="colorC" v-if="item.needStudy">待满足学时要求后解锁</p>-->
  100. </div>
  101. <div class="bottom-big-box-4" v-if="item.mockExam">
  102. <p>{{ $t('literal.mockExam') }}</p>
  103. <p class="colorA" v-if="!item.examStudy" @click="tableButton(3,item)">{{ $t('literal.startExam') }}</p>
  104. <p class="colorC" v-if="item.examStudy">{{ $t('literal.completeTheLearningTasksToUnlock') }}</p>
  105. </div>
  106. <div class="bottom-big-box-4">
  107. <p>{{ $t('literal.onlineExam') }}</p>
  108. <p class="colorA" v-if="item.examKind==1&&item.conditionType == 4" @click="tableButton(4,item)">{{ $t('literal.startExam') }}</p>
  109. <p class="colorC" v-if="item.examKind==1&&item.conditionType != 4">{{ $t('literal.passTheMockExamToUnlock') }}</p>
  110. <p class="colorB" v-if="item.examKind==2">{{ $t('literal.examNotPassed') }}</p>
  111. </div>
  112. <div class="bottom-big-box-4" v-if="item.examKind == 2">
  113. <p>{{ $t('literal.takeMakeupExam') }}</p>
  114. <p class="colorA" @click="tableButton(4,item)">{{ $t('literal.startExam') }}</p>
  115. </div>
  116. </div>
  117. </div>
  118. </div>
  119. <el-dialog class="preExam-dialog"
  120. :modal-append-to-body="false"
  121. :close-on-click-modal="false" :close-on-press-escape="false"
  122. :title="$t('literal.examCommitment')"
  123. :visible.sync="preExamDialogType"
  124. v-if="preExamDialogType"
  125. width="840px"
  126. append-to-body>
  127. <div style="height:600px;" class="scrollbar-box">
  128. <richTextPdf ref="richTextPdf" :content="richTextHtml" />
  129. </div>
  130. <div slot="footer" class="dialog-footer dialog-footer-box">
  131. <p class="dialog-footer-button-null"></p>
  132. <p class="dialog-footer-button-border" v-if="preButtonType" @click="preExamDialogCancel">{{ $t('literal.download') }}</p>
  133. <p class="dialog-footer-button-primary" @click="examUserExamStart">{{ $t('literal.confirm') }}</p>
  134. <p class="dialog-footer-button-null"></p>
  135. </div>
  136. </el-dialog>
  137. </div>
  138. </template>
  139. <script>
  140. import { Encrypt,Decrypt} from '@/utils/secret'
  141. import {
  142. examUserCoursewareLearningRestart,examElLabEduRelationAcademicYearProgress,
  143. examUserExamStudyTaskList,examUserExamStart,examUserPracticeSummary,
  144. examUserExamCommitmentConfirm,examUserExamAttemptFinished,
  145. } from "@/api/safetyEducationExaminationNew/index";
  146. import richTextPdf from '@/views/safetyEducationExaminationNew/components/richTextPdf.vue';
  147. export default {
  148. name: 'TaskCard',
  149. components: { richTextPdf },
  150. data() {
  151. return {
  152. //学年数据
  153. yearType:true,
  154. yearMinList:[],
  155. studyMinList:[],
  156. examinationMinList:[],
  157. dataList:[],
  158. dataList2:[],
  159. summaryData:{
  160. totalCount:0,
  161. completedCount:0,
  162. correctRate:0,
  163. },
  164. //考前承诺相关
  165. preExamDialogType:false,
  166. preButtonType:false,
  167. richTextHtml: '',
  168. preData:null,
  169. }
  170. },
  171. created() {
  172. },
  173. mounted() {
  174. this.initialization();
  175. },
  176. methods: {
  177. initialization(){
  178. this.examUserPracticeSummary();
  179. this.examElLabEduRelationAcademicYearProgress();
  180. this.examUserExamStudyTaskList();
  181. this.examUserExamStudyTaskList2();
  182. },
  183. //下载承诺书
  184. preExamDialogCancel(){
  185. this.msgSuccess(this.$t('literal.downloadingPleaseWait'))
  186. this.$refs['richTextPdf'].downloadPDF();
  187. },
  188. //确认承诺-并考试
  189. examUserExamStart(){
  190. if(this.preData.attemptId){
  191. this.examUserExamCommitmentConfirm(1,this.preData.attemptId);
  192. }else{
  193. examUserExamStart({examId:this.preData.examId,examScene:1,}).then(response => {
  194. if(response.data.attemptId){
  195. this.examUserExamCommitmentConfirm(2,response.data.attemptId);
  196. }else{
  197. this.msgError(response.message)
  198. }
  199. })
  200. }
  201. },
  202. //确认考试承诺书
  203. examUserExamCommitmentConfirm(type,attemptId){
  204. examUserExamCommitmentConfirm({attemptId:attemptId}).then(response => {
  205. if(this.preExamDialogType){
  206. this.$set(this,'preExamDialogType',false);
  207. }
  208. let obj = {
  209. examId: this.preData.examId,
  210. attemptId: attemptId,
  211. type: '1',
  212. examKind:this.preData.examKind,
  213. attemptLimit:this.preData.attemptLimit,
  214. attemptCount:this.preData.attemptCount,
  215. }
  216. this.examUserExamAttemptFinished(1,obj);
  217. })
  218. },
  219. //开始考试判断是否有承诺书
  220. setRichExamData(item){
  221. if(item.commitmentEnabled == 1 && !item.commitmentConfirmed){
  222. this.$set(this,'preButtonType',item.commitmentPrintEnabled == 1?true:false);
  223. this.$set(this,'richTextHtml',item.commitmentContent);
  224. this.$set(this,'preData',item);
  225. this.$set(this,'preExamDialogType',true);
  226. }else{
  227. if(item.attemptId){
  228. this.examUserExamAttemptFinished(1,item);
  229. }else{
  230. this.examUserExamStartPlay(1,item);
  231. }
  232. }
  233. },
  234. //跳转刷题练习
  235. goPracticeQuestions(){
  236. this.$router.push({
  237. path: '/safetyEducationExaminationNew/safetyTest/practiceQuestions',
  238. query: {}
  239. })
  240. },
  241. //考试跳转
  242. tableButtonOne(type,item){
  243. let self = this;
  244. if(type == 1){
  245. if(item.examStudy&&item.courseId){
  246. //学习课程
  247. this.$router.push({
  248. path: '/learningCourse',
  249. query: {
  250. courseId: item.courseId,
  251. examId: item.examId,
  252. }
  253. })
  254. }else{
  255. //学时要求
  256. let obj = {
  257. examName:item.examName,
  258. knowledgePointIds:item.knowledgePointIds,
  259. completedStudyHours:item.completedStudyHours,
  260. studyHoursRequirement:item.studyHoursRequirement,
  261. }
  262. let text = Encrypt(JSON.stringify(obj))
  263. self.$router.push({
  264. path: '/safetyEducationExaminationNew/safetyEducation/knowledgeLearning',
  265. query: {
  266. text : text
  267. }
  268. })
  269. }
  270. }else if(type == 2){
  271. //学习课程
  272. this.$router.push({
  273. path: '/learningCourse',
  274. query: {
  275. courseId: item.courseId,
  276. examId: item.examId,
  277. }
  278. })
  279. }else if(type == 3){
  280. //模拟考试
  281. if(item.mockExamId){
  282. let obj = {
  283. examId: item.examId,
  284. attemptId: item.mockExamId,
  285. };
  286. this.examUserExamAttemptFinished(2,obj);
  287. }else{
  288. let obj = {
  289. examId: item.examId,
  290. };
  291. this.examUserExamStartPlay(2,obj);
  292. }
  293. }else if(type == 4){
  294. //在线考试//补考
  295. this.setRichExamData(item);
  296. }
  297. },
  298. //考试跳转
  299. tableButton(type,item){
  300. let self = this;
  301. if(type == 1){
  302. if(item.examStudy&&item.courseId){
  303. //学习课程
  304. this.$router.push({
  305. path: '/learningCourse',
  306. query: {
  307. courseId: item.courseId,
  308. examId: item.examId,
  309. }
  310. })
  311. }else{
  312. //学时要求
  313. let obj = {
  314. examName:item.examName,
  315. knowledgePointIds:item.knowledgePointIds,
  316. completedStudyHours:item.completedStudyHours,
  317. studyHoursRequirement:item.studyHoursRequirement,
  318. }
  319. let text = Encrypt(JSON.stringify(obj))
  320. self.$router.push({
  321. path: '/safetyEducationExaminationNew/safetyEducation/knowledgeLearning',
  322. query: {
  323. text : text
  324. }
  325. })
  326. }
  327. }else if(type == 2){
  328. //学习课程
  329. this.$router.push({
  330. path: '/learningCourse',
  331. query: {
  332. courseId: item.courseId,
  333. examId: item.examId,
  334. }
  335. })
  336. }else if(type == 3){
  337. //模拟考试
  338. if(item.mockExamId){
  339. let obj = {
  340. examId: item.examId,
  341. attemptId: item.mockExamId,
  342. };
  343. this.examUserExamAttemptFinished(2,obj);
  344. }else{
  345. let obj = {
  346. examId: item.examId,
  347. };
  348. this.examUserExamStartPlay(2,obj);
  349. }
  350. }else if(type == 4){
  351. //在线考试//补考
  352. this.setRichExamData(item);
  353. }
  354. },
  355. //二次验证考试是否已结束
  356. examUserExamAttemptFinished(type,item){
  357. examUserExamAttemptFinished({attemptId:item.attemptId}).then(response => {
  358. if(response.data){
  359. //已结束
  360. if(type == 1){
  361. //在线考试
  362. if(item.attemptLimit == 0 || item.attemptCount < item.attemptLimit){
  363. //获取新试卷
  364. this.examUserExamStartPlay(type,item)
  365. }else{
  366. //无可用次数 提示并刷新数据列表
  367. this.msgError(this.$t('literal.theCurrentExamHasEnded'))
  368. this.examUserExamStudyTaskList();
  369. this.examUserExamStudyTaskList2();
  370. }
  371. }else if(type == 2){
  372. //模拟考试-获取新试卷
  373. this.examUserExamStartPlay(type,item)
  374. }
  375. }else{
  376. //未结束
  377. this.confirmTitle(type,item);
  378. }
  379. })
  380. },
  381. //获取考试试卷
  382. examUserExamStartPlay(type,item){
  383. examUserExamStart({examId:item.examId,examScene:type,}).then(response => {
  384. if(response.data.attemptId){
  385. let obj = {
  386. examId: item.examId,
  387. attemptId: response.data.attemptId,
  388. };
  389. if(type == 1){
  390. obj.type = 1;
  391. obj.examKind = item.examKind;
  392. }
  393. this.confirmTitle(type,obj);
  394. }else{
  395. this.msgError(response.message)
  396. }
  397. })
  398. },
  399. //提示与跳转
  400. confirmTitle(type,obj){
  401. let self = this;
  402. if(type == 1){
  403. this.$confirm(
  404. this.$t('literal.examLeaveWarning'),
  405. this.$t('literal.enterTheExam'),
  406. {
  407. confirmButtonText: this.$t('literal.enter'),
  408. cancelButtonText: this.$t('literal.cancel'),
  409. type: 'warning',
  410. closeOnClickModal: false,
  411. closeOnPressEscape: false
  412. }
  413. ).then(() => {
  414. //在线考试
  415. this.$router.push({
  416. path: '/startTheExam',
  417. query: obj
  418. })
  419. }).catch(() => {})
  420. }else if(type == 2){
  421. //模拟考试
  422. self.$router.push({
  423. path: '/mockExam',
  424. query: obj
  425. })
  426. }
  427. },
  428. //查询学年进度列表
  429. examElLabEduRelationAcademicYearProgress(){
  430. examElLabEduRelationAcademicYearProgress({}).then(response => {
  431. this.$set(this, 'yearMinList', response.data)
  432. })
  433. },
  434. //特殊考试
  435. examUserExamStudyTaskList(){
  436. let obj = {
  437. page:1,
  438. pageSize:5,
  439. examStatus:2,
  440. isSpecialExam:true,
  441. }
  442. examUserExamStudyTaskList(obj).then(response => {
  443. this.$set(this, 'dataList', response.data.records)
  444. })
  445. },
  446. //在线考试
  447. examUserExamStudyTaskList2(){
  448. let obj = {
  449. page:1,
  450. pageSize:5,
  451. examStatus:2,
  452. isSpecialExam:false,
  453. }
  454. examUserExamStudyTaskList(obj).then(response => {
  455. this.$set(this, 'dataList2', response.data.records)
  456. })
  457. },
  458. //在线考试
  459. examUserPracticeSummary(){
  460. examUserPracticeSummary({}).then(response => {
  461. this.$set(this, 'summaryData', response.data)
  462. })
  463. },
  464. },
  465. }
  466. </script>
  467. <style scoped lang="scss">
  468. .task-card {
  469. background: #fff;
  470. /*border-radius: 6px;*/
  471. padding: 16px 0 0 0;
  472. margin-bottom: 12px;
  473. /*box-shadow: 0 1px 4px rgba(0,0,0,0.06);*/
  474. background: rgba(255, 255, 255, 0.95);
  475. border: 1px solid #e8edf5;
  476. border-radius: 16px;
  477. box-shadow: 0 4px 20px rgba(37, 50, 74, 0.06);
  478. .top-title-box{
  479. display: flex;
  480. flex-direction: column;
  481. padding-left:20px;
  482. p{
  483. flex:1;
  484. line-height:20px;
  485. }
  486. p:nth-child(1){
  487. font-size:16px;
  488. font-weight:700;
  489. }
  490. p:nth-child(2){
  491. font-size:14px;
  492. }
  493. p:nth-child(3){
  494. font-size:14px;
  495. }
  496. }
  497. .card-max-big-box{
  498. margin-top:20px;
  499. .year-card-box{
  500. }
  501. .study-card-box{
  502. }
  503. .examination-card-box{
  504. }
  505. .for-max-big-box{
  506. display: inline-block;
  507. width:360px;
  508. height:300px;
  509. margin: 0 0 20px 20px;
  510. /*border-radius:6px;*/
  511. /*border:1px solid #dedede;*/
  512. /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
  513. overflow: hidden;
  514. background: linear-gradient(180deg, #fff, #f7faff);
  515. border: 1px solid #eaf0f8;
  516. border-radius: 14px;
  517. .year-card-top-title-box{
  518. padding:20px 20px 0 20px;
  519. position: relative;
  520. p:nth-child(1){
  521. font-size:15px;
  522. font-weight:700;
  523. line-height:20px;
  524. display:block;
  525. overflow:hidden;
  526. text-overflow:ellipsis;
  527. white-space:nowrap;
  528. }
  529. p:nth-child(2){
  530. font-size:14px;
  531. line-height:20px;
  532. margin-top:6px;
  533. color:#60708a;
  534. }
  535. p:nth-child(3){
  536. cursor: pointer;
  537. font-size:12px;
  538. line-height:26px;
  539. color:#60708a;
  540. text-align: right;
  541. position: absolute;
  542. top:0;
  543. right:10px;
  544. }
  545. .color-A{
  546. color:#999;
  547. }
  548. .color-B{
  549. color:#f56c6c;
  550. }
  551. .color-C{
  552. color:#4fbe7e;
  553. }
  554. }
  555. .bottom-content-box{
  556. height:208px;
  557. margin-top:6px;
  558. padding:8px 14px 0 20px;
  559. .null-p{
  560. text-align: center;
  561. font-size: 14px;
  562. color:#999;
  563. line-height: 100px;
  564. }
  565. .bottom-big-box-1{
  566. display: flex;
  567. /*background-color: rgba(1, 131, 250, 0.1);*/
  568. border-radius:6px;
  569. padding:12px 14px;
  570. margin-bottom:12px;
  571. height:68px;
  572. border: 1px solid #e5edf8;
  573. background-color: #fff;
  574. p{
  575. font-size:14px;
  576. line-height:44px;
  577. }
  578. p:nth-child(1){
  579. flex:1;
  580. font-size:15px;
  581. font-weight:700;
  582. }
  583. p:nth-child(2){
  584. width:80px;
  585. text-align: center;
  586. }
  587. }
  588. .bottom-big-box-2{
  589. /*background-color: rgba(1, 131, 250, 0.1);*/
  590. border-radius:6px;
  591. padding:12px 14px;
  592. margin-bottom:12px;
  593. height:68px;
  594. cursor: pointer;
  595. border: 1px solid #e5edf8;
  596. background-color: #fff;
  597. p{
  598. font-size:14px;
  599. line-height:22px;
  600. }
  601. p:nth-child(1){
  602. font-size:15px;
  603. font-weight:700;
  604. }
  605. }
  606. .bottom-big-box-3{
  607. /*background-color: rgba(1, 131, 250, 0.1);*/
  608. border-radius:6px;
  609. padding:12px 14px;
  610. margin-bottom:12px;
  611. height:68px;
  612. cursor: pointer;
  613. border: 1px solid #e5edf8;
  614. background-color: #fff;
  615. p{
  616. font-size:14px;
  617. line-height:22px;
  618. }
  619. p:nth-child(1){
  620. font-size:15px;
  621. font-weight:700;
  622. }
  623. }
  624. .bottom-big-box-4{
  625. /*background-color: rgba(1, 131, 250, 0.1);*/
  626. border-radius:6px;
  627. padding:12px 14px;
  628. margin-bottom:12px;
  629. height:68px;
  630. display: flex;
  631. position: relative;
  632. border: 1px solid #e5edf8;
  633. background-color: #fff;
  634. p{
  635. font-size:14px;
  636. line-height:44px;
  637. }
  638. p:nth-child(1){
  639. }
  640. p:nth-child(2){
  641. flex: 1;
  642. text-align: right;
  643. }
  644. .colorA{
  645. color:#0183fa;
  646. cursor: pointer;
  647. }
  648. .colorB{
  649. color:#D9001B;
  650. }
  651. .colorC{
  652. color:#60708a;
  653. }
  654. .position-p-1{
  655. position: absolute;
  656. bottom:0;
  657. left:15px;
  658. width: 120px;
  659. font-size:12px;
  660. color:#60708a;
  661. }
  662. .text-name{
  663. margin-top:-10px;
  664. }
  665. .text-type{
  666. color: #4fbe7e;
  667. }
  668. }
  669. .bottom-big-box-5{
  670. /*background-color: rgba(1, 131, 250, 0.1);*/
  671. border-radius:6px;
  672. padding:8px 14px;
  673. margin-bottom:12px;
  674. height:76px;
  675. position: relative;
  676. border: 1px solid #e5edf8;
  677. background-color: #fff;
  678. cursor: pointer;
  679. .text-name-p{
  680. font-size:14px;
  681. font-weight:700;
  682. line-height:20px;
  683. }
  684. .text-flex-box{
  685. display: flex;
  686. color:#60708a;
  687. p{
  688. font-size:14px;
  689. line-height:20px;
  690. }
  691. p:nth-child(1){
  692. margin-right:20px;
  693. }
  694. p:nth-child(2){
  695. color:#60708a;
  696. .color-A{
  697. color:#999;
  698. }
  699. .color-B{
  700. color:#f56c6c;
  701. }
  702. .color-C{
  703. color:#4fbe7e;
  704. }
  705. }
  706. }
  707. .time-p{
  708. color:#60708a;
  709. font-size:14px;
  710. line-height:20px;
  711. }
  712. }
  713. .bottom-big-box-6{
  714. /*background-color: rgba(1, 131, 250, 0.1);*/
  715. border-radius:6px;
  716. padding:13px 14px;
  717. margin-bottom:12px;
  718. position: relative;
  719. border: 1px solid #e5edf8;
  720. background-color: #fff;
  721. p:nth-child(1){
  722. display: block;
  723. font-size: 22px;
  724. color: #25324a;
  725. font-weight:700;
  726. line-height:26px;
  727. }
  728. p:nth-child(2){
  729. font-size:14px;
  730. line-height:26px;
  731. color:#60708a;
  732. }
  733. }
  734. }
  735. }
  736. }
  737. }
  738. </style>