Auto Submit

dev_local_v9_haijunshiguan_net
autosubmit 2 years ago
parent 742cbbba08
commit 4d40b5258d

@ -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);

@ -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", {

@ -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);

@ -1368,10 +1368,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);

File diff suppressed because one or more lines are too long

@ -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);

@ -29,7 +29,6 @@ __webpack_require__.d(__webpack_exports__, {
z3: function() { return /* reexport */ nodata; },
GY: function() { return /* reexport */ notice_namespaceObject; },
wC: function() { return /* reexport */ qrCode; },
Pt: function() { return /* reexport */ question_namespaceObject; },
Oe: function() { return /* reexport */ RepositoryNoneData_namespaceObject; },
L6: function() { return /* reexport */ search1_namespaceObject; },
RL: function() { return /* reexport */ search; },
@ -40,7 +39,7 @@ __webpack_require__.d(__webpack_exports__, {
g4: function() { return /* reexport */ zoom_namespaceObject; }
});
// UNUSED EXPORTS: UserQrCode, certificateIcon, charpterWhiteIcon, chooseIcon, groups1Icon, groups2Icon, groups3Icon, lockcloseIcon, qrCode
// UNUSED EXPORTS: UserQrCode, certificateIcon, charpterWhiteIcon, chooseIcon, groups1Icon, groups2Icon, groups3Icon, lockcloseIcon, qrCode, questionIcon
// EXTERNAL MODULE: ./src/assets/images/icons/search.png
var search = __webpack_require__(58143);

File diff suppressed because it is too large Load Diff

@ -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);

@ -1151,10 +1151,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);

@ -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

@ -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);

@ -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);

@ -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();
}

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);

File diff suppressed because one or more lines are too long

@ -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", {

@ -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);

@ -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

File diff suppressed because it is too large Load Diff

