Auto Submit

dev_local_v9_haijunshiguan_net
autosubmit 2 years ago
parent b130f0e1f4
commit 0764a0cb16

@ -1943,10 +1943,7 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -1493,10 +1493,7 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -834,10 +834,7 @@ input_Input.Password = input_Password;
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -589,10 +589,7 @@ Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z;
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -1445,6 +1445,42 @@ var User = function User(_ref) {
})) === null || _find3 === void 0 ? void 0 : _find3.hidden;
var isPaperlibraryShow = ((_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.admin) || ((_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.business) || ((_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : _user$userInfo3.is_shixun_marker) || ((_user$userInfo4 = user.userInfo) === null || _user$userInfo4 === void 0 ? void 0 : _user$userInfo4.is_teacher) || ((_user$userInfo5 = user.userInfo) === null || _user$userInfo5 === void 0 ? void 0 : _user$userInfo5.user_identity) !== '学生';
var isCollegeManageShow = (_user$userInfo6 = user.userInfo) === null || _user$userInfo6 === void 0 ? void 0 : _user$userInfo6.is_school_manage;
var handleLoginOut = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
(0,util/* clearAllCookies */.m5)();
_context.prev = 1;
_context.next = 4;
return (0,service_user/* LoginOut */.vR)({});
case 4:
res = _context.sent;
message/* default */.ZP.success(res === null || res === void 0 ? void 0 : res.message);
_context.next = 10;
break;
case 8:
_context.prev = 8;
_context.t0 = _context["catch"](1);
case 10:
localStorage.removeItem('isfirst');
localStorage.removeItem('SystemUpdateadvtime');
localStorage.removeItem('item');
localStorage.removeItem('iscreate');
// localStorage.removeItem('CCshow')
_umi_production_exports.history.replace('/');
window.location.reload();
case 16:
case "end":
return _context.stop();
}
}, _callee, null, [[1, 8]]);
}));
return function handleLoginOut() {
return _ref2.apply(this, arguments);
};
}();
var DropdownMenu = function DropdownMenu() {
if ((0,util/* checkIsClientExam */.Ll)()) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
@ -1558,37 +1594,7 @@ var User = function User(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
className: Usermodules.exit,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
(0,util/* clearAllCookies */.m5)();
_context.prev = 1;
_context.next = 4;
return (0,service_user/* LoginOut */.vR)({});
case 4:
res = _context.sent;
message/* default */.ZP.success(res === null || res === void 0 ? void 0 : res.message);
_context.next = 10;
break;
case 8:
_context.prev = 8;
_context.t0 = _context["catch"](1);
case 10:
localStorage.removeItem('isfirst');
localStorage.removeItem('SystemUpdateadvtime');
localStorage.removeItem('item');
localStorage.removeItem('iscreate');
// localStorage.removeItem('CCshow')
_umi_production_exports.history.replace('/');
window.location.reload();
case 16:
case "end":
return _context.stop();
}
}, _callee, null, [[1, 8]]);
})),
onClick: handleLoginOut,
children: "\u9000\u51FA"
})
})]
@ -1597,38 +1603,52 @@ var User = function User(_ref) {
};
if ((0,authority/* isLogin */.bg)()) {
var _user$userInfo19, _user$userInfo21;
return /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
className: "".concat(Usermodules.height67),
dropdownRender: DropdownMenu,
placement: "bottomRight",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: shixunHomeworks.actionTabs.type === 1 ? Usermodules.classromediv : '',
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: "".concat(Usermodules.userPic, " current ml15"),
src: "".concat(env/* default */.Z === null || env/* default */.Z === void 0 ? void 0 : env/* default */.Z.IMG_SERVER, "/images/").concat((_user$userInfo19 = user.userInfo) === null || _user$userInfo19 === void 0 ? void 0 : _user$userInfo19.image_url),
alt: "",
onClick: function onClick() {
var _user$userInfo20;
return _umi_production_exports.history.push((0,util/* checkIsClientExam */.Ll)() ? '/account/profile' : "/users/".concat((_user$userInfo20 = user.userInfo) === null || _user$userInfo20 === void 0 ? void 0 : _user$userInfo20.login, "/classrooms"));
}
}), (0,util/* checkIsClientExam */.Ll)() && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "ml10 font16",
children: (_user$userInfo21 = user.userInfo) === null || _user$userInfo21 === void 0 ? void 0 : _user$userInfo21.username
}), /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-zhankai4 ".concat(Usermodules.icon)
})]
return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z
// className={`${styles.height67}`}
, {
dropdownRender: DropdownMenu,
placement: "bottomRight",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: shixunHomeworks.actionTabs.type === 1 ? Usermodules.classromediv : '',
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: "".concat(Usermodules.userPic, " current ml15"),
alt: "",
src: "".concat(env/* default */.Z === null || env/* default */.Z === void 0 ? void 0 : env/* default */.Z.IMG_SERVER, "/images/").concat((_user$userInfo19 = user.userInfo) === null || _user$userInfo19 === void 0 ? void 0 : _user$userInfo19.image_url),
onClick: function onClick() {
var _user$userInfo20;
return _umi_production_exports.history.push((0,util/* checkIsClientExam */.Ll)() ? '/account/profile' : "/users/".concat((_user$userInfo20 = user.userInfo) === null || _user$userInfo20 === void 0 ? void 0 : _user$userInfo20.login, "/classrooms"));
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "ml10",
children: (_user$userInfo21 = user.userInfo) === null || _user$userInfo21 === void 0 ? void 0 : _user$userInfo21.username
})]
})
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "ml30",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: handleLoginOut,
style: {
color: "#4CACFF"
},
children: "\u9000\u51FA"
})
})]
});
} else {
var _globalSetting$settin4;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "font15 ".concat(globalSetting.isIlearning ? Usermodules.login : ""),
className: "".concat(globalSetting.isIlearning ? Usermodules.login : ""),
style: {
color: "#4CACFF"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "ml10 mr5 current c-white",
className: "ml10 mr5 current ",
onClick: function onClick() {
dispatch({
type: 'user/showPopLogin',
@ -1645,7 +1665,10 @@ var User = function User(_ref) {
children: "|"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
to: "/user/register",
className: "ml5 current c-white pr25",
className: "ml5 current pr25",
style: {
color: "#4CACFF"
},
children: "\u6CE8\u518C"
})]
})]
@ -2141,7 +2164,7 @@ var HeaderComponents = function HeaderComponents(_ref) {
return str;
};
if (globalSetting.showHeader && globalSetting.showHeaderFooter) {
var _globalSetting$settin5, _user$userInfo, _user$userInfo2, _user$navigationInfo;
var _globalSetting$settin5, _globalSetting$settin6, _globalSetting$settin7, _user$userInfo, _user$userInfo2, _user$navigationInfo;
return (
/*#__PURE__*/
//style={{background:`${location.pathname=='/training'?'rgba(0,0,0,0)':''}`}}
@ -2158,10 +2181,7 @@ var HeaderComponents = function HeaderComponents(_ref) {
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
className: Headermodules['edu-menu'],
children: [
/*#__PURE__*/
// (!!globalSetting.isIlearning || (!globalSetting?.setting?.main_site && !!globalSetting?.setting?.navbar)) &&
(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
children: [(!!globalSetting.isIlearning || !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin5 = globalSetting.setting) !== null && _globalSetting$settin5 !== void 0 && _globalSetting$settin5.main_site) && !!(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin6 = globalSetting.setting) !== null && _globalSetting$settin6 !== void 0 && _globalSetting$settin6.navbar)) && /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
style: {
display: 'flex',
alignItems: 'center'
@ -2177,7 +2197,7 @@ var HeaderComponents = function HeaderComponents(_ref) {
to: "/",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: Headermodules.logo,
title: (_globalSetting$settin5 = globalSetting.setting) === null || _globalSetting$settin5 === void 0 ? void 0 : _globalSetting$settin5.name,
title: (_globalSetting$settin7 = globalSetting.setting) === null || _globalSetting$settin7 === void 0 ? void 0 : _globalSetting$settin7.name,
src: logoUrl || logo
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", {

@ -356,10 +356,7 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -1026,10 +1026,7 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -598,10 +598,7 @@ input_Input.Password = input_Password;
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

File diff suppressed because it is too large Load Diff

@ -1034,10 +1034,7 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -2895,10 +2895,7 @@ Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z;
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -4131,6 +4131,14 @@ var CourseList = function CourseList(_ref) {
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(school_name),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.unit,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-danwei1 font14 mr3"
}), school_name]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -6254,29 +6262,29 @@ var SendToClassModal = function SendToClassModal(_ref) {
res = _context7.sent;
case 6:
_context7.t0 = nodeData.item_type;
_context7.next = _context7.t0 === 'Attachment' ? 9 : _context7.t0 === 'VideoItem' ? 11 : _context7.t0 === 'SubjectHomework' ? 13 : _context7.t0 === 'Shixun' ? 15 : 17;
_context7.next = _context7.t0 === 'Attachment' ? 9 : _context7.t0 === 'VideoItem' ? 13 : _context7.t0 === 'SubjectHomework' ? 15 : _context7.t0 === 'Shixun' ? 17 : 19;
break;
case 9:
// openNewWindow(nodeData.url);
// preview.type = item.file_type
// preview.data = env.API_SERVER + item.url
// setPreview({ ...preview })
toStudentVideo(item);
return _context7.abrupt("break", 17);
case 11:
toStudentVideo(nodeData);
return _context7.abrupt("break", 17);
// openNewWindow(nodeData.url);
preview.type = item.file_type;
preview.data = env/* default */.Z.API_SERVER + item.url;
setPreview(objectSpread2_default()({}, preview));
// toStudentVideo(item);
return _context7.abrupt("break", 19);
case 13:
toStudentVideo(nodeData);
return _context7.abrupt("break", 19);
case 15:
if (nodeData.homework_type == 'group') {
toStudentVideo(nodeData);
} else if (nodeData.homework_type == 'normal') {
toStudentVideo(nodeData);
}
return _context7.abrupt("break", 17);
case 15:
handleToShixun(nodeData);
return _context7.abrupt("break", 17);
return _context7.abrupt("break", 19);
case 17:
handleToShixun(nodeData);
return _context7.abrupt("break", 19);
case 19:
case "end":
return _context7.stop();
}

@ -920,10 +920,7 @@ input_Input.Password = input_Password;
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -1086,10 +1086,7 @@ input_Input.Password = input_Password;
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

File diff suppressed because it is too large Load Diff

@ -459,10 +459,7 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -2809,6 +2809,14 @@ var CourseList = function CourseList(_ref) {
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(school_name),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.unit,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-danwei1 font14 mr3"
}), school_name]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {

@ -1251,10 +1251,7 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

File diff suppressed because it is too large Load Diff

@ -2940,6 +2940,14 @@ var CourseList = function CourseList(_ref) {
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(school_name),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.unit,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-danwei1 font14 mr3"
}), school_name]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -4597,10 +4605,7 @@ const getRenderPropValue = propValue => {
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

File diff suppressed because it is too large Load Diff

@ -203,6 +203,14 @@ var CourseList = function CourseList(_ref) {
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(school_name),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.unit,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-danwei1 font14 mr3"
}), school_name]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {

@ -1001,10 +1001,7 @@ input_Input.Password = input_Password;
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

File diff suppressed because it is too large Load Diff

@ -2155,10 +2155,7 @@ const getRenderPropValue = propValue => {
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -1,28 +1,28 @@
document.body.parentNode.id = "educoder";
// var iframe = document.createElement('iframe');
// if (
// document.domain === 'www.tokcoder.com' ||
// document.domain === 'tokcoder.com'
// ) {
// iframe.src = 'https://www.educoder.net/autologin.html?t=' + Date.now();
// } else {
// iframe.src = 'https://www.tokcoder.com/autologin.html?t=' + Date.now();
// }
// iframe.sandbox =
// 'allow-scripts allow-same-origin allow-top-navigation allow-forms allow-popups allow-pointer-lock allow-popups-to-escape-sandbox allow-presentation allow-top-navigation-by-user-activation';
// iframe.allow = 'geolocation document-domain';
// iframe.style.position = 'absolute';
// iframe.style.top = '-1000px';
// iframe.style.opacity = 0;
// iframe.style.visibility = 'hidden';
// iframe.style.zIndex = -1;
// document.body.appendChild(iframe);
// iframe.onload = function() {
// iframe.contentWindow.postMessage(
// { type: 'cookie', data: document.cookie },
// '*',
// );
// };
var iframe = document.createElement('iframe');
if (
document.domain === 'www.tokcoder.com' ||
document.domain === 'tokcoder.com'
) {
iframe.src = 'https://www.educoder.net/autologin.html?t=' + Date.now();
} else {
iframe.src = 'https://www.tokcoder.com/autologin.html?t=' + Date.now();
}
iframe.sandbox =
'allow-scripts allow-same-origin allow-top-navigation allow-forms allow-popups allow-pointer-lock allow-popups-to-escape-sandbox allow-presentation allow-top-navigation-by-user-activation';
iframe.allow = 'geolocation document-domain';
iframe.style.position = 'absolute';
iframe.style.top = '-1000px';
iframe.style.opacity = 0;
iframe.style.visibility = 'hidden';
iframe.style.zIndex = -1;
document.body.appendChild(iframe);
iframe.onload = function() {
iframe.contentWindow.postMessage(
{ type: 'cookie', data: document.cookie },
'*',
);
};
window.gtag = new Function;

@ -208,7 +208,7 @@ var PublishShixun = function PublishShixun(_ref) {
id = (res === null || res === void 0 ? void 0 : res.category_id) || 0;
urlList = (_location$pathname = location.pathname) === null || _location$pathname === void 0 ? void 0 : _location$pathname.split('/');
urlList[4] = id;
urlList[3] = (type === 'hack' ? 'program_homework' : type) || urlList[3];
urlList[3] = type || urlList[3];
url = urlList === null || urlList === void 0 ? void 0 : urlList.join('/');
_umi_production_exports.history.push(url);
if (actionTabs.cb) {
@ -4393,7 +4393,7 @@ var ShareModal = function ShareModal(_ref) {
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ShareModalmodules.tips,
children: "\u901A\u8FC7\u5206\u4EAB\u94FE\u63A5\u8BBF\u95EE\u8BFE\u5802\u65F6\uFF0C\u5DF2\u767B\u5F55\u7528\u6237\u53EF\u76F4\u63A5\u4EE5\u5B66\u751F\u8EAB\u4EFD\u52A0\u5165\u8BFE\u5802\uFF0C\u672A\u6CE8\u518C/\u767B\u5F55\u7528\u6237\u5728\u6CE8\u518C/\u767B\u5F55\u540E\u53EF\u76F4\u63A5\u4EE5\u5B66\u751F\u8EAB\u4EFD\u52A0\u5165\u8BFE\u5802\u3002"
children: "\u901A\u8FC7\u5206\u4EAB\u94FE\u63A5\u8BBF\u95EE\u8BFE\u5802\u65F6\uFF0C\u5DF2\u767B\u5F55\u7528\u6237\u53EF\u76F4\u63A5\u4EE5\u5B66\u751F\u8EAB\u4EFD\u52A0\u5165\u8BFE\u5802\uFF0C\u672A\u6CE8\u518C/\u767B\u5F55\u7528\u6237\u5728\u6CE8\u518C/\u767B\u5F55\u540E\u53EF\u76F4\u63A5\u4EE5\u5B66\u751F\u8EAB \u4EFD\u52A0\u5165\u8BFE\u5802\u3002"
})]
})]
})
@ -5412,7 +5412,7 @@ var ShixunDetail_ShixunsListPage = function ShixunsListPage(_ref) {
})]
});
};
var copyText = "\u3010\u6559\u5B66\u8BFE\u5802\u9080\u8BF7\u3011".concat(detailTopBanner === null || detailTopBanner === void 0 ? void 0 : detailTopBanner.copy_teacher_name, "\u8001\u5E08\u9080\u8BF7\u60A8\u52A0\u5165\u5E73\u53F0\u6559\u5B66\u8BFE\u5802-\u300A").concat(detailTopBanner === null || detailTopBanner === void 0 ? void 0 : detailTopBanner.name, "\u300B\uFF0C\u60A8\u53EF\u4EE5\u590D\u5236\u9080\u8BF7\u7801\uFF0C\u5728\u4E0B\u65B9\u7684\u94FE\u63A5\u4E2D\uFF0C\u70B9\u51FB\u201C\u52A0\u5165\u8BFE\u5802\u201D\u6309\u94AE\u52A0\u5165\u8BE5\u6559\u5B66\u8BFE\u5802\u3002\n\u94FE\u63A5\uFF1A").concat(window.location.origin, "/classrooms/").concat(query.coursesId, "?code=").concat(detailTopBanner === null || detailTopBanner === void 0 ? void 0 : detailTopBanner.invite_code, "\n\u9080\u8BF7\u7801\uFF1A").concat(detailTopBanner === null || detailTopBanner === void 0 ? void 0 : detailTopBanner.invite_code);
var copyText = "\u3010\u6559\u5B66\u8BFE\u5802\u9080\u8BF7\u3011".concat(detailTopBanner === null || detailTopBanner === void 0 ? void 0 : detailTopBanner.copy_teacher_name, "\u8001\u5E08\u9080\u8BF7\u60A8\u52A0\u5165\u5E73\u53F0\u6559\u5B66\u8BFE\u5802-\u300A").concat(detailTopBanner === null || detailTopBanner === void 0 ? void 0 : detailTopBanner.name, "\u300B\uFF0C\u60A8\u53EF\u4EE5\u590D\u5236\u9080\u8BF7\u7801\uFF0C\u5728\u4E0B\u65B9\u7684\u94FE\u63A5\u4E2D\uFF0C\u70B9\u51FB\u201C\u52A0\u5165\u8BFE\u5802\u201D\u6309\u94AE\u52A0\u5165\u8BE5\u6559\u5B66\u8BFE\u5802\u3002\n\u94FE\u63A5\uFF1Ahttps://www.educoder.net/classrooms/").concat(query.coursesId, "?code=").concat(detailTopBanner === null || detailTopBanner === void 0 ? void 0 : detailTopBanner.invite_code, "\n\u9080\u8BF7\u7801\uFF1A").concat(detailTopBanner === null || detailTopBanner === void 0 ? void 0 : detailTopBanner.invite_code);
/**
* 分享课堂点击事件
@ -6340,10 +6340,7 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -52,49 +52,18 @@ var jsx_runtime = __webpack_require__(37712);
var BeforeFooter = function BeforeFooter(_ref) {
var _globalSetting$settin, _globalSetting$settin2, _globalSetting$settin3, _globalSetting$settin4, _globalSetting$settin5, _globalSetting$settin6;
var _globalSetting$settin, _globalSetting$settin2, _globalSetting$settin3, _globalSetting$settin4;
var user = _ref.user,
globalSetting = _ref.globalSetting;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BeforeFootermodules.footer,
style: {
height: globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin = globalSetting.setting) !== null && _globalSetting$settin !== void 0 && _globalSetting$settin.main_site ? '' : '80px',
lineHeight: globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin2 = globalSetting.setting) !== null && _globalSetting$settin2 !== void 0 && _globalSetting$settin2.main_site ? '' : '80px'
},
children: [(globalSetting === null || globalSetting === void 0 || (_globalSetting$settin3 = globalSetting.setting) === null || _globalSetting$settin3 === void 0 ? void 0 : _globalSetting$settin3.main_site) && !globalSetting.isPaZhou && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
className: BeforeFootermodules.fastLink,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("a", {
target: "_blank",
href: "/",
children: "\u7F51\u7AD9\u9996\u9875"
}), !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin4 = globalSetting.setting) !== null && _globalSetting$settin4 !== void 0 && _globalSetting$settin4.is_local) && /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
target: "_blank",
href: "/help/about_us",
children: "\u5173\u4E8E\u6211\u4EEC"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
target: "_blank",
href: "/help/contact_us",
children: "\u8054\u7CFB\u6211\u4EEC"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
target: "_blank",
href: "/help/cooperatives",
children: "\u5408\u4F5C\u4F19\u4F34"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
target: "_blank",
href: "/help/agreement",
children: "\u670D\u52A1\u534F\u8BAE"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
target: "_blank",
href: "/help/help_center",
children: "\u5E2E\u52A9\u4E2D\u5FC3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
target: "_blank",
href: "/help/feedback",
children: "\u610F\u89C1\u53CD\u9988"
})]
}), (_globalSetting$settin5 = globalSetting.setting) !== null && _globalSetting$settin5 !== void 0 && _globalSetting$settin5.footer ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: (_globalSetting$settin3 = globalSetting.setting) !== null && _globalSetting$settin3 !== void 0 && _globalSetting$settin3.footer ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
dangerouslySetInnerHTML: {
__html: (_globalSetting$settin6 = globalSetting.setting) === null || _globalSetting$settin6 === void 0 ? void 0 : _globalSetting$settin6.footer
__html: (_globalSetting$settin4 = globalSetting.setting) === null || _globalSetting$settin4 === void 0 ? void 0 : _globalSetting$settin4.footer
}
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("p", {
@ -133,7 +102,7 @@ var BeforeFooter = function BeforeFooter(_ref) {
children: "\u7248\u6743\u6240\u6709 \u6E56\u5357\u667A\u64CE\u79D1\u6280\u6709\u9650\u516C\u53F8"
})]
})
})]
})
});
};
/* harmony default export */ var Footer_BeforeFooter = (BeforeFooter);

