1 |
- !function(){function t(n){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(n)}function n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return e};var e={},r=Object.prototype,i=r.hasOwnProperty,o=Object.defineProperty||function(t,n,e){t[n]=e.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{l({},"")}catch(q){l=function(t,n,e){return t[n]=e}}function f(t,n,e,r){var i=n&&n.prototype instanceof v?n:v,a=Object.create(i.prototype),s=new E(r||[]);return o(a,"_invoke",{value:I(t,e,s)}),a}function d(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(q){return{type:"throw",arg:q}}}e.wrap=f;var p={};function v(){}function h(){}function y(){}var m={};l(m,s,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(S([])));b&&b!==r&&i.call(b,s)&&(m=b);var g=y.prototype=v.prototype=Object.create(m);function _(t){["next","throw","return"].forEach((function(n){l(t,n,(function(t){return this._invoke(n,t)}))}))}function x(n,e){function r(o,a,s,u){var c=d(n[o],n,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==t(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,u)}),(function(t){r("throw",t,s,u)})):e.resolve(f).then((function(t){l.value=t,s(l)}),(function(t){return r("throw",t,s,u)}))}u(c.arg)}var a;o(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function I(t,n,e){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return k()}for(e.method=i,e.arg=o;;){var a=e.delegate;if(a){var s=T(a,e);if(s){if(s===p)continue;return s}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===r)throw r="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r="executing";var u=d(t,n,e);if("normal"===u.type){if(r=e.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(r="completed",e.method="throw",e.arg=u.arg)}}}function T(t,n){var e=n.method,r=t.iterator[e];if(void 0===r)return n.delegate=null,"throw"===e&&t.iterator.return&&(n.method="return",n.arg=void 0,T(t,n),"throw"===n.method)||"return"!==e&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+e+"' method")),p;var i=d(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,p;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,p):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function L(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function A(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function S(t){if(t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,r=function n(){for(;++e<t.length;)if(i.call(t,e))return n.value=t[e],n.done=!1,n;return n.value=void 0,n.done=!0,n};return r.next=r}}return{next:k}}function k(){return{value:void 0,done:!0}}return h.prototype=y,o(g,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:h,configurable:!0}),h.displayName=l(y,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===h||"GeneratorFunction"===(n.displayName||n.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,l(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},e.awrap=function(t){return{__await:t}},_(x.prototype),l(x.prototype,u,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new x(f(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(g),l(g,c,"Generator"),l(g,s,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var n=Object(t),e=[];for(var r in n)e.push(r);return e.reverse(),function t(){for(;e.length;){var r=e.pop();if(r in n)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=S,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function e(e,r){return a.type="throw",a.arg=t,n.next=e,r&&(n.method="next",n.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=n,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),p},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),A(e),p}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;A(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:S(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=void 0),p}},e}function e(t,n,e,r,i,o,a){try{var s=t[o](a),u=s.value}catch(c){return void e(c)}s.done?n(u):Promise.resolve(u).then(r,i)}function r(t){return function(){var n=this,r=arguments;return new Promise((function(i,o){var a=t.apply(n,r);function s(t){e(a,i,o,s,u,"next",t)}function u(t){e(a,i,o,s,u,"throw",t)}s(void 0)}))}}System.register(["./index-legacy-5fdc8703.js","./index-legacy-c3a659e1.js","./index-legacy-1a4bb789.js","./index-legacy-4f25cc04.js","./index-legacy-24a67315.js","./index-legacy-cd70da64.js","./index-legacy-43eb69a5.js","./index-legacy-384c34c3.js","./index-legacy-564d9d48.js"],(function(t,e){"use strict";var i,o,a,s,u,c,l,f,d,p,v,h,y,m,w,b,g,_,x,I,T,L,A,E,S,k,q,B,C,U,O,j,N,P=document.createElement("style");return P.textContent="._unitDetail_15lcn_1{min-height:100vh;overflow:hidden;background:url("+new URL("bg-a9662afa.png",e.meta.url).href+") no-repeat top center;background-size:contain;position:relative;background-color:#abe8ff}._unitSwipe_15lcn_9{margin-top:2rem}._unitSwipe_15lcn_9 ._questionTitle_15lcn_12{display:flex;align-items:center;justify-content:space-between;font-size:.37333rem;font-weight:700;color:#333;padding-bottom:.32rem}._unitSwipe_15lcn_9 ._questionTitle_15lcn_12 ._questionNum_15lcn_21 span{color:#ff5a56}._unitSwipe_15lcn_9 ._questionTitle_15lcn_12 ._questionType_15lcn_24{display:flex;align-items:center;font-weight:600;color:#ff5a56;font-size:.37333rem}._wapList_15lcn_31{width:1.17333rem;height:1.30667rem;flex-shrink:0;margin-left:.48rem}._btnSection_15lcn_37{background-color:#fff;padding-top:.53333rem;--van-button-default-height: 1.30667rem}._btnSection_15lcn_37 ._prevBtn_15lcn_42,._btnSection_15lcn_37 ._nextBtn_15lcn_43,._btnSection_15lcn_37 ._activePrevBtn_15lcn_44{width:3.30667rem!important;border:none;color:#fff}._btnSection_15lcn_37 ._prevBtn_15lcn_42{background:url("+new URL("prev_btn_bg-b6b2b4bd.png",e.meta.url).href+") no-repeat center;background-size:contain}._btnSection_15lcn_37 ._activePrevBtn_15lcn_44{background:url("+new URL("next_btn_bg-efb37605.png",e.meta.url).href+") no-repeat center;background-size:contain}._btnSection_15lcn_37 ._nextBtn_15lcn_43{background:url("+new URL("next_btn_bg-efb37605.png",e.meta.url).href+") no-repeat center;background-size:contain}._btnSection_15lcn_37 .van-button--disabled{color:#587c98}._btnSection_15lcn_37 .van-button--disabled:before{opacity:.2!important}._right_15lcn_67{color:#14c295}._error_15lcn_70{color:#ff5a56}\n",document.head.appendChild(P),{setters:[function(t){i=t.d,o=t.U,a=t.q,s=t.r,u=t.x,c=t.ah,l=t.D,f=t.y,d=t.ag,p=t.a,v=t.S,h=t.A,y=t.C,m=t.V,w=t.a1,b=t.z,g=t.Z},function(t){_=t.e,x=t.Q,I=t.C,T=t.D,L=t.K,A=t.P,E=t.i,S=t.A,k=t.a,q=t.R},function(t){B=t.M},function(t){C=t.u,U=t.a},function(t){O=t.S,j=t.a},function(t){N=t.I},null,null,null],execute:function(){var e={unitDetail:"_unitDetail_15lcn_1",unitSwipe:"_unitSwipe_15lcn_9",questionTitle:"_questionTitle_15lcn_12",questionNum:"_questionNum_15lcn_21",questionType:"_questionType_15lcn_24",wapList:"_wapList_15lcn_31",btnSection:"_btnSection_15lcn_37",prevBtn:"_prevBtn_15lcn_42",nextBtn:"_nextBtn_15lcn_43",activePrevBtn:"_activePrevBtn_15lcn_44",right:"_right_15lcn_67",error:"_error_15lcn_70"};t("default",i({name:"unit-detail",setup:function(){var t,i=o(),P=a(),D=s(),R=u({type:i.query.type,knowledgePointIds:i.query.knowledgePointIds,lessonCoursewareId:i.query.lessonCoursewareId,studentUnitExaminationId:"",background:"transparent",color:"#fff",visiableAnswer:!1,examDetail:{},currentIndex:0,time:0,questionList:[],visiableInfo:{show:!1,operationType:"RESULT",type:"DEFAULT",content:"",showCancelButton:!1,confirmButtonText:"",cancelButtonText:"",title:""},nextStatus:!1,swipeHeight:"auto",countDownOver:!1}),F=c({time:R.time,onChange:function(t){3e5>=t.total&&!R.countDownOver&&(R.visiableInfo.show=!0,R.visiableInfo.title="倒计时5分钟",R.visiableInfo.showCancelButton=!1,R.visiableInfo.operationType="TIME",R.visiableInfo.type="COUNTDOWN",R.visiableInfo.confirmButtonText="确认",R.visiableInfo.content="距离交卷时间还剩五分钟哦,请尽快答题~",R.countDownOver=!0)},onFinish:(t=r(n().mark((function t(){return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return _.emit("unitAudioStop"),t.next=3,W();case 3:case"end":return t.stop()}}),t)}))),function(){return t.apply(this,arguments)})}),G=function(){var t=r(n().mark((function t(){var e,r,i,o,a;return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e={},"ai"!==R.type){t.next=10;break}return t.next=5,l.post("/edu-app/studentUnitExamination/pointRandomSave",{data:{knowledgePointIds:R.knowledgePointIds}});case 5:r=t.sent,i=r.data,e=i||{},t.next=15;break;case 10:return t.next=12,l.post("/edu-app/studentUnitExamination/mockExamination",{data:{lessonCoursewareId:R.lessonCoursewareId}});case 12:o=t.sent,a=o.data,e=a||{};case 15:e.examinationQuestionAdds.forEach((function(t){t.showAnalysis=!1,t.analysis={message:t.answerAnalysis,topic:!0,userResult:!1},t.userAnswer=[]})),R.questionList=e.examinationQuestionAdds||[],R.studentUnitExaminationId=e.unitExaminationId,R.examDetail=e||{},z(),t.next=24;break;case 22:t.prev=22,t.t0=t.catch(0);case 24:case"end":return t.stop()}}),t,null,[[0,22]])})));return function(){return t.apply(this,arguments)}}(),z=function(){var t=r(n().mark((function t(){var e,r;return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=R.examDetail||{},r=e.timeMinutes||0,R.time=Math.ceil(60*r*1e3),setTimeout((function(){F.reset(60*r*1e3),F.start()}),10);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),K=function(){var t=r(n().mark((function t(){var e,r,i;return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,r=R.questionList||[],i=[],r.forEach((function(t,n){t.userAnswer&&t.userAnswer.length>0&&i.push({questionId:t.id,details:t.userAnswer})})),R.questionList.length!==R.currentIndex+1){t.next=15;break}return _.emit("unitAudioStop"),R.visiableInfo.show=!0,R.visiableInfo.title="测验完成",R.visiableInfo.showCancelButton=!0,R.visiableInfo.operationType="CONTINUE",R.visiableInfo.type="DEFAULT",R.visiableInfo.cancelButtonText="再等等",R.visiableInfo.confirmButtonText="确认完成",R.visiableInfo.content="确认本次测验的题目都完成了吗?",t.abrupt("return");case 15:return R.nextStatus=!0,t.next=18,l.post("/edu-app/studentUnitExamination/submitAnswer",{hideLoading:!0,data:{answers:i,studentUnitExaminationId:R.studentUnitExaminationId}});case 18:null===(e=D.value)||void 0===e||e.next(),R.nextStatus=!1,t.next=24;break;case 22:t.prev=22,t.t0=t.catch(0);case 24:case"end":return t.stop()}}),t,null,[[0,22]])})));return function(){return t.apply(this,arguments)}}(),M=0,H=function t(){var n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];b((function(){n&&window.scrollTo(0,0),setTimeout((function(){var e,r=null===(e=document.querySelectorAll(".van-swipe-item")[R.currentIndex])||void 0===e?void 0:e.querySelector(".swipe-item-question"),i=null==r?void 0:r.querySelectorAll(".answerTitleImg img"),o=!0;null==i||i.forEach((function(t){console.log(t.complete),t.complete||(o=!1)})),!o&&M<3&&setTimeout((function(){M+=1,t(n)}),300),o&&(M=0);var a=g(r);R.swipeHeight=a.height}),100)}))},Y=function(){"RESULT"===R.visiableInfo.operationType?(R.visiableInfo.show=!1,P.back(),Z()):"BACK"===R.visiableInfo.operationType||"CONTINUE"===R.visiableInfo.operationType?W():"TIME"===R.visiableInfo.operationType&&(R.visiableInfo.show=!1)},Q=function(){var t=r(n().mark((function t(e){return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("BACK"!==R.visiableInfo.operationType){t.next=17;break}if(!e){t.next=6;break}return R.visiableInfo.show=!1,window.history.pushState(null,"",document.URL),window.addEventListener("popstate",X,!1),t.abrupt("return");case 6:return t.prev=6,t.next=9,l.get("/edu-app/studentUnitExamination/dropExamination",{params:{studentUnitExaminationId:R.studentUnitExaminationId}});case 9:R.visiableInfo.show=!1,Z(),t.next=15;break;case 13:t.prev=13,t.t0=t.catch(6);case 15:t.next=18;break;case 17:"CONTINUE"===R.visiableInfo.operationType&&(R.visiableInfo.show=!1);case 18:case"end":return t.stop()}}),t,null,[[6,13]])})));return function(n){return t.apply(this,arguments)}}(),W=function(){var t=r(n().mark((function t(){var r,i,o,a;return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r=R.questionList||[],i=[],r.forEach((function(t){t.userAnswer&&t.userAnswer.length>0&&i.push({questionId:t.id,details:t.userAnswer})})),t.next=6,l.post("/edu-app/studentUnitExamination/completionExamination",{hideLoading:!1,data:{answers:i,studentUnitExaminationId:R.studentUnitExaminationId}});case 6:o=t.sent,a=o.data,R.visiableInfo.show=!0,R.visiableInfo.title=a.score+"分",R.visiableInfo.showCancelButton=!1,R.visiableInfo.operationType="RESULT",R.visiableInfo.confirmButtonText="确认","A_EXCELLENT"===a.status?(R.visiableInfo.type="GOOD",R.visiableInfo.content="<div>你很棒,题目掌握的非常不错,"):"B_PASS"===a.status?(R.visiableInfo.type="PASS",R.visiableInfo.content="<div>还需要加油哦,"):(R.visiableInfo.type="FAIL",R.visiableInfo.content="<div>别气馁,继续努力,"),R.visiableInfo.content+="您本次获得了<span class='".concat(e.right,"'>").concat(a.score,"分</span>,正确率<span class='").concat(e.error,"'>").concat(a.rightRate,"%</span>,实际用时<span class='").concat(e.minutes,"'>").concat(Math.ceil(a.answerTime/60),"</span>分钟~</div>"),t.next=19;break;case 17:t.prev=17,t.t0=t.catch(0);case 19:case"end":return t.stop()}}),t,null,[[0,17]])})));return function(){return t.apply(this,arguments)}}(),X=function(){R.visiableInfo.show=!0,R.visiableInfo.title="确认要离开吗?",R.visiableInfo.showCancelButton=!0,R.visiableInfo.operationType="BACK",R.visiableInfo.type="DEFAULT",R.visiableInfo.cancelButtonText="弃考",R.visiableInfo.confirmButtonText="确定",R.visiableInfo.content="还有题目未完成哦,是否要提前交卷?",_.emit("unitAudioStop")},Z=function(){window.removeEventListener("popstate",X,!1),P.back()};return f(r(n().mark((function t(){return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return C(document,"scroll",(function(){U().y.value>52?(R.background="#fff",R.color="#323333"):(R.background="transparent",R.color="#fff")})),t.next=3,G();case 3:H(),window.history.pushState(null,"",document.URL),window.addEventListener("popstate",X,!1);case 6:case"end":return t.stop()}}),t)})))),d((function(){_.emit("unitAudioStop")})),function(){var t,n;return p("div",{class:e.unitDetail},[p(B,{position:"top"},{default:function(){return[p(v,{border:!1,background:R.background,color:R.color},null)]}}),p(O,{loop:!1,showIndicators:!1,ref:D,duration:300,touchable:!1,class:e.unitSwipe,style:{paddingBottom:"12px"},lazyRender:!0,height:R.swipeHeight,onChange:function(t){_.emit("unitAudioStop"),R.currentIndex=t,H()}},(n=t=R.questionList.map((function(t,n){return p(j,null,{default:function(){return[p("div",{class:"swipe-item-question"},[t.questionTypeCode===x.RADIO&&p(I,{value:t.userAnswer,"onUpdate:value":function(n){return t.userAnswer=n},index:n+1,data:t,type:"radio",showAnalysis:t.showAnalysis,analysis:t.analysis},{title:function(){return p("div",{class:e.questionTitle},[p("div",{class:e.questionNum},[p("span",null,[R.currentIndex+1]),h("/"),R.questionList.length]),p("div",{class:e.questionType},[F.current.value.minutes+60*F.current.value.hours,h(":"),F.current.value.seconds])])}}),t.questionTypeCode===x.CHECKBOX&&p(I,{value:t.userAnswer,"onUpdate:value":function(n){return t.userAnswer=n},index:n+1,data:t,type:"checkbox",showAnalysis:t.showAnalysis,analysis:t.analysis},{title:function(){return p("div",{class:e.questionTitle},[p("div",{class:e.questionNum},[p("span",null,[R.currentIndex+1]),h("/"),R.questionList.length]),p("div",{class:e.questionType},[F.current.value.minutes+60*F.current.value.hours,h(":"),F.current.value.seconds])])}}),t.questionTypeCode===x.SORT&&p(T,{value:t.userAnswer,"onUpdate:value":[function(n){return t.userAnswer=n},function(){var n=!(t.userAnswer&&t.userAnswer.length>0);H(n)}],data:t,index:n+1,showAnalysis:t.showAnalysis,analysis:t.analysis},{title:function(){return p("div",{class:e.questionTitle},[p("div",{class:e.questionNum},[p("span",null,[R.currentIndex+1]),h("/"),R.questionList.length]),p("div",{class:e.questionType},[F.current.value.minutes+60*F.current.value.hours,h(":"),F.current.value.seconds])])}}),t.questionTypeCode===x.LINK&&p(L,{value:t.userAnswer,"onUpdate:value":function(n){return t.userAnswer=n},data:t,index:n+1,showAnalysis:t.showAnalysis,analysis:t.analysis},{title:function(){return p("div",{class:e.questionTitle},[p("div",{class:e.questionNum},[p("span",null,[R.currentIndex+1]),h("/"),R.questionList.length]),p("div",{class:e.questionType},[F.current.value.minutes+60*F.current.value.hours,h(":"),F.current.value.seconds])])}}),t.questionTypeCode===x.PLAY&&p(A,{value:t.userAnswer,"onUpdate:value":function(n){return t.userAnswer=n},data:t,index:n+1,unitId:R.studentUnitExaminationId,showAnalysis:t.showAnalysis,analysis:t.analysis},{title:function(){return p("div",{class:e.questionTitle},[p("div",{class:e.questionNum},[p("span",null,[R.currentIndex+1]),h("/"),R.questionList.length]),p("div",{class:e.questionType},[F.current.value.minutes+60*F.current.value.hours,h(":"),F.current.value.seconds])])}})])]}})})),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!w(n)?t:{default:function(){return[t]}})),p(B,{position:"bottom"},{default:function(){return[p("div",{class:["btnGroup btnMore",e.btnSection]},[p(y,{round:!0,block:!0,class:R.currentIndex>0?e.activePrevBtn:e.prevBtn,disabled:!(R.currentIndex>0),onClick:function(){var t;null===(t=D.value)||void 0===t||t.prev()}},{default:function(){return[h("上一题")]}}),p(y,{block:!0,round:!0,class:e.nextBtn,onClick:K,loading:R.nextStatus,disabled:R.nextStatus},{default:function(){return[R.questionList.length===R.currentIndex+1?"提交":"下一题"]}}),p(N,{src:E,class:[e.wapList,"van-haptics-feedback"],onClick:function(){return R.visiableAnswer=!0}},null)])]}}),p(S,{show:R.visiableAnswer,"onUpdate:show":function(t){return R.visiableAnswer=t},title:"题目列表",safeAreaInsetBottom:!0},{default:function(){return[p(k,{value:R.questionList,onSelect:function(t){var n;null===(n=D.value)||void 0===n||n.swipeTo(t,{immediate:!0}),R.visiableAnswer=!1}},null)]}}),p(m,{show:R.visiableInfo.show,"onUpdate:show":function(t){return R.visiableInfo.show=t},closeOnClickOverlay:!1,style:{background:"transparent",width:"100%",maxWidth:"100%",transform:"translateY(-55%)"}},{default:function(){return[p(q,{title:R.visiableInfo.title,showCancelButton:R.visiableInfo.showCancelButton,cancelButtonText:R.visiableInfo.cancelButtonText,confirmButtonText:R.visiableInfo.confirmButtonText,status:R.visiableInfo.type,content:R.visiableInfo.content,closeable:"BACK"===R.visiableInfo.operationType,contentHtml:!0,onConform:Y,onClose:Q},null)]}})])}}}))}}}))}();
|