(window.webpackJsonp=window.webpackJsonp||[]).push([[51],{1267:function(e,t,a){},1307:function(e,t,a){"use strict";a.r(t);var c=a(4),n=a(7),o=a(5),r=a(8),s=a(9),i=a(0),u=a.n(i),l=a(2),m=a(27),d=a(742),f=(a(1267),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(o.a)(this,Object(r.a)(t).call(this,e))).fetchCourseList=function(){var e=a.props.match.params.id||0;l.d.get("".concat(API.home,"/sys/school/").concat(e)).then(function(e){var t=e.data,c=t.code,n=t.data;200===c&&a.setState({courseList:n})})},a.state={courseList:[]},a}return Object(s.a)(t,e),Object(n.a)(t,[{key:"componentDidMount",value:function(){this.fetchCourseList()}},{key:"render",value:function(){var e=this.state.courseList,t=void 0===e?[]:e;return u.a.createElement(u.a.Fragment,null,u.a.createElement(m.e,{title:"\u52a9\u5b66\u8ba1\u5212",arrow:!0}),u.a.createElement(d.a,null),u.a.createElement("div",{className:"college-course__body"},t.map(function(e){return u.a.createElement("div",{className:"college-course__item",key:e.course_id},u.a.createElement("i",{className:"college-course__cover",style:{backgroundImage:"url(".concat(e.image_name,")")}}),u.a.createElement("p",{className:"college-course__title"},e.course_title))})))}}]),t}(i.Component));t.default=f},742:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(743);t.a=function(e){e.banner;return n.a.createElement("div",{className:"college-banner"})}},743:function(e,t,a){}}]);
//# sourceMappingURL=51.a1709e39.chunk.js.map