|
|
|
|
@ -2092,12 +2092,12 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Jupytermodules.footer,
|
|
|
|
|
style: {
|
|
|
|
|
background: '#111c24'
|
|
|
|
|
},
|
|
|
|
|
children: jupyterData !== null && jupyterData !== void 0 && jupyterData.open_evaluate ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
}), jupyterData !== null && jupyterData !== void 0 && jupyterData.open_evaluate ? /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: Jupytermodules.footer,
|
|
|
|
|
style: {
|
|
|
|
|
background: '#111c24'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
children: [gamesData !== null && gamesData !== void 0 && gamesData.time_limit ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
children: "\u672C\u5173\u6700\u5927\u6267\u884C\u65F6\u95F4\uFF1A".concat(gamesData === null || gamesData === void 0 ? void 0 : gamesData.time_limit, "\u79D2")
|
|
|
|
|
@ -2124,8 +2124,14 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
|
|
|
|
|
type: "primary",
|
|
|
|
|
children: btnTime !== 0 ? "".concat(btnTime, "s") : '评测'
|
|
|
|
|
})]
|
|
|
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
|
|
|
|
|
children: searchParams.get("homework_common_id") && !(jupyterData !== null && jupyterData !== void 0 && jupyterData.homework_is_end) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
|
|
|
})
|
|
|
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
|
|
|
|
|
children: searchParams.get("homework_common_id") && !(jupyterData !== null && jupyterData !== void 0 && jupyterData.homework_is_end) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Jupytermodules.footer,
|
|
|
|
|
style: {
|
|
|
|
|
background: '#111c24'
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return submitWork();
|
|
|
|
|
},
|
|
|
|
|
|