webpackJsonp([9],{"1dNp":function(t,e){},GzFz:function(t,e,a){t.exports=a.p+"static/img/record.32e39d5.png"},"u/8W":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("vMJZ"),c={name:"CollectBank",data(){return{allData:{},allDataList:[],showSort:!1,categoryid:this.$route.query.categoryid||0,type:3}},methods:{openSort(){this.showSort=!0},closeSort(){this.showSort=!1},onClickLeft(){this.$router.go(-1)},collectTkHome(){Object(o.a)({categoryid:this.$route.query.categoryid}).then(t=>{1==t.result&&(this.allData=t.data)}),Object(o.d)({categoryid:this.$route.query.categoryid}).then(t=>{1==t.result&&(this.allDataList=t.data)})}},created(){this.collectTkHome()},activated(){document.title="收藏练习",this.collectTkHome()}},s={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"collectBank"},[o("div",{staticClass:"collectBank-box"},[o("div",{staticClass:"collectBank-box__head"},[o("van-nav-bar",{attrs:{title:"收藏","left-arrow":""},on:{"click-left":function(e){return t.onClickLeft()}}})],1),t._v(" "),o("div",{staticClass:"margin20"}),t._v(" "),o("div",{staticClass:"collectBank-box__item"},[o("img",{attrs:{src:a("GzFz")}}),t._v(" "),o("p",[o("span",[t._v(t._s(t.allData.collect_num))]),t._v("题\n      ")])]),t._v(" "),o("div",{staticClass:"margin20"}),t._v(" "),o("div",{staticClass:"collectBank-box__bottom"},[o("div",{staticClass:"collectBank-box__bottom-text"},[t._v("\n        今日收藏： "+t._s(t.allData.today_collect)+"\n      ")]),t._v(" "),o("van-button",{staticStyle:{height:"32px","line-height":"30px"},attrs:{round:"",type:"warning"},on:{click:t.openSort}},[t._v("开始练习")])],1)]),t._v(" "),t.showSort?o("sort",{attrs:{type:t.type,name:"Exercise",categoryid:t.categoryid},on:{closeSort:t.closeSort}}):t._e()],1)},staticRenderFns:[]};var l=a("C7Lr")(c,s,!1,function(t){a("1dNp")},"data-v-2e4294f4",null);e.default=l.exports}});