You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Classrooms__Lists__Exerc...

532 lines
30 KiB

"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[17482],{
/***/ 22848:
/*!**********************************************!*\
!*** ./src/components/AsyncButton/index.tsx ***!
\**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ Z: function() { return /* binding */ AsyncButton; }
/* harmony export */ });
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/objectSpread2.js */ 26801);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/regeneratorRuntime.js */ 10574);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/asyncToGenerator.js */ 39343);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/slicedToArray.js */ 11006);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/objectWithoutProperties.js */ 27161);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd */ 3113);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
var _excluded = ["children"];
var AsyncButton = function AsyncButton(_ref) {
var children = _ref.children,
props = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default()(_ref, _excluded);
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false),
_useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2),
btnLoading = _useState2[0],
setBtnLoading = _useState2[1];
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, props), {}, {
loading: btnLoading,
onClick: /*#__PURE__*/function () {
var _ref2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(e) {
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.prev = 0;
setBtnLoading(true);
_context.next = 4;
return props.onClick(e);
case 4:
setBtnLoading(false);
_context.next = 11;
break;
case 7:
_context.prev = 7;
_context.t0 = _context["catch"](0);
console.error(_context.t0);
setBtnLoading(false);
case 11:
case "end":
return _context.stop();
}
}, _callee, null, [[0, 7]]);
}));
return function (_x) {
return _ref2.apply(this, arguments);
};
}(),
children: children
}));
};
/***/ }),
/***/ 65112:
/*!**************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/Exercise/Notice/index.tsx + 1 modules ***!
\**************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"default": function() { return /* binding */ Exercise_Notice; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(10574);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(39343);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(11006);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// 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/skeleton/index.js + 12 modules
var skeleton = __webpack_require__(59981);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules
var _umi_production_exports = __webpack_require__(7181);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Notice/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Noticemodules = ({"bg":"bg___YVx48","title":"title___NM3xC","textOverflow":"textOverflow___gz3GM","wrap":"wrap___if0Ln","infoTitle":"infoTitle___dk7YF","infoValue":"infoValue___kBWqL","itemTitle":"itemTitle___WP88A","circle":"circle___Rq79V","warnText":"warnText___cpZS0","greyText":"greyText___erT_A","linkText":"linkText___YWy1z","num":"num___Dq7FU","fixBottom":"fixBottom___WHsNA","backBtn":"backBtn___swiNH","enterBtn":"enterBtn___pk16U"});
// EXTERNAL MODULE: ./src/service/exercise.ts
var exercise = __webpack_require__(65398);
// EXTERNAL MODULE: ./src/components/AsyncButton/index.tsx
var AsyncButton = __webpack_require__(22848);
// 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/pages/Classrooms/Lists/Exercise/Notice/index.tsx
var DescriptionItem = function DescriptionItem(_ref) {
var title = _ref.title,
content = _ref.content;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "mb20",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
style: {
marginBottom: 12
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "20px",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Noticemodules.circle
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: title
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
className: "pl20",
children: content
})]
});
};
var Notice = function Notice(_ref2) {
var user = _ref2.user,
dispatch = _ref2.dispatch,
globalSetting = _ref2.globalSetting;
var params = (0,_umi_production_exports.useParams)();
var _useState = (0,_react_17_0_2_react.useState)(),
_useState2 = slicedToArray_default()(_useState, 2),
detail = _useState2[0],
setDetail = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)(false),
_useState4 = slicedToArray_default()(_useState3, 2),
loading = _useState4[0],
setLoading = _useState4[1];
(0,_react_17_0_2_react.useEffect)(function () {
dispatch({
type: "globalSetting/headerFooterToggle",
payload: false
});
return function () {
dispatch({
type: "globalSetting/headerFooterToggle",
payload: true
});
};
}, []);
(0,_react_17_0_2_react.useEffect)(function () {
asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
setLoading(true);
_context.next = 3;
return (0,exercise/* getWorkSetting */.Ul)(params);
case 3:
res = _context.sent;
setLoading(false);
if (!res.status) {
setDetail(res);
}
case 6:
case "end":
return _context.stop();
}
}, _callee);
}))();
}, []);
var _ref4 = (detail === null || detail === void 0 ? void 0 : detail.exercise) || {},
exercise_name = _ref4.exercise_name,
time = _ref4.time,
student_id = _ref4.student_id,
screen_open = _ref4.screen_open,
screen_num = _ref4.screen_num,
screen_sec = _ref4.screen_sec,
real_name = _ref4.real_name,
id = _ref4.id,
open_camera = _ref4.open_camera,
inner_ip = _ref4.inner_ip,
public_ip = _ref4.public_ip,
ip_limit = _ref4.ip_limit,
ip_bind = _ref4.ip_bind,
open_phone_video_recording = _ref4.open_phone_video_recording,
identity_verify = _ref4.identity_verify,
user_permission = _ref4.user_permission,
total_score = _ref4.total_score,
question_type_count = _ref4.question_type_count,
question_count = _ref4.question_count,
screen_shot_open = _ref4.screen_shot_open;
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Noticemodules.bg,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "edu-container",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "pt30"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Noticemodules.wrap,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(skeleton/* default */.Z, {
loading: loading,
active: true,
className: "mt20",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Noticemodules.title,
children: exercise_name
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
justify: "center",
gutter: 30,
className: "mb20",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.infoTitle,
children: "\u5927\u9898\u6570"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.infoValue,
children: question_type_count
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.infoTitle,
children: "\u5C0F\u9898\u6570"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.infoValue,
children: question_count
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.infoTitle,
children: "\u6EE1\u5206"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: Noticemodules.infoValue,
children: [total_score, "\u5206"]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.infoTitle,
children: "\u8003\u8BD5\u65F6\u957F"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.infoValue,
children: time === -1 ? '不限时长' : "".concat(time, "\u5206\u949F")
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mb20",
align: "middle",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "20px",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-dangqiankaoshengxinxi font14",
style: {
color: '#3061D0'
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Noticemodules.itemTitle,
children: "\u5F53\u524D\u8003\u751F\u4FE1\u606F"
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mb30 pl20",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
flex: "190px",
className: "mr20 ".concat(Noticemodules.textOverflow),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.infoTitle,
children: "\u59D3\u540D"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
title: real_name,
children: real_name
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.infoTitle,
children: "\u5B66\u53F7"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: student_id || '--'
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mb20",
align: "middle",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "20px",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-chengxinkaoshishengming font14",
style: {
color: '#3061D0'
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Noticemodules.itemTitle,
children: "\u8BDA\u4FE1\u8003\u8BD5\u58F0\u660E"
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mb30 pl20",
children: "\u8003\u751F\u5728\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u5E94\u81EA\u89C9\u9075\u5B88\u8003\u8BD5\u7EAA\u5F8B\uFF0C\u8BDA\u4FE1\u5E94\u8003\uFF0C\u62D2\u7EDD\u4F5C\u5F0A\u884C\u4E3A\uFF0C\u4FDD\u6301\u826F\u597D\u8003\u8BD5\u79E9\u5E8F\u3002\u5B9E\u65BD\u4F5C\u5F0A\u884C\u4E3A\u4E00\u7ECF\u53D1\u73B0\uFF0C\u5C06\u6309\u5B66\u6821\u8003\u8BD5\u7BA1\u7406\u529E\u6CD5\u4E25\u8083\u5904\u7406\uFF0C\u56E0\u4F5C\u5F0A\u4EA7\u751F\u7684\u4E00\u5207\u540E\u679C\u81EA\u8D1F\u3002"
}), (open_camera || screen_open || ip_limit !== 'no' || identity_verify) && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mb20",
align: "middle",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "20px",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-yikaiqifangzuobimoshi font14",
style: {
color: '#3061D0'
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Noticemodules.itemTitle,
children: "\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u6A21\u5F0F"
})
})]
}), identity_verify && /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionItem, {
title: "\u5DF2\u5F00\u542F\u8003\u8BD5\u524D\u4EBA\u8138\u8EAB\u4EFD\u6838\u9A8C",
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.greyText,
children: "\u8FDB\u5165\u8003\u8BD5\u524D\uFF0C\u8BF7\u5141\u8BB8\u6444\u50CF\u5934\u6388\u6743\uFF0C\u6388\u6743\u540E\u9700\u91C7\u96C6\u7167\u7247\u8BA4\u8BC1\uFF0C\u8BA4\u8BC1\u901A\u8FC7\u5E76\u5F00\u542F\u624B\u673A\u5F55\u5236\u624D\u53EF\u4EE5\u8FDB\u5165\u8003\u8BD5\u3002"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.linkText,
onClick: function onClick() {
return (0,util/* openNewWindow */.xg)('https://www.educoder.net/forums/4459');
},
children: "\u65E0\u6CD5\u8C03\u7528\u6444\u50CF\u5934?"
})]
})
}), identity_verify && /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionItem, {
title: "\u5DF2\u5F00\u542F\u8003\u8BD5\u4E2D\u624B\u673A\u89C6\u9891\u5F55\u5236",
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.greyText,
children: "\u8FDB\u5165\u8003\u8BD5\u540E\uFF0C\u8BF7\u5141\u8BB8\u6444\u50CF\u5934\u6388\u6743\uFF0C\u6388\u6743\u540E\u6253\u5F00\u6444\u50CF\u5934\u65B9\u53EF\u4F5C\u7B54\uFF01"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.linkText,
onClick: function onClick() {
return (0,util/* openNewWindow */.xg)('https://www.educoder.net/forums/4459');
},
children: "\u65E0\u6CD5\u8C03\u7528\u6444\u50CF\u5934?"
})]
})
}), open_camera && /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionItem, {
title: "\u5DF2\u5F00\u542F\u8003\u8BD5\u4E2D\u62CD\u7167\u76D1\u63A7",
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.greyText,
children: "\u8FDB\u5165\u8003\u8BD5\u540E\uFF0C\u8BF7\u5141\u8BB8\u6444\u50CF\u5934\u6388\u6743\uFF0C\u6388\u6743\u540E\u6253\u5F00\u6444\u50CF\u5934\u65B9\u53EF\u4F5C\u7B54\uFF01"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.linkText,
onClick: function onClick() {
return (0,util/* openNewWindow */.xg)('https://www.educoder.net/forums/4459');
},
children: "\u65E0\u6CD5\u8C03\u7528\u6444\u50CF\u5934?"
})]
})
}), screen_open && /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionItem, {
title: "\u5DF2\u5F00\u542F\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377",
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: Noticemodules.greyText,
children: ["\u5207\u5C4F\u8D85\u8FC7", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.num,
children: screen_num
}), "\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377\uFF0C\u5207\u6362\u5230\u5176\u4ED6\u9875\u9762", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.num,
children: screen_sec
}), "\u79D2\u540E\u5373\u5224\u5B9A\u4E3A\u4E00\u6B21\u5207\u5C4F\uFF0C", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.num,
children: screen_sec * 2
}), "\u79D2\u5219\u5224\u5B9A\u4E3A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.num,
children: "2"
}), "\u6B21\u5207\u5C4F\uFF0C\u4EE5\u6B64\u7C7B\u63A8\uFF1B\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u8BF7\u52FF\u5207\u6362\u5230\u5176\u4ED6\u9875\u9762\u6216\u9000\u51FA\u5168\u5C4F\u3002"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.linkText,
onClick: function onClick() {
return (0,util/* openNewWindow */.xg)('https://www.educoder.net/forums/4460');
},
children: "\u6D4F\u89C8\u5668\u65E0\u6CD5\u81EA\u52A8\u5168\u5C4F\uFF1F"
})]
})
}), screen_shot_open && /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionItem, {
title: "\u5DF2\u5F00\u542F\u9000\u51FA\u5168\u5C4F\u6216\u5207\u6362\u9875\u9762\u540E\u81EA\u52A8\u622A\u5C4F",
content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.greyText,
children: "\u8001\u5E08\u5DF2\u5F00\u542F\u9000\u51FA\u5168\u5C4F\u6216\u5207\u6362\u9875\u9762\u540E\u81EA\u52A8\u622A\u5C4F\uFF0C\u8003\u751F\u8FDB\u5165\u8003\u8BD5\u4E4B\u540E\u9700\u8981\u9009\u62E9\u4E3B\u5C4F\u5E55\u8FDB\u884C\u5171\u4EAB\uFF0C\u8003\u8BD5\u4F5C\u7B54\u8FC7\u7A0B\u4E2D\u4E5F\u4E0D\u5141\u8BB8\u5173\u95ED\u5C4F\u5E55\u5171\u4EAB\uFF0C\u5426\u5219\u5C06\u4F1A\u76F4\u63A5\u9000\u51FA\u8003\u8BD5\u3002"
})
})
}), ip_limit !== 'no' && /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionItem, {
title: "\u5DF2\u5F00\u542FIP\u8303\u56F4\u9650\u5B9A",
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.greyText,
children: "IP\u5730\u5740\u4E0D\u5728\u8303\u56F4\u5185\u4E0D\u53EF\u53C2\u52A0\u8003\u8BD5\u3002"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.warnText,
children: "\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.linkText,
onClick: function onClick() {
return (0,util/* openNewWindow */.xg)('https://www.educoder.net/forums/4478');
},
children: "\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"
})
})]
})
}), ip_bind && /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionItem, {
title: "\u5DF2\u5F00\u542F\u8003\u8BD5\u671F\u95F4IP\u7ED1\u5B9A",
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.greyText,
children: "\u5F53\u60A8\u5F00\u59CB\u8003\u8BD5\u540E\uFF0C\u5C06\u81EA\u52A8\u7ED1\u5B9AIP\uFF0C\u8003\u8BD5\u671F\u95F4\u53EA\u5141\u8BB8\u4F7F\u7528\u552F\u4E00\u7684IP\u8FDB\u5165\u8003\u8BD5\u3002\u5982\u9047\u7279\u6B8A\u60C5\u51B5\uFF0C\u53EF\u5411\u8001\u5E08\u7533\u8BF7\u89E3\u9664IP\u7ED1\u5B9A\u3002"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.warnText,
children: "\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Noticemodules.linkText,
onClick: function onClick() {
return (0,util/* openNewWindow */.xg)('https://www.educoder.net/forums/4478');
},
children: "\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"
})
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Noticemodules.fixBottom,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
className: Noticemodules.backBtn,
onClick: function onClick() {
return _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise"));
},
children: "\u8FD4\u56DE\u8003\u8BD5\u5217\u8868"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
type: "primary",
className: "".concat(Noticemodules.enterBtn, " ml20"),
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var _user$userInfo;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
return (0,util/* startExercise */.nr)({
inner_ip: inner_ip,
public_ip: public_ip,
open_camera: open_camera,
ip_limit: ip_limit,
ip_bind: ip_bind,
exercise_tips: [''],
exerciseId: id,
screen_open: screen_open,
screen_num: screen_num,
screen_sec: screen_sec,
coursesId: params.coursesId,
login: (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.login,
history: _umi_production_exports.history,
identity_verify: identity_verify,
open_phone_video_recording: open_phone_video_recording,
current_status: user_permission,
unlockClose: true
});
case 2:
case "end":
return _context2.stop();
}
}, _callee2);
})),
children: "\u6211\u5DF2\u9605\u8BFB\uFF0C\u8FDB\u5165\u8003\u8BD5"
})]
})]
})
})]
})
});
};
/* harmony default export */ var Exercise_Notice = ((0,_umi_production_exports.connect)(function (_ref6) {
var user = _ref6.user,
globalSetting = _ref6.globalSetting;
return {
globalSetting: globalSetting,
user: user
};
})(Notice));
/***/ })
}]);