@ -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, "/").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);
/**
* 分享课堂点击事件
@ -5442,6 +5442,9 @@ var ShixunDetail_ShixunsListPage = function ShixunsListPage(_ref) {
className: ShixunDetailmodules.bg,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("section", {
className: ShixunDetailmodules.classroomInfo,
style: {
display: "none"
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
className: "edu-container",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
@ -6340,10 +6343,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);

@ -1,10 +1,10 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[37062],{
/***/ 51770:
/*!****************************************************!*\
!*** ./src/layouts/SimpleLayouts.tsx + 12 modules ***!
\****************************************************/
/***/ 27581:
/*!***************************************************!*\
!*** ./src/layouts/SimpleLayouts.tsx + 9 modules ***!
\***************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// ESM COMPAT FLAG
@ -34,159 +34,21 @@ var zh_CN = __webpack_require__(81863);
var Header = __webpack_require__(70378);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(43788);
;// CONCATENATED MODULE: ./src/components/Footer/NewFooter/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var NewFootermodules = ({"flex_box_center":"flex_box_center___mmTa9","flex_space_between":"flex_space_between___jMnlY","flex_box_vertical_center":"flex_box_vertical_center___Nzd52","flex_box_center_end":"flex_box_center_end___rVNra","flex_box_column":"flex_box_column___cg5bF","newFooter":"newFooter___XUH_2"});
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(26078);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
var es_modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./src/utils/util.tsx
var util = __webpack_require__(87885);
// EXTERNAL MODULE: ./src/assets/images/index/qqCode.png
var qqCode = __webpack_require__(40937);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/components/Footer/NewFooter/index.tsx
var NewFooter = function NewFooter(_ref) {
var _globalSetting$settin;
var user = _ref.user,
globalSetting = _ref.globalSetting;
var _useState = (0,_react_17_0_2_react.useState)(false),
_useState2 = slicedToArray_default()(_useState, 2),
QQVisible = _useState2[0],
setQQVisible = _useState2[1];
(0,_react_17_0_2_react.useEffect)(function () {
window.addEventListener("click", modal);
return function () {
window.removeEventListener("click", modal);
};
}, []);
var handleCommunity = function handleCommunity() {
var isMac = function () {
return /macintosh|mac os x/i.test(navigator.userAgent);
}();
if (isMac) {
setQQVisible(true);
return;
}
var href = "//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd";
(0,util/* openNewWindow */.xg)(href);
};
//父级找元素
var parentIndexOf = function parentIndexOf(node, parent) {
if (node.className === parent) {
return node;
}
for (var i = 0, n = node; n = n.parentNode; i++) {
if (n.className === parent) {
return n;
}
if (n == document.documentElement) {
return false;
} //找不到目标父节点,防止死循环
}
};
var modal = function modal(e) {
var _e$target, _e$target2;
// 检查事件源e.targe是否为Li
if (e !== null && e !== void 0 && e.target && ((e === null || e === void 0 || (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.innerText) === "教师交流社区" || (e === null || e === void 0 || (_e$target2 = e.target) === null || _e$target2 === void 0 || (_e$target2 = _e$target2.nextElementSibling) === null || _e$target2 === void 0 ? void 0 : _e$target2.innerText) === "教师交流社区")) {
// 真正的处理过程在这里
if (parentIndexOf(e.target, 'module-introduce')) {
handleCommunity();
}
}
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)(_react_17_0_2_react.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, {
centered: true,
destroyOnClose: true,
open: QQVisible,
title: "\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A",
width: "500px",
footer: null,
onCancel: function onCancel() {
return setQQVisible(false);
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
flexDirection: 'column',
alignItems: 'center'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", {
children: "\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u6559\u5E08\u4EA4\u6D41QQ\u7FA4\uFF1A612934990 "
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: qqCode,
width: 200,
height: 200
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: NewFootermodules.newFooter,
dangerouslySetInnerHTML: {
__html: (_globalSetting$settin = globalSetting.setting) === null || _globalSetting$settin === void 0 || (_globalSetting$settin = _globalSetting$settin.footer) === null || _globalSetting$settin === void 0 ? void 0 : _globalSetting$settin.replaceAll("/api/attachments/", env/* default */.Z.IMG_SERVER + "/api/attachments/")
}
})]
});
};
/* harmony default export */ var Footer_NewFooter = (NewFooter);
;// CONCATENATED MODULE: ./src/components/Footer/index.tsx
var FooterComponents = function FooterComponents(_ref) {
var user = _ref.user,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
dispatch = _ref.dispatch;
if (globalSetting.showFooter && globalSetting.showHeaderFooter) {
var _globalSetting$settin, _globalSetting$settin2;
return /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
id: "footer",
children: globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin = globalSetting.setting) !== null && _globalSetting$settin !== void 0 && _globalSetting$settin.main_site && !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin2 = globalSetting.setting) !== null && _globalSetting$settin2 !== void 0 && _globalSetting$settin2.is_local) ? /*#__PURE__*/(0,jsx_runtime.jsx)(Footer_NewFooter, {
user: user,
globalSetting: globalSetting
})
// : <BeforeFooter user={user} globalSetting={globalSetting} />
: null
});
} else {
return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
children: " "
});
}
};
/* harmony default export */ var Footer = ((0,_umi_production_exports.connect)(function (_ref2) {
var user = _ref2.user,
loading = _ref2.loading,
globalSetting = _ref2.globalSetting;
return {
user: user,
globalSetting: globalSetting,
loading: loading.models.index
};
})(FooterComponents));
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/back-top/index.js + 3 modules
var back_top = __webpack_require__(13613);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
var modal = __webpack_require__(43418);
;// CONCATENATED MODULE: ./src/components/SideBar/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var SideBarmodules = ({"sideBar":"sideBar___iM1tf","wrap":"wrap___GEY86","backTop":"backTop___skoyU","ul":"ul___JwWww","tooltipclass":"tooltipclass___QQUJq"});
// EXTERNAL MODULE: ./src/assets/images/index/qqCode.png
var qqCode = __webpack_require__(40937);
// EXTERNAL MODULE: ./src/utils/util.tsx
var util = __webpack_require__(87885);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/components/SideBar/index.tsx
@ -298,7 +160,7 @@ var SideBar = function SideBar(_ref) {
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
centered: true,
destroyOnClose: true,
open: QQVisible,
@ -357,7 +219,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
var user = _ref.user,
dispatch = _ref.dispatch,
classroomList = _ref.classroomList;
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, {
return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
title: "\u6E29\u99A8\u63D0\u793A"
// open={true}
,
@ -476,7 +338,7 @@ var LengthenModel = function LengthenModel(_ref) {
localStorage.removeItem(recordStr);
}
};
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, {
return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
title: "\u6E29\u99A8\u63D0\u793A",
open: visible,
zIndex: 9999,
@ -982,6 +844,8 @@ var CustomOperateModel = function CustomOperateModel(_ref) {
globalSetting: globalSetting
};
})(CustomOperateModel));
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(26078);
// EXTERNAL MODULE: ./src/layouts/index.less?modules
var layoutsmodules = __webpack_require__(85856);
;// CONCATENATED MODULE: ./src/assets/images/left.png
@ -1010,7 +874,6 @@ var _excluded = ["loading", "children", "globalSetting", "user"];
var SimpleLayouts = function SimpleLayouts(_ref) {
var _globalSetting$settin, _globalSetting$settin2, _globalSetting$settin4;
var loading = _ref.loading,
@ -1114,7 +977,7 @@ var SimpleLayouts = function SimpleLayouts(_ref) {
}), document.domain !== "kepukehuan.educoder.net" && /*#__PURE__*/(0,jsx_runtime.jsx)(Header/* default */.Z, objectSpread2_default()({}, props)), /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
className: layoutsmodules/* default */.Z.layoutMainClass,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Outlet, {})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(components_SideBar, {}), !(0,util/* checkIsClientExam */.Ll)() && document.domain !== "kepukehuan.educoder.net" && /*#__PURE__*/(0,jsx_runtime.jsx)(Footer, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(ExportModel, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(components_LengthenModel, {}), !(0,util/* checkIsClientExam */.Ll)() && /*#__PURE__*/(0,jsx_runtime.jsx)(components_CustomOperateModel, {})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(components_SideBar, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(ExportModel, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(components_LengthenModel, {}), !(0,util/* checkIsClientExam */.Ll)() && /*#__PURE__*/(0,jsx_runtime.jsx)(components_CustomOperateModel, {})]
});
};
/* harmony default export */ var layouts_SimpleLayouts = ((0,_umi_production_exports.connect)(function (_ref2) {

@ -104,19 +104,19 @@
color: #979797;
}
.header___Wn4fJ .menu___twLGR li:hover .name___dR5V2 span {
color: #c5c5c5;
color: #4CACFF;
}
.header___Wn4fJ .menu___twLGR li:hover .dropDown___Cwaoa {
display: block;
}
.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span {
color: #c5c5c5;
color: #4CACFF;
}
.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span::after {
content: '';
width: 100%;
height: 2px;
background: #c5c5c5;
background: #4CACFF;
position: absolute;
bottom: 12px;
left: 0;
@ -408,70 +408,6 @@
.w100___yYRaC {
width: 90%;
}
.scoremodal___UK79S [class~='ant-modal-body'] {
padding: 25px;
}
.scoremodal___UK79S .title___R27m0 {
color: #000000;
font-size: 16px;
font-weight: 500;
display: flex;
width: 100%;
}
.scoremodal___UK79S .content___AWEH9 {
margin-top: 25px;
}
.scoremodal___UK79S .content___AWEH9 .jsinput___zKhE1 div[class~='ant-form-item-label'] {
margin-bottom: 10px;
}
.scoremodal___UK79S .bottom___hVTdR {
width: 100%;
text-align: end;
margin-top: 30px;
}
.scoremodal___UK79S .bottom___hVTdR .yes___CSLaE {
padding: 0px 20px;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
font-weight: 400;
color: #FFFFFF;
border: 0px;
}
.scoremodal___UK79S .bottom___hVTdR .no___hidCj {
margin-right: 20px;
width: 60px;
height: 32px;
background: #F8F9FC;
border-radius: 2px;
opacity: 0.5;
border: 1px solid #C3CFE0;
font-weight: 400;
color: #464F66;
line-height: 14px;
}
.baseFormItem___obCPA {
font-size: 14px;
}
.baseFormItem___obCPA input[class~='ant-input'] {
height: 38px;
}
.baseFormItem___obCPA input[class~='ant-input-number-input'] {
height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] {
height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] {
line-height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] span[class~='ant-select-selection-placeholder'] {
line-height: 46px;
}
.baseFormItem___obCPA span[class~='ant-select-arrow'] {
right: 12px;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.88@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.88@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/components/User/index.less?modules ***!
@ -593,157 +529,6 @@
color: #979797;
}
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.88@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.88@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Footer/NewFooter/index.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___mmTa9 {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___jMnlY {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___Nzd52 {
align-items: center;
box-align: center;
}
.flex_box_center_end___rVNra {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___cg5bF {
flex-direction: column;
box-orient: block-axis;
}
.newFooter___XUH_2 {
padding: 90px 20px;
display: flex;
justify-content: center;
align-items: flex-start;
background: #242424;
min-width: 1200px;
}
.newFooter___XUH_2 .module-list {
width: 200px;
}
.newFooter___XUH_2 .module-list .title {
font-size: 16px;
color: #dddddd;
margin-bottom: 20px;
font-weight: 400;
}
.newFooter___XUH_2 .module-list a {
display: block;
color: #bbb;
line-height: 34px;
font-weight: 300;
}
.newFooter___XUH_2 .module-list a:hover {
color: #fff;
}
.newFooter___XUH_2 .module-introduce {
display: flex;
flex-direction: column;
align-items: center;
width: 290px;
margin-top: -12px;
}
.newFooter___XUH_2 .module-introduce p {
font-size: 12px;
color: #bbb;
line-height: 32px;
margin-top: 12px;
font-weight: 300;
text-align: justify;
}
.newFooter___XUH_2 .module-introduce ul {
display: flex;
justify-content: space-around;
padding: 0;
margin-top: 20px;
}
.newFooter___XUH_2 .module-introduce ul li {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.newFooter___XUH_2 .module-introduce ul li span {
font-size: 12px;
color: #bbb;
padding-top: 10px;
}
.newFooter___XUH_2 .module-introduce ul li:first-child {
margin-right: 50px;
}
.newFooter___XUH_2 .module-introduce ul li:last-child img {
cursor: pointer;
}
.newFooter___XUH_2 .module-introduce ul li:last-child img:hover + span {
color: #fff;
}
.newFooter___XUH_2 .module-introduce ul li:last-child span {
cursor: pointer;
}
.newFooter___XUH_2 .module-introduce ul li:last-child span:hover {
color: #fff;
}
.newFooter___XUH_2 .module-introduce ol {
margin-top: 16px;
display: flex;
justify-content: space-around;
padding: 0;
height: 108px;
}
.newFooter___XUH_2 .module-introduce ol li {
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.newFooter___XUH_2 .module-introduce ol li a {
font-size: 14px;
color: #bbb;
margin-top: 20px;
}
.newFooter___XUH_2 .module-introduce ol li a:hover {
color: #fff;
}
.newFooter___XUH_2 .module-introduce ol li:nth-child(2) {
margin: 0 54px;
}
.newFooter___XUH_2 .module-introduce .footer-line {
width: 310px;
height: 1px;
background-color: #3e4042;
margin: 32px 0;
}
.newFooter___XUH_2 .module-introduce section {
width: 100%;
height: 115px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
font-size: 14px;
color: #bbb;
font-weight: 300;
}
.newFooter___XUH_2 .module-introduce section img {
margin-top: -2px;
margin-right: 10px;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.88@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.88@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/SideBar/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -297,19 +297,19 @@
color: #979797;
}
.header___Wn4fJ .menu___twLGR li:hover .name___dR5V2 span {
color: #c5c5c5;
color: #4CACFF;
}
.header___Wn4fJ .menu___twLGR li:hover .dropDown___Cwaoa {
display: block;
}
.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span {
color: #c5c5c5;
color: #4CACFF;
}
.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span::after {
content: '';
width: 100%;
height: 2px;
background: #c5c5c5;
background: #4CACFF;
position: absolute;
bottom: 12px;
left: 0;
@ -601,70 +601,6 @@
.w100___yYRaC {
width: 90%;
}
.scoremodal___UK79S [class~='ant-modal-body'] {
padding: 25px;
}
.scoremodal___UK79S .title___R27m0 {
color: #000000;
font-size: 16px;
font-weight: 500;
display: flex;
width: 100%;
}
.scoremodal___UK79S .content___AWEH9 {
margin-top: 25px;
}
.scoremodal___UK79S .content___AWEH9 .jsinput___zKhE1 div[class~='ant-form-item-label'] {
margin-bottom: 10px;
}
.scoremodal___UK79S .bottom___hVTdR {
width: 100%;
text-align: end;
margin-top: 30px;
}
.scoremodal___UK79S .bottom___hVTdR .yes___CSLaE {
padding: 0px 20px;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
font-weight: 400;
color: #FFFFFF;
border: 0px;
}
.scoremodal___UK79S .bottom___hVTdR .no___hidCj {
margin-right: 20px;
width: 60px;
height: 32px;
background: #F8F9FC;
border-radius: 2px;
opacity: 0.5;
border: 1px solid #C3CFE0;
font-weight: 400;
color: #464F66;
line-height: 14px;
}
.baseFormItem___obCPA {
font-size: 14px;
}
.baseFormItem___obCPA input[class~='ant-input'] {
height: 38px;
}
.baseFormItem___obCPA input[class~='ant-input-number-input'] {
height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] {
height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] {
line-height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] span[class~='ant-select-selection-placeholder'] {
line-height: 46px;
}
.baseFormItem___obCPA span[class~='ant-select-arrow'] {
right: 12px;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.88@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.88@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/components/User/index.less?modules ***!

File diff suppressed because one or more lines are too long

@ -128,19 +128,19 @@
color: #979797;
}
.header___Wn4fJ .menu___twLGR li:hover .name___dR5V2 span {
color: #c5c5c5;
color: #4CACFF;
}
.header___Wn4fJ .menu___twLGR li:hover .dropDown___Cwaoa {
display: block;
}
.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span {
color: #c5c5c5;
color: #4CACFF;
}
.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span::after {
content: '';
width: 100%;
height: 2px;
background: #c5c5c5;
background: #4CACFF;
position: absolute;
bottom: 12px;
left: 0;
@ -432,70 +432,6 @@
.w100___yYRaC {
width: 90%;
}
.scoremodal___UK79S [class~='ant-modal-body'] {
padding: 25px;
}
.scoremodal___UK79S .title___R27m0 {
color: #000000;
font-size: 16px;
font-weight: 500;
display: flex;
width: 100%;
}
.scoremodal___UK79S .content___AWEH9 {
margin-top: 25px;
}
.scoremodal___UK79S .content___AWEH9 .jsinput___zKhE1 div[class~='ant-form-item-label'] {
margin-bottom: 10px;
}
.scoremodal___UK79S .bottom___hVTdR {
width: 100%;
text-align: end;
margin-top: 30px;
}
.scoremodal___UK79S .bottom___hVTdR .yes___CSLaE {
padding: 0px 20px;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
font-weight: 400;
color: #FFFFFF;
border: 0px;
}
.scoremodal___UK79S .bottom___hVTdR .no___hidCj {
margin-right: 20px;
width: 60px;
height: 32px;
background: #F8F9FC;
border-radius: 2px;
opacity: 0.5;
border: 1px solid #C3CFE0;
font-weight: 400;
color: #464F66;
line-height: 14px;
}
.baseFormItem___obCPA {
font-size: 14px;
}
.baseFormItem___obCPA input[class~='ant-input'] {
height: 38px;
}
.baseFormItem___obCPA input[class~='ant-input-number-input'] {
height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] {
height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] {
line-height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] span[class~='ant-select-selection-placeholder'] {
line-height: 46px;
}
.baseFormItem___obCPA span[class~='ant-select-arrow'] {
right: 12px;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.88@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.88@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/components/User/index.less?modules ***!

@ -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", {

@ -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:
@ -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);

@ -4371,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) {
@ -4494,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, {
@ -6284,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);
}
@ -6314,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({
@ -6357,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);
}

@ -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", {
@ -16639,7 +16647,7 @@ var PreventCheatingSettings_PublishSettings = function PublishSettings(_ref) {
className: ConfigWorksmodules.mb28,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
checked: data.identity_verify,
disabled: !(0,authority/* isAdmin */.GJ)() || disabled,
disabled: !(0,authority/* isCommonSuperAdminOrOperation */.ag)() || disabled,
onChange: function onChange(e) {
data.identity_verify = e.target.checked;
setData(Object.assign({}, data));
@ -17192,7 +17200,7 @@ var PropertySettings_PublishSettings = function PublishSettings(_ref) {
//公开统计
open_total_score: false,
// 查看总成绩
open_score_reviewed: true,
open_score_reviewed: false,
//试卷评阅完成后
open_score: false,
//查看小题得分
@ -17298,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) {
@ -1731,6 +1737,36 @@ var Shixun = function Shixun(_ref) {
setChallengeData([]);
};
}, [item === null || item === void 0 ? void 0 : item.shixun_details]);
var handleChageUserScore = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(e, value) {
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
if (!(Number(e.target.value) != value.user_score)) {
_context.next = 5;
break;
}
_context.next = 3;
return saveChangeScore(objectSpread2_default()(objectSpread2_default()({}, item), {
shixun_challenge_id: value.shixun_challenge_id,
score: Number(e.target.value)
}));
case 3:
res = _context.sent;
if (res !== null && res !== void 0 && res.question_comments) {
message/* default */.ZP.success("已修改当前评分");
}
case 5:
case "end":
return _context.stop();
}
}, _callee);
}));
return function handleChageUserScore(_x, _x2) {
return _ref2.apply(this, arguments);
};
}();
var columns = [{
title: "关卡/任务名称",
dataIndex: "name",
@ -1741,7 +1777,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"
@ -1877,42 +1913,18 @@ var Shixun = function Shixun(_ref) {
render: function render(value, d, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
formatter: function formatter(value) {
var _ref2;
return ((_ref2 = "".concat(value)) === null || _ref2 === void 0 || (_ref2 = _ref2.match(/^(\d)*.\d{0,1}/)) === null || _ref2 === void 0 ? void 0 : _ref2[0]) || "0";
var _ref3;
return ((_ref3 = "".concat(value)) === null || _ref3 === void 0 || (_ref3 = _ref3.match(/^(\d)*.\d{0,1}/)) === null || _ref3 === void 0 ? void 0 : _ref3[0]) || "0";
},
min: 0,
max: Number(d.game_score),
defaultValue: value,
onChange: /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(val) {
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
if (!(val != value)) {
_context.next = 5;
break;
}
_context.next = 3;
return saveChangeScore(objectSpread2_default()(objectSpread2_default()({}, item), {
shixun_challenge_id: d.shixun_challenge_id,
score: val
}));
case 3:
res = _context.sent;
if (res !== null && res !== void 0 && res.question_comments) {
message/* default */.ZP.success("已修改当前评分");
}
case 5:
case "end":
return _context.stop();
}
}, _callee);
}));
return function (_x) {
return _ref3.apply(this, arguments);
};
}()
onPressEnter: function onPressEnter(e) {
return handleChageUserScore(e, d);
},
onBlur: function onBlur(e) {
return handleChageUserScore(e, d);
}
});
}
}].filter(function (x) {
@ -2050,7 +2062,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);

@ -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: inherit;
}
.container___g1WYG button:hover::before {
display: inline-block;
}

