You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
2.1 KiB
2 lines
2.1 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-02a21b14"],{"032c":function(t,s,a){},7618:function(t,s,a){"use strict";a.r(s);var i=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"exam-passed"},[a("div",{staticClass:"passed-wrapper"},[a("div",{staticClass:"zlxc-container",staticStyle:{overflow:"visible"}},[a("div",{staticClass:"exam-outcome"},[a("div",{staticClass:"outcome-fraction"},[a("p",{staticClass:"fraction-label"},[t._v("分数")]),a("p",{staticClass:"fraction-num"},[t._v(t._s(t.score))])]),a("div",{staticClass:"outcome-fraction"},[a("p",{staticClass:"fraction-label"},[t._v("用时")]),a("p",{staticClass:"fraction-num"},[t._v(t._s(t.useTime))])])]),a("div",{staticClass:"exam-question"},[a("div",{staticClass:"question-fraction"},[a("p",{staticClass:"fraction-label"},[t._v("答对")]),a("p",{staticClass:"fraction-num"},[t._v(t._s(t.proper)+"题")])]),a("div",{staticClass:"question-fraction"},[a("p",{staticClass:"fraction-label"},[t._v("答错")]),a("p",{staticClass:"fraction-num"},[t._v(t._s(t.mistake)+"题")])]),a("div",{staticClass:"question-fraction"},[a("p",{staticClass:"fraction-label"},[t._v("漏答")]),a("p",{staticClass:"fraction-num"},[t._v(t._s(t.forgetNum)+"题")])])]),a("div",{staticClass:"exam-backtrack",on:{click:t.tabBacktrack}},[t._v("返回")])])])])},e=[],c={name:"ExamPassed",data:function(){return{proper:0,mistake:0,total:0,score:0,maxtime:0,useTime:"45:00"}},computed:{forgetNum:function(){return this.total-this.proper-this.mistake}},created:function(){this.proper=this.$route.query.proper,this.mistake=this.$route.query.mistake,this.total=this.$route.query.total,this.score=this.$route.query.score,this.maxtime=this.$route.query.maxtime,this.timeCountDown()},methods:{timeCountDown:function(){var t=2700-this.maxtime,s=Math.floor(t/60),a=Math.floor(t%60);a<10&&(a+="0"),this.useTime=s+":"+a},tabBacktrack:function(){this.$router.push({name:"Theoretical",query:{}})}},watch:{}},o=c,r=(a("86ad"),a("2877")),n=Object(r["a"])(o,i,e,!1,null,"6f2fa4b4",null);s["default"]=n.exports},"86ad":function(t,s,a){"use strict";a("032c")}}]);
|
|
//# sourceMappingURL=chunk-02a21b14.97723e30.js.map
|