webpackJsonp([6],{GCwL:function(t,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=r("vMJZ"),o={name:"ErrorBank",data(){return{allData:{},allDataList:[],showSort:!1,categoryid:this.$route.query.categoryid||0,type:2}},methods:{openSort(){this.showSort=!0},closeSort(){this.showSort=!1},onClickLeft(){this.$router.go(-1)},errorTkHome(){let t=this.$route.query.categoryid;Object(e.c)({categoryid:t}).then(t=>{1==t.result&&(this.allData=t.data)}),Object(e.e)({categoryid:t}).then(t=>{1==t.result&&(this.allDataList=t.data)})}},activated(){document.title="错题练习",this.errorTkHome()}},s={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"errorBank"},[e("div",{staticClass:"errorBank-box"},[e("div",{staticClass:"errorBank-box__head"},[e("van-nav-bar",{attrs:{title:"错题练习","left-arrow":""},on:{"click-left":t.onClickLeft}})],1),t._v(" "),e("div",{staticClass:"margin20"}),t._v(" "),e("div",{staticClass:"errorBank-box__item"},[e("img",{attrs:{src:r("GzFz")}}),t._v(" "),e("p",[e("span",[t._v(t._s(t.allData.error_num))]),t._v("题\n      ")])]),t._v(" "),e("div",{staticClass:"margin20"}),t._v(" "),e("div",{staticClass:"errorBank-box__bottom"},[e("div",{staticClass:"errorBank-box__bottom-text1"},[e("div",{staticClass:"margin-top5"},[t._v("今日错题： "+t._s(t.allData.today_error))]),t._v(" "),e("div",{staticClass:"margin-top5"},[t._v("正确率："+t._s(t.allData.zhunquelv)+"%")])]),t._v(" "),e("van-button",{staticStyle:{height:"32px","line-height":"30px"},attrs:{round:"",type:"warning"},on:{click:t.openSort}},[t._v("开始练习")])],1)]),t._v(" "),t.showSort?e("sort",{attrs:{type:t.type,name:"Exercise",categoryid:t.categoryid},on:{closeSort:t.closeSort}}):t._e()],1)},staticRenderFns:[]};var i=r("C7Lr")(o,s,!1,function(t){r("TjmX")},"data-v-f4fe98ce",null);a.default=i.exports},GzFz:function(t,a,r){t.exports=r.p+"static/img/record.32e39d5.png"},TjmX:function(t,a){}});