Auto Submit

dev_local_v9_haijunshiguan_net
autosubmit 2 years ago
parent 0764a0cb16
commit 1d3bf47095

@ -1943,7 +1943,10 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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

@ -1493,7 +1493,10 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,7 +834,10 @@ input_Input.Password = input_Password;
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,7 +589,10 @@ Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z;
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,42 +1445,6 @@ 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, {
@ -1594,7 +1558,37 @@ 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: handleLoginOut,
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]]);
})),
children: "\u9000\u51FA"
})
})]
@ -1603,52 +1597,38 @@ var User = function User(_ref) {
};
if ((0,authority/* isLogin */.bg)()) {
var _user$userInfo19, _user$userInfo21;
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
})]
})
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)
})]
})
})
}), /*#__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: "".concat(globalSetting.isIlearning ? Usermodules.login : ""),
style: {
color: "#4CACFF"
},
className: "font15 ".concat(globalSetting.isIlearning ? Usermodules.login : ""),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "ml10 mr5 current ",
className: "ml10 mr5 current c-white",
onClick: function onClick() {
dispatch({
type: 'user/showPopLogin',
@ -1665,10 +1645,7 @@ var User = function User(_ref) {
children: "|"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
to: "/user/register",
className: "ml5 current pr25",
style: {
color: "#4CACFF"
},
className: "ml5 current c-white pr25",
children: "\u6CE8\u518C"
})]
})]
@ -2023,7 +2000,7 @@ var HeaderComponents = function HeaderComponents(_ref) {
(_visibleNavBar2 = visibleNavBar) === null || _visibleNavBar2 === void 0 || _visibleNavBar2.map(function (val, key) {
var _location$pathname, _val$subitem;
var path = '/' + ((_location$pathname = location.pathname) === null || _location$pathname === void 0 || (_location$pathname = _location$pathname.split('/')) === null || _location$pathname === void 0 ? void 0 : _location$pathname[1]);
if (val.link === path) {
if (val.link === path || val.link.indexOf(path) > -1) {
setActiveKey(val === null || val === void 0 ? void 0 : val.link);
(0,util/* setDocumentTitle */.Dk)(dealStr(val === null || val === void 0 ? void 0 : val.name));
setNavBar(footerDeal(key, {
@ -2032,6 +2009,10 @@ var HeaderComponents = function HeaderComponents(_ref) {
}, visibleNavBar));
hasMatchedUrl = true;
}
if (path == '/') {
setActiveKey('');
(0,util/* setDocumentTitle */.Dk)('首页');
}
if (val !== null && val !== void 0 && (_val$subitem = val.subitem) !== null && _val$subitem !== void 0 && _val$subitem.length) {
var _val$subitem2;
val === null || val === void 0 || (_val$subitem2 = val.subitem) === null || _val$subitem2 === void 0 || _val$subitem2.map(function (e) {

@ -356,7 +356,10 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,7 +1026,10 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,7 +598,10 @@ input_Input.Password = input_Password;
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,7 +1034,10 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,7 +2895,10 @@ Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z;
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,14 +4131,6 @@ 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", {
@ -6262,29 +6254,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' ? 13 : _context7.t0 === 'SubjectHomework' ? 15 : _context7.t0 === 'Shixun' ? 17 : 19;
_context7.next = _context7.t0 === 'Attachment' ? 9 : _context7.t0 === 'VideoItem' ? 11 : _context7.t0 === 'SubjectHomework' ? 13 : _context7.t0 === 'Shixun' ? 15 : 17;
break;
case 9:
// 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:
// 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", 19);
case 15:
return _context7.abrupt("break", 17);
case 13:
if (nodeData.homework_type == 'group') {
toStudentVideo(nodeData);
} else if (nodeData.homework_type == 'normal') {
toStudentVideo(nodeData);
}
return _context7.abrupt("break", 19);
case 17:
return _context7.abrupt("break", 17);
case 15:
handleToShixun(nodeData);
return _context7.abrupt("break", 19);
case 19:
return _context7.abrupt("break", 17);
case 17:
case "end":
return _context7.stop();
}

@ -920,7 +920,10 @@ input_Input.Password = input_Password;
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,7 +1086,10 @@ input_Input.Password = input_Password;
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,7 +459,10 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,14 +2809,6 @@ 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,7 +1251,10 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,14 +2940,6 @@ 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", {
@ -4605,7 +4597,10 @@ const getRenderPropValue = propValue => {
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,14 +203,6 @@ 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,7 +1001,10 @@ input_Input.Password = input_Password;
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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);

@ -2155,7 +2155,10 @@ const getRenderPropValue = propValue => {
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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 || urlList[3];
urlList[3] = (type === 'hack' ? 'program_homework' : 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\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);
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);
/**
* 分享课堂点击事件
@ -6340,7 +6340,10 @@ if (false) {}
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,18 +52,49 @@ var jsx_runtime = __webpack_require__(37712);
var BeforeFooter = function BeforeFooter(_ref) {
var _globalSetting$settin, _globalSetting$settin2, _globalSetting$settin3, _globalSetting$settin4;
var _globalSetting$settin, _globalSetting$settin2, _globalSetting$settin3, _globalSetting$settin4, _globalSetting$settin5, _globalSetting$settin6;
var user = _ref.user,
globalSetting = _ref.globalSetting;
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("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$settin3 = globalSetting.setting) !== null && _globalSetting$settin3 !== void 0 && _globalSetting$settin3.footer ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
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", {
dangerouslySetInnerHTML: {
__html: (_globalSetting$settin4 = globalSetting.setting) === null || _globalSetting$settin4 === void 0 ? void 0 : _globalSetting$settin4.footer
__html: (_globalSetting$settin6 = globalSetting.setting) === null || _globalSetting$settin6 === void 0 ? void 0 : _globalSetting$settin6.footer
}
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("p", {
@ -102,7 +133,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);

@ -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.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.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)("div", {
className: "register-panel",

@ -1027,7 +1027,10 @@ const getRenderPropValue = propValue => {
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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.publish_time;
formValue["publish_time"] = res === null || res === void 0 ? void 0 : 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.publish_time).format("YYYY-MM-DD")
children: dayjs_min_default()(text === null || text === void 0 ? void 0 : text.publish_time).format("YYYY-MM-DD")
});
}
}, {
@ -3288,6 +3288,7 @@ 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],
@ -3805,9 +3806,12 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml15",
children: [" \u4E0B\u8F7D\u6570\uFF1A", v.downloads_count, " "]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
}), (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", {
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;
width: auto !important;
}
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\

@ -88,6 +88,7 @@ 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),
@ -108,6 +109,10 @@ 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({
@ -246,10 +251,10 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
size: 'middle',
ghost: true,
type: "primary",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
to: "/classrooms/".concat(params.coursesId, "/board/").concat(params.categoryId || ''),
children: "\u53D6\u6D88"
})
onClick: function onClick() {
_umi_production_exports.history.push("/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 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
}), v.visits > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml20 c-light-black ",
children: [v.visits, " \u6D4F\u89C8"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {

@ -1873,17 +1873,12 @@ var ExeriseReview = function ExeriseReview(_ref) {
})]
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", {
}), /*#__PURE__*/(0,jsx_runtime.jsx)("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,14 +588,6 @@ 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,7 +1095,9 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
(0,_react_17_0_2_react.useEffect)(function () {
dispatch({
type: 'classroomList/getCourseGroupsList',
payload: objectSpread2_default()({}, params)
payload: objectSpread2_default()(objectSpread2_default()({}, params), {}, {
nonenavigate: true
})
});
}, [params['categoryId']]);
(0,_react_17_0_2_react.useEffect)(function () {
@ -1113,7 +1115,9 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
params.limit = pageSize;
dispatch({
type: 'classroomList/getCourseGroupsList',
payload: objectSpread2_default()({}, params)
payload: objectSpread2_default()(objectSpread2_default()({}, params), {}, {
nonenavigate: true
})
});
};
var onMenuSelect = function onMenuSelect(v) {
@ -1161,7 +1165,9 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
message/* default */.ZP.success('操作成功');
dispatch({
type: 'classroomList/getCourseGroupsList',
payload: objectSpread2_default()({}, params)
payload: objectSpread2_default()(objectSpread2_default()({}, params), {}, {
nonenavigate: true
})
});
}
case 4:
@ -1331,7 +1337,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\uFF1Ahttps://www.educoder.net/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\uFF1A").concat(window.location.origin, "/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() {
@ -1406,7 +1412,9 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
if (data.status === 0) {
dispatch({
type: 'classroomList/getCourseGroupsList',
payload: objectSpread2_default()({}, params)
payload: objectSpread2_default()(objectSpread2_default()({}, params), {}, {
nonenavigate: true
})
});
}
case 4:
@ -1513,7 +1521,9 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
params.page = 1;
dispatch({
type: 'classroomList/getCourseGroupsList',
payload: objectSpread2_default()({}, params)
payload: objectSpread2_default()(objectSpread2_default()({}, params), {}, {
nonenavigate: true
})
});
},
style: {
@ -2058,7 +2068,10 @@ if (false) {}
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,7 +3329,8 @@ 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;
update = _ref.update,
id = _ref.id;
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)();
@ -4371,7 +4372,9 @@ 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
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
}));
}
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) {
@ -4492,7 +4495,7 @@ var Shixun = function Shixun(_ref) {
key: "operation",
align: 'center',
render: function render(value, data, index) {
return value ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_anchor/* default */.Z, {
return value && !data.is_jupyter && !data.is_jupyter_lab ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_anchor/* default */.Z, {
affix: false,
className: "mt10",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_anchor/* default */.Z.Link, {
@ -6282,19 +6285,23 @@ var Answer = function Answer(_ref) {
while (1) switch (_context12.prev = _context12.next) {
case 0:
_context12.next = 2;
return (0,shixuns/* execShixun */.Ir)({
return (item.is_jupyter || item.is_jupyter_lab ? shixuns/* execJupyter */.BK : shixuns/* execShixun */.Ir)({
id: item.shixun_identifier
});
case 2:
res = _context12.sent;
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 || ""));
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 || ""));
}
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);
handleResetGame(res === null || res === void 0 ? void 0 : res.message, item.question_id, item.is_jupyter_lab, item.is_jupyter);
} else if ((res === null || res === void 0 ? void 0 : res.status) === 3) {
handleInBeta(res === null || res === void 0 ? void 0 : res.message);
}
@ -6308,7 +6315,7 @@ var Answer = function Answer(_ref) {
return _ref11.apply(this, arguments);
};
}();
var handleResetGame = function handleResetGame(url, question_id) {
var handleResetGame = function handleResetGame(url, question_id, is_jupyter_lab, is_jupyter) {
var _url;
url = (_url = url) !== null && _url !== void 0 && _url.includes('.json') ? url : "".concat(url, ".json");
es_modal/* default */.Z.confirm({
@ -6351,13 +6358,15 @@ var Answer = function Answer(_ref) {
}
goShixun({
shixun_identifier: execRes === null || execRes === void 0 ? void 0 : execRes.game_identifier,
question_id: question_id
question_id: question_id,
is_jupyter_lab: is_jupyter_lab,
is_jupyter: is_jupyter
});
// 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);
handleResetGame(execRes === null || execRes === void 0 ? void 0 : execRes.message, question_id, is_jupyter_lab, is_jupyter);
} else if ((execRes === null || execRes === void 0 ? void 0 : execRes.status) === 3) {
handleInBeta(execRes === null || execRes === void 0 ? void 0 : execRes.message);
}
@ -8388,6 +8397,7 @@ 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,14 +1456,6 @@ 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", {
@ -16424,7 +16416,9 @@ var PreventCheatingSettings_PublishSettings = function PublishSettings(_ref) {
//是否开启考试解锁码
unlock_key: '',
//考试解锁码
screen_shot_open: false //考试截图功能
screen_shot_open: false,
//考试截图功能
part_score: false //选择题部分得分
}),
_useState6 = slicedToArray_default()(_useState5, 2),
data = _useState6[0],
@ -16641,6 +16635,19 @@ 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,
@ -17200,7 +17207,7 @@ var PropertySettings_PublishSettings = function PublishSettings(_ref) {
//公开统计
open_total_score: false,
// 查看总成绩
open_score_reviewed: false,
open_score_reviewed: true,
//试卷评阅完成后
open_score: false,
//查看小题得分
@ -17306,8 +17313,12 @@ var PropertySettings_PublishSettings = function PublishSettings(_ref) {
disabled: disabled,
onChange: function onChange(e) {
data.open_total_score = e.target.checked;
if (e.target.checked === false) {
data.open_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;
}
setData(Object.assign({}, data));
},

@ -3432,7 +3432,10 @@ var Shixun = function Shixun(_ref) {
key: "operation",
align: 'center',
render: function render(value, data, index) {
return value ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_anchor/* default */.Z, {
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, {
affix: false,
className: "mt10",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_anchor/* default */.Z.Link, {
@ -4223,19 +4226,23 @@ var Answer = function Answer(_ref) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
_context4.next = 2;
return (0,shixuns/* execShixun */.Ir)({
return (item.is_jupyter || item.is_jupyter_lab ? shixuns/* execJupyter */.BK : shixuns/* execShixun */.Ir)({
id: item.shixun_identifier
});
case 2:
res = _context4.sent;
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));
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));
}
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);
handleResetGame(res === null || res === void 0 ? void 0 : res.message, item.question_id, item.is_jupyter_lab, item.is_jupyter);
} else if ((res === null || res === void 0 ? void 0 : res.status) === 3) {
handleInBeta(res === null || res === void 0 ? void 0 : res.message);
}
@ -4249,7 +4256,7 @@ var Answer = function Answer(_ref) {
return _ref4.apply(this, arguments);
};
}();
var handleResetGame = function handleResetGame(url, question_id) {
var handleResetGame = function handleResetGame(url, question_id, is_jupyter_lab, is_jupyter) {
var _url;
url = (_url = url) !== null && _url !== void 0 && _url.includes('.json') ? url : "".concat(url, ".json");
es_modal/* default */.Z.confirm({
@ -4292,12 +4299,14 @@ var Answer = function Answer(_ref) {
}
goShixun({
shixun_identifier: execRes === null || execRes === void 0 ? void 0 : execRes.game_identifier,
question_id: question_id
question_id: question_id,
is_jupyter_lab: is_jupyter_lab,
is_jupyter: is_jupyter
});
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);
handleResetGame(execRes === null || execRes === void 0 ? void 0 : execRes.message, question_id, is_jupyter_lab, is_jupyter);
} else if ((execRes === null || execRes === void 0 ? void 0 : execRes.status) === 3) {
handleInBeta(execRes === null || execRes === void 0 ? void 0 : execRes.message);
}

@ -277,14 +277,6 @@ 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", {
@ -1719,7 +1711,9 @@ 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
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
}));
}
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) {
@ -1747,7 +1741,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 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
children: !!record.operation && !record.is_jupyter && !record.is_jupyter_lab ? /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
target: "_blank",
style: {
maxWidth: "400px"
@ -2056,7 +2050,7 @@ var Shixun = function Shixun(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "font16 mr15",
children: [" \u7B2C", chanllenge.position, "\u5173"]
}), chanllenge.game_identifier ? /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
}), 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, {
target: "_blank",
className: "current c-light-primary font16",
to: "/tasks/".concat(coursesId, "/").concat(exerciseId, "/").concat(chanllenge.game_identifier, "/exercise"),

@ -3812,7 +3812,10 @@ const getRenderPropValue = propValue => {
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,7 +12135,10 @@ const getRenderPropValue = propValue => {
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,10 +5230,11 @@ 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, _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, _globalSetting$settin, _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;
@ -6278,7 +6279,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('已截止')) && (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('已截止')) && !(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, {
className: "ml10",
onClick: function onClick() {
dispatch({
@ -6797,12 +6798,14 @@ var WorkList = function WorkList(_ref) {
var shixunHomeworks = _ref10.shixunHomeworks,
classroomList = _ref10.classroomList,
loading = _ref10.loading,
user = _ref10.user;
user = _ref10.user,
globalSetting = _ref10.globalSetting;
return {
shixunHomeworks: shixunHomeworks,
classroomList: classroomList,
loading: loading.effects,
user: user
user: user,
globalSetting: globalSetting
};
})(WorkList));
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/alert/index.js + 3 modules

@ -3076,7 +3076,10 @@ const getRenderPropValue = propValue => {
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,7 +857,10 @@ if (false) {}
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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;
var _videoList3, _user$userInfo3, _videoList4;
var user = _ref.user,
userDetail = _ref.userDetail,
globalSetting = _ref.globalSetting,
@ -911,8 +911,12 @@ 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 _videoList4, _videoList5;
var _videoList5, _videoList6;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Uploadmodules.fileMain,
style: {
@ -920,7 +924,7 @@ var Uploads = function Uploads(_ref) {
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, {
spinning: isLoading,
children: [(_videoList4 = videoList) === null || _videoList4 === void 0 ? void 0 : _videoList4.map(function (item, index) {
children: [(_videoList5 = videoList) === null || _videoList5 === void 0 ? void 0 : _videoList5.map(function (item, index) {
var _item$title;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Uploadmodules.fileWrap,
@ -989,7 +993,7 @@ var Uploads = function Uploads(_ref) {
}, item.name);
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mt10",
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: ((_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: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(Uploadmodules.continueAdd, " current"),
children: "\u7EE7\u7EED\u6DFB\u52A0"
@ -1011,6 +1015,7 @@ 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"
@ -1037,7 +1042,7 @@ var Uploads = function Uploads(_ref) {
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(LeftOutlined/* default */.Z, {
style: {
marginTop: '8px'
marginTop: '-11px'
},
className: "current mr10 font16",
onClick: function onClick() {

@ -578,6 +578,10 @@ 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;
}
@ -586,7 +590,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,14 +3899,6 @@ 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", {
@ -8704,11 +8696,11 @@ var informationPage = function informationPage(_ref) {
style: {
display: 'flex'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
width: '32%'
width: '34%'
},
children: "https://www.educoder.net/competitions/"
children: [window.location.origin, "/competitions/detail/"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
color: "#fb3226",
@ -11844,7 +11836,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(params.input);
return val.homework_type === item.type && item.open && val.name.includes(decodeURIComponent(params.input));
})) === null || _courseItems$filter15 === void 0 ? void 0 : _courseItems$filter15.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
@ -12761,7 +12753,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('https://www.educoder.net/competitions/' + (res === null || res === void 0 ? void 0 : res.identifier) + '/edit');
seturl_show("".concat(window.location.origin, "/competitions/detail/") + (res === null || res === void 0 ? void 0 : res.identifier));
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)) {
@ -12806,7 +12798,7 @@ var documentPage = function documentPage(_ref) {
//如果要保留文本格式,比如保留换行符,或者多行文本,可以使用 textarea 标签,再配和模板字符串 ` `
//const input = document.createElement('textarea')
// 将想要复制的值
input.value = 'https://www.educoder.net/competitions/' + form.getFieldValue('identifier');
input.value = "".concat(window.location.origin, "/competitions/detail/") + form.getFieldValue('identifier');
// 页面底部追加输入框
document.body.appendChild(input);
// 选中输入框
@ -13001,7 +12993,7 @@ var documentPage = function documentPage(_ref) {
colon: false,
name: "identifier",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
prefix: "https://www.educoder.net/competitions/",
prefix: "".concat(window.location.origin, "/competitions/detail/"),
disabled: true,
className: documentmodules.form_item_item
})

@ -3324,14 +3324,6 @@ 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,14 +1384,6 @@ 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", {

@ -1369,14 +1369,6 @@ 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", {

@ -1231,7 +1231,10 @@ input_Input.Password = input_Password;
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,7 +650,10 @@ if (false) {}
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,14 +5704,6 @@ 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", {
@ -17590,7 +17582,10 @@ if (false) {}
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,7 +1429,10 @@ input_Input.Password = input_Password;
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,11 +1505,14 @@ 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 5:
case 7:
case "end":
return _context.stop();
}

@ -221,14 +221,6 @@ 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,6 +3242,10 @@ 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;
}
@ -3250,7 +3254,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;

@ -5845,7 +5845,10 @@ const getRenderPropValue = propValue => {
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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,7 +4434,10 @@ if (false) {}
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* unused harmony exports getOverlay, RawPurePanel */
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ t5: function() { return /* binding */ RawPurePanel; }
/* harmony export */ });
/* unused harmony export getOverlay */
/* 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

@ -409,6 +409,10 @@ 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;
}
@ -417,7 +421,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,6 +231,10 @@ 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;
}
@ -239,7 +243,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,6 +527,12 @@ 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;
}
@ -2362,7 +2368,6 @@ span.CodeMirror-selectedtext {
margin-right: 4px;
}
.task-header-container .btn-notice {
margin-right: 12px;
line-height: 12px;
}
.task-header-container .btn-vnc {
@ -2376,6 +2381,15 @@ 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 ***!
@ -5375,24 +5389,26 @@ ul.menu___sjQxY [class~='ant-dropdown-menu-item-active'] {
.files___kFNIo [class^='ant-upload-list-item']:hover [class^='ant-upload-list-item-info'] {
border: 1px solid #0152d9;
}
.files___kFNIo [class*='ant-upload-list-item-list-type-text'] {
.files___kFNIo [class*='ant-upload-list-item'] {
color: #0152d9;
font-size: 18px;
height: 34px;
}
.files___kFNIo [class*='ant-upload-list-item-list-type-text'] [class^='ant-upload-list-item-card-actions'] {
.files___kFNIo [class*='ant-upload-list-item'] [class^='ant-upload-list-item-card-actions'] {
top: 2px;
right: 5px;
}
.files___kFNIo [class*='ant-upload-list-item-list-type-text'] [class^='ant-upload-text-icon'] svg {
.files___kFNIo [class*='ant-upload-list-item'] [class^='ant-upload-icon'] svg {
font-size: 18px;
margin-top: 3px;
color: #0152d9;
}
.files___kFNIo [class*='ant-upload-list-item-list-type-text'] [class^='ant-upload-list-item-name'] {
.files___kFNIo [class*='ant-upload-list-item'] [class^='ant-upload-list-item-name'] {
padding-left: 30px;
font-size: 18px;
height: 34px;
}
.files___kFNIo [class*='ant-upload-list-item-list-type-text'] [class^='ant-btn'] svg {
.files___kFNIo [class*='ant-upload-list-item'] [class^='ant-btn'] svg {
color: #fb3226;
margin-right: 5px;
font-size: 18px;

@ -2866,14 +2866,6 @@ 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,6 +10633,7 @@ 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;

1669
umi.js

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