webpackJsonp([11],{"/hQJ":function(t,a){},MTK6:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=e("zVNV"),s={name:"PracticeDaily",data:()=>({value:null,allData:[],pageCount:0,page:0,showList:!0,showNodata:!1}),methods:{onClickLeft(){this.$router.go(-1)},getList(t=1){Object(i.e)({page:t,pagesize:10,categoryid:this.$route.query.categoryid}).then(a=>{1==a.result?(this.allData=this.allData.concat(a.data),this.page=t,this.pageCount=a.pagecount,this.showList=!0,this.showNodata=!1):(this.showList=!1,this.showNodata=!0,this.page=0,this.pageCount=0)})}},mounted(){},activated(){document.title="每日一练",this.allData=[],this.getList()}},c={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ks-page-scroll-container",{attrs:{page:t.page,"page-count":t.pageCount},on:{"page-change":t.getList}},[e("div",{staticClass:"practiceRecord"},[e("van-nav-bar",{attrs:{title:"每日一练","left-arrow":""},on:{"click-left":function(a){return t.onClickLeft()}}}),t._v(" "),e("div",{staticClass:"margin20"}),t._v(" "),t.showList?e("div",{staticClass:"practiceRecord-item",staticStyle:{"padding-top":"10px"}},t._l(t.allData,function(a,i){return e("div",{key:i,staticClass:"practiceRecord-box"},[e("div",{staticClass:"practiceRecord-box_top"},[e("div",{staticClass:"practiceRecord-box_title"},[e("ul",[e("li",[t._v(t._s(a.time))])])])]),t._v(" "),e("div",{staticClass:"practiceRecord-box_bottom"},[e("div",{staticClass:"practiceRecord-box_type"},[e("div",[t._v("练习时间："+t._s(a.week))]),t._v(" "),e("div",{staticClass:"type-flex"},[t._v("练习类型：每日一练")])]),t._v(" "),e("router-link",{staticClass:"practiceRecord-box_see",attrs:{tag:"div",to:{name:"Exercise",query:{type:6,title:a.time,categoryid:t.$route.query.categoryid,day:a.day}}}},[t._v("开始做题")])],1)])}),0):t._e(),t._v(" "),t.showNodata?e("Nodata"):t._e()],1)])},staticRenderFns:[]};var o=e("C7Lr")(s,c,!1,function(t){e("/hQJ")},"data-v-e445f954",null);a.default=o.exports}});