From 961dc85ee94a3ccd060a636590608cbb326d8335 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 26 May 2021 15:20:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B5=8B=E8=AF=84=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/ProjectPattern.vue | 476 ++++++++++++++++++++++++- 1 file changed, 470 insertions(+), 6 deletions(-) diff --git a/src/components/page/ProjectPattern.vue b/src/components/page/ProjectPattern.vue index 1c23695..5071afa 100644 --- a/src/components/page/ProjectPattern.vue +++ b/src/components/page/ProjectPattern.vue @@ -25,11 +25,11 @@
-
+
练习模式
-
+
考核模式
@@ -40,6 +40,78 @@
+ + + +
能力测评
+ +
+

{{question.currentQuestionSortNo}}/{{question.totalQuestionNum}}

+

({{question.questionTypeName}})

+
{{question.questionStem}}
+
+ + 倒计时:{{countdown}} +
+
    +
  • {{key}}.{{item}}
  • +
+
+ + +
+ + + +
{{result.isPassed}}
+ +
+
+ {{result.totalScore}}分 +
+

{{result.isPassed == '通过' ? '恭喜' : ''}}你答对{{result.correctQuestionNum}}题,正确率{{result.correctRate}}!

+
+ + +
+ + + +
成绩详情
+
+ + + + + + + + + + +
+

得分:{{totalScore}}分

+
@@ -188,4 +463,193 @@ export default { height: 320px; } } + +/deep/.el-tabs__item:focus{ + outline: none; + box-shadow: none !important; +} +.back_index:hover{ + opacity: 0.8; + cursor: pointer; +} +.back_index{ + position: fixed; + right: 0px; + top: 48%; + width: 80px; + height: 80px; + background: white; + text-align: center; + z-index: 100; +} +.icon-home{ + font-size: 50px; + color: #FF5288; + font-weight: 600; + line-height: 80px; +} +h3{ + color: #328aff; + margin-bottom: 10px; +} +.mar0{ + margin-top: 0; +} +/deep/.evaluation_dialog{ + min-height: 700px; + background: url(../../assets/img/evaluation_bg1.png) 0 0/100% 100% no-repeat; +} +/deep/.evaluation_dialog .el-dialog__headerbtn,/deep/.evaluation_dialog .el-dialog__headerbtn,/deep/.detail_dialog .el-dialog__headerbtn{ + font-size: 28px; +} +/deep/.evaluation_dialog .title,/deep/.detail_dialog .title{ + margin-bottom: 45px; + text-align: center; + font-size: 24px +} +/deep/.evaluation_dialog .title{ + margin-bottom: 55px; +} +/deep/.evaluation_dialog .serial{ + font-size: 12px; + text-align: center; +} +/deep/.evaluation_dialog .content{ + width: 80%; + margin: 0 auto; +} +/deep/.evaluation_dialog .type{ + color: #666; +} +/deep/.evaluation_dialog .ques{ + margin: 20px 0; + min-height: 145px; + color: #666; + font-size: 16px; +} +/deep/.evaluation_dialog .countdown{ + margin-bottom: 20px; + justify-content: center; + text-align: center; + color: #DC3434; + font-size: 14px; +} +/deep/.evaluation_dialog .countdown img{ + width: 15px !important; + margin-right: 10px; +} +/deep/.evaluation_dialog .options{ + display: flex; + flex-direction: column; + min-height: 340px; +} +/deep/.evaluation_dialog .options.isDone{ + min-height: 395px; +} +/deep/.evaluation_dialog .options li{ + padding: 0 15px; + margin-bottom: 15px; + line-height: 40px; + border: 1px solid #9070FF; + border-radius: 20px; + color: #666; + cursor: pointer; +} +/deep/.evaluation_dialog .options li:hover{ + color: #fff; + background-color: #b038bb; + border-color: #b038bb; +} +/deep/.evaluation_dialog .options li.active{ + color: #fff; + background-color: #916CFF; + border-color: #916CFF; +} +/deep/.evaluation_dialog .options em{ + margin-right: 10px; + font-weight: bold; + font-style: normal; + font-size: 16px; +} +/deep/.evaluation_dialog .options span{ + font-size: 16px; +} +/deep/.evaluation_dialog .el-dialog__footer{ + text-align: center; +} +/deep/.evaluation_dialog .first,/deep/.result_dialog .first{ + color: #fff; + background-color: #9268FF; + border-color: #9268FF; +} +/deep/.evaluation_dialog .second,/deep/.result_dialog .second{ + color: #fff; + background-color: #E371DA; + border-color: #E371DA; +} + +/deep/.result_dialog{ + min-height: 500px; + background: url(../../assets/img/evaluation_bg2.png) 0 0/100% 100% no-repeat; +} +/deep/.result_dialog .el-dialog__headerbtn .el-dialog__close{ + color: #5a5a5a; + font-size: 28px; +} +/deep/.result_dialog .result{ + margin-top: 60px; + text-align: center; + color: #fff; + font-size: 24px; +} +/deep/.result_dialog .point{ + margin: 30px 0 20px; + text-align: center; + font-size: 30px; + color: #666; +} +/deep/.result_dialog .point span{ + font-size: 120px; + font-weight: bold; +} +/deep/.result_dialog .tips{ + color: #666; + text-align: center; + font-size: 14px; +} +/deep/.result_dialog .third{ + color: #fff; + background-color: #418cf5; + border-color: #418cf5; +} + +/deep/.detail_dialog{ + background: url(../../assets/img/evaluation_bg3.png) 0 0/100% 100% no-repeat; +} +/deep/.detail_dialog .title{ + margin-top: -20px; +} +/deep/.detail_dialog .el-table__header th:nth-last-child(2){ + text-align: center; +} +/deep/.detail_dialog .total{ + margin-top: 20px; + text-align: center; + font-size: 30px; + color: #DC3434; +} +/deep/.evaluation_dialog{ + margin:0 !important; + position:absolute; + top:50%; + left:50%; + transform:translate(-50%,-50%); + max-height:calc(100% - 30px); + max-width:calc(100% - 30px); +} + +/deep/.evaluation_dialog .el-dialog__body{ + flex:1; + overflow: auto; +} \ No newline at end of file