(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{1229:function(e,t,a){},1299:function(e,t,a){"use strict";a.r(t);var c=a(4),n=a(6),l=a(5),o=a(7),s=a(8),i=a(0),r=a.n(i),m=a(3),u=a(25),d=a(748),g=a(750),h=(a(1229),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(l.a)(this,Object(o.a)(t).call(this,e))).fetchSchoolList=function(){var e=a.state.schoolList;m.d.get("".concat(API.home,"/sys/school/list")).then(function(t){var c=t.data,n=c.code,l=c.data;200===n&&a.setState({schoolList:l.concat(e)})})},a.toCollegeCourse=function(e){var t=a.props.history;e&&t.push("/college/".concat(e))},a.state={sectionInfo:[{title:"\u7cfb\u7edf\u8d5e\u52a9",desc:"\u514d\u8d39\u63d0\u4f9b\u5728\u7ebf\u76f4\u64ad\u7cfb\u7edf\uff0c\u652f\u6301\u7535\u8111\u5c4f\u5e55\u5b9e\u65f6\u6f14\u793a\uff0c\u4ee5\u53ca\u89c6\u9891\u56de\u653e\u3001\u4e92\u52a8\u7b54\u7591\u3002",icon:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/system.png"},{title:"\u8bfe\u7a0b\u8d5e\u52a9 ",desc:"\u514d\u8d39\u5f00\u653e\u76f8\u5173\u8bfe\u7a0b\u7684\u89c6\u9891\u3001\u8bfe\u4ef6\u3001\u4f5c\u4e1a\u3001\u8003\u8bd5\u3001\u4ee3\u7801\u3001\u9879\u76ee\u3001\u4e91\u5e73\u53f0(\u5728\u7ebf\u7f16\u8bd1\u3001\u5728\u7ebf\u6279\u6539)\u3002",icon:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/content.png"}],schoolList:[]},a}return Object(s.a)(t,e),Object(n.a)(t,[{key:"componentDidMount",value:function(){this.fetchSchoolList(),document.title="\u514d\u8d39\u63d0\u4f9b\u5728\u7ebf\u6559\u5b66\u7cfb\u7edf \u52a9\u529b\u5168\u56fd\u9ad8\u6821\u5728\u7ebf\u6559\u5b66 - \u4e03\u6708\u5728\u7ebf"}},{key:"render",value:function(){var e=this,t=this.state,a=t.sectionInfo,c=void 0===a?[]:a,n=t.schoolList,l=void 0===n?[]:n;return r.a.createElement(r.a.Fragment,null,r.a.createElement(u.e,{title:"\u52a9\u5b66\u8ba1\u5212",arrow:!0}),r.a.createElement(d.a,null),r.a.createElement("div",{className:"college-page__banner"}),r.a.createElement(g.a,{headerStyle:{marginTop:"20px"},title:"\u52a9\u529b\u9ad8\u6821\u5728\u7ebf\u6559\u5b66\u8ba1\u5212"}),r.a.createElement("p",{className:"college-page__contact"},"\u514d\u8d39\u5165\u9a7b\u8054\u7cfb\u5468\u5148\u751f\uff1a18910848502(\u5fae\u4fe1\u540c)"),c.map(function(e,t){var a=e.title,c=e.desc,n=e.icon;return r.a.createElement("div",{className:"college-page__section",key:t},r.a.createElement("i",{className:"section__icon",style:{backgroundImage:"url(".concat(n,")")}}),r.a.createElement("div",{className:"section__body"},r.a.createElement("h2",{className:"section__title"},a),r.a.createElement("p",{className:"section__desc"},c)))}),r.a.createElement(g.a,{headerStyle:{marginTop:"20px"},isDecorate:!1,title:"\u5165\u9a7b\u9662\u6821"}),r.a.createElement("div",{className:"college-page__college"},l.map(function(t){var a=t.id,c=t.name,n=t.logo;return r.a.createElement("div",{className:"college__item",onClick:function(){return e.toCollegeCourse(a)},key:a},r.a.createElement("i",{className:"college__iamge",style:{backgroundImage:"url(".concat(n,")")}}),r.a.createElement("p",{className:"college__name"},c))})))}}]),t}(i.Component));t.default=h},748:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(749);t.a=function(e){e.banner;return n.a.createElement("div",{className:"college-banner"})}},749:function(e,t,a){},750:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(751);t.a=function(e){var t=e.title,a=e.isDecorate,c=void 0===a||a,l=e.headerStyle,o=void 0===l?{}:l;return n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"college-header",style:o},n.a.createElement("i",{className:"college-header__icon","data-direction":"left"}),n.a.createElement("h2",{className:"college-header__text"},t),n.a.createElement("i",{className:"college-header__icon","data-direction":"right"})),c&&n.a.createElement("i",{className:"college-header__decorate"}))}},751:function(e,t,a){}}]);
//# sourceMappingURL=53.fd38d3b9.chunk.js.map