(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-24c856b0"],{"2ca0":function(t,e,s){"use strict";var i=s("23e7"),n=s("06cf").f,o=s("50c4"),r=s("5a34"),c=s("1d80"),a=s("ab13"),u=s("c430"),l="".startsWith,d=Math.min,p=a("startsWith"),h=!u&&!p&&!!function(){var t=n(String.prototype,"startsWith");return t&&!t.writable}();i({target:"String",proto:!0,forced:!h&&!p},{startsWith:function(t){var e=String(c(this));r(t);var s=o(d(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return l?l.call(e,i,s):e.slice(s,s+i.length)===i}})},"59de":function(t,e,s){"use strict";s("6770")},6770:function(t,e,s){},6959:function(t,e,s){t.exports=s.p+"img/0_3.a9e2bd6a.png"},"78d9":function(t,e,s){"use strict";s.r(e);var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{directives:[{name:"wechat-title",rawName:"v-wechat-title",value:t.title,expression:"title"}],staticClass:"mainAnswer"},[s("div",{staticClass:"question"},[s("p",{staticClass:"title"},[t._v(" "+t._s(t.questions[t.index].desc)+" "),s("span",[t._v("("+t._s(parseInt(t.index)+1)+"/4)")])]),s("ul",t._l(t.questions[t.index].options,(function(e,i){return s("li",{key:e,class:t.userSelect==i?"selectBorder":"",on:{click:function(e){return t.selectOption(i)}}},[s("span",{staticClass:"order"},[t._v(t._s(t.order[i])+".")]),"img"==t.questions[t.index].type?s("img",{staticClass:"questionImg",attrs:{src:e,alt:""}}):s("span",{staticClass:"questionTxt"},[t._v(t._s(e))])])})),0)]),s("div",{staticClass:"btn flexCenterCenter",on:{click:t.commit}},[t._v("提交")])])},n=[],o=(s("2ca0"),s("99af"),{data:function(){return{title:"快来测一测,你现在是几年级的水平",index:0,userSelect:-1,order:["A","B","C","D"],questions:[{desc:"1.以下哪个字的读音是错误的?",type:"img",options:[s("c12c"),s("a314"),s("8c48"),s("6959")],answer:0,score:25},{desc:"2.以下哪句话是徐霞客写的山?",type:"txt",options:["横看成岭侧成峰,远近高低各不同。","荡胸生曾云,决眦入归鸟。","空山不见人,但闻人语响。","于所见一线天数初未曾见此之大而远逼整者。"],answer:3,score:25},{desc:"3.鸠占que巢的que是哪个?",options:["雀","榷","鹊","却"],answer:2,score:25},{desc:"4.下面两种学习方法中正确的是",options:["写作需要用到各种套路才能拿高分,答题也有固定的模板","语文学习归根到底需要的是大量有思考的阅读"],answer:1,score:25}],total:0,videoIndex:1}},beforeRouteEnter:function(t,e,s){s((function(t){e.path.startsWith("/one-year/")||t.$router.push("/one-year/index")}))},mounted:function(){this.index=this.$route.params.index,this.userSelect=this.$route.params.userSelect,this.total=this.$route.params.total},methods:{selectOption:function(t){this.userSelect=t},commit:function(){-1!=this.userSelect?(this.videoIndex=1,this.userSelect==this.questions[this.index].answer&&(this.total=parseInt(this.questions[this.index].score)+parseInt(this.total),this.videoIndex=0),this.$router.push("/one-year/video/".concat(this.index,"/").concat(this.videoIndex,"/").concat(this.total))):this.$toast("先选择答案才可以提交!")}}}),r=o,c=(s("59de"),s("2877")),a=Object(c["a"])(r,i,n,!1,null,"78276c30",null);e["default"]=a.exports},"8c48":function(t,e,s){t.exports=s.p+"img/0_2.98fa04ec.png"},a314:function(t,e,s){t.exports=s.p+"img/0_1.a045596b.png"},c12c:function(t,e,s){t.exports=s.p+"img/0_0.c71b0227.png"}}]);