@ -126,11 +126,11 @@
display: flex;
width: 100%;
height: 72px;
width: 1200px;
flex-flow: row nowrap;
align-items: center;
justify-content: space-between;
margin: 0 auto;
padding: 0 25px;
}
.header___Wn4fJ .newslight___lSZjL {
width: 5px;

@ -319,11 +319,11 @@
display: flex;
width: 100%;
height: 72px;
width: 1200px;
flex-flow: row nowrap;
align-items: center;
justify-content: space-between;
margin: 0 auto;
padding: 0 25px;
}
.header___Wn4fJ .newslight___lSZjL {
width: 5px;

@ -298,8 +298,8 @@ function Register(_ref) {
src: login_logo_url ? "".concat(env/* default */.Z.IMG_SERVER, "/").concat(login_logo_url) : logo_namespaceObject
}), /*#__PURE__*/(0,jsx_runtime.jsx)("h4", {
children: "\u8BA9\u5B9E\u8DF5\u6559\u5B66\u66F4\u7B80\u5355"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("p", {
children: "\u8BE5\u5E73\u53F0\u662F\u4E00\u4E2A\u5728\u7EBF\u5B9E\u8DF5\u6559\u5B66\u548C\u521B\u65B0\u670D\u52A1\u5E73\u53F0\uFF0C\u652F\u6301\u5B9E\u9A8C\u5B9E\u8BAD\u3001\u8BFE\u5802\u6559\u5B66\u3001\u8FDC\u7A0B\u8003\u8BD5\u3001\u4E00\u6D41\u8BFE\u7A0B\u3001\u5DE5\u7A0B\u8BA4\u8BC1\u3001\u80FD\u529B\u7ADE\u8D5B\u7B49\u5404\u7C7B\u5728\u7EBF\u79D1\u6559\u6D3B\u52A8\uFF0C\u81F4\u529B\u4E8E\u8BA9\u9AD8\u6821\u6559\u5B66\u548C\u79D1\u7814\u66F4\u6709\u521B\u9020\u529B\u3002"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", {
children: [' ', "(educoder.net) \u662F\u4E00\u4E2A\u5728\u7EBF\u5B9E\u8DF5\u6559\u5B66\u548C\u521B\u65B0\u670D\u52A1\u5E73\u53F0\uFF0C\u652F\u6301\u5B9E\u9A8C\u5B9E\u8BAD\u3001\u8BFE\u5802\u6559\u5B66\u3001\u8FDC\u7A0B\u8003\u8BD5\u3001\u4E00\u6D41\u8BFE\u7A0B\u3001\u5DE5\u7A0B\u8BA4\u8BC1\u3001\u80FD\u529B\u7ADE\u8D5B\u7B49\u5404\u7C7B\u5728\u7EBF\u79D1\u6559\u6D3B\u52A8\uFF0C\u81F4\u529B\u4E8E\u8BA9\u9AD8\u6821\u6559\u5B66\u548C\u79D1\u7814\u66F4\u6709\u521B\u9020\u529B\u3002"]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "register-panel",

@ -150,11 +150,11 @@
display: flex;
width: 100%;
height: 72px;
width: 1200px;
flex-flow: row nowrap;
align-items: center;
justify-content: space-between;
margin: 0 auto;
padding: 0 25px;
}
.header___Wn4fJ .newslight___lSZjL {
width: 5px;

@ -1027,10 +1027,7 @@ const getRenderPropValue = propValue => {
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -2048,7 +2048,7 @@ var Config_SetPublic = function SetPublic(_ref) {
formValue["is_public"] = [res.is_public];
formValue["description"] = res.description;
formValue["delay_publish"] = res.delay_publish;
formValue["publish_time"] = res === null || res === void 0 ? void 0 : res.publish_time;
formValue["publish_time"] = res.publish_time;
form.setFieldsValue(formValue);
setHistories([objectSpread2_default()({}, res)].concat(toConsumableArray_default()(res === null || res === void 0 ? void 0 : res.attachment_histories)));
case 10:
@ -2181,7 +2181,7 @@ var Config_SetPublic = function SetPublic(_ref) {
width: 110,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: dayjs_min_default()(text === null || text === void 0 ? void 0 : text.publish_time).format("YYYY-MM-DD")
children: dayjs_min_default()(text.publish_time).format("YYYY-MM-DD")
});
}
}, {
@ -3288,7 +3288,6 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
_useState2 = slicedToArray_default()(_useState, 2),
params = _useState2[0],
setParams = _useState2[1];
var currenttime = new Date();
var _useState3 = (0,_react_17_0_2_react.useState)([]),
_useState4 = slicedToArray_default()(_useState3, 2),
selectArrs = _useState4[0],
@ -3806,12 +3805,9 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml15",
children: [" \u4E0B\u8F7D\u6570\uFF1A", v.downloads_count, " "]
}), (v === null || v === void 0 ? void 0 : v.publish_time) && currenttime < dayjs_min_default()(v === null || v === void 0 ? void 0 : v.publish_time).toDate() && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml15",
children: [" \u5C06\u4E8E ", dayjs_min_default()(v === null || v === void 0 ? void 0 : v.publish_time).format("YYYY-MM-DD HH:mm"), " \u53D1\u5E03 "]
}), (0,authority/* isStudent */.dE)() && (v === null || v === void 0 ? void 0 : v.publish_time) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml15",
children: ["\u53D1\u5E03\u65F6\u95F4\uFF1A", dayjs_min_default()(v === null || v === void 0 ? void 0 : v.publish_time).format("YYYY-MM-DD HH:mm")]
})]
})]
}), v.description && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {

@ -359,7 +359,7 @@
cursor: pointer;
}
.table___UIeZ8 table {
width: auto !important;
width: auto;
}
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\

