1 |
- import{v as e,f as t,c as s,g as n,w as i,F as o,h as a,k as r,o as l,d as u,t as d,s as h,b as c,q as p,a as g,j as m,x,y as f,M as y,z as w,S as b,A as T,I as q,B as L}from"./index-Br_46Bl3.js";import{_ as E,l as I,s as A,i as v,n as k,o as _,p as C,b as O,c as j,d as S,e as N}from"./examRoute.DIMAbiJV.js";import{s as Q,c as H,_ as M,b as P,a as B,d as D}from"./index.DYvMEG5t.js";const J=E({name:"examStart",data:()=>({drag:[],mbvShow:!0,dragItem:{},subDrag:[],disabledDrag:!0,connectionHtml:[],connectionInfo:[],connectionContentALL:[],ctx:null,clickColor:"0px 0px 5px 2px rgba(80, 85, 83, 0.7)",connectionColor:["#ffaa00","#00ff7f","#6ca7ff","#1d00ff","#aa00ff","#ffff00","#550000","#ff0000"],examObject:{},examTopic:{},scantron:"",answer:{},typeThree:"",userExamAnswers:[],user:{},b:!0,canvasWidth:300,canvasHeight:300,userExamPaper:{},examPaperTime:0,papersTime:0,paperTime:"",examTime:"",intervalId:null,windowCheat:0,cheat:null,msgType:"success",messageText:"这是一条成功提示"}),methods:{reload(){I({examAnswers:this.userExamAnswers,userExamId:sessionStorage.getItem("examId"),leaveTime:this.windowCheat,paperId:this.userExamPaper.paperId,limitTime:this.userExamPaper.limitTime}).then((e=>{console.log(e),window.location.reload()}))},messageToggle(e,t){this.msgType=e,this.messageText=t,this.$refs.message.open()},dialogInputConfirm(e){this.submitExam()},subExam(){this.$refs.inputDialog.open()},submitExam(e){console.log(e),A({examAnswers:this.userExamAnswers,userExamId:sessionStorage.getItem("examId"),paperId:this.userExamPaper.paperId}).then((t=>{null!==t.data.result&&t.data.success?(0!==e&&"cheat"!==e&&this.messageToggle("success","本试卷提交成功,即将开始下一张试卷······"),this.userExamAnswers=[],clearInterval(this.intervalId),this.examObject=t.data.result,this.scantron=this.examObject.userExamQuestionList[0],this.userExamPaper=this.examObject.userExamPapersList[0],this.examPaperTime=this.addExamPaperTime(new Date(this.userExamPaper.systemTime),new Date(this.userExamPaper.limitTime)),this.papersTime=this.examPapersTime(),this.intervalId=setInterval(this.updateCountDown,1e3),this.examTime=this.paperTime):("cheat"===e?this.messageToggle("error","多次切屏,考试强行终止"):0!==e?this.messageToggle("success","考试已结束,即将退出!"):this.messageToggle("warn","时间已到,已为您自动交卷"),setTimeout((()=>{Q.exit(),window.removeEventListener("blur",this.handleBlur),window.removeEventListener("focus",this.handleFocus),v()}),2e3)),null!==t.data.result&&t.data.success&&"cheat"===e&&this.handleBlur(0)}))},restart(){this.disabledDrag=!0,this.drag[this.scantron.sort].answer=[],this.drag[this.scantron.sort].option=[];let e=this.stringToHTML(this.scantron.question.content);console.log(e);for(var t=0;t<e.children.length;t++){let s=e.children[t].style.top.toString().replace("px",""),n=e.children[t].style.left.toString().replace("px",""),i=e.children[t].style.width.toString().replace("px",""),o=e.children[t].style.height.toString().replace("px",""),a=e.children[t].style.backgroundColor,r=e.children[t].innerHTML;e.children[t].id.includes("option")&&this.drag[this.scantron.sort].option.push({id:e.children[t].id,x:Number(n),y:Number(s),old:{x:0,y:0,ax:Number(n),by:Number(s)},b:!0,width:i,height:o,backgroundColor:a,innerHTML:r}),e.children[t].id.includes("answer")&&this.drag[this.scantron.sort].answer.push({id:e.children[t].id,x:Number(n),y:Number(s),old:{x:0,y:0},width:i,height:o,backgroundColor:a})}},previousQuestion(){this.scantron.sort>1&&this.radioScantron(this.scantron.sort-1)},nextQuestion(){this.scantron.sort<this.examObject.userExamQuestionList.length?this.radioScantron(this.scantron.sort+1):this.$refs.answerFinal.open()},radioScantron(e){Q.request(),this.scantron=this.examObject.userExamQuestionList[e-1],7!==this.scantron.questionType&&8!==this.scantron.questionType?document.getElementById("scantronNodes").innerHTML=this.scantron.question.content:(console.log(this.scantron.question.content.split("%||||||||%")[0]),document.getElementById("scantronNodes").innerHTML=this.scantron.question.content.split("%||||||||%")[0]);let t=setInterval((()=>{if(6==this.scantron.questionType){for(var e=0;e<this.scantron.subQuestionList.length;e++){if(null===document.getElementById("combinationItemNodes"+e)){console.log("加载中");break}document.getElementById("combinationItemNodes"+e).innerHTML=this.scantron.subQuestionList[e].question.content}clearInterval(t)}}),10);if(I({examAnswers:this.userExamAnswers,userExamId:sessionStorage.getItem("examId"),leaveTime:this.windowCheat,paperId:this.userExamPaper.paperId,limitTime:this.userExamPaper.limitTime}),7==this.scantron.questionType){if(this.mbvShow=!this.mbvShow,this.disabledDrag=!0,console.log(this.drag[this.scantron.questionIndex]),void 0!==this.drag[this.scantron.questionIndex])return void setTimeout((()=>{for(var e=0;e<this.drag[this.scantron.sort].option.length;e++){let t=this.drag[this.scantron.sort].option[e];console.log(document.getElementById(t.id)),document.getElementById(t.id).innerHTML=t.innerHTML}}),10);this.drag[this.scantron.questionIndex]={},this.drag[this.scantron.questionIndex].answer=[],this.drag[this.scantron.questionIndex].option=[],this.drag[this.scantron.questionIndex].background={};let e=this.stringToHTML(this.scantron.question.content);for(var s=0;s<e.children.length;s++){let t=e.children[s].style.top.toString().replace("px",""),n=e.children[s].style.left.toString().replace("px",""),i=e.children[s].style.width.toString().replace("px",""),o=e.children[s].style.height.toString().replace("px",""),a=e.children[s].style.backgroundColor,r=e.children[s].innerHTML;e.children[s].id.includes("option")&&this.drag[this.scantron.sort].option.push({id:e.children[s].id,x:Number(n),y:Number(t),old:{x:0,y:0,ax:Number(n),by:Number(t)},b:!0,width:i,height:o,backgroundColor:a,innerHTML:r}),e.children[s].id.includes("answer")&&this.drag[this.scantron.sort].answer.push({id:e.children[s].id,x:Number(n),y:Number(t),old:{x:0,y:0},width:i,height:o,backgroundColor:a}),"IMG"===e.children[s].tagName&&(this.drag[this.scantron.sort].background.url=e.children[s].src,this.drag[this.scantron.sort].background.width=e.children[s].style.width.toString().replace("px",""),this.drag[this.scantron.sort].background.height=e.children[s].style.height.toString().replace("px",""))}console.log(this.drag[this.scantron.sort].option.length),setTimeout((()=>{for(var e=0;e<this.drag[this.scantron.sort].option.length;e++){let t=this.drag[this.scantron.sort].option[e];console.log(document.getElementById(t.id)),document.getElementById(t.id).innerHTML=t.innerHTML}}),10)}if(8==this.scantron.questionType){this.connectionHtml=[];let t=this.stringToHTML(this.scantron.question.content);for(s=0;s<t.children.length;s++){let e=t.children[s];for(var n=0;n<e.children.length;n++)void 0!==e.children[n].id&&e.children[n].id.includes("option")&&this.connectionHtml.push(e.children[n])}void 0===this.connectionContentALL[e]&&(this.connectionContentALL[e]=[]),this.connectionInfo=[],setTimeout((()=>{this.drawLineWriteContent(),this.drawLineWrite(e)}),100);for(s=0;s<this.connectionHtml.length;s++){let e=this.connectionHtml[s];for(n=0;n<e.children.length;n++){let e="option"+s+"-"+(n+1);null===document.getElementById(e)?setTimeout((()=>{document.getElementById(e).addEventListener("mousedown",(t=>{console.log(t);let s=t.currentTarget.id;console.log(s);let n=Number(s.replace("option","").split("-")[0]),i=Number(s.replace("option","").split("-")[1]),o=t.target.offsetLeft,a=Number(t.target.offsetLeft+t.target.offsetWidth),r=Number(t.target.offsetTop+t.target.offsetHeight/2);this.connectionInfo.length===this.connectionHtml.length&&0===n&&(this.connectionContentALL[this.scantron.sort].push(this.connectionInfo),this.radioAdd(this.connectionInfo,this.connectionInfo[0].id.replace("option","").split("-")[1],this.scantron),this.connectionInfo=[]);let l=[];for(var u=0;u<this.connectionContentALL[this.scantron.sort].length;u++){this.connectionContentALL[this.scantron.sort][u][0].id!==s&&l.push(this.connectionContentALL[this.scantron.sort][u])}this.connectionContentALL[this.scantron.sort]=l;let d=this.connectionInfo.length;if(d<=this.connectionHtml.length)if(0!==d){if(!this.isLine(s,this.scantron.sort))return this.messageToggle("error","这个已经连过了"),void this.drawLineWrite(this.scantron.sort);let t=this.connectionInfo[d-1],l=Number(t.id.replace("option","").split("-")[0]);l+1===n&&this.connectionInfo.push({id:s,left:o,right:a,top:r}),l===n&&n!==this.connectionHtml.length-1?(this.connectionInfo[d-1]={id:s,left:o,right:a,top:r},document.getElementById(e).style.boxShadow=this.clickColor,Number(t.id.replace("option","").split("-")[1])===i&&this.connectionInfo.length===this.connectionHtml.length&&(this.connectionContentALL[this.scantron.sort].push(this.connectionInfo),console.log(this.connectionContentALL[this.scantron.sort]),this.radioAdd(this.connectionInfo,this.connectionInfo[0].id.replace("option","").split("-")[1],this.scantron),this.connectionInfo=[])):n===this.connectionHtml.length-1&&(this.connectionContentALL[this.scantron.sort].push(this.connectionInfo),console.log(this.connectionContentALL[this.scantron.sort]),this.radioAdd(this.connectionInfo,this.connectionInfo[0].id.replace("option","").split("-")[1],this.scantron),this.connectionInfo=[])}else 0===d&&0===n&&(this.connectionInfo.push({id:s,left:o,right:a,top:r}),console.log(document.getElementById(s+"")),document.getElementById(s+"").style.boxShadow=this.clickColor,console.log(document.getElementById(s)));this.shadowClean(),this.drawLineWrite(this.scantron.sort)}))}),10):setTimeout((()=>{this.shadowClean()}),10)}}}},drawLine(t,s,n,i,o){this.ctx=e("lineCanvas"),this.ctx.beginPath();let a=this.connectionColor[o];-1===o?(a="#000000",this.ctx.shadowColor="red",this.ctx.setshadowBlur=100,this.ctx.shadowOffsetX=1,this.ctx.shadowOffsetY=1):(this.ctx.shadowColor="#000000",this.ctx.setshadowBlur=0,this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0),this.ctx.setStrokeStyle(a),this.ctx.lineWidth=3,this.ctx.moveTo(t,s),this.ctx.lineTo(n,i),this.ctx.stroke(),this.ctx.draw(!0)},clearRect(){const t=e("lineCanvas");t.clearRect(0,0,700,500),t.draw(!0)},shadowClean(){for(var e=0;e<this.connectionHtml.length;e++){let s=this.connectionHtml[e];for(var t=0;t<s.children.length;t++){let s="option"+e+"-"+(t+1);document.getElementById(s).style.boxShadow=""}}},isLine(e,t){for(var s=0;s<this.connectionContentALL[t].length;s++){let i=this.connectionContentALL[t][s];for(var n=0;n<i.length;n++){if(i[n].id===e)return!1}}return!0},drawLineWriteContent(){for(var e=0;e<this.connectionHtml.length;e++){let s=this.connectionHtml[e];for(var t=0;t<s.children.length;t++){let n="option"+e+"-"+(t+1);document.getElementById(n).innerHTML=s.children[t].innerHTML}}},drawLineWrite(e){if(this.clearRect(),this.connectionInfo.length>=2)for(var t=0;t<this.connectionInfo.length-1;t++){let e=this.connectionInfo[t],s=this.connectionInfo[t+1];document.getElementById(e.id).style.boxShadow=this.clickColor,document.getElementById(s.id).style.boxShadow=this.clickColor,this.drawLine(e.right,e.top,s.left,s.top,-1)}else 1===this.connectionInfo.length&&(document.getElementById(this.connectionInfo[0].id).style.boxShadow=this.clickColor);for(t=0;t<this.connectionContentALL[e].length;t++){let n=this.connectionContentALL[e][t];for(var s=0;s<n.length-1;s++){let e=n[s],i=n[s+1];document.getElementById(e.id).style.boxShadow="0px 0px 5px 2px "+this.connectionColor[t],document.getElementById(i.id).style.boxShadow="0px 0px 5px 2px "+this.connectionColor[t],this.drawLine(e.right,e.top,i.left,i.top,t)}}},stringToHTML(e){var t=document.createElement("div");return t.innerHTML=e,t},tap(e,t,s){let n=t,i=s;this.drag[this.scantron.sort].option[e].x=this.drag[this.scantron.sort].option[e].old.x,this.drag[this.scantron.sort].option[e].y=this.drag[this.scantron.sort].option[e].old.y,this.$nextTick((function(){this.drag[this.scantron.sort].option[e].x=n,this.drag[this.scantron.sort].option[e].y=i}))},onMousedown(e){console.log(this.drag[this.scantron.sort].option.length),this.dragItem=e},onChange:function(e){if(!this.disabledDrag)return;let t=-1;for(var s=0;s<this.drag[this.scantron.sort].option.length;s++){if(this.drag[this.scantron.sort].option[s].id===this.dragItem.id){t=s;break}}this.drag[this.scantron.sort].option[t].old.x=e.detail.x,this.drag[this.scantron.sort].option[t].old.y=e.detail.y;let n=e=>{let s;document.removeEventListener("mouseup",n),this.disabledDrag=!1;let i=!0;for(var o=0;o<this.drag[this.scantron.sort].answer.length;o++){let e=this.drag[this.scantron.sort].answer[o],n=e.x,r=e.y;if(Number(this.drag[this.scantron.sort].option[t].old.x)<=Number(e.x)+Number(e.width)&&Number(this.drag[this.scantron.sort].option[t].old.x)+Number(this.drag[this.scantron.sort].option[t].width)>=e.x&&Number(this.drag[this.scantron.sort].option[t].old.y)<=Number(e.y)+Number(e.height)&&Number(this.drag[this.scantron.sort].option[t].old.y)+Number(this.drag[this.scantron.sort].option[t].height)>=e.y){for(var a=0;a<this.drag[this.scantron.sort].answer.length;a++)void 0!==this.drag[this.scantron.sort].answer[a].op&&this.drag[this.scantron.sort].answer[a].op===t&&(this.drag[this.scantron.sort].answer[a].op=void 0);void 0!==this.drag[this.scantron.sort].answer[o].op?(this.tap(this.drag[this.scantron.sort].answer[o].op,this.drag[this.scantron.sort].option[this.drag[this.scantron.sort].answer[o].op].old.ax,this.drag[this.scantron.sort].option[this.drag[this.scantron.sort].answer[o].op].old.by),this.drag[this.scantron.sort].answer[o].op=t):this.drag[this.scantron.sort].answer[o].op=t,this.tap(t,n,r),s=e,i=!1;break}}i&&this.tap(t,this.drag[this.scantron.sort].option[t].old.ax,this.drag[this.scantron.sort].option[t].old.by),setTimeout((()=>{void 0!==s&&this.radioAdd(this.dragItem,s.id.replace("answer",""),this.scantron),this.disabledDrag=!0}),700)};document.addEventListener("mouseup",n)},answerDisplay(e){this.windowCheat=Number(e.leaveTime),this.userExamAnswers=e.examAnswers;let t=e.examAnswers;for(var s=0;s<t.length;s++){let e=t[s],o=Number(e.index);if(e.index.includes(".")){let t=Number(e.index.split(".")[0]),s=e.index.split(".")[1],n=this.examObject.userExamQuestionList[t-1].subQuestionList[s];console.log(n)}else if(1===e.questionType||3===e.questionType)console.log(this.examObject.userExamQuestionList[o-1]),this.examObject.userExamQuestionList[o-1].question.isAnswer=!0,this.examObject.userExamQuestionList[o-1].question.answerList[Number(e.answerIndex[0])].isRight=!0;else if(2===e.questionType){this.examObject.userExamQuestionList[o-1].question.isAnswer=!0;for(var n=0;n<e.answerIndex.length;n++)this.examObject.userExamQuestionList[o-1].question.answerList[Number(e.answerIndex[n])].isRight=!0}else if(4===e.questionType)this.examObject.userExamQuestionList[o-1].question.isAnswer=!0,this.examObject.userExamQuestionList[o-1].question.subjectiveAnswer=e.subjectiveAnswer;else if(5===e.questionType){this.examObject.userExamQuestionList[o-1].question.isAnswer=!0;let t=JSON.parse(e.blankAnswer);for(var i=0;i<t.length;i++)for(n=0;n<this.examObject.userExamQuestionList[o-1].question.answerList.length;n++)this.examObject.userExamQuestionList[o-1].question.answerList[n].tag===t[i].tag&&(this.examObject.userExamQuestionList[o-1].question.answerList[n].blankcontent=t[i].content)}else if(7===e.questionType){this.examObject.userExamQuestionList[o-1].question.isAnswer=!0;let t=JSON.parse(e.blankAnswer);for(i=0;i<t.length;i++)for(n=0;n<this.examObject.userExamQuestionList[o-1].question.answerList.length;n++)this.examObject.userExamQuestionList[o-1].question.answerList[n].tag===t[i].tag&&(this.examObject.userExamQuestionList[o-1].question.answerList[n].blankcontent=t[i].content);this.drag[o]=JSON.parse(e.coordinates)}else if(8===e.questionType){console.log(e),this.examObject.userExamQuestionList[o-1].question.isAnswer=!0;let t=JSON.parse(e.blankAnswer);for(i=0;i<t.length;i++)for(n=0;n<this.examObject.userExamQuestionList[o-1].question.answerList.length;n++)this.examObject.userExamQuestionList[o-1].question.answerList[n].tag===t[i].tag&&(this.examObject.userExamQuestionList[o-1].question.answerList[n].blankcontent=t[i].content);this.connectionContentALL[o]=JSON.parse(e.coordinates)}}},radioAdd(e,t,s,n){t+="";let i=s.questionIndex+"",o=[];if(this.examObject.userExamQuestionList[s.questionIndex-1].question.isAnswer=!0,1===s.questionType||3===s.questionType){for(var a=0;a<s.question.answerList.length;a++)s.question.answerList[a].isRight=!1;s.question.answerList[t].isRight=!0;for(a=0;a<this.userExamAnswers.length;a++)this.userExamAnswers[a].index!==i&&o.push(this.userExamAnswers[a]);o.push({answerIndex:[t],answers:[e.id],index:i,questionType:s.questionType})}else if(2===s.questionType){let n=!0;for(a=0;a<this.userExamAnswers.length;a++)if(this.userExamAnswers[a].index!==i)o.push(this.userExamAnswers[a]);else{n=!1;let l=!0,u=[],d=[],h=this.userExamAnswers[a].answers.length;for(var r=0;r<h;r++)this.userExamAnswers[a].answerIndex[r]!==t?(u.push(this.userExamAnswers[a].answerIndex[r]),d.push(this.userExamAnswers[a].answers[r])):e.isRight||(l=!1);l&&(u.push(t),d.push(e.id)),0!==u.length?o.push({answerIndex:u,answers:d,index:i,questionType:s.questionType}):this.examObject.userExamQuestionList[s.questionIndex-1].question.isAnswer=!1}n&&o.push({answerIndex:[t],answers:[e.id],index:i,questionType:s.questionType})}else if(4===s.questionType){for(a=0;a<this.userExamAnswers.length;a++)this.userExamAnswers[a].index!==i&&o.push(this.userExamAnswers[a]);null!==s.question.subjectiveAnswer&&""!==s.question.subjectiveAnswer||(this.examObject.userExamQuestionList[s.questionIndex-1].question.isAnswer=!1),o.push({subjectiveAnswer:s.question.subjectiveAnswer,index:i,questionType:s.questionType})}else if(5===s.questionType){if(void 0===e)return;let n=!0;for(a=0;a<this.userExamAnswers.length;a++)if(this.userExamAnswers[a].index!==i)o.push(this.userExamAnswers[a]);else{n=!1;let l=!0,u=[],d=JSON.parse(this.userExamAnswers[a].blankAnswer),h=d.length;for(r=0;r<h;r++)d[r].tag!==t?u.push({tag:d[r].tag,content:d[r].content}):l=!1;l&&u.push({tag:t,content:e}),0!==u.length?o.push({blankAnswer:JSON.stringify(u),index:i,questionType:s.questionType}):this.examObject.userExamQuestionList[s.questionIndex-1].question.isAnswer=!1}n&&(null!==e&&""!==e||(this.examObject.userExamQuestionList[s.questionIndex-1].question.isAnswer=!1),o.push({blankAnswer:JSON.stringify([{tag:t,content:e}]),index:i,questionType:s.questionType}))}else if(6===s.questionType){if(i=i+"."+n.sort,1===n.questionType||3===n.questionType){for(r=0;r<n.question.answerList.length;r++)n.question.answerList[r].isRight=!1;n.question.answerList[t].isRight=!0;for(r=0;r<this.userExamAnswers.length;r++)this.userExamAnswers[r].index!==i&&o.push(this.userExamAnswers[r]);o.push({answerIndex:[t],answers:[e.id],index:i,questionType:n.questionType})}else if(2===n.questionType){let a=!0;for(r=0;r<this.userExamAnswers.length;r++)if(this.userExamAnswers[r].index!==i)o.push(this.userExamAnswers[r]);else{a=!1;let u=!0,d=[],h=[],c=this.userExamAnswers[r].answers.length;for(var l=0;l<c;l++)this.userExamAnswers[r].answerIndex[l]!==t?(d.push(this.userExamAnswers[r].answerIndex[l]),h.push(this.userExamAnswers[r].answers[l])):e.isRight||(u=!1);u&&(d.push(t),h.push(e.id)),0!==d.length?o.push({answerIndex:d,answers:h,index:i,questionType:n.questionType}):this.examObject.userExamQuestionList[s.questionIndex-1].question.isAnswer=!1}a&&o.push({answerIndex:[t],answers:[e.id],index:i,questionType:n.questionType})}else if(4===n.questionType){for(r=0;r<this.userExamAnswers.length;r++)this.userExamAnswers[r].index!==i&&o.push(this.userExamAnswers[r]);null!==n.question.subjectiveAnswer&&""!==s.subQuestionList[a].question.subjectiveAnswer||(this.examObject.userExamQuestionList[s.questionIndex-1].question.isAnswer=!1),o.push({subjectiveAnswer:n.question.subjectiveAnswer,index:i,questionType:n.questionType})}else if(5===n.questionType){if(void 0===e)return;let l=!0;for(r=0;r<this.userExamAnswers.length;r++)if(this.userExamAnswers[r].index!==i)o.push(this.userExamAnswers[r]);else{l=!1;let n=!0,d=[],h=JSON.parse(this.userExamAnswers[r].blankAnswer),c=h.length;for(var u=0;u<c;u++)h[u].tag!==t?d.push({tag:h[u].tag,content:h[u].content}):n=!1;n&&d.push({tag:t,content:e}),0!==d.length?o.push({blankAnswer:JSON.stringify(d),index:i,questionType:s.subQuestionList[a].questionType}):this.examObject.userExamQuestionList[s.questionIndex-1].question.isAnswer=!1}l&&(null!==e&&""!==e||(this.examObject.userExamQuestionList[s.questionIndex-1].question.isAnswer=!1),console.log(i),console.log(s),console.log(this.examObject.userExamQuestionList[s.questionIndex-1].subQuestionList[Number(n.sort)]),o.push({blankAnswer:JSON.stringify([{tag:t,content:e}]),index:i,questionType:s.subQuestionList[a].questionType}))}}else if(7===s.questionType){if(void 0===e)return;t=Number(t)+1+"";let n=!0;for(a=0;a<this.userExamAnswers.length;a++)if(this.userExamAnswers[a].index!==i)o.push(this.userExamAnswers[a]);else{n=!1;let l=!0,u=[],d=JSON.parse(this.userExamAnswers[a].blankAnswer),h=d.length;for(r=0;r<h;r++)d[r].tag!==t?u.push({tag:d[r].tag,content:d[r].content}):(u.push({tag:t,content:e.id}),l=!1);l&&u.push({tag:t,content:e.id}),0!==u.length?o.push({blankAnswer:JSON.stringify(u),coordinates:JSON.stringify(this.drag[i]),index:i,questionType:s.questionType}):this.examObject.userExamQuestionList[s.questionIndex-1].question.isAnswer=!1}n&&(null!==e&&""!==e||(this.examObject.userExamQuestionList[s.questionIndex-1].question.isAnswer=!1),o.push({blankAnswer:JSON.stringify([{tag:t,content:e.id}]),coordinates:JSON.stringify(this.drag[i]),index:i,questionType:s.questionType}))}else if(8===s.questionType){console.log(this.connectionContentALL[i]);let n=e;e="";for(a=0;a<n.length;a++)console.log(n),e+=n[a].id.replace("option","").split("-")[1];if(void 0===e)return;let l=!0;for(r=0;r<this.userExamAnswers.length;r++)if(this.userExamAnswers[r].index!==i)o.push(this.userExamAnswers[r]);else{l=!1;let n=!0,a=[],d=JSON.parse(this.userExamAnswers[r].blankAnswer),h=d.length;for(u=0;u<h;u++)d[u].tag!==t?a.push({tag:d[u].tag,content:d[u].content}):n=!1;n&&a.push({tag:t,content:e}),0!==a.length?o.push({blankAnswer:JSON.stringify(a),index:i,coordinates:JSON.stringify(this.connectionContentALL[i]),questionType:s.questionType}):this.examObject.userExamQuestionList[s.questionIndex-1].question.isAnswer=!1}l&&(null!==e&&""!==e||(this.examObject.userExamQuestionList[s.questionIndex-1].question.isAnswer=!1),o.push({blankAnswer:JSON.stringify([{tag:t,content:e}]),coordinates:JSON.stringify(this.connectionContentALL[i]),index:i,questionType:s.questionType}))}this.userExamAnswers=o},handleBlur(e){if(this.examObject.leaveOn){this.windowCheat<2&&0!==e&&this.$refs.cheat.open();let t=this.examObject.totalLeaveTimes,s=this.examObject.leaveTime;this.windowCheat<t?this.cheat=setInterval((()=>{console.log("切屏加一"),this.windowCheat++,I({examAnswers:this.userExamAnswers,userExamId:sessionStorage.getItem("examId"),leaveTime:this.windowCheat,paperId:this.userExamPaper.paperId,limitTime:this.userExamPaper.limitTime}),clearInterval(this.cheat)}),1e3*s):this.submitExam("cheat"),console.log(this.windowCheat)}},handleFocus(){this.examObject.leaveOn&&clearInterval(this.cheat)},addExamPaperTime:(e,t)=>(t.getTime()-e.getTime())/1e3,updateCountDown(){var e=this.examPaperTime;if(this.examPaperTime=this.examPaperTime-1,e<0)return clearInterval(this.intervalId),console.log(0),this.messageToggle("warn","时间已到,2秒后为您自动交卷"),void setTimeout((()=>{this.submitExam(0)}),2e3);var t=Math.floor(e%60),s=Math.floor(e%3600/60),n=Math.floor(e/3600);this.paperTime=0!=n?n+":"+(2==s.toString().length?s:"0"+s)+":"+(2==t.toString().length?t:"0"+t):(2==s.toString().length?s:"0"+s)+":"+(2==t.toString().length?t:"0"+t);let i=this.papersTime+e;var o=Math.floor(i%60),a=Math.floor(i%3600/60),r=Math.floor(i/3600);this.examTime=0!=r?r+":"+(2==a.toString().length?a:"0"+a)+":"+(2==t.toString().length?o:"0"+o):(2==a.toString().length?a:"0"+a)+":"+(2==o.toString().length?o:"0"+o)},examPapersTime(){let e=this.examObject.examPapersList,t=0;for(var s=0;s<e.length;s++)e[s].paperId!==this.userExamPaper.paperId&&9===e[s].state&&(t+=60*e[s].paperTime);return t}},mounted(){window.addEventListener("unload",(e=>{e.preventDefault(),setTimeout((()=>{I({examAnswers:this.userExamAnswers,userExamId:sessionStorage.getItem("examId"),leaveTime:this.windowCheat,paperId:this.userExamPaper.paperId,limitTime:this.userExamPaper.limitTime}).then((e=>{console.log(e)}))}),100)})),this.user=JSON.parse(sessionStorage.getItem("user"));let e=sessionStorage.getItem("examId");k({userExamId:e,t:(new Date).toString()}).then((t=>{200!==t.data.code&&(sessionStorage.removeItem("examId"),_()),this.examObject=t.data.result,this.scantron=this.examObject.userExamQuestionList[0],this.userExamPaper=this.examObject.userExamPapersList[0],this.examPaperTime=this.addExamPaperTime(new Date(this.userExamPaper.systemTime),new Date(this.userExamPaper.limitTime)),this.papersTime=this.examPapersTime(),this.intervalId=setInterval(this.updateCountDown,1e3),this.examTime=this.paperTime,window.addEventListener("blur",this.handleBlur),window.addEventListener("focus",this.handleFocus),C({userExamId:e}).then((e=>{null!==e.data.result&&this.answerDisplay(e.data.result)}))}))}},[["render",function(e,E,I,A,v,k){const _=O(t("uni-popup-message"),j),C=O(t("uni-popup"),S),Q=a,J=r,R=O(t("l-divider"),H),z=T,V=x,F=O(t("uni-card"),N),$=O(t("uni-col"),M),W=f,U=q,Y=L,X=y,G=w,K=O(t("uni-section"),P),Z=b,ee=O(t("uni-row"),B),te=O(t("uni-popup-dialog"),D);return l(),s(o,null,[n(Q,{class:"container"},{default:i((()=>[n(Q,null,{default:i((()=>[n(C,{ref:"message",type:"message"},{default:i((()=>[n(_,{type:v.msgType,message:v.messageText,duration:2e3},null,8,["type","message"])])),_:1},512)])),_:1})])),_:1}),n(Q,{style:{"font-family":"'微软雅黑', serif","font-size":"40px",color:"#7f7f44",height:"30px","text-align":"center",padding:"20px","padding-bottom":"0"}},{default:i((()=>[u(d(v.examObject.examTitle),1)])),_:1}),n(J,{type:"primary",style:{"background-color":"#f0eff0",position:"fixed",top:"20px",right:"20px",width:"20px",height:"20px","line-height":"1",color:"#000000"},onClick:k.reload},{default:i((()=>[u("҉")])),_:1},8,["onClick"]),n(ee,null,{default:i((()=>[n($,{span:4,style:{"margin-top":"30px"}},{default:i((()=>[n(F,{style:{height:"85vh"}},{default:i((()=>[n(R,{color:"#00a60d"},{default:i((()=>[n(Q,{style:{"font-size":"20px"}},{default:i((()=>[u("考生信息")])),_:1})])),_:1}),n(Q,{style:{"font-family":"'微软雅黑' , serif","font-size":"20px",color:"#8c8c8c",height:"30px","text-align":"center",padding:"5px"}},{default:i((()=>[u(" 姓名:"+d(v.user.realname),1)])),_:1}),n(Q,{style:{"font-family":"'微软雅黑', serif","font-size":"20px",color:"#8c8c8c",height:"30px","text-align":"center",padding:"5px"}},{default:i((()=>[u(" 考号:"+d(v.user.username),1)])),_:1}),n(R,{color:"#00a60d"},{default:i((()=>[n(Q,{style:{"font-size":"20px"}},{default:i((()=>[u("试卷名称")])),_:1})])),_:1}),n(V,null,{default:i((()=>[(l(!0),s(o,null,h(v.examObject.examPapersList,((e,t)=>(l(),c(z,{key:e.value},{default:i((()=>[n(Q,null,{default:i((()=>[n(Q,{class:"paperCss",style:g("background-color: "+(0===e.state?"#b5aa09;":9===e.state?"#ececec":"#00f545"))},{default:i((()=>[n(Q,{style:{color:"#000000"}},{default:i((()=>[m("strong",null,d(e.title),1)])),_:2},1024)])),_:2},1032,["style"])])),_:2},1024)])),_:2},1024)))),128))])),_:1}),n(R,{color:"#b3b3b3"}),n(J,{type:"primary",style:{"margin-top":"10px"},onClick:k.subExam},{default:i((()=>[u("交卷")])),_:1},8,["onClick"])])),_:1})])),_:1}),n($,{span:16,style:{"margin-top":"30px"}},{default:i((()=>[n(F,{style:{height:"85vh"}},{default:i((()=>[n(Z,{"scroll-y":"true",class:"scroll-Y"},{default:i((()=>[n(K,{title:v.scantron.questionIndex+"、"+v.scantron.questionTypeName,type:"line",padding:""},{default:i((()=>[7!==v.scantron.questionType&&8!==v.scantron.questionType?(l(),c(Q,{key:0,id:"scantronNodes",style:{height:"45vh"}})):p("",!0),7==v.scantron.questionType||8==v.scantron.questionType?(l(),c(Q,{key:1,id:"scantronNodes",style:{height:"5vh"}})):p("",!0),1===v.scantron.questionType||3===v.scantron.questionType?(l(),s(o,{key:2},[n(Q,null,{default:i((()=>[n(R,{color:"#aaaa7f"})])),_:1}),n(Q,null,{default:i((()=>[n(V,null,{default:i((()=>[(l(!0),s(o,null,h(v.scantron.question.answerList,((e,t)=>(l(),c(z,{key:e},{default:i((()=>[n(Q,null,{default:i((()=>[n(J,{onClick:s=>k.radioAdd(e,t,v.scantron),style:g("margin-top: 15px;padding-left:15px;font-size: 20px;text-align: left;background-color: "+(e.isRight?"#f9ea0d;":"#f0eff0"))},{default:i((()=>[m("strong",{style:{color:"#0072eb"}},d(e.tag+"、"),1),u(d(e.content),1)])),_:2},1032,["onClick","style"])])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1})],64)):p("",!0),2===v.scantron.questionType?(l(),s(o,{key:3},[n(Q,null,{default:i((()=>[n(R,{color:"#aaaa7f"})])),_:1}),n(Q,null,{default:i((()=>[n(V,null,{default:i((()=>[(l(!0),s(o,null,h(v.scantron.question.answerList,((e,t)=>(l(),c(z,{key:e.value},{default:i((()=>[n(Q,null,{default:i((()=>[n(J,{onClick:s=>{e.isRight=!e.isRight,k.radioAdd(e,t,v.scantron)},style:g("margin-top: 15px;padding-left:15px;font-size: 20px;text-align: left;background-color: "+(e.isRight?"#f9ea0d;":"#f0eff0"))},{default:i((()=>[m("strong",{style:{color:"#0072eb"}},d(e.tag+"、"),1),u(d(e.content),1)])),_:2},1032,["onClick","style"])])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1})],64)):p("",!0),4===v.scantron.questionType?(l(),s(o,{key:4},[n(Q,null,{default:i((()=>[n(R,{color:"#aaaa7f"})])),_:1}),n(Q,null,{default:i((()=>[n(Q,null,{default:i((()=>[n(Q,{class:"uni-textarea",style:{border:"#8c8c8c solid 2px","border-radius":"5px",height:"20vh"}},{default:i((()=>[n(W,{onBlur:E[0]||(E[0]=e=>k.radioAdd(null,null,v.scantron)),modelValue:v.scantron.question.subjectiveAnswer,"onUpdate:modelValue":E[1]||(E[1]=e=>v.scantron.question.subjectiveAnswer=e),"placeholder-style":"color:#c7c7c7",placeholder:"请输入答案"},null,8,["modelValue"])])),_:1})])),_:1})])),_:1})],64)):p("",!0),5===v.scantron.questionType?(l(),s(o,{key:5},[n(Q,null,{default:i((()=>[n(R,{color:"#aaaa7f"})])),_:1}),n(Q,null,{default:i((()=>[(l(!0),s(o,null,h(v.scantron.question.answerList,((e,t)=>(l(),c(z,{key:e.value},{default:i((()=>[n(Q,{class:"allceter",style:{"background-color":"#e7f4ff","text-align":"left",padding:"10px","margin-bottom":"10px",border:"#2a7eeb solid 1px","border-radius":"5px"}},{default:i((()=>[n(Q,{style:{display:"inline-block","padding-left":"10px"}},{default:i((()=>[m("strong",{style:{"font-size":"20px",color:"#0072eb"}},d(e.tag),1)])),_:2},1024),n(U,{onBlur:t=>k.radioAdd(e.blankcontent,e.tag,v.scantron),class:"uni-input",style:{display:"inline-block","background-color":"white"},type:"text",modelValue:e.blankcontent,"onUpdate:modelValue":t=>e.blankcontent=t,placeholder:e.tag},null,8,["onBlur","modelValue","onUpdate:modelValue","placeholder"])])),_:2},1024)])),_:2},1024)))),128))])),_:1})],64)):p("",!0),6===v.scantron.questionType?(l(),s(o,{key:6},[n(Q,null,{default:i((()=>[n(R,{color:"#aaaa7f"})])),_:1}),(l(!0),s(o,null,h(v.scantron.subQuestionList,((t,a)=>(l(),c(Q,{class:""},{default:i((()=>[n(F,null,{default:i((()=>[m("strong",null,d(v.scantron.questionIndex+"."+t.questionIndex+"、"+t.questionTypeName),1),n(Q,{id:"combinationItemNodes"+a,style:{height:"45vh"}},null,8,["id"]),1===t.questionType||3===t.questionType?(l(),s(o,{key:0},[n(Q,null,{default:i((()=>[n(R,{color:"#aaaa7f"})])),_:1}),n(Q,null,{default:i((()=>[n(V,null,{default:i((()=>[(l(!0),s(o,null,h(t.question.answerList,((e,s)=>(l(),c(z,{key:e},{default:i((()=>[n(Q,null,{default:i((()=>[n(J,{onClick:n=>k.radioAdd(e,s,v.scantron,t),style:g("margin-top: 15px;padding-left:15px;font-size: 20px;text-align: left;background-color: "+(e.isRight?"#f9ea0d;":"#f0eff0"))},{default:i((()=>[m("strong",{style:{color:"#0072eb"}},d(e.tag+"、"),1),u(d(e.content),1)])),_:2},1032,["onClick","style"])])),_:2},1024)])),_:2},1024)))),128))])),_:2},1024)])),_:2},1024)],64)):p("",!0),2===t.questionType?(l(),s(o,{key:1},[n(Q,null,{default:i((()=>[n(R,{color:"#aaaa7f"})])),_:1}),n(Q,null,{default:i((()=>[n(V,null,{default:i((()=>[(l(!0),s(o,null,h(t.question.answerList,((s,o)=>(l(),c(z,{key:s.value},{default:i((()=>[n(Q,null,{default:i((()=>[n(J,{onClick:n=>{s.isRight=!s.isRight,k.radioAdd(s,e.index0,v.scantron,t)},style:g("margin-top: 15px;padding-left:15px;font-size: 20px;text-align: left;background-color: "+(s.isRight?"#f9ea0d;":"#f0eff0"))},{default:i((()=>[m("strong",{style:{color:"#0072eb"}},d(s.tag+"、"),1),u(d(s.content),1)])),_:2},1032,["onClick","style"])])),_:2},1024)])),_:2},1024)))),128))])),_:2},1024)])),_:2},1024)],64)):p("",!0),4===t.questionType?(l(),s(o,{key:2},[n(Q,null,{default:i((()=>[n(R,{color:"#aaaa7f"})])),_:1}),n(Q,null,{default:i((()=>[n(Q,null,{default:i((()=>[n(Q,{class:"uni-textarea",style:{border:"#8c8c8c solid 2px","border-radius":"5px",height:"20vh"}},{default:i((()=>[n(W,{modelValue:t.question.subjectiveAnswer,"onUpdate:modelValue":e=>t.question.subjectiveAnswer=e,"placeholder-style":"color:#c7c7c7",placeholder:"请输入答案"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024)])),_:2},1024)])),_:2},1024)],64)):p("",!0),5===t.questionType?(l(),s(o,{key:3},[n(Q,null,{default:i((()=>[n(R,{color:"#aaaa7f"})])),_:1}),n(Q,null,{default:i((()=>[(l(!0),s(o,null,h(t.question.answerList,((e,s)=>(l(),c(z,{key:e.value},{default:i((()=>[n(Q,{class:"allceter",style:{"background-color":"#e7f4ff","text-align":"left",padding:"10px","margin-bottom":"10px",border:"#2a7eeb solid 1px","border-radius":"5px"}},{default:i((()=>[n(Q,{style:{display:"inline-block","padding-left":"10px"}},{default:i((()=>[m("strong",{style:{"font-size":"20px",color:"#0072eb"}},d(e.tag),1)])),_:2},1024),n(U,{onBlur:s=>k.radioAdd(e.blankcontent,e.tag,v.scantron,t),class:"uni-input",style:{display:"inline-block","background-color":"white"},type:"text",modelValue:e.blankcontent,"onUpdate:modelValue":t=>e.blankcontent=t,placeholder:e.tag},null,8,["onBlur","modelValue","onUpdate:modelValue","placeholder"])])),_:2},1024)])),_:2},1024)))),128))])),_:2},1024)],64)):p("",!0)])),_:2},1024)])),_:2},1024)))),256))],64)):p("",!0),7===v.scantron.questionType?(l(),s(o,{key:7},[n(J,{onClick:k.restart},{default:i((()=>[u("重置")])),_:1},8,["onClick"]),n(Q,null,{default:i((()=>[n(R,{color:"#aaaa7f"})])),_:1}),n(Q,{style:{height:"600px",width:"800","background-color":"#ffffff"}},{default:i((()=>[n(X,{style:g(`height: 500px;width: 700px;background-color: #8c8c8c;margin: auto;background-image: url('${v.drag[this.scantron.sort].background.url}');background-size:${v.drag[this.scantron.sort].background.width}px ${v.drag[this.scantron.sort].background.height}px;background-repeat: no-repeat;`)},{default:i((()=>[(l(!0),s(o,null,h(v.drag[this.scantron.sort].answer,(e=>(l(),c(Q,{style:g(`position: absolute;width: ${e.width}px;height: ${e.height}px;border:solid 1px black;left:${e.x}px;top:${e.y}px;`)},null,8,["style"])))),256)),(l(!0),s(o,null,h(v.drag[this.scantron.sort].option,(e=>(l(),s(o,null,[v.mbvShow?(l(),c(Y,{key:0,id:e.id,disabled:!v.disabledDrag,style:g("width: "+e.width+"px;height: "+e.height+"px;background-color: "+e.backgroundColor+";"),direction:"all",x:e.x,y:e.y,onMousedown:t=>k.onMousedown(e),onChange:k.onChange},null,8,["id","disabled","style","x","y","onMousedown","onChange"])):p("",!0),v.mbvShow?p("",!0):(l(),c(Y,{key:1,id:e.id,disabled:!v.disabledDrag,style:g("width: "+e.width+"px;height: "+e.height+"px;background-color: "+e.backgroundColor+";"),direction:"all",x:e.x,y:e.y,onMousedown:t=>k.onMousedown(e),onChange:k.onChange},null,8,["id","disabled","style","x","y","onMousedown","onChange"]))],64)))),256))])),_:1},8,["style"])])),_:1})],64)):p("",!0),8===v.scantron.questionType?(l(),s(o,{key:8},[n(Q,{style:{height:"5vh"}}),n(Q,null,{default:i((()=>[n(R,{color:"#aaaa7f"})])),_:1}),n(Q,null,{default:i((()=>[n(Q,{style:{height:"600px",width:"800px","background-color":"#8c8c8c",margin:"auto","padding-top":"50px"}},{default:i((()=>[n(X,{style:{height:"550px",width:"700px","background-color":"#f6f6f6",margin:"auto"}},{default:i((()=>[n(G,{"canvas-id":"lineCanvas",style:{width:"700px",height:"500px"}},{default:i((()=>[(l(!0),s(o,null,h(v.connectionHtml,((e,t)=>(l(),c(Q,{style:{display:"inline-block","margin-top":"30px","margin-left":"30px","margin-right":"70px"}},{default:i((()=>[(l(!0),s(o,null,h(e.children,((e,s)=>(l(),c(Q,{key:t},{default:i((()=>[n(Q,{id:"option"+t+"-"+(s+1),style:{width:"90px",height:"100px",padding:"10px","padding-bottom":"0","margin-bottom":"10px","border-radius":"5px",border:"#007aff solid 1px","background-color":"#e0eef9",overflow:"hidden"}},null,8,["id"])])),_:2},1024)))),128))])),_:2},1024)))),256))])),_:1})])),_:1})])),_:1})])),_:1})],64)):p("",!0)])),_:1},8,["title"])])),_:1})])),_:1})])),_:1}),n($,{span:4,style:{"margin-top":"30px"}},{default:i((()=>[n(F,{style:{height:"85vh"}},{default:i((()=>[n(R,{color:"#8f960c",style:{"margin-top":"20px"}},{default:i((()=>[n(Q,{style:{"font-size":"20px"}},{default:i((()=>[u("当前试卷时间")])),_:1})])),_:1}),n(Q,{style:{"font-family":"'微软雅黑', serif","font-size":"35px",color:"#f90005",height:"30px","text-align":"center",padding:"10px"}},{default:i((()=>[m("strong",null,d(v.paperTime),1)])),_:1}),n(R,{color:"#251e75"},{default:i((()=>[n(Q,{style:{"font-size":"20px"}},{default:i((()=>[u("答题卡")])),_:1})])),_:1}),n(Q,null,{default:i((()=>[n(Z,{"scroll-y":"true",style:{height:"50vh"}},{default:i((()=>[(l(!0),s(o,null,h(v.examObject.answerCardList2,((e,t)=>(l(),c(z,{key:e},{default:i((()=>[n(K,{class:"mb-10",title:e.questionTypeName,type:"line"},{default:i((()=>[(l(!0),s(o,null,h(e.indexList,(t=>(l(),c(Q,{style:{display:"inline-block","margin-left":"5px"},onMousedown:e=>k.radioScantron(t)},{default:i((()=>[n(Q,null,{default:i((()=>[n(J,{type:"radio",style:g("width: 30px;height: 30px;padding:0px;color:#FFFFFF;font-size: 12px;text-align: center;background-color: "+(t===v.scantron.questionIndex?"#b5aa09;":this.examObject.userExamQuestionList[t-1].question.isAnswer?"#18da59":"#007aff"))},{default:i((()=>[u(d(t),1)])),_:2},1032,["style"])])),_:2},1024),n(Q,null,{default:i((()=>[u(d(e.questionTypeName.replace("题","")),1)])),_:2},1024)])),_:2},1032,["onMousedown"])))),256))])),_:2},1032,["title"])])),_:2},1024)))),128))])),_:1})])),_:1}),n(R,{color:"#251e75"}),n(Q,null,{default:i((()=>[n(J,{type:"primary",style:{"margin-top":"10px"},onClick:k.previousQuestion},{default:i((()=>[u("上一题")])),_:1},8,["onClick"]),n(J,{type:"primary",style:{"margin-top":"10px"},onClick:k.nextQuestion},{default:i((()=>[u("下一题")])),_:1},8,["onClick"])])),_:1})])),_:1})])),_:1})])),_:1}),n(C,{ref:"message",type:"message"},{default:i((()=>[n(_,{type:v.msgType,message:v.messageText,duration:2e3},null,8,["type","message"])])),_:1},512),n(C,{ref:"inputDialog",type:"dialog"},{default:i((()=>[n(te,{ref:"inputClose",title:"提交试卷",onConfirm:k.dialogInputConfirm},{default:i((()=>[n(Q,null,{default:i((()=>[n(Q,null,{default:i((()=>[u("1、提交当前试卷后不可再次作答")])),_:1}),n(Q,null,{default:i((()=>[u("2、本试卷剩余时间不计入下一套")])),_:1}),n(Q,null,{default:i((()=>[u("3、最终试卷提交将结束考试")])),_:1}),n(Q,{style:{"text-align":"center"}},{default:i((()=>[u("确认提交?")])),_:1})])),_:1})])),_:1},8,["onConfirm"])])),_:1},512),n(C,{ref:"cheat",type:"dialog"},{default:i((()=>[n(te,{style:{width:"50vh"},ref:"inputClose",title:"作弊提醒"},{default:i((()=>[n(Q,{style:{color:"red"}},{default:i((()=>[n(Q,null,{default:i((()=>[u("1、鼠标请勿点击窗口之外的地方")])),_:1}),n(Q,null,{default:i((()=>[u("2、如果不小心退出全屏,请按F11恢复到全屏")])),_:1}),n(Q,null,{default:i((()=>[u("3、鼠标多次点击窗口之外的地方将按作弊处理")])),_:1})])),_:1})])),_:1},512)])),_:1},512),n(C,{ref:"answerFinal",type:"dialog"},{default:i((()=>[n(te,{style:{width:"50vh"},ref:"inputClose",title:"当前已经到最后一题"},{default:i((()=>[n(Q,{style:{color:"#0b0ba5"}},{default:i((()=>[n(Q,null,{default:i((()=>[u("请检查是否存在漏答题目,检查无误后,请点击“"),m("strong",{style:{"font-size":"20px",color:"#f00004"}},"交卷"),u("”")])),_:1})])),_:1})])),_:1},512)])),_:1},512)],64)}],["__scopeId","data-v-3abbd97f"]]);export{J as default};
|