webpackJsonp([24],{wm8Y:function(t,e){},xntR:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={data:function(){return{name:this.$route.query.name,cid:this.$route.query.cid,res:[],loading:!1,finished:!1,refreshing:!1,isShow:!1,page:1}},methods:{snippet:function(t){return t.replace(/<[^>]*>/g,"")},goTo:function(t,e){this.$router.push(t)},goBack:function(){if(this.$router.isBack=!0,window.history.length<=1)return this.$router.push({path:"/"}),!1;this.$router.go(-1)},getWorks:function(){var t=this,e={uid:this.$store.state.userInfo.userid,cid:this.cid,page:this.page};this.ajax.get(this.$store.state.api+"getHomeSchoolByCid",e).then(function(e){0==e.data[0].length?t.isShow=!0:t.isShow=!1,t.res=e.data[0],t.loading=!1,t.refreshing=!1,t.finished=!1,console.log(e.data)}).catch(function(e){t.loading=!1,t.refreshing=!1,console.error(e)})},onRefresh:function(){this.page=1,this.getWorks()},onLoad:function(){var t=this,e={uid:this.$store.state.userInfo.userid,cid:this.cid,page:this.page};this.ajax.get(this.$store.state.api+"getHomeSchoolByCid",e).then(function(e){t.loading=!1,t.refreshing=!1,t.res=t.res.concat(e.data[0]);var i=t.res.length?t.res[0].num:0;t.res.length