(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[60],{1067:function(e,t,a){},1173:function(e,t,a){"use strict";a.r(t);var c=a(0),l=a.n(c),n=a(1),s=a(20),o=a(590),i=a(592);a(1067);class r extends c.Component{constructor(e){super(e),this.fetchSchoolList=()=>{const e=this.state.schoolList;n.f.get("".concat(API.home,"/sys/school/list")).then(t=>{const a=t.data,c=a.code,l=a.data;200===c&&this.setState({schoolList:l.concat(e)})})},this.toCollegeCourse=e=>{const t=this.props.history;e&&t.push("/college/".concat(e))},this.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:[]}}componentDidMount(){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"}render(){const e=this.state,t=e.sectionInfo,a=void 0===t?[]:t,c=e.schoolList,n=void 0===c?[]:c;return l.a.createElement(l.a.Fragment,null,l.a.createElement(s.e,{title:"\u52a9\u5b66\u8ba1\u5212",arrow:!0}),l.a.createElement(o.a,null),l.a.createElement("div",{className:"college-page__banner"}),l.a.createElement(i.a,{headerStyle:{marginTop:"20px"},title:"\u52a9\u529b\u9ad8\u6821\u5728\u7ebf\u6559\u5b66\u8ba1\u5212"}),l.a.createElement("p",{className:"college-page__contact"},"\u514d\u8d39\u5165\u9a7b\u8054\u7cfb\u5468\u5148\u751f\uff1a18910848502(\u5fae\u4fe1\u540c)"),a.map(({title:e,desc:t,icon:a},c)=>l.a.createElement("div",{className:"college-page__section",key:c},l.a.createElement("i",{className:"section__icon",style:{backgroundImage:"url(".concat(a,")")}}),l.a.createElement("div",{className:"section__body"},l.a.createElement("h2",{className:"section__title"},e),l.a.createElement("p",{className:"section__desc"},t)))),l.a.createElement(i.a,{headerStyle:{marginTop:"20px"},isDecorate:!1,title:"\u5165\u9a7b\u9662\u6821"}),l.a.createElement("div",{className:"college-page__college"},n.map(({id:e,name:t,logo:a})=>l.a.createElement("div",{className:"college__item",onClick:()=>this.toCollegeCourse(e),key:e},l.a.createElement("i",{className:"college__iamge",style:{backgroundImage:"url(".concat(a,")")}}),l.a.createElement("p",{className:"college__name"},t)))))}}t.default=r},590:function(e,t,a){"use strict";var c=a(0),l=a.n(c);a(591);t.a=e=>{e.banner;return l.a.createElement("div",{className:"college-banner"})}},591:function(e,t,a){},592:function(e,t,a){"use strict";var c=a(0),l=a.n(c);a(593);t.a=e=>{const t=e.title,a=e.isDecorate,c=void 0===a||a,n=e.headerStyle,s=void 0===n?{}:n;return l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"college-header",style:s},l.a.createElement("i",{className:"college-header__icon","data-direction":"left"}),l.a.createElement("h2",{className:"college-header__text"},t),l.a.createElement("i",{className:"college-header__icon","data-direction":"right"})),c&&l.a.createElement("i",{className:"college-header__decorate"}))}},593:function(e,t,a){}}]);
//# sourceMappingURL=60.938a306f.chunk.js.map