@ -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
})

@ -89,8 +89,6 @@
background-color: #f6f7f9;
}
[id="educoder"] .btns___gL_1J {
position: absolute;
z-index: 1;
margin-top: 35px;
}
[id="educoder"] .btns___gL_1J > div {
@ -439,15 +437,6 @@
[id="educoder"] .jsinput___XEFKk div[class~='ant-form-item-label'] {
margin-bottom: 10px;
}
.top___J5EnE img {
width: 100%;
object-fit: cover;
height: 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
margin-top: 0 !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.88@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.88@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Competitions/Index/Statistics/index.less?modules ***!

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

@ -2894,19 +2894,19 @@ button[class~='ant-btn-default']:disabled.btn___In02G {
color: #979797;
}
.header___Wn4fJ .menu___twLGR li:hover .name___dR5V2 span {
color: #c5c5c5;
color: #4CACFF;
}
.header___Wn4fJ .menu___twLGR li:hover .dropDown___Cwaoa {
display: block;
}
.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span {
color: #c5c5c5;
color: #4CACFF;
}
.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span::after {
content: '';
width: 100%;
height: 2px;
background: #c5c5c5;
background: #4CACFF;
position: absolute;
bottom: 12px;
left: 0;
@ -3198,70 +3198,6 @@ button[class~='ant-btn-default']:disabled.btn___In02G {
.w100___yYRaC {
width: 90%;
}
.scoremodal___UK79S [class~='ant-modal-body'] {
padding: 25px;
}
.scoremodal___UK79S .title___R27m0 {
color: #000000;
font-size: 16px;
font-weight: 500;
display: flex;
width: 100%;
}
.scoremodal___UK79S .content___AWEH9 {
margin-top: 25px;
}
.scoremodal___UK79S .content___AWEH9 .jsinput___zKhE1 div[class~='ant-form-item-label'] {
margin-bottom: 10px;
}
.scoremodal___UK79S .bottom___hVTdR {
width: 100%;
text-align: end;
margin-top: 30px;
}
.scoremodal___UK79S .bottom___hVTdR .yes___CSLaE {
padding: 0px 20px;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
font-weight: 400;
color: #FFFFFF;
border: 0px;
}
.scoremodal___UK79S .bottom___hVTdR .no___hidCj {
margin-right: 20px;
width: 60px;
height: 32px;
background: #F8F9FC;
border-radius: 2px;
opacity: 0.5;
border: 1px solid #C3CFE0;
font-weight: 400;
color: #464F66;
line-height: 14px;
}
.baseFormItem___obCPA {
font-size: 14px;
}
.baseFormItem___obCPA input[class~='ant-input'] {
height: 38px;
}
.baseFormItem___obCPA input[class~='ant-input-number-input'] {
height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] {
height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] {
line-height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] span[class~='ant-select-selection-placeholder'] {
line-height: 46px;
}
.baseFormItem___obCPA span[class~='ant-select-arrow'] {
right: 12px;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.88@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.88@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/components/User/index.less?modules ***!

@ -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", {

@ -2984,19 +2984,19 @@ button[class~='ant-btn-default']:disabled.btn___In02G {
color: #979797;
}
.header___Wn4fJ .menu___twLGR li:hover .name___dR5V2 span {
color: #c5c5c5;
color: #4CACFF;
}
.header___Wn4fJ .menu___twLGR li:hover .dropDown___Cwaoa {
display: block;
}
.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span {
color: #c5c5c5;
color: #4CACFF;
}
.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span::after {
content: '';
width: 100%;
height: 2px;
background: #c5c5c5;
background: #4CACFF;
position: absolute;
bottom: 12px;
left: 0;
@ -3288,70 +3288,6 @@ button[class~='ant-btn-default']:disabled.btn___In02G {
.w100___yYRaC {
width: 90%;
}
.scoremodal___UK79S [class~='ant-modal-body'] {
padding: 25px;
}
.scoremodal___UK79S .title___R27m0 {
color: #000000;
font-size: 16px;
font-weight: 500;
display: flex;
width: 100%;
}
.scoremodal___UK79S .content___AWEH9 {
margin-top: 25px;
}
.scoremodal___UK79S .content___AWEH9 .jsinput___zKhE1 div[class~='ant-form-item-label'] {
margin-bottom: 10px;
}
.scoremodal___UK79S .bottom___hVTdR {
width: 100%;
text-align: end;
margin-top: 30px;
}
.scoremodal___UK79S .bottom___hVTdR .yes___CSLaE {
padding: 0px 20px;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
font-weight: 400;
color: #FFFFFF;
border: 0px;
}
.scoremodal___UK79S .bottom___hVTdR .no___hidCj {
margin-right: 20px;
width: 60px;
height: 32px;
background: #F8F9FC;
border-radius: 2px;
opacity: 0.5;
border: 1px solid #C3CFE0;
font-weight: 400;
color: #464F66;
line-height: 14px;
}
.baseFormItem___obCPA {
font-size: 14px;
}
.baseFormItem___obCPA input[class~='ant-input'] {
height: 38px;
}
.baseFormItem___obCPA input[class~='ant-input-number-input'] {
height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] {
height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] {
line-height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] span[class~='ant-select-selection-placeholder'] {
line-height: 46px;
}
.baseFormItem___obCPA span[class~='ant-select-arrow'] {
right: 12px;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.88@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.88@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/components/User/index.less?modules ***!

@ -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);

@ -5703,6 +5703,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", {
@ -17581,10 +17589,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();
}

File diff suppressed because one or more lines are too long

@ -35,7 +35,7 @@
margin-bottom: 70px;
display: box;
display: flex;
background-image: url(./static/path-detail.c07fccc6.jpg);
background-color: #f5f5f5;
background-size: cover;
background-position: right center;
background-repeat: no-repeat;
@ -89,7 +89,7 @@
.contentLeftWrap___ctnXO {
display: box;
display: flex;
color: #ebebeb;
color: #47494d;
text-align: center;
font-size: 14px;
}
@ -3337,7 +3337,7 @@ body {
}
.bg___sN_Hy {
background: #fafafa;
min-height: 80vh;
min-height: 100vh;
}
.wrap___IaIuZ {
display: box;

@ -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", {

@ -6937,10 +6937,6 @@ var NewItem = function NewItem(_ref2) {
var handleValuesChange = function handleValuesChange(changedValues, allowChangeValues) {
var _changedValues$hack;
if (changedValues !== null && changedValues !== void 0 && changedValues.item_type) {
if ((changedValues === null || changedValues === void 0 ? void 0 : changedValues.item_type) === "PROGRAM") {
(0,util/* openNewWindow */.xg)("/problems/newcreate");
// return
}
//更改了试题类型,需要重新设置初始值(只有创建的时候才可以改变试题类型)
setInitDataByQuestionType(changedValues === null || changedValues === void 0 ? void 0 : changedValues.item_type, allowChangeValues === null || allowChangeValues === void 0 ? void 0 : allowChangeValues.item_banks_group_id);
setUnfold(false);

@ -3242,10 +3242,6 @@ progress::-moz-progress-bar {
right: 0;
left: inherit;
}
.container___g1WYG button:nth-last-child(2)::before {
right: 0;
left: inherit;
}
.container___g1WYG button:hover::before {
display: inline-block;
}

@ -615,19 +615,19 @@
color: #979797;
}
.header___Wn4fJ .menu___twLGR li:hover .name___dR5V2 span {
color: #c5c5c5;
color: #4CACFF;
}
.header___Wn4fJ .menu___twLGR li:hover .dropDown___Cwaoa {
display: block;
}
.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span {
color: #c5c5c5;
color: #4CACFF;
}
.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span::after {
content: '';
width: 100%;
height: 2px;
background: #c5c5c5;
background: #4CACFF;
position: absolute;
bottom: 12px;
left: 0;
@ -919,70 +919,6 @@
.w100___yYRaC {
width: 90%;
}
.scoremodal___UK79S [class~='ant-modal-body'] {
padding: 25px;
}
.scoremodal___UK79S .title___R27m0 {
color: #000000;
font-size: 16px;
font-weight: 500;
display: flex;
width: 100%;
}
.scoremodal___UK79S .content___AWEH9 {
margin-top: 25px;
}
.scoremodal___UK79S .content___AWEH9 .jsinput___zKhE1 div[class~='ant-form-item-label'] {
margin-bottom: 10px;
}
.scoremodal___UK79S .bottom___hVTdR {
width: 100%;
text-align: end;
margin-top: 30px;
}
.scoremodal___UK79S .bottom___hVTdR .yes___CSLaE {
padding: 0px 20px;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
font-weight: 400;
color: #FFFFFF;
border: 0px;
}
.scoremodal___UK79S .bottom___hVTdR .no___hidCj {
margin-right: 20px;
width: 60px;
height: 32px;
background: #F8F9FC;
border-radius: 2px;
opacity: 0.5;
border: 1px solid #C3CFE0;
font-weight: 400;
color: #464F66;
line-height: 14px;
}
.baseFormItem___obCPA {
font-size: 14px;
}
.baseFormItem___obCPA input[class~='ant-input'] {
height: 38px;
}
.baseFormItem___obCPA input[class~='ant-input-number-input'] {
height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] {
height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] {
line-height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] span[class~='ant-select-selection-placeholder'] {
line-height: 46px;
}
.baseFormItem___obCPA span[class~='ant-select-arrow'] {
right: 12px;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.88@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.88@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/components/User/index.less?modules ***!

@ -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);

@ -4551,10 +4551,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);

@ -1398,8 +1398,6 @@ var FixedButton = __webpack_require__(24336);
var Loading = __webpack_require__(97607);
// EXTERNAL MODULE: ./src/pages/Shixuns/Edit/utils/index.tsx
var utils = __webpack_require__(37007);
// EXTERNAL MODULE: ./src/components/ImagesIcon/index.ts + 32 modules
var ImagesIcon = __webpack_require__(43553);
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(71633);
;// CONCATENATED MODULE: ./src/pages/Shixuns/Edit/body/Level/Challenges/EditQuestion/index.tsx
@ -1421,7 +1419,6 @@ var authority = __webpack_require__(71633);
var TabPane = tabs/* default */.Z.TabPane;
var NewCoursePage = function NewCoursePage(_ref) {
var _formValue$subject, _formValue$unity_3d_r;
@ -2000,18 +1997,9 @@ var NewCoursePage = function NewCoursePage(_ref) {
})
})]
}, updateIndex)
}, "1"), /*#__PURE__*/(0,jsx_runtime.jsxs)(TabPane, {
}, "1"), /*#__PURE__*/(0,jsx_runtime.jsx)(TabPane, {
tab: "\u9898\u76EE",
children: [!!dataList.length && renderQuestionList(), !dataList.length && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: EditQuestionmodules.empty,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: ImagesIcon/* emptyIcon */.x7,
width: "258"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-grey-c",
children: "\u8BF7\u70B9\u51FB\u53F3\u4E0A\u89D2\u6DFB\u52A0\u9898\u76EE\u6309\u94AE\u8FDB\u884C\u9898\u76EE\u7684\u521B\u5EFA! "
})]
})]
children: !!dataList.length && renderQuestionList()
}, "2")]
}), !!visible && /*#__PURE__*/(0,jsx_runtime.jsx)(components_AddQuestion, {
is_published: is_published,

@ -1006,16 +1006,12 @@ var tooltip = __webpack_require__(6848);
var message = __webpack_require__(8591);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
var es_menu = __webpack_require__(20834);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js
var row = __webpack_require__(95237);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/col/index.js
var col = __webpack_require__(43604);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
var modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/toConsumableArray.js
@ -1023,6 +1019,10 @@ var toConsumableArray = __webpack_require__(93923);
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tree/index.js + 8 modules
var tree = __webpack_require__(51218);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
var modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/switch/index.js + 2 modules
var es_switch = __webpack_require__(78673);
// EXTERNAL MODULE: ./node_modules/_react-copy-to-clipboard@5.0.2@react-copy-to-clipboard/lib/index.js
@ -2260,8 +2260,6 @@ var shixuns = __webpack_require__(25544);
var util = __webpack_require__(87885);
// EXTERNAL MODULE: ./src/utils/verifyLogin.tsx + 2 modules
var verifyLogin = __webpack_require__(39090);
// EXTERNAL MODULE: ./src/components/ImagesIcon/index.ts + 32 modules
var ImagesIcon = __webpack_require__(43553);
;// CONCATENATED MODULE: ./src/pages/Shixuns/Edit/body/Warehouse/components/Tree.tsx
@ -2289,7 +2287,6 @@ var Tree_excluded = ["shixunsDetail", "globalSetting", "loading", "user", "activ
var DirectoryTree = tree/* default */.Z.DirectoryTree;
var Repository = function Repository(_ref) {
var _shixunsDetail$detail5, _shixunsDetail$detail6, _shixunsDetail$detail7, _shixunsDetail$detail8, _shixunsDetail$detail9, _shixunsDetail$detail10, _shixunsDetail$detail11;
@ -3091,12 +3088,9 @@ var Repository = function Repository(_ref) {
children: "\u5B9E\u8BAD\u8BC4\u6D4B\u7684\u65F6\u5019\uFF0C\u7CFB\u7EDF\u4F1A\u4E34\u65F6\u5C06\u79C1\u5BC6\u4EE3\u7801\u5E93\u79FB\u52A8\u666E\u901A\u4EE3\u7801\u5E93\u7684secret\u76EE\u5F55\u4E0B\u9762\uFF0C\u8BC4\u6D4B\u7ED3\u675F\u4F1A\u6E05\u7A7Asecret\u76EE\u5F55\u5185\u5BB9\u3002\u5982\u679C\u79C1\u5BC6\u4EE3\u7801\u5E93\u4E2D\u5B58\u5728\u6587\u4EF6src/test.sh\uFF0C\u5728\u666E\u901A\u4EE3\u7801\u5E93\u8C03\u7528\u8BE5\u6587\u4EF6\u5219\u4F7F\u7528\u8DEF\u5F84\uFF1Asecret/src/test.sh"
})
}), treeData.length ? /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Treemodules.content,
children: [activeKey === '1' && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Treemodules.tips,
children: ["\u63D0\u793A\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "\u4EE3\u7801\u8FD0\u884C\u5728\u670D\u52A1\u5668/data/workspace/myshixun/\u4E0B\uFF0C\u5982\u679C\u4EE3\u7801 \u9700\u8981\u7528\u5230\u6587\u4EF6\u8DEF\u5F84\u65F6\uFF0C\u60A8\u5C06\u9F20\u6807\u79FB\u5165\u4ED3\u5E93\u6587\u4EF6\u6216\u76EE\u5F55\u53F3\u4FA7\u7684\"...\" \u56FE\u6807\uFF0C\u9009\u62E9\u590D\u5236\u8DEF\u5F84\u5F97\u5230\u6587\u4EF6\u7684\u7EDD\u5BF9\u8DEF\u5F84\u3002"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(DirectoryTree
children: /*#__PURE__*/(0,jsx_runtime.jsx)(DirectoryTree
// checkable={editable}
, {
disabled: !!loading.effects['shixunsDetail/getFileContent'],
@ -3129,7 +3123,7 @@ var Repository = function Repository(_ref) {
return false;
}
// onCheck={handleCheckTree}
})]
})
})
}) : '', !treeData.length && isRepository && (shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$detail10 = shixunsDetail.detail) === null || _shixunsDetail$detail10 === void 0 ? void 0 : _shixunsDetail$detail10.init_repository) && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData, {}), !treeData.length && !isRepository && (shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$detail11 = shixunsDetail.detail) === null || _shixunsDetail$detail11 === void 0 ? void 0 : _shixunsDetail$detail11.secret_repository) && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData, {})]
})
@ -3226,19 +3220,8 @@ var Repository = function Repository(_ref) {
});
};
var NoData = function NoData() {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "mt20 pb50 ".concat(Treemodules.nodata),
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Treemodules.headLeft,
children: ["\u63D0\u793A\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "\u6B64\u5904\u5B58\u653E\u672C\u5B9E\u8BAD\u6240\u9700\u7684\u6240\u6709\u4EE3\u7801\u7B49\u76F8\u5173\u6587\u4EF6\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7\u4EE5\u4E0B", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "\u4E24\u79CD\u65B9\u5F0F\u6765\u4F7F\u7528\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "1\u3001", /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
href: "/forums/2784",
target: "_blank",
children: "Git\u5BA2\u6237\u7AEF"
}), " \u4E0A\u4F20\u5DF2\u6709\u6587\u4EF6\u6765\u5F00\u59CB\u4F7F\u7528\u3002", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "2\u3001\u76F4\u63A5\u5728\u5E73\u53F0\u4E0A\u521B\u5EFA\u6587\u4EF6\u76EE\u5F55\u4EE5\u53CA\u76F8\u5173\u4EE3\u7801\u6587\u4EF6\u3002"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
width: "100%",
src: ImagesIcon/* repositoryNoneDataIcon */.Oe
})]
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mt20 pb50 ".concat(Treemodules.nodata)
});
};
/* harmony default export */ var Tree = ((0,_umi_production_exports.connect)(function (_ref15) {
@ -3260,6 +3243,8 @@ var NoData = function NoData() {
/* harmony default export */ var Commitmodules = ({"flex_box_center":"flex_box_center___JYIA5","flex_space_between":"flex_space_between___OOSa6","flex_box_vertical_center":"flex_box_vertical_center___s1AAj","flex_box_center_end":"flex_box_center_end___Ou9x8","flex_box_column":"flex_box_column___fXhOh","commitWrap":"commitWrap___xJGHF","wrap":"wrap___OEGuw","colorGray":"colorGray___nocDG","content":"content___Cvvjf","itemTime":"itemTime___wIggD","imageUrl":"imageUrl___C3Dsm","blueLight":"blueLight___qEiQB","divider":"divider___G5Y2d","empty":"empty___L1pRU"});
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/divider/index.js + 1 modules
var divider = __webpack_require__(28103);
// EXTERNAL MODULE: ./src/components/ImagesIcon/index.ts + 32 modules
var ImagesIcon = __webpack_require__(43553);
;// CONCATENATED MODULE: ./src/pages/Shixuns/Edit/body/Warehouse/components/Commit.tsx
@ -3411,13 +3396,12 @@ var Warehouse_excluded = ["globalSetting", "loading", "dispatch", "practiceSetti
// import Complete from '../../components/Complete';
// import Complete from '../../components/Complete';
var TabPane = tabs/* default */.Z.TabPane;
var Warehouse = function Warehouse(_ref) {
var _shixunsDetail$fileCo10, _practiceSetting$side2, _practiceSetting$side6, _shixunsDetail$detail4, _shixunsDetail$detail5, _shixunsDetail$reposi, _shixunsDetail$secret, _shixunsDetail$reposi2, _shixunsDetail$secret2, _shixunsDetail$reposi3, _shixunsDetail$secret3, _practiceSetting$side8, _shixunsDetail$fileCo12, _shixunsDetail$fileCo13, _shixunsDetail$fileCo14, _shixunsDetail$fileCo15, _shixunsDetail$fileCo16, _practiceSetting$side9, _shixunsDetail$detail6;
var _shixunsDetail$fileCo10, _practiceSetting$side2, _practiceSetting$side6, _shixunsDetail$reposi, _shixunsDetail$secret, _shixunsDetail$reposi2, _shixunsDetail$secret2, _shixunsDetail$reposi3, _shixunsDetail$secret3, _practiceSetting$side7, _shixunsDetail$fileCo12, _shixunsDetail$fileCo13, _shixunsDetail$fileCo14, _shixunsDetail$fileCo15, _shixunsDetail$fileCo16;
var globalSetting = _ref.globalSetting,
loading = _ref.loading,
dispatch = _ref.dispatch,
@ -3647,116 +3631,9 @@ var Warehouse = function Warehouse(_ref) {
return _ref3.apply(this, arguments);
};
}();
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Warehousemodules.warehouse,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Warehousemodules.header,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
className: "w100 c-white",
style: {
height: 60
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "1",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return menu;
},
className: Warehousemodules.menu,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "font16 c-white current ml20",
children: [menuData.find(function (item) {
return item.id === activeKey;
})["name"], " ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "#B0B5D6"
},
className: "iconfont icon-sanjiaoxing font12"
})]
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "81px",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Warehousemodules.line
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(tabs/* default */.Z, {
className: Warehousemodules.tabs,
activeKey: tabKey,
onChange: function onChange(key) {
var _practiceSetting$side7;
if (practiceSetting !== null && practiceSetting !== void 0 && (_practiceSetting$side7 = practiceSetting.sideBar) !== null && _practiceSetting$side7 !== void 0 && _practiceSetting$side7.confirmLeave) {
modal/* default */.Z.confirm({
title: "离开此页提示",
content: "系统可能不会保存您所做的更改。",
okText: "离开",
cancelText: "取消",
onOk: function onOk() {
setTabKey(key);
dispatch({
type: 'practiceSetting/setSideBarTabs',
payload: {
confirmLeave: false,
selectPath: ""
}
});
}
});
} else {
setTabKey(key);
dispatch({
type: 'practiceSetting/setSideBarTabs',
payload: {
confirmLeave: false,
selectPath: ""
}
});
}
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(TabPane, {
tab: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "leaveClick",
children: "\u4EE3\u7801\u6587\u4EF6"
})
}, "1"), isRepository && (shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$detail4 = shixunsDetail.detail) === null || _shixunsDetail$detail4 === void 0 ? void 0 : _shixunsDetail$detail4.init_repository) && /*#__PURE__*/(0,jsx_runtime.jsx)(TabPane, {
tab: "\u63D0\u4EA4\u8BB0\u5F55",
className: "leaveClick"
}, "2"), !isRepository && (shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$detail5 = shixunsDetail.detail) === null || _shixunsDetail$detail5 === void 0 ? void 0 : _shixunsDetail$detail5.secret_repository) && /*#__PURE__*/(0,jsx_runtime.jsx)(TabPane, {
tab: "\u63D0\u4EA4\u8BB0\u5F55",
className: "leaveClick"
}, "2")]
})
})]
})
}), (isRepository && (shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$reposi = shixunsDetail.repository) === null || _shixunsDetail$reposi === void 0 ? void 0 : _shixunsDetail$reposi.git_url) || !isRepository && (shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$secret = shixunsDetail.secretRepository) === null || _shixunsDetail$secret === void 0 ? void 0 : _shixunsDetail$secret.git_url)) && /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Warehousemodules.title,
children: "\u4ED3\u5E93\u5730\u5740:"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
value: isRepository ? shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$reposi2 = shixunsDetail.repository) === null || _shixunsDetail$reposi2 === void 0 ? void 0 : _shixunsDetail$reposi2.git_url : shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$secret2 = shixunsDetail.secretRepository) === null || _shixunsDetail$secret2 === void 0 ? void 0 : _shixunsDetail$secret2.git_url
}), /*#__PURE__*/(0,jsx_runtime.jsx)(lib.CopyToClipboard, {
text: isRepository ? shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$reposi3 = shixunsDetail.repository) === null || _shixunsDetail$reposi3 === void 0 ? void 0 : _shixunsDetail$reposi3.git_url : shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$secret3 = shixunsDetail.secretRepository) === null || _shixunsDetail$secret3 === void 0 ? void 0 : _shixunsDetail$secret3.git_url,
onCopy: function onCopy() {
return message/* default */.ZP.success('复制成功');
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
title: "\u70B9\u51FB\u590D\u5236\u7248\u672C\u5E93",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-fuzhi2 current ml5 mr40"
})
})
})]
})
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Warehousemodules.content,
style: {
overflow: 'auto'
@ -3764,20 +3641,42 @@ var Warehouse = function Warehouse(_ref) {
children: [tabKey === '1' && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
className: Warehousemodules.left,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, {
spinning: !!loading.effects['shixunsDetail/getRepository'],
wrapperClassName: "".concat(Warehousemodules.loading, " ").concat(Warehousemodules.bottom0),
children: /*#__PURE__*/(0,jsx_runtime.jsx)(Tree, {
children: [(isRepository && (shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$reposi = shixunsDetail.repository) === null || _shixunsDetail$reposi === void 0 ? void 0 : _shixunsDetail$reposi.git_url) || !isRepository && (shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$secret = shixunsDetail.secretRepository) === null || _shixunsDetail$secret === void 0 ? void 0 : _shixunsDetail$secret.git_url)) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
marginTop: "20px"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Warehousemodules.title,
children: "\u4ED3\u5E93\u5730\u5740:"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
value: isRepository ? shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$reposi2 = shixunsDetail.repository) === null || _shixunsDetail$reposi2 === void 0 ? void 0 : _shixunsDetail$reposi2.git_url : shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$secret2 = shixunsDetail.secretRepository) === null || _shixunsDetail$secret2 === void 0 ? void 0 : _shixunsDetail$secret2.git_url
}), /*#__PURE__*/(0,jsx_runtime.jsx)(lib.CopyToClipboard, {
text: isRepository ? shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$reposi3 = shixunsDetail.repository) === null || _shixunsDetail$reposi3 === void 0 ? void 0 : _shixunsDetail$reposi3.git_url : shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$secret3 = shixunsDetail.secretRepository) === null || _shixunsDetail$secret3 === void 0 ? void 0 : _shixunsDetail$secret3.git_url,
onCopy: function onCopy() {
return message/* default */.ZP.success('复制成功');
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
title: "\u70B9\u51FB\u590D\u5236\u7248\u672C\u5E93",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-fuzhi2 current ml5"
})
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(Tree, {
setTreeData: setTreeData,
treeData: treeData,
activeKey: activeKey,
isRepository: isRepository
})
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
className: Warehousemodules.right,
ref: ref,
children: [(practiceSetting === null || practiceSetting === void 0 || (_practiceSetting$side8 = practiceSetting.sideBar) === null || _practiceSetting$side8 === void 0 ? void 0 : _practiceSetting$side8.selectPath) !== '' && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: (practiceSetting === null || practiceSetting === void 0 || (_practiceSetting$side7 = practiceSetting.sideBar) === null || _practiceSetting$side7 === void 0 ? void 0 : _practiceSetting$side7.selectPath) !== '' && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, {
spinning: !!loading.effects['shixunsDetail/getFileContent'],
wrapperClassName: Warehousemodules.loading,
@ -3788,7 +3687,7 @@ var Warehouse = function Warehouse(_ref) {
className: "w100",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "iconfont icon-daimacangku2 c-white"
className: "iconfont icon-daimacangku2"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "40px",
@ -3810,18 +3709,21 @@ var Warehouse = function Warehouse(_ref) {
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: !!loading.effects['shixunsDetail/getFileContent'] ? "hide" : "show",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(PreviewAll/* default */.Z, {
className: "darkBlue",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(PreviewAll/* default */.Z
// className={`darkBlue`}
, {
style: {
top: 66,
height: "calc(100% - 60px)",
position: 'absolute',
zIndex: 1
zIndex: 1,
backgroundColor: "#fff"
},
filename: shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$fileCo12 = shixunsDetail.fileContent) === null || _shixunsDetail$fileCo12 === void 0 ? void 0 : _shixunsDetail$fileCo12.filename,
type: (shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$fileCo13 = shixunsDetail.fileContent) === null || _shixunsDetail$fileCo13 === void 0 ? void 0 : _shixunsDetail$fileCo13.file_type) === "office" ? "download" : shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$fileCo14 = shixunsDetail.fileContent) === null || _shixunsDetail$fileCo14 === void 0 ? void 0 : _shixunsDetail$fileCo14.file_type,
data: codeMirrorValue,
monacoEditor: {
theme: 'vs-light',
value: codeMirrorValue,
language: shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$fileCo15 = shixunsDetail.fileContent) === null || _shixunsDetail$fileCo15 === void 0 ? void 0 : _shixunsDetail$fileCo15.language,
onChange: function onChange(value) {
@ -3856,16 +3758,7 @@ var Warehouse = function Warehouse(_ref) {
})]
})
})]
}), (practiceSetting === null || practiceSetting === void 0 || (_practiceSetting$side9 = practiceSetting.sideBar) === null || _practiceSetting$side9 === void 0 ? void 0 : _practiceSetting$side9.selectPath) == '' && (shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$detail6 = shixunsDetail.detail) === null || _shixunsDetail$detail6 === void 0 ? void 0 : _shixunsDetail$detail6.init_repository) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Warehousemodules.empty,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: ImagesIcon/* emptyIcon */.x7,
width: "258"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "c-grey-c",
children: [!!(treeData !== null && treeData !== void 0 && treeData.length) && '在左侧代码仓库区域点击目录打开文件', !(treeData !== null && treeData !== void 0 && treeData.length) && '请先在左侧上传文件或新建文件!']
})]
})]
})
})]
}), tabKey === '2' && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Warehousemodules.commit,
@ -3873,7 +3766,7 @@ var Warehouse = function Warehouse(_ref) {
isRepository: isRepository
})
})]
})]
})
});
};
/* harmony default export */ var body_Warehouse = ((0,_umi_production_exports.connect)(function (_ref4) {

@ -85,7 +85,7 @@
width: 25%;
max-width: 440px;
height: 100%;
background-color: #0a143d;
background-color: #fafafa;
overflow: auto;
display: box;
display: flex;
@ -100,6 +100,18 @@
bottom: 0;
right: 0;
}
.warehouse___SVzfZ .content___pGWUf .left___eYHD7 .title___y2IOb {
margin: 0 20px;
}
.warehouse___SVzfZ .content___pGWUf .left___eYHD7 input {
width: 290px;
height: 34px;
color: #999;
border-radius: 4px;
border: 0;
margin-right: 14px;
padding: 0 14px;
}
.warehouse___SVzfZ .content___pGWUf .left___eYHD7 .ant-tabs .ant-tabs-nav {
color: #fff;
margin-left: 20px;
@ -114,7 +126,7 @@
display: flex;
align-items: flex-end;
height: 100%;
background: #0a0e2e;
background-color: #fff;
position: relative;
}
.warehouse___SVzfZ .content___pGWUf .right___RbSHM div[class~='my-codemirror-container'] {
@ -193,7 +205,7 @@
}
.footer___xymfv {
height: 70px;
background: #282e55;
background: #fafafa;
width: 100%;
z-index: 5;
}
@ -231,7 +243,7 @@
}
.filePath___qkzoJ span:after {
content: '/';
color: #fff;
color: black;
margin: 0 2px;
display: inline-block;
}
@ -239,7 +251,7 @@
color: #0152d9;
}
.filePath___qkzoJ span:nth-last-child(1) {
color: #fff;
color: black;
}
.filePath___qkzoJ span:nth-last-child(1):after {
display: none;
@ -754,7 +766,7 @@ span.CodeMirror-selectedtext { background: none; }
box-orient: block-axis;
}
.headLeft___CFA1O {
color: #fff;
color: #555a88;
font-size: 14px;
padding: 20px;
}
@ -793,11 +805,11 @@ span.CodeMirror-selectedtext { background: none; }
width: 100%;
}
.content___nlH4h [class~='ant-tree-treenode-selected']::before {
background: #2f3662 !important;
background: #f5f5f5 !important;
}
.content___nlH4h [class~='ant-tree-node-content-wrapper'] {
background: none !important;
color: #fff !important;
color: #2f3662 !important;
}
.content___nlH4h [class~='ant-tree-node-content-wrapper']:hover {
background: none !important;
@ -828,7 +840,7 @@ span.CodeMirror-selectedtext { background: none; }
transition: none !important;
}
.content___nlH4h [class~='ant-tree-treenode']:hover::before {
background: #2f3662 !important;
background: #f5f5f5 !important;
bottom: 0 !important;
}
.content___nlH4h [class~='ant-tree-treenode']:hover [class~='icon-gengduo2'] {
@ -851,7 +863,7 @@ span.CodeMirror-selectedtext { background: none; }
line-height: 24px !important;
}
.gitCode___jaHbo {
color: #fff;
color: #555a88;
padding: 32px 14px 0 20px;
font-size: 14px;
}
@ -896,7 +908,7 @@ ul.menu___E01hA [class~='ant-dropdown-menu-item-active'] {
.tips___XoHVF {
width: 100%;
padding: 0 20px;
color: #fff;
color: #555a88;
margin-bottom: 10px;
line-height: 22px;
text-align: justify;

File diff suppressed because one or more lines are too long

@ -5,7 +5,7 @@
height: 100vh;
}
.practiceSetting___duHIg .wrapHeader___vb3NV {
height: 60px;
height: 70px;
}
.practiceSetting___duHIg .wrapLayout___z6EgF {
height: calc(100vh - 60px);
@ -62,7 +62,7 @@
display: flex;
justify-content: space-between;
align-items: center;
background-color: #121731;
background-color: #fafafa;
}
.header___HkrmL .flex-center___Xqcdj {
display: flex;
@ -75,7 +75,7 @@
align-items: center;
}
.header___HkrmL .title___rc2FS span {
color: #fff;
color: #333;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
@ -87,7 +87,8 @@
}
.header___HkrmL .title___rc2FS i {
font-size: 18px;
color: #0152d9;
color: #3e4571;
padding-left: 6px;
cursor: pointer;
}
.header___HkrmL .schedule___MloKP {
@ -172,6 +173,116 @@
margin-left: 20px;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.88@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.88@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Shixuns/Edit/layout/Sidebar/index.less?modules ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___FN240 {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___wjShI {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___HbcwC {
align-items: center;
box-align: center;
}
.flex_box_center_end___gj_ks {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___zxJPU {
flex-direction: column;
box-orient: block-axis;
}
.sidebar___OW5LG {
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.sidebar___OW5LG .items___j856O {
display: flex;
}
.sidebar___OW5LG .items___j856O .ant-tooltip-inner {
color: #333;
}
.sidebar___OW5LG .items___j856O .item___Zn_qr {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: 80px;
height: 70px;
cursor: pointer;
position: relative;
}
.sidebar___OW5LG .items___j856O .item___Zn_qr .name___ZfhoC {
color: #333;
}
.sidebar___OW5LG .items___j856O .item___Zn_qr i {
font-size: 22px;
color: #333;
margin-bottom: 5px;
}
.sidebar___OW5LG .items___j856O .item___Zn_qr img {
position: absolute;
z-index: 1;
left: 42px;
width: 18px;
height: 18px;
top: 10px;
}
.sidebar___OW5LG .items___j856O .item___Zn_qr:hover {
background-color: rgba(24, 144, 255, 0.2);
}
.sidebar___OW5LG .items___j856O .itemActive___sW_Ri {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: 80px;
height: 70px;
cursor: pointer;
position: relative;
background-color: rgba(24, 144, 255, 0.2) !important;
}
.sidebar___OW5LG .items___j856O .itemActive___sW_Ri .name___ZfhoC {
color: #333;
}
.sidebar___OW5LG .items___j856O .itemActive___sW_Ri i {
font-size: 22px;
color: #333;
margin-bottom: 5px;
}
.sidebar___OW5LG .items___j856O .itemActive___sW_Ri img {
position: absolute;
z-index: 1;
left: 42px;
width: 18px;
height: 18px;
top: 10px;
}
.sidebar___OW5LG .items___j856O .itemActive___sW_Ri:hover {
background-color: rgba(24, 144, 255, 0.2);
}
.sidebar___OW5LG .question___yfIcY {
width: 100%;
position: relative;
text-align: center;
}
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.88@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.88@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Shixuns/Edit/body/Information/index.less?modules ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@ -1704,7 +1815,7 @@ span.CodeMirror-selectedtext {
width: 25%;
max-width: 440px;
height: 100%;
background-color: #0a143d;
background-color: #fafafa;
overflow: auto;
display: box;
display: flex;
@ -1719,6 +1830,18 @@ span.CodeMirror-selectedtext {
bottom: 0;
right: 0;
}
.warehouse___SVzfZ .content___pGWUf .left___eYHD7 .title___y2IOb {
margin: 0 20px;
}
.warehouse___SVzfZ .content___pGWUf .left___eYHD7 input {
width: 290px;
height: 34px;
color: #999;
border-radius: 4px;
border: 0;
margin-right: 14px;
padding: 0 14px;
}
.warehouse___SVzfZ .content___pGWUf .left___eYHD7 .ant-tabs .ant-tabs-nav {
color: #fff;
margin-left: 20px;
@ -1733,7 +1856,7 @@ span.CodeMirror-selectedtext {
display: flex;
align-items: flex-end;
height: 100%;
background: #0a0e2e;
background-color: #fff;
position: relative;
}
.warehouse___SVzfZ .content___pGWUf .right___RbSHM div[class~='my-codemirror-container'] {
@ -1812,7 +1935,7 @@ span.CodeMirror-selectedtext {
}
.footer___xymfv {
height: 70px;
background: #282e55;
background: #fafafa;
width: 100%;
z-index: 5;
}
@ -1850,7 +1973,7 @@ span.CodeMirror-selectedtext {
}
.filePath___qkzoJ span:after {
content: '/';
color: #fff;
color: black;
margin: 0 2px;
display: inline-block;
}
@ -1858,7 +1981,7 @@ span.CodeMirror-selectedtext {
color: #0152d9;
}
.filePath___qkzoJ span:nth-last-child(1) {
color: #fff;
color: black;
}
.filePath___qkzoJ span:nth-last-child(1):after {
display: none;
@ -1998,7 +2121,7 @@ span.CodeMirror-selectedtext {
box-orient: block-axis;
}
.headLeft___CFA1O {
color: #fff;
color: #555a88;
font-size: 14px;
padding: 20px;
}
@ -2037,11 +2160,11 @@ span.CodeMirror-selectedtext {
width: 100%;
}
.content___nlH4h [class~='ant-tree-treenode-selected']::before {
background: #2f3662 !important;
background: #f5f5f5 !important;
}
.content___nlH4h [class~='ant-tree-node-content-wrapper'] {
background: none !important;
color: #fff !important;
color: #2f3662 !important;
}
.content___nlH4h [class~='ant-tree-node-content-wrapper']:hover {
background: none !important;
@ -2072,7 +2195,7 @@ span.CodeMirror-selectedtext {
transition: none !important;
}
.content___nlH4h [class~='ant-tree-treenode']:hover::before {
background: #2f3662 !important;
background: #f5f5f5 !important;
bottom: 0 !important;
}
.content___nlH4h [class~='ant-tree-treenode']:hover [class~='icon-gengduo2'] {
@ -2095,7 +2218,7 @@ span.CodeMirror-selectedtext {
line-height: 24px !important;
}
.gitCode___jaHbo {
color: #fff;
color: #555a88;
padding: 32px 14px 0 20px;
font-size: 14px;
}
@ -2140,7 +2263,7 @@ ul.menu___E01hA [class~='ant-dropdown-menu-item-active'] {
.tips___XoHVF {
width: 100%;
padding: 0 20px;
color: #fff;
color: #555a88;
margin-bottom: 10px;
line-height: 22px;
text-align: justify;
@ -2304,7 +2427,6 @@ ul.menu___E01hA [class~='ant-dropdown-menu-item-active'] {
width: 25%;
height: 100%;
max-width: 440px;
background-color: #0a143d;
position: relative;
}
.level___W39_7 .left___xugM0 .container___MnoCi {
@ -2319,7 +2441,7 @@ ul.menu___E01hA [class~='ant-dropdown-menu-item-active'] {
}
.level___W39_7 .left___xugM0 .container___MnoCi .title___HNuSO {
font-size: 14px;
color: #ffffff;
color: #686f9a;
padding: 30px 0 10px 20px;
}
.level___W39_7 .left___xugM0 .container___MnoCi .listWrap___Oz5IK {
@ -2349,7 +2471,7 @@ ul.menu___E01hA [class~='ant-dropdown-menu-item-active'] {
justify-content: flex-start;
align-items: center;
font-size: 14px;
color: #fff;
color: #686f9a;
cursor: pointer;
padding-left: 20px;
}
@ -2378,10 +2500,10 @@ ul.menu___E01hA [class~='ant-dropdown-menu-item-active'] {
justify-content: flex-start;
align-items: center;
font-size: 14px;
color: #fff;
color: #686f9a;
cursor: pointer;
padding-left: 20px;
background: rgba(62, 69, 113) !important;
background-color: #f5f5f5;
}
.level___W39_7 .left___xugM0 .container___MnoCi .listWrap___Oz5IK .listActive___e7FOo:hover {
background: rgba(62, 69, 113, 0.4);
@ -4403,19 +4525,19 @@ button[class~='ant-btn-default']:disabled.btn___In02G {
color: #979797;
}
.header___Wn4fJ .menu___twLGR li:hover .name___dR5V2 span {
color: #c5c5c5;
color: #4CACFF;
}
.header___Wn4fJ .menu___twLGR li:hover .dropDown___Cwaoa {
display: block;
}
.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span {
color: #c5c5c5;
color: #4CACFF;
}
.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span::after {
content: '';
width: 100%;
height: 2px;
background: #c5c5c5;
background: #4CACFF;
position: absolute;
bottom: 12px;
left: 0;
@ -4707,70 +4829,6 @@ button[class~='ant-btn-default']:disabled.btn___In02G {
.w100___yYRaC {
width: 90%;
}
.scoremodal___UK79S [class~='ant-modal-body'] {
padding: 25px;
}
.scoremodal___UK79S .title___R27m0 {
color: #000000;
font-size: 16px;
font-weight: 500;
display: flex;
width: 100%;
}
.scoremodal___UK79S .content___AWEH9 {
margin-top: 25px;
}
.scoremodal___UK79S .content___AWEH9 .jsinput___zKhE1 div[class~='ant-form-item-label'] {
margin-bottom: 10px;
}
.scoremodal___UK79S .bottom___hVTdR {
width: 100%;
text-align: end;
margin-top: 30px;
}
.scoremodal___UK79S .bottom___hVTdR .yes___CSLaE {
padding: 0px 20px;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
font-weight: 400;
color: #FFFFFF;
border: 0px;
}
.scoremodal___UK79S .bottom___hVTdR .no___hidCj {
margin-right: 20px;
width: 60px;
height: 32px;
background: #F8F9FC;
border-radius: 2px;
opacity: 0.5;
border: 1px solid #C3CFE0;
font-weight: 400;
color: #464F66;
line-height: 14px;
}
.baseFormItem___obCPA {
font-size: 14px;
}
.baseFormItem___obCPA input[class~='ant-input'] {
height: 38px;
}
.baseFormItem___obCPA input[class~='ant-input-number-input'] {
height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] {
height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] {
line-height: 46px;
}
.baseFormItem___obCPA div[class~='ant-select-selector'] span[class~='ant-select-selection-placeholder'] {
line-height: 46px;
}
.baseFormItem___obCPA span[class~='ant-select-arrow'] {
right: 12px;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.88@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.88@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/components/User/index.less?modules ***!
@ -4986,6 +5044,10 @@ button[class~='ant-btn-default']:disabled.btn___In02G {
align-items: center;
padding: 0px 20px;
}
[class~='ant-menu-vertical'] {
-webkit-border-end: none !important;
border-inline-end: 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.88@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.88@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/FixedButton/index.less?modules ***!
@ -7219,118 +7281,3 @@ button[class~='ant-btn-default']:disabled.btn___In02G {
left: 80px;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.88@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.88@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Shixuns/Edit/layout/Sidebar/index.less?modules ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___FN240 {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___wjShI {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___HbcwC {
align-items: center;
box-align: center;
}
.flex_box_center_end___gj_ks {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___zxJPU {
flex-direction: column;
box-orient: block-axis;
}
.sidebar___OW5LG {
width: 100%;
height: 100%;
background-color: #3e4571;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.sidebar___OW5LG .items___j856O {
flex: 1 1;
overflow: auto;
}
.sidebar___OW5LG .items___j856O .ant-tooltip-inner {
color: #333;
}
.sidebar___OW5LG .items___j856O .item___Zn_qr {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: 80px;
height: 70px;
margin-bottom: 12px;
cursor: pointer;
position: relative;
}
.sidebar___OW5LG .items___j856O .item___Zn_qr .name___ZfhoC {
color: #fff;
}
.sidebar___OW5LG .items___j856O .item___Zn_qr i {
font-size: 22px;
color: #fff;
margin-bottom: 5px;
}
.sidebar___OW5LG .items___j856O .item___Zn_qr img {
position: absolute;
z-index: 1;
left: 42px;
width: 18px;
height: 18px;
top: 10px;
}
.sidebar___OW5LG .items___j856O .item___Zn_qr:hover {
background-color: rgba(24, 144, 255, 0.2);
}
.sidebar___OW5LG .items___j856O .itemActive___sW_Ri {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: 80px;
height: 70px;
margin-bottom: 12px;
cursor: pointer;
position: relative;
background-color: #0152d9 !important;
}
.sidebar___OW5LG .items___j856O .itemActive___sW_Ri .name___ZfhoC {
color: #fff;
}
.sidebar___OW5LG .items___j856O .itemActive___sW_Ri i {
font-size: 22px;
color: #fff;
margin-bottom: 5px;
}
.sidebar___OW5LG .items___j856O .itemActive___sW_Ri img {
position: absolute;
z-index: 1;
left: 42px;
width: 18px;
height: 18px;
top: 10px;
}
.sidebar___OW5LG .items___j856O .itemActive___sW_Ri:hover {
background-color: rgba(24, 144, 255, 0.2);
}
.sidebar___OW5LG .question___yfIcY {
width: 100%;
height: 61px;
position: relative;
text-align: center;
}

@ -409,10 +409,6 @@ progress::-moz-progress-bar {
right: 0;
left: inherit;
}
.container___g1WYG button:nth-last-child(2)::before {
right: 0;
left: inherit;
}
.container___g1WYG button:hover::before {
display: inline-block;
}

@ -97,7 +97,7 @@ var showSearchMapping = [{
placeholder: '搜索视频'
}];
var Banner = function Banner(_ref) {
var _user$userInfo, _userDetail$homepageI, _userDetail$homepageI2, _userDetail$homepageI3, _userDetail$homepageI4, _userDetail$homepageI5, _userDetail$homepageI6, _userDetail$homepageI7, _user$userInfo2;
var _user$userInfo, _userDetail$homepageI, _userDetail$homepageI2, _userDetail$homepageI3, _userDetail$homepageI4, _userDetail$homepageI5, _userDetail$homepageI6, _userDetail$homepageI7, _userDetail$homepageI8, _userDetail$homepageI9, _userDetail$homepageI10, _find, _globalSetting$settin, _find2, _globalSetting$settin2, _find3, _globalSetting$settin3, _user$userInfo2, _globalSetting$settin4, _user$userInfo3, _user$userInfo4, _globalSetting$settin5, _user$userInfo5, _user$userInfo6, _user$userInfo7, _user$userInfo8, _user$userInfo9, _user$userInfo10, _user$userInfo11, _user$userInfo12, _user$userInfo13, _user$userInfo14, _userDetail$homepageI11, _userDetail$homepageI12;
var userDetail = _ref.userDetail,
user = _ref.user,
globalSetting = _ref.globalSetting,
@ -213,9 +213,82 @@ var Banner = function Banner(_ref) {
})]
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Menusmodules.number,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {
children: (_userDetail$homepageI8 = userDetail.homepageInfo) === null || _userDetail$homepageI8 === void 0 ? void 0 : _userDetail$homepageI8.experience
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [isCurrent ? '我' : 'TA', "\u7684\u7ECF\u9A8C\u503C"]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {
children: dealWith(((_userDetail$homepageI9 = userDetail.homepageInfo) === null || _userDetail$homepageI9 === void 0 ? void 0 : _userDetail$homepageI9.grade) || 0)
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [isCurrent ? '我' : 'TA', "\u7684\u91D1\u5E01"]
})]
})]
}), isCurrent && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Menusmodules.attendance,
children: (_userDetail$homepageI10 = userDetail.homepageInfo) !== null && _userDetail$homepageI10 !== void 0 && _userDetail$homepageI10.attendance_signed ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Menusmodules.btn,
children: "\u5DF2\u7B7E\u5230"
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
cursor: 'pointer'
},
onClick: handleSigned,
className: Menusmodules.btn,
children: "\u7ACB\u5373\u7B7E\u5230"
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Menusmodules.nav,
children: ((_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.login) === (params === null || params === void 0 ? void 0 : params.username) && /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
children: [!((_find = (((_globalSetting$settin = globalSetting.setting) === null || _globalSetting$settin === void 0 ? void 0 : _globalSetting$settin.navbar) || []).find(function (item) {
return item.link === "/".concat(NavType.Classrooms);
})) !== null && _find !== void 0 && _find.hidden) && /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
className: activeKey === NavType.Classrooms ? Menusmodules.active : '',
to: "/users/".concat(username.current, "/classrooms"),
onClick: function onClick() {
return setActiveKey(NavType.Classrooms);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-jiaoxueketang1 "
}), "\u6559\u5B66\u8BFE\u5802"]
}), !((_find2 = (((_globalSetting$settin2 = globalSetting.setting) === null || _globalSetting$settin2 === void 0 ? void 0 : _globalSetting$settin2.navbar) || []).find(function (item) {
return item.link === "/".concat(NavType.Shixuns);
})) !== null && _find2 !== void 0 && _find2.hidden) && /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
className: activeKey === NavType.Shixuns ? Menusmodules.active : '',
to: "/users/".concat(username.current, "/shixuns"),
onClick: function onClick() {
return setActiveKey(NavType.Shixuns);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shijianxiangmu "
}), "\u5B9E\u8DF5\u9879\u76EE"]
}), !((_find3 = (((_globalSetting$settin3 = globalSetting.setting) === null || _globalSetting$settin3 === void 0 ? void 0 : _globalSetting$settin3.navbar) || []).find(function (item) {
return item.link === "/".concat(NavType.Paths);
})) !== null && _find3 !== void 0 && _find3.hidden) && /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
className: activeKey === NavType.Paths ? Menusmodules.active : '',
to: "/users/".concat(username.current, "/paths"),
onClick: function onClick() {
return setActiveKey(NavType.Paths);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shijiankecheng "
}), "\u5B9E\u8DF5\u8BFE\u7A0B"]
}), ((_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.main_site) && !((_globalSetting$settin4 = globalSetting.setting) !== null && _globalSetting$settin4 !== void 0 && _globalSetting$settin4.is_local) && /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
className: "".concat(activeKey === NavType.Projects ? Menusmodules.active : ''),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
className: activeKey === NavType.Projects ? Menusmodules.active : '',
to: "/users/".concat(username.current, "/projects"),
onClick: function onClick() {
return setActiveKey(NavType.Projects);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-kaifaxiangmu "
}), "\u5F00\u53D1\u9879\u76EE"]
})
}), ((_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : _user$userInfo3.login) === (params === null || params === void 0 ? void 0 : params.username) && /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/users/".concat(username.current, "/competitions"),
onClick: function onClick() {
return setActiveKey(NavType.Teach);
@ -224,7 +297,79 @@ var Banner = function Banner(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-xuexipaiming"
}), "\u7ADE\u8D5B\u7BA1\u7406"]
})
}), ((_user$userInfo4 = user.userInfo) === null || _user$userInfo4 === void 0 ? void 0 : _user$userInfo4.main_site) && !((_globalSetting$settin5 = globalSetting.setting) !== null && _globalSetting$settin5 !== void 0 && _globalSetting$settin5.is_local) && (isCurrent && ((_user$userInfo5 = user.userInfo) === null || _user$userInfo5 === void 0 ? void 0 : _user$userInfo5.is_teacher) || ((_user$userInfo6 = user.userInfo) === null || _user$userInfo6 === void 0 ? void 0 : _user$userInfo6.admin)) && /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
className: activeKey === NavType.Videos ? Menusmodules.active : '',
to: "/users/".concat(username.current, "/videos"),
onClick: function onClick() {
return setActiveKey(NavType.Videos);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shipinwenjian "
}), "\u89C6\u9891\u6587\u4EF6"]
}), ((_user$userInfo7 = user.userInfo) === null || _user$userInfo7 === void 0 ? void 0 : _user$userInfo7.main_site) && isCurrent && ((_user$userInfo8 = user.userInfo) === null || _user$userInfo8 === void 0 ? void 0 : _user$userInfo8.is_teacher) && /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
className: activeKey === NavType.Topics ? Menusmodules.active : '',
to: "/users/".concat(username.current, "/topics/personal"),
onClick: function onClick() {
return setActiveKey(NavType.Topics);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-ziyuan2 "
}), "\u8BFE\u5802\u8D44\u6E90"]
}), ((_user$userInfo9 = user.userInfo) === null || _user$userInfo9 === void 0 ? void 0 : _user$userInfo9.user_identity) !== '学生' && /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/users/".concat(username.current, "/vspaces"),
onClick: function onClick() {
return setActiveKey(NavType.virtualSpaces);
},
className: activeKey === NavType.virtualSpaces ? Menusmodules.active : '',
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-xunishequ "
}), "\u865A\u62DF\u793E\u533A"]
}), ((_user$userInfo10 = user.userInfo) === null || _user$userInfo10 === void 0 ? void 0 : _user$userInfo10.login) === (params === null || params === void 0 ? void 0 : params.username) && ((_user$userInfo11 = user.userInfo) === null || _user$userInfo11 === void 0 ? void 0 : _user$userInfo11.mirror_marker_auth) && /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/users/".concat(username.current, "/experiment-img"),
onClick: function onClick() {
return setActiveKey(NavType.CreateImg);
},
className: activeKey === NavType.CreateImg ? Menusmodules.active : '',
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-jingxiang2 "
}), "\u5B9E\u9A8C\u955C\u50CF"]
}), ((_user$userInfo12 = user.userInfo) === null || _user$userInfo12 === void 0 ? void 0 : _user$userInfo12.user_identity) !== '学生' && /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/users/".concat(username.current, "/certificate"),
onClick: function onClick() {
return setActiveKey(NavType.Certificate);
},
className: activeKey === NavType.Certificate ? Menusmodules.active : '',
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-zhengshuguanli "
}), "\u8BC1\u4E66\u7BA1\u7406"]
}), ((_user$userInfo13 = user.userInfo) === null || _user$userInfo13 === void 0 ? void 0 : _user$userInfo13.login) === (params === null || params === void 0 ? void 0 : params.username) && ((_user$userInfo14 = user.userInfo) === null || _user$userInfo14 === void 0 ? void 0 : _user$userInfo14.user_identity) !== '学生' && /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/users/".concat(username.current, "/teach-group"),
onClick: function onClick() {
return setActiveKey(NavType.Teach);
},
className: activeKey === NavType.Teach ? Menusmodules.active : '',
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-tuandui "
}), "\u6559\u7814\u56E2\u961F"]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/users/".concat(username.current, "/otherResources"),
onClick: function onClick() {
return setActiveKey(NavType.OtherResources);
},
className: activeKey === NavType.OtherResources ? Menusmodules.active : '',
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-ziyuan2 "
}), "\u8D44\u6E90\u94FE\u63A5"]
}), user.userInfo.is_teacher && /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/users/".concat(username.current, "/classmanagement"),
onClick: function onClick() {
return setActiveKey(NavType.Classmanagement);
},
className: activeKey === NavType.Classmanagement ? Menusmodules.active : '',
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-banjiguanli"
}), "\u73ED\u7EA7\u7BA1\u7406", (_userDetail$homepageI11 = userDetail.homepageInfo) !== null && _userDetail$homepageI11 !== void 0 && _userDetail$homepageI11.student_group_count ? "\uFF08".concat((_userDetail$homepageI12 = userDetail.homepageInfo) === null || _userDetail$homepageI12 === void 0 ? void 0 : _userDetail$homepageI12.student_group_count, "\uFF09") : "\uFF080\uFF09"]
})]
})]
});
};

@ -231,10 +231,6 @@ progress::-moz-progress-bar {
right: 0;
left: inherit;
}
.container___g1WYG button:nth-last-child(2)::before {
right: 0;
left: inherit;
}
.container___g1WYG button:hover::before {
display: inline-block;
}

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.88@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.0.88@@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 ***!
@ -4482,10 +4468,11 @@ ul.menu___sjQxY [class~='ant-dropdown-menu-item-active'] {
.evaluate-result-body {
position: relative;
width: 652px;
top: -80px;
}
.evaluate-result-body .close-line {
position: absolute;
top: 100px;
top: 200px;
right: 100px;
}
.gold-and-experience {

@ -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", {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 268 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

@ -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;
@ -12358,6 +12357,7 @@ body[data-custom='auto'] {
}
.layoutMainClass___t8btz {
min-width: 1200px;
min-height: 80vh;
min-height: 100vh;
background-color: #fff;
}

1668
umi.js

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