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