Auto Submit

dev_local_v9_test1
autosubmit 1 year ago
parent a2f224e5ef
commit 18404bc4f9

@ -12,7 +12,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
<meta http-equiv="Cache-Control" content="no-transform">
<title>头歌实践教学平台</title>
<link rel="stylesheet" href="/react/build/umi.7eb4dfb7.css">
<link rel="stylesheet" href="/react/build/umi.faf33386.css">
<script src="/react/build/js/polyfill.min.js"></script>
</head>
<body>
@ -27,7 +27,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.ed847b92.js"></script>
<script src="/react/build/umi.d33ab520.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -915,6 +915,9 @@ var zh_CN = __webpack_require__(81863);
var _umi_production_exports = __webpack_require__(3125);
// EXTERNAL MODULE: ./src/components/Header/index.tsx + 13 modules
var Header = __webpack_require__(93454);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js
var toConsumableArray = __webpack_require__(37205);
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(7557);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
@ -967,6 +970,7 @@ var jsx_runtime = __webpack_require__(37712);
var _excluded = ["user", "account", "globalSetting", "loading", "dispatch"];
@ -990,46 +994,49 @@ var _excluded = ["user", "account", "globalSetting", "loading", "dispatch"];
var AccountPage = function AccountPage(_ref) {
var _recommendData$, _recommendData$2, _recommendData$3, _recommendData$4, _recommendData$5, _recommendData$slice;
var _recommendData$2, _recommendData$3, _recommendData$4, _recommendData$5, _recommendData$6, _recommendData$slice;
var user = _ref.user,
account = _ref.account,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
dispatch = _ref.dispatch,
props = objectWithoutProperties_default()(_ref, _excluded);
var statisticData = [{
icon: 'iconfont icon-zaixianrenshu1',
count: 83145,
title: '累计学习人数(人)'
}, {
icon: 'iconfont icon-zaixianrenshu1',
count: 6612,
title: '在线人数(人)'
}, {
icon: 'iconfont icon-pingcecishu',
count: 17117,
title: '评测次数(次)'
}, {
icon: 'iconfont icon-xianshangkaoshi',
count: 6,
title: '线上考试(场)'
}, {
icon: 'iconfont icon-shiyanhuanjing1',
count: 32,
title: '实验环境(种)'
}, {
icon: 'iconfont icon-shijiankechengfabu',
count: 16,
title: '实践课程(门)'
}, {
icon: 'iconfont icon-shijiankechengfabu',
count: 8,
title: '实践项目(个)'
}, {
icon: 'iconfont icon-shijiankechengfabu',
count: 107,
title: '试题库题(道)'
}];
var _useState = (0,_react_17_0_2_react.useState)([{
icon: 'iconfont icon-leijixuexirenshu1',
count: 83145,
title: '累计学习人数(人)'
}, {
icon: 'iconfont icon-zaixianrenshu2',
count: 6612,
title: '在线人数(人)'
}, {
icon: 'iconfont icon-pingcecishu1',
count: 17117,
title: '评测次数(次)'
}, {
icon: 'iconfont icon-xianshangkaoshi1',
count: 6,
title: '线上考试(场)'
}, {
icon: 'iconfont icon-shiyanhuanjing',
count: 32,
title: '实验环境(种)'
}, {
icon: 'iconfont icon-shijiankecheng1',
count: 16,
title: '实践课程(门)'
}, {
icon: 'iconfont icon-shijianxiangmu2',
count: 8,
title: '实践项目(个)'
}, {
icon: 'iconfont icon-shititiku',
count: 107,
title: '试题库题(道)'
}]),
_useState2 = slicedToArray_default()(_useState, 2),
statisticData = _useState2[0],
setStatisticData = _useState2[1];
var laborList = [{
id: 0,
title: "实验室管理",
@ -1055,30 +1062,26 @@ var AccountPage = function AccountPage(_ref) {
img: jiaoxueketang_namespaceObject,
link: '/classrooms'
}];
var _useState = (0,_react_17_0_2_react.useState)(0),
_useState2 = slicedToArray_default()(_useState, 2),
activeLaborId = _useState2[0],
setActiveLaborId = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)([]),
var _useState3 = (0,_react_17_0_2_react.useState)(0),
_useState4 = slicedToArray_default()(_useState3, 2),
radioList = _useState4[0],
setRadioList = _useState4[1];
activeLaborId = _useState4[0],
setActiveLaborId = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)([]),
_useState6 = slicedToArray_default()(_useState5, 2),
recommendData = _useState6[0],
setRecommendData = _useState6[1];
radioList = _useState6[0],
setRadioList = _useState6[1];
var _useState7 = (0,_react_17_0_2_react.useState)([]),
_useState8 = slicedToArray_default()(_useState7, 2),
recommendShixun = _useState8[0],
setRecommendShixun = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)(false),
recommendData = _useState8[0],
setRecommendData = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)([]),
_useState10 = slicedToArray_default()(_useState9, 2),
pageLoading = _useState10[0],
setPageLoading = _useState10[1];
var _useState11 = (0,_react_17_0_2_react.useState)({}),
recommendShixun = _useState10[0],
setRecommendShixun = _useState10[1];
var _useState11 = (0,_react_17_0_2_react.useState)(false),
_useState12 = slicedToArray_default()(_useState11, 2),
statisTicCount = _useState12[0],
setStatisTicCount = _useState12[1];
pageLoading = _useState12[0],
setPageLoading = _useState12[1];
var getBRoadData = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
@ -1109,6 +1112,7 @@ var AccountPage = function AccountPage(_ref) {
}();
var getCourseData = /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var _res$index_statistics, _res$index_statistics2, _res$index_statistics3, _res$index_statistics4, _res$index_statistics5, _res$index_statistics6, _res$index_statistics7, _res$index_statistics8;
var res;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
@ -1119,7 +1123,16 @@ var AccountPage = function AccountPage(_ref) {
res = _context2.sent;
setRecommendData((res === null || res === void 0 ? void 0 : res.recommend_subjects) || []);
setRecommendShixun((res === null || res === void 0 ? void 0 : res.recommend_shixuns) || []);
case 5:
statisticData[0].count = res === null || res === void 0 || (_res$index_statistics = res.index_statistics) === null || _res$index_statistics === void 0 ? void 0 : _res$index_statistics.total_user_count;
statisticData[1].count = res === null || res === void 0 || (_res$index_statistics2 = res.index_statistics) === null || _res$index_statistics2 === void 0 ? void 0 : _res$index_statistics2.user_online_count;
statisticData[2].count = res === null || res === void 0 || (_res$index_statistics3 = res.index_statistics) === null || _res$index_statistics3 === void 0 ? void 0 : _res$index_statistics3.evaluate_count;
statisticData[3].count = res === null || res === void 0 || (_res$index_statistics4 = res.index_statistics) === null || _res$index_statistics4 === void 0 ? void 0 : _res$index_statistics4.exercise_count;
statisticData[4].count = res === null || res === void 0 || (_res$index_statistics5 = res.index_statistics) === null || _res$index_statistics5 === void 0 ? void 0 : _res$index_statistics5.repository_count;
statisticData[5].count = res === null || res === void 0 || (_res$index_statistics6 = res.index_statistics) === null || _res$index_statistics6 === void 0 ? void 0 : _res$index_statistics6.subject_count;
statisticData[6].count = res === null || res === void 0 || (_res$index_statistics7 = res.index_statistics) === null || _res$index_statistics7 === void 0 ? void 0 : _res$index_statistics7.shixun_count;
statisticData[7].count = res === null || res === void 0 || (_res$index_statistics8 = res.index_statistics) === null || _res$index_statistics8 === void 0 ? void 0 : _res$index_statistics8.question_count;
setStatisticData(toConsumableArray_default()(statisticData));
case 14:
case "end":
return _context2.stop();
}
@ -1208,6 +1221,9 @@ var AccountPage = function AccountPage(_ref) {
src: junduibaowei_namespaceObject,
height: 100
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: function onClick() {
_umi_production_exports.history.push('/paths?order=hot');
},
children: ["\u67E5\u770B\u66F4\u591A", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-jiantou3"
})]
@ -1215,18 +1231,22 @@ var AccountPage = function AccountPage(_ref) {
}), !!(recommendData !== null && recommendData !== void 0 && recommendData.length) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: HomeVer2modules.firstCourseWrap,
onClick: function onClick() {
var _recommendData$;
_umi_production_exports.history.push("/paths/".concat(recommendData === null || recommendData === void 0 || (_recommendData$ = recommendData[0]) === null || _recommendData$ === void 0 ? void 0 : _recommendData$.identifier));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: HomeVer2modules.firstCourseImg,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: HomeVer2modules.cover,
src: "".concat(env/* default */.Z.IMG_SERVER, "/").concat(recommendData === null || recommendData === void 0 || (_recommendData$ = recommendData[0]) === null || _recommendData$ === void 0 ? void 0 : _recommendData$.image_url) || "".concat(env/* default */.Z.IMG_SERVER, "/").concat(recommendData === null || recommendData === void 0 || (_recommendData$2 = recommendData[0]) === null || _recommendData$2 === void 0 ? void 0 : _recommendData$2.pic)
src: "".concat(env/* default */.Z.IMG_SERVER, "/").concat(recommendData === null || recommendData === void 0 || (_recommendData$2 = recommendData[0]) === null || _recommendData$2 === void 0 ? void 0 : _recommendData$2.image_url) || "".concat(env/* default */.Z.IMG_SERVER, "/").concat(recommendData === null || recommendData === void 0 || (_recommendData$3 = recommendData[0]) === null || _recommendData$3 === void 0 ? void 0 : _recommendData$3.pic)
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: HomeVer2modules.firstCourseStage,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: HomeVer2modules.firststageName,
children: recommendData === null || recommendData === void 0 || (_recommendData$3 = recommendData[0]) === null || _recommendData$3 === void 0 ? void 0 : _recommendData$3.name
children: recommendData === null || recommendData === void 0 || (_recommendData$4 = recommendData[0]) === null || _recommendData$4 === void 0 ? void 0 : _recommendData$4.name
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: HomeVer2modules.firstStageCount,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
@ -1234,18 +1254,23 @@ var AccountPage = function AccountPage(_ref) {
children: "\u7AE0\u8282\u6570"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "ml10",
children: recommendData === null || recommendData === void 0 || (_recommendData$4 = recommendData[0]) === null || _recommendData$4 === void 0 ? void 0 : _recommendData$4.stages_count
children: recommendData === null || recommendData === void 0 || (_recommendData$5 = recommendData[0]) === null || _recommendData$5 === void 0 ? void 0 : _recommendData$5.stages_count
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u5B66\u4E60\u4EBA\u6570"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "ml10",
children: recommendData === null || recommendData === void 0 || (_recommendData$5 = recommendData[0]) === null || _recommendData$5 === void 0 ? void 0 : _recommendData$5.members_count
children: recommendData === null || recommendData === void 0 || (_recommendData$6 = recommendData[0]) === null || _recommendData$6 === void 0 ? void 0 : _recommendData$6.members_count
})]
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
onClick: function onClick() {
var _recommendData$7;
_umi_production_exports.history.push("/paths/".concat(recommendData === null || recommendData === void 0 || (_recommendData$7 = recommendData[0]) === null || _recommendData$7 === void 0 ? void 0 : _recommendData$7.identifier));
},
className: "current",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
marginRight: '8px',
@ -1263,6 +1288,9 @@ var AccountPage = function AccountPage(_ref) {
children: recommendData === null || recommendData === void 0 || (_recommendData$slice = recommendData.slice(1, 4)) === null || _recommendData$slice === void 0 ? void 0 : _recommendData$slice.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: HomeVer2modules.subCourseItem,
onClick: function onClick() {
_umi_production_exports.history.push("/paths/".concat(item === null || item === void 0 ? void 0 : item.identifier));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: HomeVer2modules.imgSty,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
@ -1307,6 +1335,9 @@ var AccountPage = function AccountPage(_ref) {
src: guangbo_namespaceObject,
height: 100
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: function onClick() {
_umi_production_exports.history.push('/broadcast');
},
children: ["\u67E5\u770B\u66F4\u591A", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-jiantou3"
})]
@ -1315,6 +1346,9 @@ var AccountPage = function AccountPage(_ref) {
children: radioList.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: HomeVer2modules.RadioItem,
onClick: function onClick() {
_umi_production_exports.history.push("/broadcast/".concat(item === null || item === void 0 ? void 0 : item.id, "/detail?tabId=public"));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: HomeVer2modules.dateWrap,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@ -1327,7 +1361,7 @@ var AccountPage = function AccountPage(_ref) {
title: item === null || item === void 0 ? void 0 : item.name,
children: item === null || item === void 0 ? void 0 : item.name
})]
});
}, index);
})
}), !(radioList !== null && radioList !== void 0 && radioList.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {})]
})]
@ -1395,6 +1429,9 @@ var AccountPage = function AccountPage(_ref) {
src: shijianxiangmu_namespaceObject,
height: 100
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: function onClick() {
_umi_production_exports.history.push('/shixuns?order=hot');
},
children: ["\u67E5\u770B\u66F4\u591A", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-jiantou3"
})]

@ -567,7 +567,7 @@
.wrap___yuwoQ .homeBannerSty___piZIh {
width: 100%;
height: 360px;
background-image: url(./static/homeBanner.3d43a63e.png);
background-image: url(./static/homeBanner.f323afd7.png);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
@ -595,7 +595,7 @@
border-image: linear-gradient(90deg, rgba(255, 255, 255, 0.3), #ffffff) 1 1;
text-align: center;
color: #fff;
font-size: 20px;
border: 1px solid;
}
.wrap___yuwoQ .statisticWrap___e4kGC .statisticContent____TDBB .numWrap___E4xZy {
height: 36px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.7 MiB

File diff suppressed because one or more lines are too long

@ -292,10 +292,10 @@ mark {
\**************************************************************************************************************************************************************************************************************************************************************************************/
@font-face {
font-family: "iconfont"; /* Project id 653600 */
src: url(./static/iconfont.63a76245.woff2) format('woff2'),
url(./static/iconfont.e2aab0b3.woff) format('woff'),
url(./static/iconfont.def257d0.ttf) format('truetype'),
url(./static/iconfont.f23ba376.svg#iconfont) format('svg');
src: url(./static/iconfont.6e2f8ec0.woff2) format('woff2'),
url(./static/iconfont.2176a9d7.woff) format('woff'),
url(./static/iconfont.9e530280.ttf) format('truetype'),
url(./static/iconfont.bc585d9e.svg#iconfont) format('svg');
}
.iconfont {
@ -306,6 +306,282 @@ mark {
-moz-osx-font-smoothing: grayscale;
}
.icon-xianshangkaoshi1:before {
content: "\ed24";
}
.icon-shititiku:before {
content: "\ed25";
}
.icon-zaixianrenshu2:before {
content: "\ed1f";
}
.icon-leijixuexirenshu1:before {
content: "\ed20";
}
.icon-shiyanhuanjing2:before {
content: "\ed21";
}
.icon-pingcecishu1:before {
content: "\ed22";
}
.icon-shijiankecheng1:before {
content: "\ed23";
}
.icon-shijianxiangmu2:before {
content: "\ed1e";
}
.icon-kechengjieshao2:before {
content: "\ed1d";
}
.icon-xiaoxipinglun:before {
content: "\ed1c";
}
.icon-PageRank:before {
content: "\ed1b";
}
.icon-tuijian2:before {
content: "\ed1a";
}
.icon-paikeyuyue:before {
content: "\ed19";
}
.icon-zhongzhi4:before {
content: "\ed18";
}
.icon-chakanmulu:before {
content: "\ed13";
}
.icon-quanping6:before {
content: "\ed14";
}
.icon-shuaxin4:before {
content: "\ed15";
}
.icon-gongjuxiang:before {
content: "\ed16";
}
.icon-ziyuanjiankong:before {
content: "\ed17";
}
.icon-shezhi9:before {
content: "\ed12";
}
.icon-juyifansan:before {
content: "\ed11";
}
.icon-ziyuanshibie:before {
content: "\ed0d";
}
.icon-kechengneirongziyuan:before {
content: "\ed0e";
}
.icon-wancheng3:before {
content: "\ed0f";
}
.icon-kechengjibenxinxi:before {
content: "\ed10";
}
.icon-yuedu:before {
content: "\ed0c";
}
.icon-shanchu19:before {
content: "\ed0b";
}
.icon-shuatilianxi1:before {
content: "\ed08";
}
.icon-shuatitongji:before {
content: "\ed09";
}
.icon-bianji15:before {
content: "\ed0a";
}
.icon-shangchuantingkeshuju:before {
content: "\ed06";
}
.icon-tijiaotingkebaogao:before {
content: "\ed07";
}
.icon-tingkebaogaoshezhi:before {
content: "\ed05";
}
.icon-zhankai10:before {
content: "\ed03";
}
.icon-shouqi9:before {
content: "\ed04";
}
.icon-zhankai9:before {
content: "\ed01";
}
.icon-shouqi8:before {
content: "\ed02";
}
.icon-huifuchushihuashezhi:before {
content: "\ed00";
}
.icon-shuatilianxi:before {
content: "\ecfe";
}
.icon-xianshiyincang:before {
content: "\ecfd";
}
.icon-a-zhishitupu1:before {
content: "\ecfc";
}
.icon-xuexilujing2:before {
content: "\ecfb";
}
.icon-jibenxinxi2:before {
content: "\ecf8";
}
.icon-timushezhi:before {
content: "\ecf9";
}
.icon-zuoyeshezhi:before {
content: "\ecfa";
}
.icon-zhankai8:before {
content: "\ecff";
}
.icon-bianchengyuyan1:before {
content: "\ecf7";
}
.icon-tiezi:before {
content: "\ecf6";
}
.icon-shuiyinshezhi:before {
content: "\ecf5";
}
.icon-xuexirenshu4:before {
content: "\ecf4";
}
.icon-zhangjieshu:before {
content: "\ecf3";
}
.icon-tongguo1:before {
content: "\ecf1";
}
.icon-jujue:before {
content: "\ecf2";
}
.icon-kechengtongji:before {
content: "\ecf0";
}
.icon-xuexiaogeshu:before {
content: "\ecef";
}
.icon-piliangpingyue:before {
content: "\ecee";
}
.icon-genghuan1:before {
content: "\ecec";
}
.icon-charuhudongceyan:before {
content: "\eced";
}
.icon-cai:before {
content: "\eceb";
}
.icon-wendaji:before {
content: "\ecea";
}
.icon-dafenxiaojianpan:before {
content: "\ece7";
}
.icon-shanchu18:before {
content: "\ece8";
}
.icon-kuaijiepingfen:before {
content: "\ece9";
}
.icon-yulan3:before {
content: "\ece6";
}
.icon-jizhongyuejuan:before {
content: "\ece5";
}
.icon-chakankaoshi:before {
content: "\ece2";
}
.icon-qiandao2:before {
content: "\ece3";
}
.icon-a-kaishijixudajuan:before {
content: "\ece4";
}
.icon-jixukaoshi:before {
content: "\ece1";
}
.icon-zhuanjialiebiao:before {
content: "\ecd3";
}
Loading…
Cancel
Save