Commit c87c9c8f by xuzhenghua

title

parent 1922f677
......@@ -101,8 +101,8 @@
"python-class.css": "/mrstatic/css/python-class.1fe9d108.chunk.css",
"python-class.js": "/mrstatic/js/python-class.337bdc42.chunk.js",
"python-class.js.map": "/mrstatic/js/python-class.337bdc42.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.a167b112.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.a167b112.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.21ab82de.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.21ab82de.js.map",
"search.css": "/mrstatic/css/search.5716d9b3.chunk.css",
"search.js": "/mrstatic/js/search.473ae437.chunk.js",
"search.js.map": "/mrstatic/js/search.473ae437.chunk.js.map",
......@@ -143,9 +143,9 @@
"mrstatic/css/49.51878f3a.chunk.css": "/mrstatic/css/49.51878f3a.chunk.css",
"mrstatic/js/49.7fd0db13.chunk.js": "/mrstatic/js/49.7fd0db13.chunk.js",
"mrstatic/js/49.7fd0db13.chunk.js.map": "/mrstatic/js/49.7fd0db13.chunk.js.map",
"mrstatic/css/50.c6a23bc6.chunk.css": "/mrstatic/css/50.c6a23bc6.chunk.css",
"mrstatic/js/50.9edc80e9.chunk.js": "/mrstatic/js/50.9edc80e9.chunk.js",
"mrstatic/js/50.9edc80e9.chunk.js.map": "/mrstatic/js/50.9edc80e9.chunk.js.map",
"mrstatic/css/50.a478ada4.chunk.css": "/mrstatic/css/50.a478ada4.chunk.css",
"mrstatic/js/50.fb1031a3.chunk.js": "/mrstatic/js/50.fb1031a3.chunk.js",
"mrstatic/js/50.fb1031a3.chunk.js.map": "/mrstatic/js/50.fb1031a3.chunk.js.map",
"mrstatic/css/51.866df084.chunk.css": "/mrstatic/css/51.866df084.chunk.css",
"mrstatic/js/51.acdb9371.chunk.js": "/mrstatic/js/51.acdb9371.chunk.js",
"mrstatic/js/51.acdb9371.chunk.js.map": "/mrstatic/js/51.acdb9371.chunk.js.map",
......@@ -177,7 +177,7 @@
"mrstatic/css/47.820320a6.chunk.css.map": "/mrstatic/css/47.820320a6.chunk.css.map",
"mrstatic/css/48.35e22f8c.chunk.css.map": "/mrstatic/css/48.35e22f8c.chunk.css.map",
"mrstatic/css/49.51878f3a.chunk.css.map": "/mrstatic/css/49.51878f3a.chunk.css.map",
"mrstatic/css/50.c6a23bc6.chunk.css.map": "/mrstatic/css/50.c6a23bc6.chunk.css.map",
"mrstatic/css/50.a478ada4.chunk.css.map": "/mrstatic/css/50.a478ada4.chunk.css.map",
"mrstatic/css/51.866df084.chunk.css.map": "/mrstatic/css/51.866df084.chunk.css.map",
"mrstatic/css/52.befec011.chunk.css.map": "/mrstatic/css/52.befec011.chunk.css.map",
"mrstatic/css/53.3a7f5a83.chunk.css.map": "/mrstatic/css/53.3a7f5a83.chunk.css.map",
......@@ -224,6 +224,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.4bfae368608ba05b4044d911e52eb37f.js": "/precache-manifest.4bfae368608ba05b4044d911e52eb37f.js",
"precache-manifest.227fd201dd5571f79b0c1d9418bb9832.js": "/precache-manifest.227fd201dd5571f79b0c1d9418bb9832.js",
"service-worker.js": "/service-worker.js"
}
\ No newline at end of file
.college-banner{height:26.666667vw;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/college-banner.png);background-size:cover}.college-header{display:flex;justify-content:center;align-items:center;height:9.066667vw}.college-header__icon{width:11.733333vw;height:2.133333vw;background-size:cover}.college-header__icon[data-direction=left]{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/icon-left.png);background-position:100%}.college-header__icon[data-direction=right]{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/icon-right.png);background-position:0}.college-header__text{margin:0;padding:0 2.666667vw;font-size:3.733333vw;font-weight:500;color:#525c65;line-height:1}.college-header__decorate{display:block;width:10.4vw;height:.8vw;margin:0 auto;border-radius:.533333vw;background:-webkit-gradient(linear,left top,right top,from(#09f),to(#3775ef));background:-webkit-linear-gradient(left,#09f,#3775ef);background:linear-gradient(90deg,#09f,#3775ef)}.college-page__contact{margin:1.333333vw 0 0;font-size:3.2vw;color:#09f;text-align:center;line-height:5.866667vw}.college-page__section{margin:0 4vw 2.666667vw;border:1px solid #ececec;border-radius:1px}.college-page__section .section__icon{float:left;width:8vw;height:9.066667vw;margin:3.466667vw 0 0 4vw;background-size:100% auto;background-position:50%;background-repeat:no-repeat}.college-page__section .section__body{margin-left:16vw;padding:2.133333vw 0}.college-page__section .section__title{margin:0 0 1.066667vw;font-size:3.733333vw;font-weight:400;color:#09f;line-height:1}.college-page__section .section__desc{margin:0;font-size:3.2vw;color:#333;line-height:4vw}.college-page__college{display:flex;flex-wrap:wrap;padding:1.066667vw 2.666667vw 0}.college-page__college .college__item{width:44.266667vw;margin:0 1.333333vw 2.666667vw;cursor:pointer}.college-page__college .college__item:hover .college__iamge{border-color:#09f}.college-page__college .college__item:hover .college__name{color:#09f}.college-page__college .college__iamge{display:block;height:16vw;border:1px solid #ececec;border-radius:1px;background-size:auto 100%;background-position:50%;background-repeat:no-repeat}.college-page__college .college__name{margin:1.6vw 0 0;font-size:3.2vw;color:#525c65;text-align:center;line-height:4.266667vw}
/*# sourceMappingURL=50.c6a23bc6.chunk.css.map */
\ No newline at end of file
.college-banner{height:26.666667vw;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/college-banner.png);background-size:cover}.college-header{display:flex;justify-content:center;align-items:center;height:9.066667vw}.college-header__icon{width:11.733333vw;height:2.133333vw;background-size:cover}.college-header__icon[data-direction=left]{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/icon-left.png);background-position:100%}.college-header__icon[data-direction=right]{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/icon-right.png);background-position:0}.college-header__text{margin:0;padding:0 2.666667vw;font-size:3.733333vw;font-weight:500;color:#525c65;line-height:1}.college-header__decorate{display:block;width:10.4vw;height:.8vw;margin:0 auto;border-radius:.533333vw;background:-webkit-gradient(linear,left top,right top,from(#09f),to(#3775ef));background:-webkit-linear-gradient(left,#09f,#3775ef);background:linear-gradient(90deg,#09f,#3775ef)}.college-page__contact{margin:1.333333vw 0 0;font-size:3.2vw;color:#09f;text-align:center;line-height:5.866667vw}.college-page__section{margin:0 4vw 2.666667vw;border:1px solid #ececec;border-radius:1px}.college-page__section .section__icon{float:left;width:8vw;height:9.066667vw;margin:3.466667vw 0 0 4vw;background-size:100% auto;background-position:50%;background-repeat:no-repeat}.college-page__section .section__body{margin-left:16vw;padding:2.133333vw 0}.college-page__section .section__title{margin:0 0 1.066667vw;font-size:3.733333vw;font-weight:400;color:#09f;line-height:1}.college-page__section .section__desc{margin:0;font-size:3.2vw;color:#333;line-height:4vw}.college-page__college{display:flex;flex-wrap:wrap;padding:1.066667vw 2.666667vw 0}.college-page__college .college__item{width:44.266667vw;margin:0 1.333333vw 2.666667vw;cursor:pointer}.college-page__college .college__iamge{display:block;height:16vw;border:1px solid #ececec;border-radius:1px;background-size:auto 100%;background-position:50%;background-repeat:no-repeat}.college-page__college .college__iamge-add{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/donghua.png);background-size:100%}.college-page__college .college__name{margin:1.6vw 0 0;font-size:3.2vw;color:#525c65;text-align:center;line-height:4.266667vw}
/*# sourceMappingURL=50.a478ada4.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/xzh/dnmp/www/mr-julyedu/src/components/college/banner.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/college/header.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/college/index.scss"],"names":[],"mappings":"AAmGA,gBACE,kBAAA,CACA,qGAAA,CACA,qBAAsB,CCHxB,gBACE,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,iBAAY,CAGd,sBACE,iBAAA,CACA,iBAAA,CACA,qBAAsB,CAHxB,2CAMI,gGAAA,CACA,wBAA0B,CAP9B,4CAWI,iGAAA,CACA,qBAAyB,CAI7B,sBACE,QAAA,CACA,oBAAA,CACA,oBAAA,CACA,eAAA,CACA,aAAA,CACA,aAAc,CAGhB,0BACE,aAAA,CACA,YAAA,CACA,WAAA,CACA,aAAA,CACA,uBAAA,CACA,6EAAA,CAAA,qDAAA,CAAA,8CAA+E,CCtCjF,uBACE,qBAAA,CACA,eAAA,CACA,UAAA,CACA,iBAAA,CACA,sBAAiB,CAGnB,uBACE,uBAAA,CACA,wBAAA,CACA,iBAAkB,CAHpB,sCAMI,UAAA,CACA,SAAA,CACA,iBAAA,CACA,yBAAA,CACA,yBAAA,CACA,uBAAA,CACA,2BAA4B,CAZhC,sCAgBI,gBAAA,CACA,oBAAc,CAjBlB,uCAqBI,qBAAA,CACA,oBAAA,CACA,eAAA,CACA,UAAA,CACA,aAAc,CAzBlB,sCA6BI,QAAA,CACA,eAAA,CACA,UAAA,CACA,eAAiB,CAIrB,uBACE,YAAA,CACA,cAAA,CACA,+BAAmB,CAHrB,sCAMI,iBAAA,CACA,8BAAA,CACA,cAAe,CARnB,uCAYI,aAAA,CACA,WAAA,CACA,wBAAA,CACA,iBAAA,CACA,yBAAA,CACA,uBAAA,CACA,2BAA4B,CAlBhC,2CAsBI,8FAAA,CACA,oBAAqB,CAvBzB,sCA2BI,gBAAA,CACA,eAAA,CACA,aAAA,CACA,iBAAA,CACA,sBAAiB","file":"50.a478ada4.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.college-banner {\n height: 100px;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/college-banner.png\");\n background-size: cover; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.college-header {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 34px; }\n\n.college-header__icon {\n width: 44px;\n height: 8px;\n background-size: cover; }\n .college-header__icon[data-direction=\"left\"] {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/icon-left.png\");\n background-position: right; }\n .college-header__icon[data-direction=\"right\"] {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/icon-right.png\");\n background-position: left; }\n\n.college-header__text {\n margin: 0;\n padding: 0 10px;\n font-size: 14px;\n font-weight: 500;\n color: #525C65;\n line-height: 1; }\n\n.college-header__decorate {\n display: block;\n width: 39px;\n height: 3px;\n margin: 0 auto;\n border-radius: 2px;\n background: linear-gradient(90deg, #0099ff 0%, #3775ef 100%); }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.college-page__contact {\n margin: 5px 0 0;\n font-size: 12px;\n color: #0099FF;\n text-align: center;\n line-height: 22px; }\n\n.college-page__section {\n margin: 0 15px 10px;\n border: 1px solid #ECECEC;\n border-radius: 1px; }\n .college-page__section .section__icon {\n float: left;\n width: 30px;\n height: 34px;\n margin: 13px 0 0 15px;\n background-size: 100% auto;\n background-position: center;\n background-repeat: no-repeat; }\n .college-page__section .section__body {\n margin-left: 60px;\n padding: 8px 0; }\n .college-page__section .section__title {\n margin: 0 0 4px;\n font-size: 14px;\n font-weight: 400;\n color: #0099FF;\n line-height: 1; }\n .college-page__section .section__desc {\n margin: 0;\n font-size: 12px;\n color: #333;\n line-height: 15px; }\n\n.college-page__college {\n display: flex;\n flex-wrap: wrap;\n padding: 4px 10px 0; }\n .college-page__college .college__item {\n width: 166px;\n margin: 0 5px 10px;\n cursor: pointer; }\n .college-page__college .college__iamge {\n display: block;\n height: 60px;\n border: 1px solid #ECECEC;\n border-radius: 1px;\n background-size: auto 100%;\n background-position: center;\n background-repeat: no-repeat; }\n .college-page__college .college__iamge-add {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/donghua.png\");\n background-size: 100%; }\n .college-page__college .college__name {\n margin: 6px 0 0;\n font-size: 12px;\n color: #525C65;\n text-align: center;\n line-height: 16px; }\n"]}
\ No newline at end of file
{"version":3,"sources":["/Users/xzh/dnmp/www/mr-julyedu/src/components/college/banner.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/college/header.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/college/index.scss"],"names":[],"mappings":"AAmGA,gBACE,kBAAA,CACA,qGAAA,CACA,qBAAsB,CCHxB,gBACE,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,iBAAY,CAGd,sBACE,iBAAA,CACA,iBAAA,CACA,qBAAsB,CAHxB,2CAMI,gGAAA,CACA,wBAA0B,CAP9B,4CAWI,iGAAA,CACA,qBAAyB,CAI7B,sBACE,QAAA,CACA,oBAAA,CACA,oBAAA,CACA,eAAA,CACA,aAAA,CACA,aAAc,CAGhB,0BACE,aAAA,CACA,YAAA,CACA,WAAA,CACA,aAAA,CACA,uBAAA,CACA,6EAAA,CAAA,qDAAA,CAAA,8CAA+E,CCtCjF,uBACE,qBAAA,CACA,eAAA,CACA,UAAA,CACA,iBAAA,CACA,sBAAiB,CAGnB,uBACE,uBAAA,CACA,wBAAA,CACA,iBAAkB,CAHpB,sCAMI,UAAA,CACA,SAAA,CACA,iBAAA,CACA,yBAAA,CACA,yBAAA,CACA,uBAAA,CACA,2BAA4B,CAZhC,sCAgBI,gBAAA,CACA,oBAAc,CAjBlB,uCAqBI,qBAAA,CACA,oBAAA,CACA,eAAA,CACA,UAAA,CACA,aAAc,CAzBlB,sCA6BI,QAAA,CACA,eAAA,CACA,UAAA,CACA,eAAiB,CAIrB,uBACE,YAAA,CACA,cAAA,CACA,+BAAmB,CAHrB,sCAMI,iBAAA,CACA,8BAAA,CACA,cAAe,CARnB,4DAaQ,iBAAqB,CAb7B,2DAiBQ,UAAc,CAjBtB,uCAuBI,aAAA,CACA,WAAA,CACA,wBAAA,CACA,iBAAA,CACA,yBAAA,CACA,uBAAA,CACA,2BAA4B,CA7BhC,sCAiCI,gBAAA,CACA,eAAA,CACA,aAAA,CACA,iBAAA,CACA,sBAAiB","file":"50.c6a23bc6.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.college-banner {\n height: 100px;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/college-banner.png\");\n background-size: cover; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.college-header {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 34px; }\n\n.college-header__icon {\n width: 44px;\n height: 8px;\n background-size: cover; }\n .college-header__icon[data-direction=\"left\"] {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/icon-left.png\");\n background-position: right; }\n .college-header__icon[data-direction=\"right\"] {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/icon-right.png\");\n background-position: left; }\n\n.college-header__text {\n margin: 0;\n padding: 0 10px;\n font-size: 14px;\n font-weight: 500;\n color: #525C65;\n line-height: 1; }\n\n.college-header__decorate {\n display: block;\n width: 39px;\n height: 3px;\n margin: 0 auto;\n border-radius: 2px;\n background: linear-gradient(90deg, #0099ff 0%, #3775ef 100%); }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.college-page__contact {\n margin: 5px 0 0;\n font-size: 12px;\n color: #0099FF;\n text-align: center;\n line-height: 22px; }\n\n.college-page__section {\n margin: 0 15px 10px;\n border: 1px solid #ECECEC;\n border-radius: 1px; }\n .college-page__section .section__icon {\n float: left;\n width: 30px;\n height: 34px;\n margin: 13px 0 0 15px;\n background-size: 100% auto;\n background-position: center;\n background-repeat: no-repeat; }\n .college-page__section .section__body {\n margin-left: 60px;\n padding: 8px 0; }\n .college-page__section .section__title {\n margin: 0 0 4px;\n font-size: 14px;\n font-weight: 400;\n color: #0099FF;\n line-height: 1; }\n .college-page__section .section__desc {\n margin: 0;\n font-size: 12px;\n color: #333;\n line-height: 15px; }\n\n.college-page__college {\n display: flex;\n flex-wrap: wrap;\n padding: 4px 10px 0; }\n .college-page__college .college__item {\n width: 166px;\n margin: 0 5px 10px;\n cursor: pointer; }\n .college-page__college .college__item:hover .college__iamge {\n border-color: #0099FF; }\n .college-page__college .college__item:hover .college__name {\n color: #0099ff; }\n .college-page__college .college__iamge {\n display: block;\n height: 60px;\n border: 1px solid #ECECEC;\n border-radius: 1px;\n background-size: auto 100%;\n background-position: center;\n background-repeat: no-repeat; }\n .college-page__college .college__name {\n margin: 6px 0 0;\n font-size: 12px;\n color: #525C65;\n text-align: center;\n line-height: 16px; }\n"]}
\ 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_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__","this","_Users_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__","_Users_xzh_dnmp_www_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","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","name","logo","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,KAwBRQ,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,WAAYH,OA9BDf,EAoCnBmB,gBAAkB,SAACC,GACGpB,EAAKD,MAAjBsB,QACAC,KAAR,YAAAZ,OAAyBU,KApCzBpB,EAAKuB,MAAQ,CACXC,YAAa,CACX,CACEC,MAAO,2BACPC,KAAM,mLACNC,KAAM,2EAER,CACEF,MAAO,4BACPC,KAAM,6NACNC,KAAM,6EAGVT,WAAY,IAfGlB,mFAoBjBG,KAAKI,kBAELqB,SAASH,MAAT,wLAmBO,IAAAI,EAAA1B,KAAA2B,EACuC3B,KAAKoB,MAD5CQ,EAAAD,EACCN,mBADD,IAAAO,EACe,GADfA,EAAAC,EAAAF,EACmBZ,kBADnB,IAAAc,EACgC,GADhCA,EAEP,OACEC,EAAAC,EAAAC,cAAAF,EAAAC,EAAAE,SAAA,KACEH,EAAAC,EAAAC,cAACE,EAAA,EAAD,CAAWZ,MAAO,2BAAQa,OAAO,IACjCL,EAAAC,EAAAC,cAACI,EAAA,EAAD,MACAN,EAAAC,EAAAC,cAAA,OAAKK,UAAU,yBACfP,EAAAC,EAAAC,cAACM,EAAA,EAAD,CACEC,YAAa,CACXC,UAAW,QAEblB,MAAM,qGAERQ,EAAAC,EAAAC,cAAA,KAAGK,UAAU,yBAAb,+FAEEhB,EAAYoB,IAAI,SAAAC,EAAsBC,GAAtB,IAAErB,EAAFoB,EAAEpB,MAAOC,EAATmB,EAASnB,KAAMC,EAAfkB,EAAelB,KAAf,OACdM,EAAAC,EAAAC,cAAA,OAAKK,UAAU,wBAAwBO,IAAKD,GAC1Cb,EAAAC,EAAAC,cAAA,KAAGK,UAAU,gBAAgBQ,MAAO,CAACC,gBAAA,OAAAvC,OAA0BiB,EAA1B,QACrCM,EAAAC,EAAAC,cAAA,OAAKK,UAAU,iBACbP,EAAAC,EAAAC,cAAA,MAAIK,UAAU,kBAAkBf,GAChCQ,EAAAC,EAAAC,cAAA,KAAGK,UAAU,iBAAiBd,OAKtCO,EAAAC,EAAAC,cAACM,EAAA,EAAD,CACEC,YAAa,CACXC,UAAW,QAEbO,YAAY,EACZzB,MAAM,6BAERQ,EAAAC,EAAAC,cAAA,OAAKK,UAAU,yBAEXtB,EAAW0B,IAAI,SAAAO,GAAA,IAAE/B,EAAF+B,EAAE/B,GAAIgC,EAAND,EAAMC,KAAMC,EAAZF,EAAYE,KAAZ,OACbpB,EAAAC,EAAAC,cAAA,OACEK,UAAU,gBACVc,QAAS,kBAAMzB,EAAKV,gBAAgBC,IACpC2B,IAAK3B,GAELa,EAAAC,EAAAC,cAAA,KAAGK,UAAU,iBAAiBQ,MAAO,CAACC,gBAAA,OAAAvC,OAA0B2C,EAA1B,QACtCpB,EAAAC,EAAAC,cAAA,KAAGK,UAAU,iBAAiBY,eAnFpBG,cA6FXzD,8CCpGf,IAAA0D,EAAAC,EAAA,GAAAC,EAAAD,EAAAE,EAAAH,GAAAC,EAAA,KAGeG,EAAA,WAAC7D,GACUA,EAAhB8D,OAUR,OACEH,EAAAxB,EAAAC,cAAA,OAAKK,UAAU,4ECfnB,IAAAgB,EAAAC,EAAA,GAAAC,EAAAD,EAAAE,EAAAH,GAAAC,EAAA,KAGeG,EAAA,WAAC7D,GAAU,IAChB0B,EAA+C1B,EAA/C0B,MADgBqC,EAC+B/D,EAAxCmD,kBADS,IAAAY,KAAAC,EAC+BhE,EAArB2C,mBADV,IAAAqB,EACwB,GADxBA,EAExB,OACEL,EAAAxB,EAAAC,cAAAuB,EAAAxB,EAAAE,SAAA,KACEsB,EAAAxB,EAAAC,cAAA,OAAKK,UAAU,iBAAiBQ,MAAON,GACrCgB,EAAAxB,EAAAC,cAAA,KAAGK,UAAU,uBAAuBwB,iBAAe,SACnDN,EAAAxB,EAAAC,cAAA,MAAIK,UAAU,wBAAwBf,GACtCiC,EAAAxB,EAAAC,cAAA,KAAGK,UAAU,uBAAuBwB,iBAAe,WAGnDd,GACAQ,EAAAxB,EAAAC,cAAA,KAAGK,UAAU","file":"mrstatic/js/50.9edc80e9.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 }\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 history.push(`/college/${id}`);\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 />\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 />\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 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(){m.d.get("".concat(API.home,"/sys/school/list")).then(function(e){var t=e.data,c=t.code,n=t.data;200===c&&a.setState({schoolList:n})})},a.toCollegeCourse=function(e){a.props.history.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:[]},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\uff0c\u5728\u7ebf\u4e0d\u505c\u8bfe"}),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\u5b66\u9662"}),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.9edc80e9.chunk.js.map
\ 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),_=(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(){m.d.get("".concat(API.home,"/sys/school/list")).then(function(e){var t=e.data,c=t.code,n=t.data;200===c&&a.setState({schoolList:n})})},a.toCollegeCourse=function(e){a.props.history.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:[]},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\uff0c\u5728\u7ebf\u4e0d\u505c\u8bfe"}),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\u5b66\u9662"}),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))}),r.a.createElement("div",{className:"college__item"},r.a.createElement("i",{className:"college__iamge college__iamge-add"}),r.a.createElement("p",{className:"college__name"},"\u4e1c\u534e\u7406\u5de5\u5927\u5b66\u8f6f\u4ef6\u5b66\u9662"))))}}]),t}(i.Component));t.default=_},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.fb1031a3.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_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__","this","_Users_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__","_Users_xzh_dnmp_www_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","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","name","logo","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":"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","file":"mrstatic/js/50.fb1031a3.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 }\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 history.push(`/college/${id}`);\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 />\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 />\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\n <div\n className=\"college__item\"\n >\n <i className=\"college__iamge college__iamge-add\"></i>\n <p className=\"college__name\">东华理工大学软件学院</p>\n </div>\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
......@@ -20,16 +20,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/2.838bc49d.chunk.js"
},
{
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
},
{
"revision": "58e47e27912b7dd779ff",
"url": "/mrstatic/js/3.5f9d2227.chunk.js"
},
{
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
{
"revision": "59dd819ca1691bce6689",
......@@ -84,8 +84,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/Examination.4ea50871.chunk.js"
},
{
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
},
{
"revision": "830c9d51e55db925b379",
......@@ -96,8 +96,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/MyEdit.00710232.chunk.js"
},
{
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
},
{
"revision": "70a0248cade1e5b281f1",
......@@ -172,8 +172,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/blessing-preheat.edede14d.chunk.js"
},
{
"revision": "f8635c39d0ec104f8b82",
"url": "/mrstatic/js/50.9edc80e9.chunk.js"
"revision": "fca75b14254f894fcb12",
"url": "/mrstatic/js/50.fb1031a3.chunk.js"
},
{
"revision": "93d51b17d79f7169c9c8",
......@@ -268,8 +268,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/python-class.337bdc42.chunk.js"
},
{
"revision": "f5f6f8ad959878cffa8a",
"url": "/mrstatic/js/runtime~main.a167b112.js"
"revision": "3002f2132a541aa1e1d2",
"url": "/mrstatic/js/runtime~main.21ab82de.js"
},
{
"revision": "61bc5d909688f4b896cc",
......@@ -376,8 +376,8 @@ self.__precacheManifest = [
"url": "/mrstatic/css/coupons.466858c7.chunk.css"
},
{
"revision": "f8635c39d0ec104f8b82",
"url": "/mrstatic/css/50.c6a23bc6.chunk.css"
"revision": "fca75b14254f894fcb12",
"url": "/mrstatic/css/50.a478ada4.chunk.css"
},
{
"revision": "93d51b17d79f7169c9c8",
......@@ -488,7 +488,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/1.037b510f.chunk.css"
},
{
"revision": "f2e4842d29ffcc9473019f5430839dc4",
"revision": "40d4fda95863a3bda8905494f6798303",
"url": "/index.html"
}
];
\ No newline at end of file
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
"/precache-manifest.4bfae368608ba05b4044d911e52eb37f.js"
"/precache-manifest.227fd201dd5571f79b0c1d9418bb9832.js"
);
workbox.clientsClaim();
......
......@@ -93,6 +93,13 @@ class CollegePage extends Component {
</div>
))
}
<div
className="college__item"
>
<i className="college__iamge college__iamge-add"></i>
<p className="college__name">东华理工大学软件学院</p>
</div>
</div>
</>
)
......
......@@ -51,17 +51,6 @@
width: 166px;
margin: 0 5px 10px;
cursor: pointer;
&:hover {
.college__iamge {
border-color: #0099FF;
}
.college__name {
color: #0099ff;
}
}
}
.college__iamge {
......@@ -74,6 +63,11 @@
background-repeat: no-repeat;
}
.college__iamge-add {
background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/donghua.png');
background-size: 100%;
}
.college__name {
margin: 6px 0 0;;
font-size: 12px;
......
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