(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/exam/parse"],{"44c0":function(e,n,o){"use strict";var t=o("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=t(o("b8e9")),a={data:function(){return{examPaper:{},index:0,showSheet:!1,state:0,log_id:1}},onLoad:function(e){this.state=e.state,this.log_id=e.log_id,this.sellQuestionsLog()},methods:{leftClick:function(){},sellQuestionsLog:function(){var e=this;i.default.req({url:"/api/User/sellQuestionsLog",data:{log_id:e.log_id,state:e.state}},(function(n){console.log("解析",n),1==n.code&&(e.examPaper=n.data)}))},collect:function(e){var n=this,o=n.examPaper.log_info[n.index].questions_id,t=n.examPaper.log_info[n.index].id;i.default.req({url:"/api/User/collectionQuestions",data:{id:n.examPaper.course_id,questions_id:o,info_id:t,type:e}},(function(e){console.log(e),i.default.info(e.msg),n.sellQuestionsLog()}))},nextExam:function(){this.values=[],this.index++},open:function(){this.showSheet=!0},close:function(){this.showSheet=!1},toTest:function(e){this.index=e,this.close()},result:function(){i.default.jump(-1)}}};n.default=a},"63d2":function(e,n,o){"use strict";o.d(n,"b",(function(){return i})),o.d(n,"c",(function(){return a})),o.d(n,"a",(function(){return t}));var t={uNavbar:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-navbar/u-navbar")]).then(o.bind(null,"39b4"))},uIcon:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(o.bind(null,"d3dc"))},uParse:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-parse/u-parse")]).then(o.bind(null,"764c"))},uPopup:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(o.bind(null,"909a"))}},i=function(){var e=this,n=e.$createElement,o=(e._self._c,e.examPaper.log_info.length),t=0==o?e.examPaper.log_info.length:null,i=0!=o?e.examPaper.log_info.length:null,a=e.examPaper.log_info.length,u=0!==a?e.__map(e.examPaper.log_info[e.index].items,(function(n,o){var t=e.__get_orig(n),i=2==e.examPaper.log_info[e.index].type?e.examPaper.log_info[e.index].success_answer.indexOf(n.ladder_title):null;return{$orig:t,g4:i}})):null,l=e.examPaper.log_info.length,r=0==e.examPaper.log_info.length&&1==e.state,s=e.index===e.examPaper.log_info.length||e.index===e.examPaper.log_info.length-1;e.$mp.data=Object.assign({},{$root:{g0:o,g1:t,g2:i,g3:a,l0:u,g5:l,g6:r,g7:s}})},a=[]},"670d":function(e,n,o){"use strict";o.r(n);var t=o("44c0"),i=o.n(t);for(var a in t)["default"].indexOf(a)<0&&function(e){o.d(n,e,(function(){return t[e]}))}(a);n["default"]=i.a},a861:function(e,n,o){},b659:function(e,n,o){"use strict";(function(e,n){var t=o("4ea4");o("73d2");t(o("66fd"));var i=t(o("d572"));e.__webpack_require_UNI_MP_PLUGIN__=o,n(i.default)}).call(this,o("bc2e")["default"],o("543d")["createPage"])},cfea:function(e,n,o){"use strict";var t=o("a861"),i=o.n(t);i.a},d572:function(e,n,o){"use strict";o.r(n);var t=o("63d2"),i=o("670d");for(var a in i)["default"].indexOf(a)<0&&function(e){o.d(n,e,(function(){return i[e]}))}(a);o("cfea");var u=o("f0c5"),l=Object(u["a"])(i["default"],t["b"],t["c"],!1,null,"1d30ce97",null,!1,t["a"],void 0);n["default"]=l.exports}},[["b659","common/runtime","common/vendor"]]]);