Commit e84184e9 by FE

build

parent 145f4afd
...@@ -101,8 +101,8 @@ ...@@ -101,8 +101,8 @@
"python-class.css": "/mrstatic/css/python-class.821064f5.chunk.css", "python-class.css": "/mrstatic/css/python-class.821064f5.chunk.css",
"python-class.js": "/mrstatic/js/python-class.9631044b.chunk.js", "python-class.js": "/mrstatic/js/python-class.9631044b.chunk.js",
"python-class.js.map": "/mrstatic/js/python-class.9631044b.chunk.js.map", "python-class.js.map": "/mrstatic/js/python-class.9631044b.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.1f9a9884.js", "runtime~main.js": "/mrstatic/js/runtime~main.0c5d3afa.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.1f9a9884.js.map", "runtime~main.js.map": "/mrstatic/js/runtime~main.0c5d3afa.js.map",
"search.css": "/mrstatic/css/search.efa1dd44.chunk.css", "search.css": "/mrstatic/css/search.efa1dd44.chunk.css",
"search.js": "/mrstatic/js/search.309bbfcf.chunk.js", "search.js": "/mrstatic/js/search.309bbfcf.chunk.js",
"search.js.map": "/mrstatic/js/search.309bbfcf.chunk.js.map", "search.js.map": "/mrstatic/js/search.309bbfcf.chunk.js.map",
...@@ -144,8 +144,8 @@ ...@@ -144,8 +144,8 @@
"mrstatic/js/49.407334ce.chunk.js": "/mrstatic/js/49.407334ce.chunk.js", "mrstatic/js/49.407334ce.chunk.js": "/mrstatic/js/49.407334ce.chunk.js",
"mrstatic/js/49.407334ce.chunk.js.map": "/mrstatic/js/49.407334ce.chunk.js.map", "mrstatic/js/49.407334ce.chunk.js.map": "/mrstatic/js/49.407334ce.chunk.js.map",
"mrstatic/css/50.fdda6116.chunk.css": "/mrstatic/css/50.fdda6116.chunk.css", "mrstatic/css/50.fdda6116.chunk.css": "/mrstatic/css/50.fdda6116.chunk.css",
"mrstatic/js/50.93919189.chunk.js": "/mrstatic/js/50.93919189.chunk.js", "mrstatic/js/50.76e1d3e9.chunk.js": "/mrstatic/js/50.76e1d3e9.chunk.js",
"mrstatic/js/50.93919189.chunk.js.map": "/mrstatic/js/50.93919189.chunk.js.map", "mrstatic/js/50.76e1d3e9.chunk.js.map": "/mrstatic/js/50.76e1d3e9.chunk.js.map",
"mrstatic/css/51.753b6eea.chunk.css": "/mrstatic/css/51.753b6eea.chunk.css", "mrstatic/css/51.753b6eea.chunk.css": "/mrstatic/css/51.753b6eea.chunk.css",
"mrstatic/js/51.7c7785b0.chunk.js": "/mrstatic/js/51.7c7785b0.chunk.js", "mrstatic/js/51.7c7785b0.chunk.js": "/mrstatic/js/51.7c7785b0.chunk.js",
"mrstatic/js/51.7c7785b0.chunk.js.map": "/mrstatic/js/51.7c7785b0.chunk.js.map", "mrstatic/js/51.7c7785b0.chunk.js.map": "/mrstatic/js/51.7c7785b0.chunk.js.map",
...@@ -224,6 +224,6 @@ ...@@ -224,6 +224,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff", "mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png", "mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png", "mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.225173fb69d3c9ae24961d748aff8a4d.js": "/precache-manifest.225173fb69d3c9ae24961d748aff8a4d.js", "precache-manifest.d226b5668aea45053b3469d673ad2875.js": "/precache-manifest.d226b5668aea45053b3469d673ad2875.js",
"service-worker.js": "/service-worker.js" "service-worker.js": "/service-worker.js"
} }
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{1268:function(e,t,a){},1308:function(e,t,a){"use strict";a.r(t);var c=a(4),n=a(7),l=a(5),o=a(8),s=a(9),i=a(0),r=a.n(i),m=a(2),u=a(27),d=a(742),g=a(744),h=(a(1268),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(\u5c4f\u5e55\u5b9e\u65f6\u6f14\u793a)\uff0c\u652f\u6301\u89c6\u9891\u56de\u653e\u3001\u4e92\u52a8\u7b54\u7591\u3002",icon:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/system.png"},{title:"\u5185\u5bb9\u8d5e\u52a9 ",desc:"\u514d\u8d39\u5f00\u653e\u76f8\u5173\u8bfe\u7a0b\u7684\u89c6\u9891\u3001\u8bfe\u4ef6\u3001\u4f5c\u4e1a\u3001\u8003\u8bd5\u3001\u9879\u76ee\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:[{id:null,name:"\u4e1c\u534e\u7406\u5de5\u5927\u5b66\u8f6f\u4ef6\u5b66\u9662",logo:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/dhlg_logo.png"}]},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},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){},744:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(745);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"}))}},745:function(e,t,a){}}]);
//# sourceMappingURL=50.76e1d3e9.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/college/index.js","components/college/banner.js","components/college/header.js"],"names":["CollegePage","props","_this","Object","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__","this","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__","call","fetchSchoolList","schoolList","state","http","get","concat","API","then","res","_res$data","data","code","setState","toCollegeCourse","id","history","push","sectionInfo","title","desc","icon","name","logo","document","_this2","_this$state","_this$state$sectionIn","_this$state$schoolLis","react__WEBPACK_IMPORTED_MODULE_5___default","a","createElement","Fragment","_common__WEBPACK_IMPORTED_MODULE_7__","arrow","_banner__WEBPACK_IMPORTED_MODULE_8__","className","_header__WEBPACK_IMPORTED_MODULE_9__","headerStyle","marginTop","map","_ref","index","key","style","backgroundImage","isDecorate","_ref2","onClick","Component","react__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","react__WEBPACK_IMPORTED_MODULE_0___default","n","__webpack_exports__","banner","_props$isDecorate","_props$headerStyle","data-direction"],"mappings":"kNAOMA,uBACJ,SAAAA,EAAYC,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAL,IACjBE,EAAAC,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAH,GAAAQ,KAAAH,KAAMJ,KA6BRQ,gBAAkB,WAAM,IACdC,EAAeR,EAAKS,MAApBD,WACRE,IAAKC,IAAL,GAAAC,OAAYC,IAAG,KAAf,qBAA2CC,KAAK,SAAAC,GAAO,IAAAC,EAC9BD,EAAIE,KAAnB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CiC,EAAAtB,EAAAC,cAAA,KAAGK,UAAU,uBAAuBsB,iBAAe,WAGnDZ,GACAM,EAAAtB,EAAAC,cAAA,KAAGK,UAAU","file":"mrstatic/js/50.76e1d3e9.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { http } from '@/utils';\nimport { HeaderBar } from \"@/common\";\nimport CollegeBanner from './banner';\nimport CollegeHeader from './header';\nimport './index.scss';\n\nclass CollegePage extends Component {\n constructor(props) {\n super(props);\n this.state = {\n sectionInfo: [\n {\n title: '系统赞助',\n desc: '免费提供在线直播系统(屏幕实时演示),支持视频回放、互动答疑。',\n icon: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/system.png',\n },\n {\n title: '内容赞助 ',\n desc: '免费开放相关课程的视频、课件、作业、考试、项目云平台(在线编译、在线批改)。',\n icon: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/content.png',\n },\n ],\n schoolList: [\n {\n id: null,\n name: '东华理工大学软件学院',\n logo: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/dhlg_logo.png'\n }\n ],\n };\n }\n\n componentDidMount() {\n this.fetchSchoolList();\n document.title = `免费提供在线教学系统 助力全国高校在线教学 - 七月在线`\n }\n\n fetchSchoolList = () => {\n const { schoolList } = this.state;\n http.get(`${API['home']}/sys/school/list`).then(res => {\n const { code, data } = res.data;\n if(code === 200) {\n this.setState({\n schoolList: data.concat(schoolList),\n });\n }\n });\n }\n\n toCollegeCourse = (id) => {\n const { history } = this.props;\n if(id) {\n history.push(`/college/${id}`);\n }\n }\n\n render() {\n const { sectionInfo = [], schoolList = [] } = this.state;\n return (\n <>\n <HeaderBar title={'助学计划'} arrow={true}/>\n <CollegeBanner />\n <div className=\"college-page__banner\"></div>\n <CollegeHeader\n headerStyle={{\n marginTop: '20px'\n }}\n title=\"助力高校在线教学计划\"\n />\n <p className=\"college-page__contact\">免费入驻联系周先生:18910848502(微信同)</p>\n {\n sectionInfo.map(({title, desc, icon}, index) => (\n <div className=\"college-page__section\" key={index}>\n <i className=\"section__icon\" style={{'backgroundImage': `url(${icon})`}}></i>\n <div className=\"section__body\">\n <h2 className=\"section__title\">{title}</h2>\n <p className=\"section__desc\">{desc}</p>\n </div>\n </div>\n ))\n }\n <CollegeHeader\n headerStyle={{\n marginTop: '20px'\n }}\n isDecorate={false} \n title=\"入驻院校\" \n />\n <div className=\"college-page__college\">\n {\n schoolList.map(({id, name, logo}) => (\n <div\n className=\"college__item\"\n onClick={() => this.toCollegeCourse(id)}\n key={id}\n >\n <i className=\"college__iamge\" style={{'backgroundImage': `url(${logo})`}}></i>\n <p className=\"college__name\">{name}</p>\n </div>\n ))\n }\n </div>\n </>\n )\n }\n}\n\nexport default CollegePage;","import React from 'react';\nimport './banner.scss';\n\nexport default (props) => {\n const { banner = '' } = props;\n const style = () => {\n if(banner) {\n return {\n backgroundImage: `url(${banner})`\n }\n }\n return {};\n }\n\n return (\n <div className=\"college-banner\"></div>\n )\n}","import React from 'react';\nimport './header.scss';\n\nexport default (props) => {\n const { title, isDecorate = true, headerStyle = {} } = props;\n return (\n <>\n <div className=\"college-header\" style={headerStyle}>\n <i className=\"college-header__icon\" data-direction=\"left\"></i>\n <h2 className=\"college-header__text\">{title}</h2>\n <i className=\"college-header__icon\" data-direction=\"right\"></i>\n </div>\n {\n isDecorate &&\n <i className=\"college-header__decorate\"></i>\n }\n </>\n );\n};\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{1268:function(e,t,a){},1308:function(e,t,a){"use strict";a.r(t);var n=a(4),c=a(7),l=a(5),o=a(8),s=a(9),i=a(0),r=a.n(i),m=a(2),u=a(27),d=a(742),g=a(744),p=(a(1268),function(e){function t(e){var a;return Object(n.a)(this,t),(a=Object(l.a)(this,Object(o.a)(t).call(this,e))).fetchSchoolList=function(){m.d.get("".concat(API.home,"/sys/school/list")).then(function(e){var t=e.data,n=t.code,c=t.data;200===n&&a.setState({schoolList:c})})},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(\u5c4f\u5e55\u5b9e\u65f6\u6f14\u793a)\uff0c\u652f\u6301\u89c6\u9891\u56de\u653e\u3001\u4e92\u52a8\u7b54\u7591\u3002",icon:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/system.png"},{title:"\u5185\u5bb9\u8d5e\u52a9 ",desc:"\u514d\u8d39\u5f00\u653e\u76f8\u5173\u8bfe\u7a0b\u7684\u89c6\u9891\u3001\u8bfe\u4ef6\u3001\u4f5c\u4e1a\u3001\u8003\u8bd5\u3001\u9879\u76ee\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:[{id:1,name:"\u4e2d\u79d1\u5927\u8f6f\u4ef6\u5b66\u9662\uff08\u82cf\u5dde\uff09",logo:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/zkd_logo.png"},{id:null,name:"\u4e1c\u534e\u7406\u5de5\u5927\u5b66\u8f6f\u4ef6\u5b66\u9662",logo:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/dhlg_logo.png"}]},a}return Object(s.a)(t,e),Object(c.a)(t,[{key:"componentDidMount",value:function(){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,n=void 0===a?[]:a,c=t.schoolList,l=void 0===c?[]:c;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)"),n.map(function(e,t){var a=e.title,n=e.desc,c=e.icon;return r.a.createElement("div",{className:"college-page__section",key:t},r.a.createElement("i",{className:"section__icon",style:{backgroundImage:"url(".concat(c,")")}}),r.a.createElement("div",{className:"section__body"},r.a.createElement("h2",{className:"section__title"},a),r.a.createElement("p",{className:"section__desc"},n)))}),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,n=t.name,c=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(c,")")}}),r.a.createElement("p",{className:"college__name"},n))})))}}]),t}(i.Component));t.default=p},742:function(e,t,a){"use strict";var n=a(0),c=a.n(n);a(743);t.a=function(e){e.banner;return c.a.createElement("div",{className:"college-banner"})}},743:function(e,t,a){},744:function(e,t,a){"use strict";var n=a(0),c=a.n(n);a(745);t.a=function(e){var t=e.title,a=e.isDecorate,n=void 0===a||a,l=e.headerStyle,o=void 0===l?{}:l;return c.a.createElement(c.a.Fragment,null,c.a.createElement("div",{className:"college-header",style:o},c.a.createElement("i",{className:"college-header__icon","data-direction":"left"}),c.a.createElement("h2",{className:"college-header__text"},t),c.a.createElement("i",{className:"college-header__icon","data-direction":"right"})),n&&c.a.createElement("i",{className:"college-header__decorate"}))}},745:function(e,t,a){}}]);
//# sourceMappingURL=50.93919189.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/college/index.js","components/college/banner.js","components/college/header.js"],"names":["CollegePage","props","_this","Object","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__","this","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__","call","fetchSchoolList","http","get","concat","API","then","res","_res$data","data","code","setState","schoolList","toCollegeCourse","id","history","push","state","sectionInfo","title","desc","icon","name","logo","document","_this2","_this$state","_this$state$sectionIn","_this$state$schoolLis","react__WEBPACK_IMPORTED_MODULE_5___default","a","createElement","Fragment","_common__WEBPACK_IMPORTED_MODULE_7__","arrow","_banner__WEBPACK_IMPORTED_MODULE_8__","className","_header__WEBPACK_IMPORTED_MODULE_9__","headerStyle","marginTop","map","_ref","index","key","style","backgroundImage","isDecorate","_ref2","onClick","Component","react__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","react__WEBPACK_IMPORTED_MODULE_0___default","n","__webpack_exports__","banner","_props$isDecorate","_props$headerStyle","data-direction"],"mappings":"kNAOMA,uBACJ,SAAAA,EAAYC,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAL,IACjBE,EAAAC,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAH,GAAAQ,KAAAH,KAAMJ,KAkCRQ,gBAAkB,WAChBC,IAAKC,IAAL,GAAAC,OAAYC,IAAG,KAAf,qBAA2CC,KAAK,SAAAC,GAAO,IAAAC,EAC9BD,EAAIE,KAAnBC,EAD6CF,EAC7CE,KAAMD,EADuCD,EACvCC,KACF,MAATC,GACDhB,EAAKiB,SAAS,CACZC,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DZ,GACAM,EAAAtB,EAAAC,cAAA,KAAGK,UAAU","file":"mrstatic/js/50.93919189.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { http } from '@/utils';\nimport { HeaderBar } from \"@/common\";\nimport CollegeBanner from './banner';\nimport CollegeHeader from './header';\nimport './index.scss';\n\nclass CollegePage extends Component {\n constructor(props) {\n super(props);\n this.state = {\n sectionInfo: [\n {\n title: '系统赞助',\n desc: '免费提供在线直播系统(屏幕实时演示),支持视频回放、互动答疑。',\n icon: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/system.png',\n },\n {\n title: '内容赞助 ',\n desc: '免费开放相关课程的视频、课件、作业、考试、项目云平台(在线编译、在线批改)。',\n icon: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/content.png',\n },\n ],\n schoolList: [\n {\n id: 1,\n name: '中科大软件学院(苏州)',\n logo: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/zkd_logo.png'\n },\n {\n id: null,\n name: '东华理工大学软件学院',\n logo: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/dhlg_logo.png'\n }\n ],\n };\n }\n\n componentDidMount() {\n // this.fetchSchoolList();\n document.title = `免费提供在线教学系统 助力全国高校在线教学 - 七月在线`\n }\n\n fetchSchoolList = () => {\n http.get(`${API['home']}/sys/school/list`).then(res => {\n const { code, data } = res.data;\n if(code === 200) {\n this.setState({\n schoolList: data,\n });\n }\n });\n }\n\n toCollegeCourse = (id) => {\n const { history } = this.props;\n if(id) {\n history.push(`/college/${id}`);\n }\n }\n\n render() {\n const { sectionInfo = [], schoolList = [] } = this.state;\n return (\n <>\n <HeaderBar title={'助学计划'} arrow={true}/>\n <CollegeBanner />\n <div className=\"college-page__banner\"></div>\n <CollegeHeader\n headerStyle={{\n marginTop: '20px'\n }}\n title=\"助力高校在线教学计划\"\n />\n <p className=\"college-page__contact\">免费入驻联系周先生:18910848502(微信同)</p>\n {\n sectionInfo.map(({title, desc, icon}, index) => (\n <div className=\"college-page__section\" key={index}>\n <i className=\"section__icon\" style={{'backgroundImage': `url(${icon})`}}></i>\n <div className=\"section__body\">\n <h2 className=\"section__title\">{title}</h2>\n <p className=\"section__desc\">{desc}</p>\n </div>\n </div>\n ))\n }\n <CollegeHeader\n headerStyle={{\n marginTop: '20px'\n }}\n isDecorate={false} \n title=\"入驻院校\" \n />\n <div className=\"college-page__college\">\n {\n schoolList.map(({id, name, logo}) => (\n <div\n className=\"college__item\"\n onClick={() => this.toCollegeCourse(id)}\n key={id}\n >\n <i className=\"college__iamge\" style={{'backgroundImage': `url(${logo})`}}></i>\n <p className=\"college__name\">{name}</p>\n </div>\n ))\n }\n </div>\n </>\n )\n }\n}\n\nexport default CollegePage;","import React from 'react';\nimport './banner.scss';\n\nexport default (props) => {\n const { banner = '' } = props;\n const style = () => {\n if(banner) {\n return {\n backgroundImage: `url(${banner})`\n }\n }\n return {};\n }\n\n return (\n <div className=\"college-banner\"></div>\n )\n}","import React from 'react';\nimport './header.scss';\n\nexport default (props) => {\n const { title, isDecorate = true, headerStyle = {} } = props;\n return (\n <>\n <div className=\"college-header\" style={headerStyle}>\n <i className=\"college-header__icon\" data-direction=\"left\"></i>\n <h2 className=\"college-header__text\">{title}</h2>\n <i className=\"college-header__icon\" data-direction=\"right\"></i>\n </div>\n {\n isDecorate &&\n <i className=\"college-header__decorate\"></i>\n }\n </>\n );\n};\n"],"sourceRoot":""}
\ No newline at end of file
...@@ -268,8 +268,8 @@ self.__precacheManifest = [ ...@@ -268,8 +268,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/python-class.9631044b.chunk.js" "url": "/mrstatic/js/python-class.9631044b.chunk.js"
}, },
{ {
"revision": "9987312285705cfd62b8", "revision": "19478120b228a7b6a93a",
"url": "/mrstatic/js/runtime~main.1f9a9884.js" "url": "/mrstatic/js/runtime~main.0c5d3afa.js"
}, },
{ {
"revision": "49f4c2b655792a7fab4a", "revision": "49f4c2b655792a7fab4a",
...@@ -376,12 +376,12 @@ self.__precacheManifest = [ ...@@ -376,12 +376,12 @@ self.__precacheManifest = [
"url": "/mrstatic/js/49.407334ce.chunk.js" "url": "/mrstatic/js/49.407334ce.chunk.js"
}, },
{ {
"revision": "84c480cf37c0cfd47c53", "revision": "ceb52c4ea7fb16387853",
"url": "/mrstatic/css/50.fdda6116.chunk.css" "url": "/mrstatic/css/50.fdda6116.chunk.css"
}, },
{ {
"revision": "84c480cf37c0cfd47c53", "revision": "ceb52c4ea7fb16387853",
"url": "/mrstatic/js/50.93919189.chunk.js" "url": "/mrstatic/js/50.76e1d3e9.chunk.js"
}, },
{ {
"revision": "910d6a58b7598dfaf8e6", "revision": "910d6a58b7598dfaf8e6",
...@@ -448,14 +448,14 @@ self.__precacheManifest = [ ...@@ -448,14 +448,14 @@ self.__precacheManifest = [
"url": "/mrstatic/media/iconfont.e0655d4d.woff" "url": "/mrstatic/media/iconfont.e0655d4d.woff"
}, },
{ {
"revision": "b9b072e1116fd1830cc8f425dc163a6b",
"url": "/mrstatic/media/iconfont.b9b072e1.svg"
},
{
"revision": "258b4b114d3d9be3018cd113b2470a13", "revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf" "url": "/mrstatic/media/iconfont.258b4b11.ttf"
}, },
{ {
"revision": "b9b072e1116fd1830cc8f425dc163a6b",
"url": "/mrstatic/media/iconfont.b9b072e1.svg"
},
{
"revision": "81a489ac63f2f2df5ab412e0782bd54c", "revision": "81a489ac63f2f2df5ab412e0782bd54c",
"url": "/mrstatic/media/kanjia_cg_icon.81a489ac.png" "url": "/mrstatic/media/kanjia_cg_icon.81a489ac.png"
}, },
...@@ -472,14 +472,14 @@ self.__precacheManifest = [ ...@@ -472,14 +472,14 @@ self.__precacheManifest = [
"url": "/mrstatic/media/progress-share-bg.80011994.png" "url": "/mrstatic/media/progress-share-bg.80011994.png"
}, },
{ {
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
{
"revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae", "revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae",
"url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png" "url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png"
}, },
{ {
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
{
"revision": "6902434f8f18a23319d57d0ac8aaea8c", "revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png" "url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
}, },
...@@ -488,7 +488,7 @@ self.__precacheManifest = [ ...@@ -488,7 +488,7 @@ self.__precacheManifest = [
"url": "/mrstatic/media/hb_bj.79139f6a.png" "url": "/mrstatic/media/hb_bj.79139f6a.png"
}, },
{ {
"revision": "190647d15759fc6fdf0e526e41d501a7", "revision": "5b5b77e360a6e59c006d34b54d9dd4b3",
"url": "/index.html" "url": "/index.html"
} }
]; ];
\ No newline at end of file
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts( importScripts(
"/precache-manifest.225173fb69d3c9ae24961d748aff8a4d.js" "/precache-manifest.d226b5668aea45053b3469d673ad2875.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment