autoUpdataFile

dev_local_v9_hjjxinchuang
eduauto 12 months ago
parent d85149a5aa
commit 0cd6a76760

@ -26,7 +26,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.7a9fe28d.js"></script>
<script src="/react/build/umi.59fb5577.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -118,10 +118,6 @@ var Page = function Page(_ref2) {
_useState4 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2___default()(_useState3, 2),
activeKey = _useState4[0],
setActiveKey = _useState4[1];
var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)([]),
_useState6 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2___default()(_useState5, 2),
selectKey = _useState6[0],
setSelectKey = _useState6[1];
var NavBarList = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(function () {
var _globalSetting$settin, _location$pathname;
var isHidden = function isHidden(data) {
@ -177,6 +173,10 @@ var Page = function Page(_ref2) {
}
};
(0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {
if (!(0,_utils_authority__WEBPACK_IMPORTED_MODULE_9__/* .isLogin */ .bg)()) {
umi__WEBPACK_IMPORTED_MODULE_5__.history.push("/");
return;
}
dispatch({
type: "globalSetting/headerFooterToggle",
payload: false

@ -469,14 +469,16 @@ var Page = function Page(_ref2) {
overflow: "hidden"
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, {
className: "w-full h-full",
autoplay: true,
children: StatisticData === null || StatisticData === void 0 || (_StatisticData$data15 = StatisticData.data) === null || _StatisticData$data15 === void 0 ? void 0 : _StatisticData$data15.images_url.map(function (item, index) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
className: "w-full h-full",
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("img", {
src: "".concat(_utils_env__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z.IMG_SERVER).concat(item === null || item === void 0 ? void 0 : item.image_url),
style: {
width: "100%",
height: "100%"
height: "196px"
}
})
}, index);
@ -489,7 +491,7 @@ var Page = function Page(_ref2) {
children: "\u4F5C\u4E1A\u53D1\u5E03\u6570\u7EDF\u8BA1"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(echarts_for_react__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, {
style: {
height: "137rem"
height: "137px"
},
option: homeworkStatistics
})]
@ -686,7 +688,16 @@ var Page = function Page(_ref2) {
marginBottom: "0"
},
percent: (item === null || item === void 0 ? void 0 : item.percent) * 100,
strokeColor: item === null || item === void 0 ? void 0 : item.strokeColor
strokeColor: item === null || item === void 0 ? void 0 : item.strokeColor,
format: function format(percent) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("span", {
className: "text-16px-rem",
style: {
color: "#121C31"
},
children: [percent, "%"]
});
}
})]
}, index);
})

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save