@ -88,7 +88,6 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
form = _Form$useForm2[0];
var _useState = (0,_react_17_0_2_react.useState)({
subject: "",
content: ""
}),
_useState2 = slicedToArray_default()(_useState, 2),
@ -109,10 +108,6 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
content: data === null || data === void 0 ? void 0 : data.content,
sticky: !!(data !== null && data !== void 0 && data.sticky)
});
setValue({
subject: data === null || data === void 0 ? void 0 : data.subject,
content: data === null || data === void 0 ? void 0 : data.content
});
});
if (!detailLeftMenus.course_modules) {
dispatch({
@ -251,10 +246,10 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
size: 'middle',
ghost: true,
type: "primary",
onClick: function onClick() {
_umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/board/").concat(params.categoryId || ''));
},
children: "\u53D6\u6D88"
children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
to: "/classrooms/".concat(params.coursesId, "/board/").concat(params.categoryId || ''),
children: "\u53D6\u6D88"
})
})]
})
})]

@ -1195,7 +1195,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
}), v.praises_count > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml20 c-light-black ",
children: [v.praises_count, " \u70B9\u8D5E"]
}), v.visits > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
}), v.visits && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml20 c-light-black ",
children: [v.visits, " \u6D4F\u89C8"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {

@ -1873,12 +1873,17 @@ var ExeriseReview = function ExeriseReview(_ref) {
})]
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("ul", {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", {
className: Reviewmodules['nav-tab'],
children: /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("li", {
className: "active",
children: "\u4F5C\u4E1A\u8BE6\u60C5"
})
}), (0,authority/* isSuperAdmin */.j5)() && /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/classrooms/".concat(params.coursesId, "/common_homework/").concat(params.categoryId, "/lab-report-view/").concat(params.userId),
children: [' ', "\u5B9E\u9A8C\u62A5\u544A", ' ']
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
className: [Reviewmodules.bg, 'pt30', 'pl30', 'pr30', 'pb30'].join(' '),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, {

@ -588,6 +588,14 @@ var CourseList = function CourseList(_ref) {
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(school_name),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.unit,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-danwei1 font14 mr3"
}), school_name]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {

@ -1095,9 +1095,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
(0,_react_17_0_2_react.useEffect)(function () {
dispatch({
type: 'classroomList/getCourseGroupsList',
payload: objectSpread2_default()(objectSpread2_default()({}, params), {}, {
nonenavigate: true
})
payload: objectSpread2_default()({}, params)
});
}, [params['categoryId']]);
(0,_react_17_0_2_react.useEffect)(function () {
@ -1115,9 +1113,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
params.limit = pageSize;
dispatch({
type: 'classroomList/getCourseGroupsList',
payload: objectSpread2_default()(objectSpread2_default()({}, params), {}, {
nonenavigate: true
})
payload: objectSpread2_default()({}, params)
});
};
var onMenuSelect = function onMenuSelect(v) {
@ -1165,9 +1161,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
message/* default */.ZP.success('操作成功');
dispatch({
type: 'classroomList/getCourseGroupsList',
payload: objectSpread2_default()(objectSpread2_default()({}, params), {}, {
nonenavigate: true
})
payload: objectSpread2_default()({}, params)
});
}
case 4:
@ -1337,7 +1331,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
align: "center",
render: function render(text, record) {
var _classroomList$detail2, _classroomList$detail3, _mappingTag$record$in, _mappingTag$record$in2;
var copyText = "\u3010\u6559\u5B66\u8BFE\u5802\u9080\u8BF7\u3011".concat((_classroomList$detail2 = classroomList.detailTopBanner) === null || _classroomList$detail2 === void 0 ? void 0 : _classroomList$detail2.copy_teacher_name, "\u8001\u5E08\u9080\u8BF7\u60A8\u52A0\u5165\u5934\u6B4C\u5E73\u53F0\u6559\u5B66\u8BFE\u5802-\u300A").concat((_classroomList$detail3 = classroomList.detailTopBanner) === null || _classroomList$detail3 === void 0 ? void 0 : _classroomList$detail3.name, "\u300B\u7684").concat(record === null || record === void 0 ? void 0 : record.name, "\u5206\u73ED\uFF0C\u60A8\u53EF\u4EE5\u590D\u5236\u9080\u8BF7\u7801\uFF0C\u5728\u4E0B\u65B9\u7684\u94FE\u63A5\u4E2D\uFF0C\u70B9\u51FB\u201C\u52A0\u5165\u8BFE\u5802\u201D\u6309\u94AE\u52A0\u5165\u8BE5\u6559\u5B66\u8BFE\u5802\u3002\n\u94FE\u63A5\uFF1A").concat(window.location.origin, "/classrooms\n\u9080\u8BF7\u7801\uFF1A").concat(text);
var copyText = "\u3010\u6559\u5B66\u8BFE\u5802\u9080\u8BF7\u3011".concat((_classroomList$detail2 = classroomList.detailTopBanner) === null || _classroomList$detail2 === void 0 ? void 0 : _classroomList$detail2.copy_teacher_name, "\u8001\u5E08\u9080\u8BF7\u60A8\u52A0\u5165\u5934\u6B4C\u5E73\u53F0\u6559\u5B66\u8BFE\u5802-\u300A").concat((_classroomList$detail3 = classroomList.detailTopBanner) === null || _classroomList$detail3 === void 0 ? void 0 : _classroomList$detail3.name, "\u300B\u7684").concat(record === null || record === void 0 ? void 0 : record.name, "\u5206\u73ED\uFF0C\u60A8\u53EF\u4EE5\u590D\u5236\u9080\u8BF7\u7801\uFF0C\u5728\u4E0B\u65B9\u7684\u94FE\u63A5\u4E2D\uFF0C\u70B9\u51FB\u201C\u52A0\u5165\u8BFE\u5802\u201D\u6309\u94AE\u52A0\u5165\u8BE5\u6559\u5B66\u8BFE\u5802\u3002\n\u94FE\u63A5\uFF1Ahttps://www.educoder.net/classrooms\n\u9080\u8BF7\u7801\uFF1A").concat(text);
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [text, /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), record.edit_auth && /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
@ -1412,9 +1406,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
if (data.status === 0) {
dispatch({
type: 'classroomList/getCourseGroupsList',
payload: objectSpread2_default()(objectSpread2_default()({}, params), {}, {
nonenavigate: true
})
payload: objectSpread2_default()({}, params)
});
}
case 4:
@ -1521,9 +1513,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
params.page = 1;
dispatch({
type: 'classroomList/getCourseGroupsList',
payload: objectSpread2_default()(objectSpread2_default()({}, params), {}, {
nonenavigate: true
})
payload: objectSpread2_default()({}, params)
});
},
style: {
@ -2068,10 +2058,7 @@ if (false) {}
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -3329,8 +3329,7 @@ var CaptureVideo = /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(function (_re
number = _ref.number,
supportCamera = _ref.supportCamera,
take_photo = _ref.take_photo,
update = _ref.update,
id = _ref.id;
update = _ref.update;
var video = (0,_react_17_0_2_react.useRef)();
var canvas = (0,_react_17_0_2_react.useRef)();
var params = (0,_umi_production_exports.useParams)();
@ -4372,9 +4371,7 @@ var Shixun = function Shixun(_ref) {
var _item$shixun_details3;
var shixunItem = item === null || item === void 0 ? void 0 : item.shixun_details[i].stage_list[j];
shixun.push(objectSpread2_default()(objectSpread2_default()({}, shixunItem), {
operation: item === null || item === void 0 || (_item$shixun_details3 = item.shixun_details) === null || _item$shixun_details3 === void 0 || (_item$shixun_details3 = _item$shixun_details3[i]) === null || _item$shixun_details3 === void 0 || (_item$shixun_details3 = _item$shixun_details3.shixun_detail) === null || _item$shixun_details3 === void 0 || (_item$shixun_details3 = _item$shixun_details3[0]) === null || _item$shixun_details3 === void 0 ? void 0 : _item$shixun_details3.game_identifier,
is_jupyter: item === null || item === void 0 ? void 0 : item.is_jupyter,
is_jupyter_lab: item === null || item === void 0 ? void 0 : item.is_jupyter_lab
operation: item === null || item === void 0 || (_item$shixun_details3 = item.shixun_details) === null || _item$shixun_details3 === void 0 || (_item$shixun_details3 = _item$shixun_details3[i]) === null || _item$shixun_details3 === void 0 || (_item$shixun_details3 = _item$shixun_details3.shixun_detail) === null || _item$shixun_details3 === void 0 || (_item$shixun_details3 = _item$shixun_details3[0]) === null || _item$shixun_details3 === void 0 ? void 0 : _item$shixun_details3.game_identifier
}));
}
if (item !== null && item !== void 0 && (_item$shixun_details4 = item.shixun_details) !== null && _item$shixun_details4 !== void 0 && (_item$shixun_details4 = _item$shixun_details4[i]) !== null && _item$shixun_details4 !== void 0 && _item$shixun_details4.shixun_detail) {
@ -4495,7 +4492,7 @@ var Shixun = function Shixun(_ref) {
key: "operation",
align: 'center',
render: function render(value, data, index) {
return value && !data.is_jupyter && !data.is_jupyter_lab ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_anchor/* default */.Z, {
return value ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_anchor/* default */.Z, {
affix: false,
className: "mt10",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_anchor/* default */.Z.Link, {
@ -6285,23 +6282,19 @@ var Answer = function Answer(_ref) {
while (1) switch (_context12.prev = _context12.next) {
case 0:
_context12.next = 2;
return (item.is_jupyter || item.is_jupyter_lab ? shixuns/* execJupyter */.BK : shixuns/* execShixun */.Ir)({
return (0,shixuns/* execShixun */.Ir)({
id: item.shixun_identifier
});
case 2:
res = _context12.sent;
if (res !== null && res !== void 0 && res.game_identifier || res !== null && res !== void 0 && res.identifier) {
if (item.is_jupyter_lab || item.is_jupyter) {
setIframeUrl("/tasks/".concat(res.identifier, "/jupyter?type=exercises&exercisesId=").concat(params.categoryId, "&coursesId=").concat(params.coursesId, "&login=").concat(params.login, "&questionId=").concat(item.question_id, "&isFullScreen=").concat((0,fullscreen/* IsFull */.vp)()).concat(iframeUrlSuffix.current || ""));
} else {
setIframeUrl("/tasks/".concat(res.game_identifier, "?type=exercises&exercisesId=").concat(params.categoryId, "&coursesId=").concat(params.coursesId, "&login=").concat(params.login, "&questionId=").concat(item.question_id, "&isFullScreen=").concat((0,fullscreen/* IsFull */.vp)()).concat(iframeUrlSuffix.current || ""));
}
if (res !== null && res !== void 0 && res.game_identifier) {
setIframeUrl("/tasks/".concat(res.game_identifier, "?type=exercises&exercisesId=").concat(params.categoryId, "&coursesId=").concat(params.coursesId, "&login=").concat(params.login, "&questionId=").concat(item.question_id, "&isFullScreen=").concat((0,fullscreen/* IsFull */.vp)()).concat(iframeUrlSuffix.current || ""));
setIframeBlock("block");
}
if ((res === null || res === void 0 ? void 0 : res.status) === -3) {
(0,util/* bindPhone */.eF)();
} else if ((res === null || res === void 0 ? void 0 : res.status) === 2) {
handleResetGame(res === null || res === void 0 ? void 0 : res.message, item.question_id, item.is_jupyter_lab, item.is_jupyter);
handleResetGame(res === null || res === void 0 ? void 0 : res.message, item.question_id);
} else if ((res === null || res === void 0 ? void 0 : res.status) === 3) {
handleInBeta(res === null || res === void 0 ? void 0 : res.message);
}
@ -6315,7 +6308,7 @@ var Answer = function Answer(_ref) {
return _ref11.apply(this, arguments);
};
}();
var handleResetGame = function handleResetGame(url, question_id, is_jupyter_lab, is_jupyter) {
var handleResetGame = function handleResetGame(url, question_id) {
var _url;
url = (_url = url) !== null && _url !== void 0 && _url.includes('.json') ? url : "".concat(url, ".json");
es_modal/* default */.Z.confirm({
@ -6358,15 +6351,13 @@ var Answer = function Answer(_ref) {
}
goShixun({
shixun_identifier: execRes === null || execRes === void 0 ? void 0 : execRes.game_identifier,
question_id: question_id,
is_jupyter_lab: is_jupyter_lab,
is_jupyter: is_jupyter
question_id: question_id
});
// openNewWindow(`/tasks/${execRes.game_identifier}`);
return _context13.abrupt("return");
case 12:
if ((execRes === null || execRes === void 0 ? void 0 : execRes.status) === 2) {
handleResetGame(execRes === null || execRes === void 0 ? void 0 : execRes.message, question_id, is_jupyter_lab, is_jupyter);
handleResetGame(execRes === null || execRes === void 0 ? void 0 : execRes.message, question_id);
} else if ((execRes === null || execRes === void 0 ? void 0 : execRes.status) === 3) {
handleInBeta(execRes === null || execRes === void 0 ? void 0 : execRes.message);
}
@ -8397,7 +8388,6 @@ var Answer = function Answer(_ref) {
number: (answerData === null || answerData === void 0 || (_answerData$exercise41 = answerData.exercise) === null || _answerData$exercise41 === void 0 ? void 0 : _answerData$exercise41.photo_count) - (answerData === null || answerData === void 0 || (_answerData$exercise42 = answerData.exercise) === null || _answerData$exercise42 === void 0 ? void 0 : _answerData$exercise42.take_photo),
take_photo: answerData === null || answerData === void 0 || (_answerData$exercise43 = answerData.exercise) === null || _answerData$exercise43 === void 0 ? void 0 : _answerData$exercise43.take_photo,
ref: captureRef,
id: params.categoryId,
time: (_answerData$exercise44 = answerData.exercise) === null || _answerData$exercise44 === void 0 ? void 0 : _answerData$exercise44.left_time,
update: initData,
supportCamera: function supportCamera(type) {

@ -1456,6 +1456,14 @@ var CourseList = function CourseList(_ref) {
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(school_name),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.unit,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-danwei1 font14 mr3"
}), school_name]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -16416,9 +16424,7 @@ var PreventCheatingSettings_PublishSettings = function PublishSettings(_ref) {
//是否开启考试解锁码
unlock_key: '',
//考试解锁码
screen_shot_open: false,
//考试截图功能
part_score: false //选择题部分得分
screen_shot_open: false //考试截图功能
}),
_useState6 = slicedToArray_default()(_useState5, 2),
data = _useState6[0],
@ -16635,19 +16641,6 @@ var PreventCheatingSettings_PublishSettings = function PublishSettings(_ref) {
children: "\u9009\u62E9\u9898\u9009\u9879\u987A\u5E8F\u968F\u673A\u6253\u4E71"
})
})
}), !(commonHeader !== null && commonHeader !== void 0 && commonHeader.is_random) && /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
className: ConfigWorksmodules.mb28,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
checked: data.part_score,
disabled: disabled,
onChange: function onChange(e) {
data.part_score = e.target.checked;
setData(Object.assign({}, data));
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", {
children: "\u591A\u9009\u9898\u90E8\u5206\u5F97\u5206"
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
span: 24,
@ -17207,7 +17200,7 @@ var PropertySettings_PublishSettings = function PublishSettings(_ref) {
//公开统计
open_total_score: false,
// 查看总成绩
open_score_reviewed: true,
open_score_reviewed: false,
//试卷评阅完成后
open_score: false,
//查看小题得分
@ -17313,12 +17306,8 @@ var PropertySettings_PublishSettings = function PublishSettings(_ref) {
disabled: disabled,
onChange: function onChange(e) {
data.open_total_score = e.target.checked;
if (e.target.checked) {
data.open_score = false;
data.open_score_reviewed = true;
} else {
data.open_score = true;
data.open_score_reviewed = false;
if (e.target.checked === false) {
data.open_score = e.target.checked;
}
setData(Object.assign({}, data));
},

@ -3432,10 +3432,7 @@ var Shixun = function Shixun(_ref) {
key: "operation",
align: 'center',
render: function render(value, data, index) {
return item.is_jupyter_lab || item.is_jupyter ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-grey-999",
children: "--"
}) : value ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_anchor/* default */.Z, {
return value ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_anchor/* default */.Z, {
affix: false,
className: "mt10",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_anchor/* default */.Z.Link, {
@ -4226,23 +4223,19 @@ var Answer = function Answer(_ref) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
_context4.next = 2;
return (item.is_jupyter || item.is_jupyter_lab ? shixuns/* execJupyter */.BK : shixuns/* execShixun */.Ir)({
return (0,shixuns/* execShixun */.Ir)({
id: item.shixun_identifier
});
case 2:
res = _context4.sent;
if (res !== null && res !== void 0 && res.game_identifier || res !== null && res !== void 0 && res.identifier) {
if (item.is_jupyter_lab || item.is_jupyter) {
setIframeUrl("/tasks/".concat(res.identifier, "/jupyter?type=exercises&exercisesId=").concat(params.categoryId, "&coursesId=coursesId&login=").concat(params.login, "&questionId=").concat(item.question_id));
} else {
setIframeUrl("/tasks/".concat(res.game_identifier, "?type=exercises&exercisesId=").concat(params.categoryId, "&coursesId=").concat(params.coursesId, "&login=").concat(params.login, "&questionId=").concat(item.question_id));
}
if (res !== null && res !== void 0 && res.game_identifier) {
setIframeUrl("/tasks/".concat(res.game_identifier, "?type=exercises&exercisesId=").concat(params.categoryId, "&coursesId=").concat(params.coursesId, "&login=").concat(params.login, "&questionId=").concat(item.question_id));
setIframeBlock("block");
}
if ((res === null || res === void 0 ? void 0 : res.status) === -3) {
(0,util/* bindPhone */.eF)();
} else if ((res === null || res === void 0 ? void 0 : res.status) === 2) {
handleResetGame(res === null || res === void 0 ? void 0 : res.message, item.question_id, item.is_jupyter_lab, item.is_jupyter);
handleResetGame(res === null || res === void 0 ? void 0 : res.message, item.question_id);
} else if ((res === null || res === void 0 ? void 0 : res.status) === 3) {
handleInBeta(res === null || res === void 0 ? void 0 : res.message);
}
@ -4256,7 +4249,7 @@ var Answer = function Answer(_ref) {
return _ref4.apply(this, arguments);
};
}();
var handleResetGame = function handleResetGame(url, question_id, is_jupyter_lab, is_jupyter) {
var handleResetGame = function handleResetGame(url, question_id) {
var _url;
url = (_url = url) !== null && _url !== void 0 && _url.includes('.json') ? url : "".concat(url, ".json");
es_modal/* default */.Z.confirm({
@ -4299,14 +4292,12 @@ var Answer = function Answer(_ref) {
}
goShixun({
shixun_identifier: execRes === null || execRes === void 0 ? void 0 : execRes.game_identifier,
question_id: question_id,
is_jupyter_lab: is_jupyter_lab,
is_jupyter: is_jupyter
question_id: question_id
});
return _context5.abrupt("return");
case 12:
if ((execRes === null || execRes === void 0 ? void 0 : execRes.status) === 2) {
handleResetGame(execRes === null || execRes === void 0 ? void 0 : execRes.message, question_id, is_jupyter_lab, is_jupyter);
handleResetGame(execRes === null || execRes === void 0 ? void 0 : execRes.message, question_id);
} else if ((execRes === null || execRes === void 0 ? void 0 : execRes.status) === 3) {
handleInBeta(execRes === null || execRes === void 0 ? void 0 : execRes.message);
}

@ -277,6 +277,14 @@ var CourseList = function CourseList(_ref) {
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(school_name),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.unit,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-danwei1 font14 mr3"
}), school_name]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -1711,9 +1719,7 @@ var Shixun = function Shixun(_ref) {
var shixunItem = item === null || item === void 0 ? void 0 : item.shixun_details[i].stage_list[j];
shixun.push(objectSpread2_default()(objectSpread2_default()({}, shixunItem), {
operation: item === null || item === void 0 || (_item$shixun_details3 = item.shixun_details) === null || _item$shixun_details3 === void 0 || (_item$shixun_details3 = _item$shixun_details3[i]) === null || _item$shixun_details3 === void 0 || (_item$shixun_details3 = _item$shixun_details3.shixun_detail) === null || _item$shixun_details3 === void 0 || (_item$shixun_details3 = _item$shixun_details3[0]) === null || _item$shixun_details3 === void 0 ? void 0 : _item$shixun_details3.game_identifier,
shixun_challenge_id: item === null || item === void 0 || (_item$shixun_details$ = item.shixun_details[i]) === null || _item$shixun_details$ === void 0 ? void 0 : _item$shixun_details$.shixun_challenge_id,
is_jupyter: item === null || item === void 0 ? void 0 : item.is_jupyter,
is_jupyter_lab: item === null || item === void 0 ? void 0 : item.is_jupyter_lab
shixun_challenge_id: item === null || item === void 0 || (_item$shixun_details$ = item.shixun_details[i]) === null || _item$shixun_details$ === void 0 ? void 0 : _item$shixun_details$.shixun_challenge_id
}));
}
if (item !== null && item !== void 0 && (_item$shixun_details4 = item.shixun_details) !== null && _item$shixun_details4 !== void 0 && (_item$shixun_details4 = _item$shixun_details4[i]) !== null && _item$shixun_details4 !== void 0 && _item$shixun_details4.shixun_detail) {
@ -1741,7 +1747,7 @@ var Shixun = function Shixun(_ref) {
render: function render(name, record) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: name,
children: !!record.operation && !record.is_jupyter && !record.is_jupyter_lab ? /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
children: !!record.operation ? /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
target: "_blank",
style: {
maxWidth: "400px"
@ -2050,7 +2056,7 @@ var Shixun = function Shixun(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "font16 mr15",
children: [" \u7B2C", chanllenge.position, "\u5173"]
}), chanllenge.game_identifier && !(item !== null && item !== void 0 && item.is_jupyter_lab) && !(item !== null && item !== void 0 && item.is_jupyter) ? /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
}), chanllenge.game_identifier ? /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
target: "_blank",
className: "current c-light-primary font16",
to: "/tasks/".concat(coursesId, "/").concat(exerciseId, "/").concat(chanllenge.game_identifier, "/exercise"),

@ -3812,10 +3812,7 @@ const getRenderPropValue = propValue => {
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -12135,10 +12135,7 @@ const getRenderPropValue = propValue => {
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -5230,11 +5230,10 @@ var utils_export = __webpack_require__(39384);
var WorkList = function WorkList(_ref) {
var _workList$homework_st2, _workList$homework_st3, _workList$left_time, _workList$left_time2, _ref6, _workList$task_status, _workList$course_grou, _workList$course_grou2, _workList$teacher_com, _workList$homework_st4, _globalSetting$settin, _workList$homework_st5, _workList$homework_st6, _workList$homework_st7, _workList$task_status2, _workList$task_status3;
var _workList$homework_st2, _workList$homework_st3, _workList$left_time, _workList$left_time2, _ref6, _workList$task_status, _workList$course_grou, _workList$course_grou2, _workList$teacher_com, _workList$homework_st4, _workList$homework_st5, _workList$homework_st6, _workList$homework_st7, _workList$task_status2, _workList$task_status3;
var shixunHomeworks = _ref.shixunHomeworks,
loading = _ref.loading,
dispatch = _ref.dispatch,
globalSetting = _ref.globalSetting,
setExportParams = _ref.setExportParams,
classroomList = _ref.classroomList,
user = _ref.user;
@ -6279,7 +6278,7 @@ var WorkList = function WorkList(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-gengxinchengji font14 pr5"
}), "\u66F4\u65B0\u6210\u7EE9"]
}), (workList === null || workList === void 0 || (_workList$homework_st4 = workList.homework_status) === null || _workList$homework_st4 === void 0 ? void 0 : _workList$homework_st4.includes('已截止')) && !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin = globalSetting.setting) !== null && _globalSetting$settin !== void 0 && _globalSetting$settin.hide_quality_analysis) && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
}), (workList === null || workList === void 0 || (_workList$homework_st4 = workList.homework_status) === null || _workList$homework_st4 === void 0 ? void 0 : _workList$homework_st4.includes('已截止')) && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
className: "ml10",
onClick: function onClick() {
dispatch({
@ -6798,14 +6797,12 @@ var WorkList = function WorkList(_ref) {
var shixunHomeworks = _ref10.shixunHomeworks,
classroomList = _ref10.classroomList,
loading = _ref10.loading,
user = _ref10.user,
globalSetting = _ref10.globalSetting;
user = _ref10.user;
return {
shixunHomeworks: shixunHomeworks,
classroomList: classroomList,
loading: loading.effects,
user: user,
globalSetting: globalSetting
user: user
};
})(WorkList));
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/alert/index.js + 3 modules

@ -3076,10 +3076,7 @@ const getRenderPropValue = propValue => {
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -857,10 +857,7 @@ if (false) {}
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -706,7 +706,7 @@ var _excluded = ["user", "userDetail", "globalSetting", "loading", "dispatch"];
var MAX_LENGTH = 30;
var MAX_FILE_SIZE = 1024;
var Uploads = function Uploads(_ref) {
var _videoList3, _user$userInfo3, _videoList4;
var _videoList3, _user$userInfo3;
var user = _ref.user,
userDetail = _ref.userDetail,
globalSetting = _ref.globalSetting,
@ -911,12 +911,8 @@ var Uploads = function Uploads(_ref) {
})]
});
};
console.log(videoList, 'videoList');
var btnDisabled = (_videoList4 = videoList) === null || _videoList4 === void 0 ? void 0 : _videoList4.some(function (e) {
return e.loaded !== 100;
});
var renderFile = function renderFile() {
var _videoList5, _videoList6;
var _videoList4, _videoList5;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Uploadmodules.fileMain,
style: {
@ -924,7 +920,7 @@ var Uploads = function Uploads(_ref) {
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, {
spinning: isLoading,
children: [(_videoList5 = videoList) === null || _videoList5 === void 0 ? void 0 : _videoList5.map(function (item, index) {
children: [(_videoList4 = videoList) === null || _videoList4 === void 0 ? void 0 : _videoList4.map(function (item, index) {
var _item$title;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Uploadmodules.fileWrap,
@ -993,7 +989,7 @@ var Uploads = function Uploads(_ref) {
}, item.name);
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mt10",
children: ((_videoList6 = videoList) === null || _videoList6 === void 0 ? void 0 : _videoList6.length) <= 2 ? /*#__PURE__*/(0,jsx_runtime.jsx)(ChunkedUpload/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, {
children: ((_videoList5 = videoList) === null || _videoList5 === void 0 ? void 0 : _videoList5.length) <= 2 ? /*#__PURE__*/(0,jsx_runtime.jsx)(ChunkedUpload/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(Uploadmodules.continueAdd, " current"),
children: "\u7EE7\u7EED\u6DFB\u52A0"
@ -1015,7 +1011,6 @@ var Uploads = function Uploads(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Uploadmodules.flexRowCenter,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
disabled: btnDisabled,
type: "primary",
onClick: handlePublish,
children: "\u7ACB\u5373\u53D1\u5E03"
@ -1042,7 +1037,7 @@ var Uploads = function Uploads(_ref) {
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(LeftOutlined/* default */.Z, {
style: {
marginTop: '-11px'
marginTop: '8px'
},
className: "current mr10 font16",
onClick: function onClick() {

@ -578,10 +578,6 @@ progress::-moz-progress-bar {
right: 0;
left: inherit;
}
.container___g1WYG button:nth-last-child(2)::before {
right: 0;
left: 0;
}
.container___g1WYG button:hover::before {
display: inline-block;
}
@ -590,7 +586,7 @@ progress::-moz-progress-bar {
}
.fullscreen-button___ur0es::before {
right: 0px;
left: inherit !important;
left: inherit!important;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;

@ -3899,6 +3899,14 @@ var CourseList = function CourseList(_ref) {
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(school_name),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.unit,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-danwei1 font14 mr3"
}), school_name]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -8696,11 +8704,11 @@ var informationPage = function informationPage(_ref) {
style: {
display: 'flex'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
width: '34%'
width: '32%'
},
children: [window.location.origin, "/competitions/detail/"]
children: "https://www.educoder.net/competitions/"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
color: "#fb3226",
@ -11836,7 +11844,7 @@ var questionsPage = function questionsPage(_ref) {
}
})]
}), courseItems === null || courseItems === void 0 || (_courseItems$filter15 = courseItems.filter(function (val) {
return val.homework_type === item.type && item.open && val.name.includes(decodeURIComponent(params.input));
return val.homework_type === item.type && item.open && val.name.includes(params.input);
})) === null || _courseItems$filter15 === void 0 ? void 0 : _courseItems$filter15.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
@ -12753,7 +12761,7 @@ var documentPage = function documentPage(_ref) {
setquestion_finish(res === null || res === void 0 ? void 0 : res.question_finish);
setname_show(res === null || res === void 0 || (_res$competition = res.competition) === null || _res$competition === void 0 ? void 0 : _res$competition.name);
settime_show(dayjs_min_default()(res === null || res === void 0 || (_res$competition2 = res.competition) === null || _res$competition2 === void 0 ? void 0 : _res$competition2.start_time).format('YYYY-MM-DD HH:mm') + ' ~ ' + dayjs_min_default()(res === null || res === void 0 || (_res$competition3 = res.competition) === null || _res$competition3 === void 0 ? void 0 : _res$competition3.end_time).format('YYYY-MM-DD HH:mm'));
seturl_show("".concat(window.location.origin, "/competitions/detail/") + (res === null || res === void 0 ? void 0 : res.identifier));
seturl_show('https://www.educoder.net/competitions/' + (res === null || res === void 0 ? void 0 : res.identifier) + '/edit');
var obj = '';
for (var i in res === null || res === void 0 ? void 0 : res.data) {
if (Number(i) == Number((res === null || res === void 0 ? void 0 : res.data.length) - 1)) {
@ -12798,7 +12806,7 @@ var documentPage = function documentPage(_ref) {
//如果要保留文本格式,比如保留换行符,或者多行文本,可以使用 textarea 标签,再配和模板字符串 ` `
//const input = document.createElement('textarea')
// 将想要复制的值
input.value = "".concat(window.location.origin, "/competitions/detail/") + form.getFieldValue('identifier');
input.value = 'https://www.educoder.net/competitions/' + form.getFieldValue('identifier');
// 页面底部追加输入框
document.body.appendChild(input);
// 选中输入框
@ -12993,7 +13001,7 @@ var documentPage = function documentPage(_ref) {
colon: false,
name: "identifier",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
prefix: "".concat(window.location.origin, "/competitions/detail/"),
prefix: "https://www.educoder.net/competitions/",
disabled: true,
className: documentmodules.form_item_item
})

@ -865,8 +865,8 @@ var ForumsListPage = function ForumsListPage(_ref) {
return _umi_production_exports.history.push('/forums/new');
}
}],
title: "",
sunTitle: "",
title: "\u95EE\u7B54\u793E\u533A",
sunTitle: "\u7B54\u7591\u89E3\u60D1\u52A9\u4EBA\u4E3A\u4E50",
img: forum_banner_namespaceObject,
imgWidth: 362
}), /*#__PURE__*/(0,jsx_runtime.jsx)(components_Content, {})]

@ -3324,6 +3324,14 @@ var CourseList = function CourseList(_ref) {
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(school_name),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.unit,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-danwei1 font14 mr3"
}), school_name]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {

@ -1384,6 +1384,14 @@ var CourseList = function CourseList(_ref) {
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(school_name),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.unit,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-danwei1 font14 mr3"
}), school_name]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {

@ -2916,11 +2916,11 @@ button[class~='ant-btn-default']:disabled.btn___In02G {
display: flex;
width: 100%;
height: 72px;
width: 1200px;
flex-flow: row nowrap;
align-items: center;
justify-content: space-between;
margin: 0 auto;
padding: 0 25px;
}
.header___Wn4fJ .newslight___lSZjL {
width: 5px;

@ -1369,6 +1369,14 @@ var CourseList = function CourseList(_ref) {
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(school_name),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.unit,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-danwei1 font14 mr3"
}), school_name]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {

@ -3006,11 +3006,11 @@ button[class~='ant-btn-default']:disabled.btn___In02G {
display: flex;
width: 100%;
height: 72px;
width: 1200px;
flex-flow: row nowrap;
align-items: center;
justify-content: space-between;
margin: 0 auto;
padding: 0 25px;
}
.header___Wn4fJ .newslight___lSZjL {
width: 5px;

@ -1231,10 +1231,7 @@ input_Input.Password = input_Password;
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -650,10 +650,7 @@ if (false) {}
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -5704,6 +5704,14 @@ var CourseList = function CourseList(_ref) {
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(school_name),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.unit,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-danwei1 font14 mr3"
}), school_name]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -17582,10 +17590,7 @@ if (false) {}
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -1429,10 +1429,7 @@ input_Input.Password = input_Password;
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -1505,14 +1505,11 @@ var See = function See(_ref) {
case 2:
res = _context.sent;
res.status == 0 && setQuestionName(res.data);
_context.next = 6;
return getData();
case 6:
if (searchParams.get("exportPDF") && (_paperlibrary$paperDa = paperlibrary.paperData) !== null && _paperlibrary$paperDa !== void 0 && _paperlibrary$paperDa.questionList) {
message/* default */.ZP.info('正在导出空白试卷pdf');
(0,exportPDF/* exportPDF */.F)(paperDomRef.current.children, '导出试卷');
}
case 7:
case 5:
case "end":
return _context.stop();
}

@ -221,6 +221,14 @@ var CustomCarousel = function CustomCarousel(_ref) {
children: item.name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(item.school_name),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CustomCarouselmodules.unit,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-danwei1 font14 mr3"
}), item.school_name]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CustomCarouselmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {

@ -3242,10 +3242,6 @@ progress::-moz-progress-bar {
right: 0;
left: inherit;
}
.container___g1WYG button:nth-last-child(2)::before {
right: 0;
left: 0;
}
.container___g1WYG button:hover::before {
display: inline-block;
}
@ -3254,7 +3250,7 @@ progress::-moz-progress-bar {
}
.fullscreen-button___ur0es::before {
right: 0px;
left: inherit !important;
left: inherit!important;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;

@ -637,11 +637,11 @@
display: flex;
width: 100%;
height: 72px;
width: 1200px;
flex-flow: row nowrap;
align-items: center;
justify-content: space-between;
margin: 0 auto;
padding: 0 25px;
}
.header___Wn4fJ .newslight___lSZjL {
width: 5px;

@ -5845,10 +5845,7 @@ const getRenderPropValue = propValue => {
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

@ -4434,10 +4434,7 @@ if (false) {}
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 12124);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477);

File diff suppressed because it is too large Load Diff

@ -4425,11 +4425,11 @@ button[class~='ant-btn-default']:disabled.btn___In02G {
display: flex;
width: 100%;
height: 72px;
width: 1200px;
flex-flow: row nowrap;
align-items: center;
justify-content: space-between;
margin: 0 auto;
padding: 0 25px;
}
.header___Wn4fJ .newslight___lSZjL {
width: 5px;

@ -409,10 +409,6 @@ progress::-moz-progress-bar {
right: 0;
left: inherit;
}
.container___g1WYG button:nth-last-child(2)::before {
right: 0;
left: 0;
}
.container___g1WYG button:hover::before {
display: inline-block;
}
@ -421,7 +417,7 @@ progress::-moz-progress-bar {
}
.fullscreen-button___ur0es::before {
right: 0px;
left: inherit !important;
left: inherit!important;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;

@ -231,10 +231,6 @@ progress::-moz-progress-bar {
right: 0;
left: inherit;
}
.container___g1WYG button:nth-last-child(2)::before {
right: 0;
left: 0;
}
.container___g1WYG button:hover::before {
display: inline-block;
}
@ -243,7 +239,7 @@ progress::-moz-progress-bar {
}
.fullscreen-button___ur0es::before {
right: 0px;
left: inherit !important;
left: inherit!important;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -527,12 +527,6 @@ body:fullscreen .task-header-container {
font-size: 12px;
padding: 0 15px 0 35px;
}
.task-item-container .rate-container .star-tip-rate .ant-rate-star-first {
color: rgba(255, 255, 255, 0.6);
}
.task-item-container .rate-container .star-tip-rate .ant-rate-star-second {
color: rgba(255, 255, 255, 0.6);
}
.task-item-container .green {
color: #29bd8b;
}
@ -2368,6 +2362,7 @@ span.CodeMirror-selectedtext {
margin-right: 4px;
}
.task-header-container .btn-notice {
margin-right: 12px;
line-height: 12px;
}
.task-header-container .btn-vnc {
@ -2381,15 +2376,6 @@ span.CodeMirror-selectedtext {
.task-header-container .btn-vnc img {
margin-right: 9px;
}
#educoder .tasks-header-notice.ant-tour-placement-bottom {
width: 320px;
}
#educoder .tasks-header-notice.ant-tour-placement-bottom .ant-tour-content {
width: 320px;
}
#educoder .tasks-header-notice.ant-tour-placement-bottom .ant-tour-content .ant-tour-buttons .ant-btn:has(button) {
background: none !important;
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.0.89@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.89@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/tasks/code-repository/action-bar/index.less?modules ***!

@ -2866,6 +2866,14 @@ var CourseList = function CourseList(_ref) {
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(school_name),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.unit,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-danwei1 font14 mr3"
}), school_name]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {

@ -10633,7 +10633,6 @@ p {
}
#educoder .ant-modal .ant-modal-content .ant-modal-body .ant-modal-confirm-body > .anticon {
margin-bottom: 5px;
margin-top: 10px;
}
#educoder .ant-modal .ant-modal-content .ant-modal-body .ant-modal-confirm-title {
margin-top: 10px;

1664
umi.js

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save