parent
0dce2e7017
commit
d7cec2ffbf
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,423 @@
|
||||
"use strict";
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[5670],{
|
||||
|
||||
/***/ 87734:
|
||||
/*!******************************************************************************!*\
|
||||
!*** ./src/pages/Classrooms/Lists/Exercise/Collection/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_Collection; }
|
||||
});
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
|
||||
var regeneratorRuntime = __webpack_require__(7557);
|
||||
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
|
||||
var objectSpread2 = __webpack_require__(82242);
|
||||
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
|
||||
var asyncToGenerator = __webpack_require__(41498);
|
||||
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
|
||||
var slicedToArray = __webpack_require__(79800);
|
||||
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js
|
||||
var objectWithoutProperties = __webpack_require__(39647);
|
||||
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
|
||||
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
|
||||
var _react_17_0_2_react = __webpack_require__(59301);
|
||||
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
|
||||
var _umi_production_exports = __webpack_require__(75936);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js + 6 modules
|
||||
var breadcrumb = __webpack_require__(66104);
|
||||
// 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/pagination/index.js + 10 modules
|
||||
var pagination = __webpack_require__(86859);
|
||||
// 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/message/index.js + 4 modules
|
||||
var message = __webpack_require__(8591);
|
||||
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Collection/index.less?modules
|
||||
// extracted by mini-css-extract-plugin
|
||||
/* harmony default export */ var Collectionmodules = ({"contentListWrap":"contentListWrap___Ddghn","li":"li___wvr6Y","bottom":"bottom___OePHJ","actionLeftItem":"actionLeftItem___Hv4KU","tipLabel":"tipLabel___t7Ubm","tipVal":"tipVal___wipZz","questionTypeName":"questionTypeName___uMnDn","more":"more___GKswk","textBtn":"textBtn___zsrM5","line":"line___g8Y3f","b1":"b1___Hkokb","b2":"b2___bklGC"});
|
||||
// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/Collection/Topic/index.tsx + 1 modules
|
||||
var Topic = __webpack_require__(57966);
|
||||
// EXTERNAL MODULE: ./src/components/NoData/index.tsx
|
||||
var NoData = __webpack_require__(50883);
|
||||
// EXTERNAL MODULE: ./src/service/exercise.ts
|
||||
var service_exercise = __webpack_require__(33571);
|
||||
// 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/Collection/index.tsx
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var _excluded = ["exercise", "globalSetting", "loading", "dispatch", "classroomList", "user", "match"];
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var Collection = function Collection(_ref) {
|
||||
var _user$userInfo, _user$userInfo2;
|
||||
var exercise = _ref.exercise,
|
||||
globalSetting = _ref.globalSetting,
|
||||
loading = _ref.loading,
|
||||
dispatch = _ref.dispatch,
|
||||
classroomList = _ref.classroomList,
|
||||
user = _ref.user,
|
||||
match = _ref.match,
|
||||
props = objectWithoutProperties_default()(_ref, _excluded);
|
||||
var params = (0,_umi_production_exports.useParams)();
|
||||
var _useState = (0,_react_17_0_2_react.useState)(false),
|
||||
_useState2 = slicedToArray_default()(_useState, 2),
|
||||
cancleCollectVis = _useState2[0],
|
||||
setCancleCollectVis = _useState2[1];
|
||||
var _useState3 = (0,_react_17_0_2_react.useState)(false),
|
||||
_useState4 = slicedToArray_default()(_useState3, 2),
|
||||
btnLoading = _useState4[0],
|
||||
setBtnLoading = _useState4[1];
|
||||
var childRefs = (0,_react_17_0_2_react.useRef)({});
|
||||
var course_id = user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 || (_user$userInfo = _user$userInfo.course) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.course_id;
|
||||
var _useState5 = (0,_react_17_0_2_react.useState)(''),
|
||||
_useState6 = slicedToArray_default()(_useState5, 2),
|
||||
cancleId = _useState6[0],
|
||||
setCancleId = _useState6[1];
|
||||
var _useState7 = (0,_react_17_0_2_react.useState)({
|
||||
course_id: course_id || params.classId,
|
||||
page: 1,
|
||||
limit: 10
|
||||
}),
|
||||
_useState8 = slicedToArray_default()(_useState7, 2),
|
||||
routeParams = _useState8[0],
|
||||
setRouteParams = _useState8[1];
|
||||
var _useState9 = (0,_react_17_0_2_react.useState)(false),
|
||||
_useState10 = slicedToArray_default()(_useState9, 2),
|
||||
spinLoading = _useState10[0],
|
||||
setSpinLoading = _useState10[1];
|
||||
var _useState11 = (0,_react_17_0_2_react.useState)(20),
|
||||
_useState12 = slicedToArray_default()(_useState11, 2),
|
||||
problemsetCount = _useState12[0],
|
||||
setProblemsetCount = _useState12[1];
|
||||
var _useState13 = (0,_react_17_0_2_react.useState)([]),
|
||||
_useState14 = slicedToArray_default()(_useState13, 2),
|
||||
problemsetList = _useState14[0],
|
||||
setProblemsetList = _useState14[1];
|
||||
var questionType = [{
|
||||
type: 'SINGLE',
|
||||
name: '单选题',
|
||||
question_type: 0
|
||||
}, {
|
||||
type: 'MULTIPLE',
|
||||
name: '多选题',
|
||||
question_type: 1
|
||||
}, {
|
||||
type: 'JUDGMENT',
|
||||
name: '判断题',
|
||||
question_type: 2
|
||||
}, {
|
||||
type: 'PROGRAM',
|
||||
name: '编程题',
|
||||
question_type: 6
|
||||
}, {
|
||||
type: 'SUBJECTIVE',
|
||||
name: '简答题',
|
||||
question_type: 4
|
||||
}, {
|
||||
type: 'COMPLETION',
|
||||
name: '填空题',
|
||||
question_type: 3
|
||||
}, {
|
||||
type: 'COMBINATION',
|
||||
name: '组合题',
|
||||
question_type: 7
|
||||
}, {
|
||||
type: 'BPROGRAM',
|
||||
name: '程序填空题',
|
||||
question_type: 8
|
||||
}];
|
||||
var difficultyMapping = {
|
||||
1: "简单",
|
||||
2: "适中",
|
||||
3: "困难"
|
||||
};
|
||||
var handleDetailClick = function handleDetailClick(id) {
|
||||
if (childRefs.current[id]) {
|
||||
childRefs.current[id].expandDetail();
|
||||
}
|
||||
};
|
||||
var getCollectionList = /*#__PURE__*/function () {
|
||||
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
|
||||
var res, _res$data, _res$data2;
|
||||
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
|
||||
while (1) switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
setSpinLoading(true);
|
||||
_context.next = 3;
|
||||
return (0,service_exercise/* getCollectQuestions */.BV)(objectSpread2_default()({}, routeParams));
|
||||
case 3:
|
||||
res = _context.sent;
|
||||
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
|
||||
setProblemsetCount((res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.count) || 0);
|
||||
setProblemsetList((res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.list) || []);
|
||||
}
|
||||
setSpinLoading(false);
|
||||
case 6:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}));
|
||||
return function getCollectionList() {
|
||||
return _ref2.apply(this, arguments);
|
||||
};
|
||||
}();
|
||||
(0,_react_17_0_2_react.useEffect)(function () {
|
||||
getCollectionList();
|
||||
}, [course_id]);
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
|
||||
className: Collectionmodules.bg,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: "edu-container",
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("section", {
|
||||
className: "animated fadeIn",
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
||||
className: "mt10",
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(breadcrumb/* default */.Z, {
|
||||
separator: ">",
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z.Item, {
|
||||
href: "/classrooms/".concat(params.coursesId, "/exercise"),
|
||||
children: user === null || user === void 0 || (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 || (_user$userInfo2 = _user$userInfo2.course) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.course_name
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z.Item, {
|
||||
href: "/classrooms/".concat(params.coursesId, "/exercise"),
|
||||
children: "\u5728\u7EBF\u8003\u8BD5"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z.Item, {
|
||||
children: "\u6536\u85CF\u5939"
|
||||
})]
|
||||
})
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: "mt30 mb30",
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "icon-font icon-fanhui-bishe font12 current",
|
||||
onClick: function onClick() {
|
||||
_umi_production_exports.history.back();
|
||||
}
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
style: {
|
||||
fontSize: '16px',
|
||||
color: '#333333',
|
||||
marginLeft: '10px'
|
||||
},
|
||||
children: "\u6536\u85CF\u5939"
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
className: Collectionmodules.contentListWrap,
|
||||
children: problemsetCount !== 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, {
|
||||
size: 'middle',
|
||||
spinning: spinLoading,
|
||||
children: [problemsetList.map(function (v, index) {
|
||||
var _questionType$find;
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: Collectionmodules.li,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
className: Collectionmodules.top,
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(Topic/* default */.Z, {
|
||||
data: v,
|
||||
selectIds: [],
|
||||
onSelectCheckBox: function onSelectCheckBox() {},
|
||||
showCheckbox: false,
|
||||
ref: function ref(el) {
|
||||
return childRefs.current[v.question_id] = el;
|
||||
}
|
||||
}, v.question_id)
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: Collectionmodules.bottom,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", {
|
||||
className: "".concat(Collectionmodules.actionLeftItem, " ").concat(Collectionmodules.questionTypeName),
|
||||
children: ["No.", index + 1]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", {
|
||||
className: "".concat(Collectionmodules.actionLeftItem, " ").concat(Collectionmodules.questionTypeName),
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
className: "".concat(Collectionmodules.tipLabel, " mr5"),
|
||||
children: "\u9898\u578B"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
className: Collectionmodules.tipVal,
|
||||
children: (_questionType$find = questionType.find(function (item) {
|
||||
return item.question_type === v.question_type;
|
||||
})) === null || _questionType$find === void 0 ? void 0 : _questionType$find.name
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", {
|
||||
className: Collectionmodules.actionLeftItem,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
className: "".concat(Collectionmodules.tipLabel, " mr5"),
|
||||
children: "\u96BE\u5EA6"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
className: Collectionmodules.tipVal,
|
||||
children: difficultyMapping[v.difficulty]
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: Collectionmodules.more,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
||||
className: Collectionmodules.textBtn,
|
||||
style: {
|
||||
cursor: 'pointer'
|
||||
},
|
||||
onClick: function onClick() {
|
||||
setCancleCollectVis(true);
|
||||
setCancleId(v.question_id);
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: Collectionmodules.line,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {
|
||||
className: Collectionmodules.b1
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("b", {
|
||||
className: Collectionmodules.b2
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
style: {
|
||||
color: '#E53333'
|
||||
},
|
||||
children: "\u53D6\u6D88\u6536\u85CF"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: Collectionmodules.line,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {
|
||||
className: Collectionmodules.b1
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("b", {
|
||||
className: Collectionmodules.b2
|
||||
})]
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
||||
className: Collectionmodules.textBtn,
|
||||
style: {
|
||||
cursor: 'pointer'
|
||||
},
|
||||
onClick: function onClick() {
|
||||
handleDetailClick(v.question_id);
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-chengxinkaoshishengming font14 mr5",
|
||||
style: {
|
||||
color: '#3061D0'
|
||||
}
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
style: {
|
||||
color: '#3061D0'
|
||||
},
|
||||
children: "\u8BE6\u60C5"
|
||||
})]
|
||||
})]
|
||||
})]
|
||||
})]
|
||||
}, index);
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
|
||||
defaultCurrent: 1,
|
||||
defaultPageSize: 10,
|
||||
current: (routeParams === null || routeParams === void 0 ? void 0 : routeParams.page) || 1,
|
||||
showSizeChanger: false,
|
||||
showQuickJumper: true
|
||||
// hideOnSinglePage
|
||||
,
|
||||
total: problemsetCount,
|
||||
showTotal: function showTotal(total) {
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
||||
className: "mr10",
|
||||
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
className: "c-orange",
|
||||
children: total
|
||||
}), "\u6761\u6570\u636E"]
|
||||
});
|
||||
},
|
||||
className: "mb20",
|
||||
onChange: function onChange(current) {
|
||||
params.page = current;
|
||||
setRouteParams(objectSpread2_default()({}, params));
|
||||
getCollectionList();
|
||||
}
|
||||
})]
|
||||
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
|
||||
size: 'middle',
|
||||
spinning: spinLoading,
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {})
|
||||
})
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
|
||||
centered: true,
|
||||
title: "\u63D0\u793A",
|
||||
open: cancleCollectVis,
|
||||
maskClosable: false,
|
||||
confirmLoading: btnLoading,
|
||||
okText: "\u786E\u5B9A",
|
||||
cancelText: "\u53D6\u6D88",
|
||||
destroyOnClose: true,
|
||||
onCancel: function onCancel() {
|
||||
setCancleCollectVis(false);
|
||||
},
|
||||
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
|
||||
var bodyParams, res, updatedRefs;
|
||||
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
|
||||
while (1) switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
setBtnLoading(true);
|
||||
bodyParams = {
|
||||
container_id: cancleId,
|
||||
container_type: 'ExerciseQuestion',
|
||||
course_id: course_id
|
||||
};
|
||||
_context2.next = 4;
|
||||
return (0,service_exercise/* cancleCollectQuestion */._o)(objectSpread2_default()({}, bodyParams));
|
||||
case 4:
|
||||
res = _context2.sent;
|
||||
if (res.status === 0) {
|
||||
message/* default */.ZP.success('取消成功!');
|
||||
updatedRefs = objectSpread2_default()({}, childRefs.current);
|
||||
delete updatedRefs[cancleId]; // 清除已删除项的引用
|
||||
childRefs.current = updatedRefs; // 更新引用对象
|
||||
|
||||
getCollectionList();
|
||||
}
|
||||
setBtnLoading(false);
|
||||
setCancleCollectVis(false);
|
||||
case 8:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}, _callee2);
|
||||
})),
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
children: "\u786E\u8BA4\u8981\u5C06\u8BE5\u8BD5\u9898\u53D6\u6D88\u6536\u85CF\u5417\uFF1F"
|
||||
})
|
||||
})]
|
||||
});
|
||||
};
|
||||
/* harmony default export */ var Exercise_Collection = ((0,_umi_production_exports.connect)(function (_ref4) {
|
||||
var exercise = _ref4.exercise,
|
||||
loading = _ref4.loading,
|
||||
user = _ref4.user,
|
||||
globalSetting = _ref4.globalSetting,
|
||||
classroomList = _ref4.classroomList;
|
||||
return {
|
||||
classroomList: classroomList,
|
||||
exercise: exercise,
|
||||
globalSetting: globalSetting,
|
||||
user: user,
|
||||
loading: loading.effects
|
||||
};
|
||||
})(Collection));
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@ -0,0 +1,427 @@
|
||||
"use strict";
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[76737],{
|
||||
|
||||
/***/ 70505:
|
||||
/*!************************************************************************************************!*\
|
||||
!*** ./src/pages/Classrooms/Lists/Exercise/MisCollection/CollectionList/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 */ CollectionList; }
|
||||
});
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
|
||||
var regeneratorRuntime = __webpack_require__(7557);
|
||||
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
|
||||
var objectSpread2 = __webpack_require__(82242);
|
||||
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
|
||||
var asyncToGenerator = __webpack_require__(41498);
|
||||
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
|
||||
var slicedToArray = __webpack_require__(79800);
|
||||
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js
|
||||
var objectWithoutProperties = __webpack_require__(39647);
|
||||
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
|
||||
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
|
||||
var _react_17_0_2_react = __webpack_require__(59301);
|
||||
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
|
||||
var _umi_production_exports = __webpack_require__(75936);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js + 6 modules
|
||||
var breadcrumb = __webpack_require__(66104);
|
||||
// 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/pagination/index.js + 10 modules
|
||||
var pagination = __webpack_require__(86859);
|
||||
// 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/message/index.js + 4 modules
|
||||
var message = __webpack_require__(8591);
|
||||
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/MisCollection/CollectionList/index.less?modules
|
||||
// extracted by mini-css-extract-plugin
|
||||
/* harmony default export */ var CollectionListmodules = ({"contentListWrap":"contentListWrap___i61gD","li":"li___gxMyq","bottom":"bottom___Dd6Ho","actionLeftItem":"actionLeftItem___fPOL6","questionTypeName":"questionTypeName___PLOrd","more":"more___cxQWQ","textBtn":"textBtn___RJoUd","line":"line___cIykK","b1":"b1___Ia8NJ","b2":"b2___auPd6","btn":"btn___zsCi9"});
|
||||
// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/Collection/Topic/index.tsx + 1 modules
|
||||
var Topic = __webpack_require__(57966);
|
||||
// EXTERNAL MODULE: ./src/components/NoData/index.tsx
|
||||
var NoData = __webpack_require__(50883);
|
||||
// EXTERNAL MODULE: ./src/service/exercise.ts
|
||||
var service_exercise = __webpack_require__(33571);
|
||||
// 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/MisCollection/CollectionList/index.tsx
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var _excluded = ["exercise", "globalSetting", "loading", "dispatch", "classroomList", "user", "match"];
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var MisCollection = function MisCollection(_ref) {
|
||||
var _user$userInfo, _user$userInfo2;
|
||||
var exercise = _ref.exercise,
|
||||
globalSetting = _ref.globalSetting,
|
||||
loading = _ref.loading,
|
||||
dispatch = _ref.dispatch,
|
||||
classroomList = _ref.classroomList,
|
||||
user = _ref.user,
|
||||
match = _ref.match,
|
||||
props = objectWithoutProperties_default()(_ref, _excluded);
|
||||
var params = (0,_umi_production_exports.useParams)();
|
||||
var _useState = (0,_react_17_0_2_react.useState)(false),
|
||||
_useState2 = slicedToArray_default()(_useState, 2),
|
||||
cancleCollectVis = _useState2[0],
|
||||
setCancleCollectVis = _useState2[1];
|
||||
var _useState3 = (0,_react_17_0_2_react.useState)(false),
|
||||
_useState4 = slicedToArray_default()(_useState3, 2),
|
||||
btnLoading = _useState4[0],
|
||||
setBtnLoading = _useState4[1];
|
||||
var childRefs = (0,_react_17_0_2_react.useRef)({});
|
||||
var course_id = user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 || (_user$userInfo = _user$userInfo.course) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.course_id;
|
||||
var _useState5 = (0,_react_17_0_2_react.useState)(''),
|
||||
_useState6 = slicedToArray_default()(_useState5, 2),
|
||||
cancleId = _useState6[0],
|
||||
setCancleId = _useState6[1];
|
||||
var _useState7 = (0,_react_17_0_2_react.useState)({
|
||||
course_id: course_id || params.classId,
|
||||
page: 1,
|
||||
limit: 10
|
||||
}),
|
||||
_useState8 = slicedToArray_default()(_useState7, 2),
|
||||
routeParams = _useState8[0],
|
||||
setRouteParams = _useState8[1];
|
||||
var _useState9 = (0,_react_17_0_2_react.useState)(false),
|
||||
_useState10 = slicedToArray_default()(_useState9, 2),
|
||||
spinLoading = _useState10[0],
|
||||
setSpinLoading = _useState10[1];
|
||||
var _useState11 = (0,_react_17_0_2_react.useState)(20),
|
||||
_useState12 = slicedToArray_default()(_useState11, 2),
|
||||
problemsetCount = _useState12[0],
|
||||
setProblemsetCount = _useState12[1];
|
||||
var _useState13 = (0,_react_17_0_2_react.useState)([]),
|
||||
_useState14 = slicedToArray_default()(_useState13, 2),
|
||||
problemsetList = _useState14[0],
|
||||
setProblemsetList = _useState14[1];
|
||||
var questionType = [{
|
||||
type: 'SINGLE',
|
||||
name: '单选题',
|
||||
question_type: 0
|
||||
}, {
|
||||
type: 'MULTIPLE',
|
||||
name: '多选题',
|
||||
question_type: 1
|
||||
}, {
|
||||
type: 'JUDGMENT',
|
||||
name: '判断题',
|
||||
question_type: 2
|
||||
}, {
|
||||
type: 'PROGRAM',
|
||||
name: '编程题',
|
||||
question_type: 6
|
||||
}, {
|
||||
type: 'SUBJECTIVE',
|
||||
name: '简答题',
|
||||
question_type: 4
|
||||
}, {
|
||||
type: 'COMPLETION',
|
||||
name: '填空题',
|
||||
question_type: 3
|
||||
}, {
|
||||
type: 'COMBINATION',
|
||||
name: '组合题',
|
||||
question_type: 7
|
||||
}, {
|
||||
type: 'BPROGRAM',
|
||||
name: '程序填空题',
|
||||
question_type: 8
|
||||
}];
|
||||
var difficultyMapping = {
|
||||
1: "简单",
|
||||
2: "适中",
|
||||
3: "困难"
|
||||
};
|
||||
var handleDetailClick = function handleDetailClick(id, isWrongQuestion) {
|
||||
if (isWrongQuestion) {
|
||||
return;
|
||||
}
|
||||
if (childRefs.current[id]) {
|
||||
childRefs.current[id].expandDetail();
|
||||
}
|
||||
};
|
||||
var getCollectionList = /*#__PURE__*/function () {
|
||||
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
|
||||
var res, _res$data, _res$data2;
|
||||
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
|
||||
while (1) switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
setSpinLoading(true);
|
||||
_context.next = 3;
|
||||
return (0,service_exercise/* collectExerciseQuestion */.Kw)(objectSpread2_default()({}, routeParams));
|
||||
case 3:
|
||||
res = _context.sent;
|
||||
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
|
||||
setProblemsetCount((res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.count) || 0);
|
||||
setProblemsetList((res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.list) || []);
|
||||
}
|
||||
setSpinLoading(false);
|
||||
case 6:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}));
|
||||
return function getCollectionList() {
|
||||
return _ref2.apply(this, arguments);
|
||||
};
|
||||
}();
|
||||
(0,_react_17_0_2_react.useEffect)(function () {
|
||||
getCollectionList();
|
||||
}, [course_id]);
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
|
||||
className: CollectionListmodules.bg,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: "edu-container",
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("section", {
|
||||
className: "animated fadeIn",
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
||||
className: "mt10",
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(breadcrumb/* default */.Z, {
|
||||
separator: ">",
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z.Item, {
|
||||
href: "/classrooms/".concat(params.coursesId, "/exercise"),
|
||||
children: user === null || user === void 0 || (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 || (_user$userInfo2 = _user$userInfo2.course) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.course_name
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z.Item, {
|
||||
href: "/classrooms/".concat(params.coursesId, "/exercise"),
|
||||
children: "\u5728\u7EBF\u8003\u8BD5"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z.Item, {
|
||||
href: "/classrooms/".concat(params.coursesId, "/misCollection"),
|
||||
children: "\u9519\u9898\u96C6"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z.Item, {
|
||||
children: "\u9519\u9898\u5217\u8868"
|
||||
})]
|
||||
})
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: "mt30 mb30",
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "icon-font icon-fanhui-bishe font12 current",
|
||||
onClick: function onClick() {
|
||||
_umi_production_exports.history.back();
|
||||
}
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
style: {
|
||||
fontSize: '16px',
|
||||
color: '#333333',
|
||||
marginLeft: '10px'
|
||||
},
|
||||
children: "\u9519\u9898\u5217\u8868"
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
className: CollectionListmodules.contentListWrap,
|
||||
children: problemsetCount !== 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, {
|
||||
size: 'middle',
|
||||
spinning: spinLoading,
|
||||
children: [problemsetList.map(function (v, index) {
|
||||
var _questionType$find;
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: CollectionListmodules.li,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
className: CollectionListmodules.top,
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(Topic/* default */.Z, {
|
||||
data: v,
|
||||
selectIds: [],
|
||||
onSelectCheckBox: function onSelectCheckBox() {},
|
||||
showCheckbox: false,
|
||||
ref: function ref(el) {
|
||||
return childRefs.current[v.question_id] = el;
|
||||
}
|
||||
}, v.question_id)
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: CollectionListmodules.bottom,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", {
|
||||
className: "".concat(CollectionListmodules.actionLeftItem, " ").concat(CollectionListmodules.questionTypeName),
|
||||
children: ["No.", index + 1]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", {
|
||||
className: "".concat(CollectionListmodules.actionLeftItem, " ").concat(CollectionListmodules.questionTypeName),
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
className: "".concat(CollectionListmodules.tipLabel, " mr5"),
|
||||
children: "\u9898\u578B"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
className: CollectionListmodules.tipVal,
|
||||
children: (_questionType$find = questionType.find(function (item) {
|
||||
return item.question_type === v.question_type;
|
||||
})) === null || _questionType$find === void 0 ? void 0 : _questionType$find.name
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", {
|
||||
className: CollectionListmodules.actionLeftItem,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
className: "".concat(CollectionListmodules.tipLabel, " mr5"),
|
||||
children: "\u96BE\u5EA6"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
className: CollectionListmodules.tipVal,
|
||||
children: difficultyMapping[v.difficulty]
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: CollectionListmodules.more,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
||||
className: CollectionListmodules.textBtn,
|
||||
style: {
|
||||
cursor: 'pointer'
|
||||
},
|
||||
onClick: function onClick() {
|
||||
setCancleCollectVis(true);
|
||||
setCancleId(v.id);
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: CollectionListmodules.line,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {
|
||||
className: CollectionListmodules.b1
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("b", {
|
||||
className: CollectionListmodules.b2
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
style: {
|
||||
color: '#E53333'
|
||||
},
|
||||
children: "\u79FB\u9664"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: CollectionListmodules.line,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {
|
||||
className: CollectionListmodules.b1
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("b", {
|
||||
className: CollectionListmodules.b2
|
||||
})]
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
||||
className: CollectionListmodules.textBtn,
|
||||
style: {
|
||||
cursor: 'pointer'
|
||||
},
|
||||
onClick: function onClick() {
|
||||
handleDetailClick(v.question_id, v.is_wrong_exercise);
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-chengxinkaoshishengming font14 mr5",
|
||||
style: {
|
||||
color: '#3061D0'
|
||||
}
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
style: {
|
||||
color: '#3061D0'
|
||||
},
|
||||
children: "\u8BE6\u60C5"
|
||||
})]
|
||||
})]
|
||||
})]
|
||||
})]
|
||||
}, index);
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
|
||||
defaultCurrent: 1,
|
||||
defaultPageSize: 10,
|
||||
current: (routeParams === null || routeParams === void 0 ? void 0 : routeParams.page) || 1,
|
||||
showSizeChanger: false,
|
||||
showQuickJumper: true
|
||||
// hideOnSinglePage
|
||||
,
|
||||
total: problemsetCount,
|
||||
showTotal: function showTotal(total) {
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
||||
className: "mr10",
|
||||
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
className: "c-orange",
|
||||
children: total
|
||||
}), "\u6761\u6570\u636E"]
|
||||
});
|
||||
},
|
||||
className: "mb20",
|
||||
onChange: function onChange(current) {
|
||||
params.page = current;
|
||||
setRouteParams(objectSpread2_default()({}, params));
|
||||
getCollectionList();
|
||||
}
|
||||
})]
|
||||
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
|
||||
size: 'middle',
|
||||
spinning: spinLoading,
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {})
|
||||
})
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
|
||||
centered: true,
|
||||
title: "\u63D0\u793A",
|
||||
open: cancleCollectVis,
|
||||
maskClosable: false,
|
||||
confirmLoading: btnLoading,
|
||||
okText: "\u786E\u5B9A",
|
||||
cancelText: "\u53D6\u6D88",
|
||||
destroyOnClose: true,
|
||||
onCancel: function onCancel() {
|
||||
setCancleCollectVis(false);
|
||||
},
|
||||
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
|
||||
var bodyParams, res, updatedRefs;
|
||||
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
|
||||
while (1) switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
setBtnLoading(true);
|
||||
bodyParams = {
|
||||
course_wrong_question_id: cancleId
|
||||
};
|
||||
_context2.next = 4;
|
||||
return (0,service_exercise/* removeWrongQuestion */.g8)(objectSpread2_default()({}, bodyParams));
|
||||
case 4:
|
||||
res = _context2.sent;
|
||||
if (res.status === 0) {
|
||||
message/* default */.ZP.success('操作成功!');
|
||||
updatedRefs = objectSpread2_default()({}, childRefs.current);
|
||||
delete updatedRefs[cancleId]; // 清除已删除项的引用
|
||||
childRefs.current = updatedRefs; // 更新引用对象
|
||||
|
||||
getCollectionList();
|
||||
}
|
||||
setBtnLoading(false);
|
||||
setCancleCollectVis(false);
|
||||
case 8:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}, _callee2);
|
||||
})),
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
children: "\u786E\u8BA4\u8981\u5C06\u8BE5\u8BD5\u9898\u4ECE\u9519\u9898\u96C6\u4E2D\u79FB\u9664\u5417\uFF1F"
|
||||
})
|
||||
})]
|
||||
});
|
||||
};
|
||||
/* harmony default export */ var CollectionList = ((0,_umi_production_exports.connect)(function (_ref4) {
|
||||
var exercise = _ref4.exercise,
|
||||
loading = _ref4.loading,
|
||||
user = _ref4.user,
|
||||
globalSetting = _ref4.globalSetting,
|
||||
classroomList = _ref4.classroomList;
|
||||
return {
|
||||
classroomList: classroomList,
|
||||
exercise: exercise,
|
||||
globalSetting: globalSetting,
|
||||
user: user,
|
||||
loading: loading.effects
|
||||
};
|
||||
})(MisCollection));
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,961 @@
|
||||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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.3.20@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.20@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Exercise/index.less?modules ***!
|
||||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.exitFullScreenModalWrapper___aNB9Q div[class~='ant-modal-confirm-btns'] {
|
||||
float: none;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.exitFullScreenModalWrapper___aNB9Q div[class~='ant-modal-confirm-btns'] button {
|
||||
width: 120px;
|
||||
height: 38px;
|
||||
background: #f6f7f9 #3061d0;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.exitFullScreenModal___HIMyY {
|
||||
text-align: center;
|
||||
font-size: 30px;
|
||||
font-weight: 400;
|
||||
}
|
||||
.exitFullScreenModal___HIMyY .warningIcon___xEURa {
|
||||
height: 88px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.exitFullScreenModal___HIMyY .warningText___W6NPJ {
|
||||
color: #e30000;
|
||||
}
|
||||
.exitFullScreenModal___HIMyY .countdownWrapper___n8g1M {
|
||||
display: inline-block;
|
||||
}
|
||||
.forcedModalWrapper___JPMQ2 .forcedModalContent___uY5FV {
|
||||
text-align: center;
|
||||
}
|
||||
.forcedModalWrapper___JPMQ2 .forcedModalContent___uY5FV .forcedText___C3CrF {
|
||||
font-size: 30px;
|
||||
font-weight: 500;
|
||||
color: #E30000;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.forcedModalWrapper___JPMQ2 .forcedModalContent___uY5FV .screenNumText___oljHN {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.forcedModalWrapper___JPMQ2 .forcedModalContent___uY5FV img {
|
||||
height: 85px;
|
||||
margin-bottom: 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.3.20@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.20@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/MisCollection/Practice/index.less?modules ***!
|
||||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.flex_box_center___K2JI9 {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_space_between___w5O1p {
|
||||
justify-content: space-between;
|
||||
-webkit-box-pack: justify;
|
||||
}
|
||||
.flex_box_vertical_center___eGNQ2 {
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_box_center_end___hFOhY {
|
||||
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___XRYN1 {
|
||||
flex-direction: column;
|
||||
box-orient: block-axis;
|
||||
}
|
||||
.baseMargin___Dq6JI {
|
||||
margin-left: 62px;
|
||||
}
|
||||
.noWrap___k1EYX {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.singleItem___tm6VW {
|
||||
border-radius: 2px;
|
||||
border: 1px solid #CCCCCC;
|
||||
padding: 20px 15px 0 15px;
|
||||
}
|
||||
.questionIcons___wZ79_ [class~='ant-anchor-link'] {
|
||||
display: inline;
|
||||
}
|
||||
.questionIcons___wZ79_ [class~='ant-anchor-wrapper'] {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.questionIcons___wZ79_ span,
|
||||
.questionIcons___wZ79_ a {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
background: #fb3226;
|
||||
display: inline-block;
|
||||
margin-right: 8px;
|
||||
margin-bottom: 20px;
|
||||
border-radius: 40px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
}
|
||||
.questionIcons___wZ79_ span:hover,
|
||||
.questionIcons___wZ79_ a:hover {
|
||||
background-color: #ec7d72;
|
||||
}
|
||||
.questionIcons___wZ79_ span:nth-child(5n),
|
||||
.questionIcons___wZ79_ a:nth-child(5n) {
|
||||
margin-right: 25px;
|
||||
}
|
||||
.questionIcons___wZ79_ .green___ONMBt {
|
||||
background-color: #2abd8c;
|
||||
}
|
||||
.questionIcons___wZ79_ .green___ONMBt:hover {
|
||||
background-color: #88d19e;
|
||||
}
|
||||
.questionIcons___wZ79_ .orange___bKAu6 {
|
||||
background-color: #fd8001;
|
||||
}
|
||||
.questionIcons___wZ79_ .orange___bKAu6:hover {
|
||||
background-color: #fb9f42;
|
||||
}
|
||||
.greenTip___d1u7X {
|
||||
color: #2abd8c;
|
||||
margin-left: 15px;
|
||||
}
|
||||
.greenTip___d1u7X:before {
|
||||
content: '';
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: #2abd8c;
|
||||
border-radius: 12px;
|
||||
display: inline-block;
|
||||
margin-right: 4px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
.redTip___okMsH {
|
||||
color: #fb3226;
|
||||
margin-left: 15px;
|
||||
}
|
||||
.redTip___okMsH:before {
|
||||
content: '';
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: #fb3226;
|
||||
border-radius: 12px;
|
||||
display: inline-block;
|
||||
margin-right: 4px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
.orangeTip___qe089 {
|
||||
color: #fd8001;
|
||||
margin-left: 15px;
|
||||
}
|
||||
.orangeTip___qe089:before {
|
||||
content: '';
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: #fd8001;
|
||||
border-radius: 12px;
|
||||
display: inline-block;
|
||||
margin-right: 4px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
.pollDesc___kssKp {
|
||||
color: #333;
|
||||
background-color: #ffffff;
|
||||
padding: 15px;
|
||||
box-sizing: border-box;
|
||||
margin-top: 30px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
.answered___RNHOJ {
|
||||
position: relative;
|
||||
}
|
||||
.answered___RNHOJ::after {
|
||||
position: absolute;
|
||||
right: 35px;
|
||||
top: 4px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #cbcbcb;
|
||||
content: '';
|
||||
}
|
||||
.unanswer___VvFpU {
|
||||
position: relative;
|
||||
}
|
||||
.unanswer___VvFpU::after {
|
||||
position: absolute;
|
||||
right: 35px;
|
||||
top: 4px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
content: '';
|
||||
border: 1px solid #cbcbcb;
|
||||
}
|
||||
.anchor___WAvSp {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.anchor___WAvSp [class~='ant-anchor-link'] {
|
||||
padding: 0px;
|
||||
}
|
||||
.answerFlag___HU2mZ {
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
border-radius: 50%;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
width: 40px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
margin-bottom: 5px;
|
||||
background: #ff3756;
|
||||
color: #fff;
|
||||
border: 1px solid #ff3756;
|
||||
}
|
||||
.answerFlag___HU2mZ [class~='ant-anchor-link-title'] {
|
||||
color: #fff;
|
||||
}
|
||||
.flagActive___gL9Vs {
|
||||
background-color: #29bd8b;
|
||||
color: #fff;
|
||||
border: 1px solid #29bd8b;
|
||||
}
|
||||
.flagHalf___h3ZMY {
|
||||
background-color: #ff6800;
|
||||
color: #fff;
|
||||
border: 1px solid #ff6800;
|
||||
}
|
||||
.answerStudentFlag___iw9Zu {
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid #cbcbcb;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
width: 40px;
|
||||
text-align: center;
|
||||
color: #999999;
|
||||
cursor: pointer;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.answerStudentActive___S_ALO {
|
||||
background: #cbcbcb;
|
||||
color: #fff;
|
||||
}
|
||||
.questionItem___yWvmw [class~='ant-checkbox-group'] {
|
||||
width: 100%;
|
||||
}
|
||||
.questionItem___yWvmw [class~='ant-radio-group'] {
|
||||
width: 100%;
|
||||
}
|
||||
.questionItem___yWvmw [class~='ant-checkbox-wrapper'] {
|
||||
margin-right: 5px;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
}
|
||||
.questionItem___yWvmw [class~='ant-checkbox'] + span {
|
||||
display: inline-flex;
|
||||
}
|
||||
.questionItem___yWvmw [class~='ant-checkbox'] + span [class~='mr3'] {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.questionItem___yWvmw [class~='ant-checkbox'] + span [class~='markdown-body'] {
|
||||
position: relative;
|
||||
}
|
||||
.questionItem___yWvmw .questionScore___X5DIq {
|
||||
background: rgba(236, 236, 236, 0.6);
|
||||
border-radius: 2px;
|
||||
width: 52px;
|
||||
height: 25px;
|
||||
white-space: nowrap;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.itemFlag___Q2MCu {
|
||||
padding: 0px 10px;
|
||||
border-radius: 15px;
|
||||
height: 22px;
|
||||
line-height: 22px;
|
||||
background: #eaeaea;
|
||||
color: #999;
|
||||
font-size: 14px;
|
||||
}
|
||||
.answerWrap___fG0AS {
|
||||
margin-bottom: 40px;
|
||||
width: 100%;
|
||||
}
|
||||
.answerSubjective___snzhU {
|
||||
width: 100%;
|
||||
height: 130px;
|
||||
padding: 5px;
|
||||
overflow: auto;
|
||||
resize: vertical;
|
||||
outline: none;
|
||||
}
|
||||
.otherInput___Iog54 {
|
||||
border: none;
|
||||
border-bottom: 1px solid #eee;
|
||||
background: transparent;
|
||||
flex: 1 1;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.otherInput___Iog54 [class~='ant-input']:hover,
|
||||
.otherInput___Iog54 [class~='ant-input']:focus {
|
||||
border: none !important;
|
||||
border-bottom: 1px solid #eee !important;
|
||||
background: #f8f8f8 !important;
|
||||
}
|
||||
.randomFlag___ln2e_ {
|
||||
width: 68px;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
background: #84b6eb;
|
||||
color: #fff;
|
||||
border-radius: 20px;
|
||||
font-size: 12px;
|
||||
margin-left: 24px;
|
||||
display: inline-block;
|
||||
}
|
||||
.answerTrue___IvfDz {
|
||||
position: relative;
|
||||
margin-right: 40px;
|
||||
cursor: default;
|
||||
}
|
||||
.answerTrue___IvfDz::after {
|
||||
position: absolute;
|
||||
right: 35px;
|
||||
top: 4px;
|
||||
width: 20px;
|
||||
height: 10px;
|
||||
border-radius: 5px;
|
||||
background: #29bd8b;
|
||||
content: '';
|
||||
}
|
||||
.answerFalse___GG4QG {
|
||||
position: relative;
|
||||
margin-right: 40px;
|
||||
cursor: default;
|
||||
}
|
||||
.answerFalse___GG4QG::after {
|
||||
position: absolute;
|
||||
right: 35px;
|
||||
top: 4px;
|
||||
width: 20px;
|
||||
height: 10px;
|
||||
border-radius: 5px;
|
||||
background: #ff3756;
|
||||
content: '';
|
||||
}
|
||||
.answerHalf___MHVXE {
|
||||
position: relative;
|
||||
margin-right: 40px;
|
||||
cursor: default;
|
||||
}
|
||||
.answerHalf___MHVXE::after {
|
||||
position: absolute;
|
||||
left: -25px;
|
||||
top: 4px;
|
||||
width: 20px;
|
||||
height: 10px;
|
||||
border-radius: 5px;
|
||||
background: #ff6800;
|
||||
content: '';
|
||||
}
|
||||
.renderHtml___eK3e_ {
|
||||
display: inline-flex;
|
||||
align-items: baseline;
|
||||
}
|
||||
.simpleText___AIzXA {
|
||||
background: #f5f5f5;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #eaeaea;
|
||||
padding: 5px;
|
||||
min-height: 35px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.answerYes___PHMOC {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: #0152d9;
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
margin-right: 4px;
|
||||
}
|
||||
.answerNo___jHE2I {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
color: #fff;
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
margin-right: 4px;
|
||||
}
|
||||
.answerInfo___Nxpng {
|
||||
font-size: 12px;
|
||||
margin-bottom: 10px;
|
||||
padding: 20px 20px 0 20px;
|
||||
}
|
||||
.answerInfo___Nxpng .answerProgress___flGSi {
|
||||
font-weight: 500;
|
||||
}
|
||||
.answerSheetWrap___GAeZB {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.answerSheetQuestionTitle___BTMSd {
|
||||
margin-bottom: 15px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: #666666;
|
||||
cursor: pointer;
|
||||
}
|
||||
.answerSheet___CbypW {
|
||||
font-size: 0;
|
||||
vertical-align: top;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 25px;
|
||||
width: 100%;
|
||||
}
|
||||
.answerSheet___CbypW .answerSheetItem___nUSbl {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
color: #666666;
|
||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
border-radius: 2px;
|
||||
display: inline-block;
|
||||
font-size: 14px;
|
||||
line-height: 26px;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
.answerSheet___CbypW .answerSheetItem___nUSbl .qindex___Xlxm0 {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.answerSheet___CbypW .answerSheetItem___nUSbl:hover {
|
||||
border-color: #0152d9;
|
||||
color: #0152d9;
|
||||
}
|
||||
.answerSheet___CbypW .answerSheetItem___nUSbl.active___Xy8W_ {
|
||||
background: #3061D0;
|
||||
color: #fff;
|
||||
}
|
||||
.answerSheet___CbypW .answerSheetItem___nUSbl.partialActive___JZ1MH {
|
||||
background: #EEEEEE;
|
||||
color: #fff;
|
||||
}
|
||||
.answerSheet___CbypW .answerSheetItem___nUSbl.selected___xHSiK {
|
||||
border: 1px solid #18D6FF;
|
||||
}
|
||||
.answerSheetBottom___jtRrv {
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px -2px 4px 0px #EAEEF4;
|
||||
height: 40px;
|
||||
display: flex;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
z-index: 5;
|
||||
}
|
||||
.countDown___kTHAZ {
|
||||
color: #37AD83;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.countDown___kTHAZ [class~='ant-statistic'] {
|
||||
margin-left: 10px;
|
||||
}
|
||||
.countDown___kTHAZ [class~='ant-statistic-content'] {
|
||||
color: #37AD83;
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.countDown___kTHAZ.red____6qKO {
|
||||
color: red;
|
||||
border-color: red;
|
||||
}
|
||||
.countDown___kTHAZ.red____6qKO [class~='ant-statistic-content'] {
|
||||
color: red;
|
||||
}
|
||||
.fold___jaHsN {
|
||||
background: #fff;
|
||||
width: 16px;
|
||||
height: 66px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -33px;
|
||||
right: -16px;
|
||||
z-index: 3;
|
||||
cursor: pointer;
|
||||
display: box;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.fold___jaHsN::before {
|
||||
content: '';
|
||||
width: 0;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
border-right: 15px solid #fafafa;
|
||||
border-bottom: 10px solid #fff;
|
||||
}
|
||||
.fold___jaHsN::after {
|
||||
content: '';
|
||||
width: 0;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
border-right: 15px solid #fafafa;
|
||||
border-top: 10px solid #fff;
|
||||
}
|
||||
.cardList___ao2G8 {
|
||||
height: calc(88vh - 120px);
|
||||
padding: 10px 20px 160px 20px;
|
||||
overflow: auto;
|
||||
}
|
||||
.iframe___PMixZ {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 99999;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
display: none;
|
||||
background: #fff;
|
||||
}
|
||||
.mainPart___WviJY {
|
||||
margin-top: 84px;
|
||||
}
|
||||
.mainPart___WviJY .tooltipWrap___GmBFg {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.mainPart___WviJY .leftPart___XB0_Y {
|
||||
height: 88vh;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.mainPart___WviJY .rightPart___pvjKn {
|
||||
height: 88vh;
|
||||
background-color: #fff;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.mainPart___WviJY .rightPart___pvjKn .questionPart___D4xIS {
|
||||
overflow: auto;
|
||||
height: inherit;
|
||||
padding-bottom: 78px;
|
||||
}
|
||||
.mainPart___WviJY .rightPart___pvjKn .questionPart___D4xIS .questionTypeTitle___eHbVa {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
color: #000000;
|
||||
}
|
||||
.mainPart___WviJY .rightPart___pvjKn .questionPart___D4xIS .questionTypeInfo___ZVVje {
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
color: #464F66;
|
||||
}
|
||||
.mainPart___WviJY .rightPart___pvjKn .questionPart___D4xIS .toIframeBtn___PNJqP {
|
||||
width: 92px;
|
||||
height: 36px;
|
||||
}
|
||||
.mainPart___WviJY .rightPart___pvjKn .bottom___s3Ed7 {
|
||||
height: 64px;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
box-shadow: 0px -2px 8px 0px #F1F1F1;
|
||||
padding: 0 30px;
|
||||
background-color: #fff;
|
||||
z-index: 100;
|
||||
}
|
||||
.mainPart___WviJY .rightPart___pvjKn .changeButton___sOQWw {
|
||||
width: 118px;
|
||||
height: 38px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.mainPart___WviJY .rightPart___pvjKn .changeButton___sOQWw.prevBtn___RFRY0 {
|
||||
color: #666666;
|
||||
}
|
||||
.mainPart___WviJY .rightPart___pvjKn .changeButton___sOQWw.prevBtn___RFRY0:hover {
|
||||
color: #3061D0;
|
||||
}
|
||||
.fixHeader___Lc70j {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
min-width: 1200px;
|
||||
height: 64px;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 2px 4px 0px #EAEEF4;
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
}
|
||||
.fixHeader___Lc70j .title___yVlta {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: #333333;
|
||||
max-width: 500px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.fixHeader___Lc70j .submitButton___T30jx {
|
||||
width: 88px;
|
||||
height: 38px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.dottedLineWrapper___z_0qT .leftHalfCircle___P9J9_ {
|
||||
border-radius: 50%;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-color: #fafafa;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.dottedLineWrapper___z_0qT .dottedLine___jjDRS {
|
||||
border-bottom: 1px dotted #CCCCCC;
|
||||
}
|
||||
.dottedLineWrapper___z_0qT .rightHalfCircle___KldRp {
|
||||
border-radius: 50%;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-color: #fafafa;
|
||||
transform: translateX(50%);
|
||||
}
|
||||
.analysisWrap___ESfNU {
|
||||
border-top: 1px solid #F6F7F9;
|
||||
padding-top: 20px;
|
||||
}
|
||||
.analysisWrap___ESfNU .greyBg___MmmXm {
|
||||
background: #F6F7F9;
|
||||
border-radius: 4px;
|
||||
padding: 20px 15px;
|
||||
}
|
||||
|
||||
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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.3.20@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.20@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/MisCollection/Practice/components/index.less?modules ***!
|
||||
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.flex_box_center___YZgA8 {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_space_between___y_yQQ {
|
||||
justify-content: space-between;
|
||||
-webkit-box-pack: justify;
|
||||
}
|
||||
.flex_box_vertical_center___x6kKD {
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_box_center_end___SUaAb {
|
||||
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___d9xOC {
|
||||
flex-direction: column;
|
||||
box-orient: block-axis;
|
||||
}
|
||||
.shixunWrp___Dwyh4 {
|
||||
border: 1px solid #eee;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.shixunWrp___Dwyh4 [class~='monaco-editor'] {
|
||||
width: 100% !important;
|
||||
}
|
||||
.shixunWrp___Dwyh4 [class~='monaco-editor'] > div {
|
||||
width: 100% !important;
|
||||
}
|
||||
.shixunWrp___Dwyh4 [class~='monaco-editor'] > div [class~='monaco-scrollable-element'],
|
||||
.shixunWrp___Dwyh4 [class~='monaco-editor'] > div [class~='overlayWidgets'],
|
||||
.shixunWrp___Dwyh4 [class~='monaco-editor'] > div div:empty {
|
||||
width: 100% !important;
|
||||
}
|
||||
.shixunWrp___Dwyh4 h2 {
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
padding: 6px 20px;
|
||||
border-bottom: 1px solid #eee;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
}
|
||||
.shixunWrp___Dwyh4 h2 span {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 6px;
|
||||
}
|
||||
.fill___Q0enF {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
.fill___Q0enF .index___GmCwl {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
}
|
||||
.fill___Q0enF .success___ZMZ3Z {
|
||||
color: #00C21E;
|
||||
}
|
||||
.fill___Q0enF .fail___bBT84 {
|
||||
color: #FA6400;
|
||||
}
|
||||
.fill___Q0enF .fillInput___wfcRy {
|
||||
height: 46px;
|
||||
}
|
||||
.shixunWrapper___lPyRH {
|
||||
border-radius: 2px;
|
||||
border: 1px solid #CCCCCC;
|
||||
padding: 10px 20px 90px 15px;
|
||||
max-height: 380px;
|
||||
overflow: auto;
|
||||
margin-left: 62px;
|
||||
}
|
||||
.shixunWrapper___lPyRH .score___rww4Y {
|
||||
font-size: 14px;
|
||||
color: #999999;
|
||||
}
|
||||
.shixunWrapper___lPyRH .name___wkhzh {
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
margin-left: 6px;
|
||||
}
|
||||
.programWrapper___SEO7i {
|
||||
margin-left: 62px;
|
||||
}
|
||||
.programWrapper___SEO7i .desc___RqdJ_ {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.programWrapper___SEO7i .content___vkDN5 {
|
||||
border-radius: 2px;
|
||||
border: 1px solid #CCCCCC;
|
||||
max-height: 300px;
|
||||
overflow: auto;
|
||||
padding: 10px 15px;
|
||||
}
|
||||
|
||||
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.20@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.20@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/pages/MyProblem/TestCasePanel/index.less ***!
|
||||
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.footer {
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
align-items: center;
|
||||
height: 56px;
|
||||
background: #121c24;
|
||||
color: #fff;
|
||||
padding: 0 20px;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.test-case-panel {
|
||||
position: relative;
|
||||
}
|
||||
.test-case-panel .error {
|
||||
font-size: 12px;
|
||||
color: #fb3226;
|
||||
}
|
||||
.test-case-panel .test-case-panel-body {
|
||||
position: absolute;
|
||||
will-change: transform;
|
||||
width: 100%;
|
||||
transition: all 0.2s linear;
|
||||
bottom: 0;
|
||||
transform: translate3d(0, 350px, 0);
|
||||
opacity: 0.1;
|
||||
}
|
||||
.test-case-panel .test-case-panel-body pre {
|
||||
max-height: 150px;
|
||||
overflow: auto;
|
||||
}
|
||||
.test-case-panel .test-case-panel-body.active {
|
||||
transform: translate3d(0, -56px, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
.test-case-panel .tab-panel-body {
|
||||
padding: 20px 10px;
|
||||
height: 240px;
|
||||
background-color: #070f19;
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
justify-content: center;
|
||||
color: #ddd;
|
||||
}
|
||||
.test-case-panel .tab-panel-body .tip {
|
||||
text-align: center;
|
||||
}
|
||||
.test-case-panel .tab-panel-body textarea {
|
||||
background: #070f19 !important;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
border: 0 solid transparent !important;
|
||||
height: 200px;
|
||||
outline: none;
|
||||
}
|
||||
.test-case-panel .btn-green {
|
||||
margin-right: 10px;
|
||||
color: #28bd8b;
|
||||
border-color: #28bd8b;
|
||||
}
|
||||
.test-case-panel .btn-blue {
|
||||
margin-right: 10px;
|
||||
color: #0152d9;
|
||||
border-color: #0152d9;
|
||||
}
|
||||
.test-case-panel .btn-blue span {
|
||||
pointer-events: none;
|
||||
}
|
||||
.test-case-panel .btn-collapse {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 54px;
|
||||
height: 27px;
|
||||
left: 50%;
|
||||
margin-left: -27px;
|
||||
background: #2a3a4f;
|
||||
z-index: 8;
|
||||
border-bottom-left-radius: 100px;
|
||||
border-bottom-right-radius: 100px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
opacity: 0.4;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.test-case-panel .btn-collapse.up {
|
||||
top: -294px;
|
||||
}
|
||||
ul.s-navs {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0 17px;
|
||||
height: 54px;
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
align-items: center;
|
||||
background: #0f1e31;
|
||||
font-size: 14px;
|
||||
color: #ddd;
|
||||
}
|
||||
ul.s-navs.bg-white {
|
||||
background: #fff;
|
||||
color: #888;
|
||||
}
|
||||
ul.s-navs.bg-white a {
|
||||
color: #888;
|
||||
}
|
||||
ul.s-navs a {
|
||||
color: #ddd;
|
||||
display: block;
|
||||
margin-right: 20px;
|
||||
height: 54px;
|
||||
line-height: 54px;
|
||||
border-bottom: 2px solid transparent;
|
||||
}
|
||||
ul.s-navs a.active {
|
||||
color: #5091ff;
|
||||
border-bottom: 2px solid #5091ff;
|
||||
}
|
||||
#educoder .custom-ant-disabled:disabled {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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.3.20@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.20@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Spinner/index.less?modules ***!
|
||||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.ldsRing___mpBZC {
|
||||
position: relative;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.idsRingWrapper___Of9_n {
|
||||
position: absolute;
|
||||
z-index: 1000;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
justify-content: center;
|
||||
}
|
||||
.idsRingWrapper___Of9_n p {
|
||||
text-align: center;
|
||||
margin-top: 12px;
|
||||
}
|
||||
.ldsRing___mpBZC div {
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin: 4px;
|
||||
border: 4px solid #1976d2;
|
||||
border-radius: 50%;
|
||||
animation: ldsring___o0w2t 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
||||
border-color: #1976d2 transparent transparent transparent;
|
||||
}
|
||||
.ldsRing___mpBZC div:nth-child(1) {
|
||||
animation-delay: -0.45s;
|
||||
}
|
||||
.ldsRing___mpBZC div:nth-child(2) {
|
||||
animation-delay: -0.3s;
|
||||
}
|
||||
.ldsRing___mpBZC div:nth-child(3) {
|
||||
animation-delay: -0.15s;
|
||||
}
|
||||
@keyframes ldsring___o0w2t {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,13 +0,0 @@
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[99118],{
|
||||
|
||||
/***/ 3527:
|
||||
/*!******************************************************************************!*\
|
||||
!*** ./src/pages/Classrooms/Lists/Exercise/MisCollection/Practice/index.tsx ***!
|
||||
\******************************************************************************/
|
||||
/***/ (function() {
|
||||
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@ -1,262 +0,0 @@
|
||||
"use strict";
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[97941],{
|
||||
|
||||
/***/ 65638:
|
||||
/*!*********************************************************************************!*\
|
||||
!*** ./src/pages/Classrooms/Lists/Exercise/MisCollection/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_MisCollection; }
|
||||
});
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
|
||||
var regeneratorRuntime = __webpack_require__(7557);
|
||||
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
|
||||
var asyncToGenerator = __webpack_require__(41498);
|
||||
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
|
||||
var slicedToArray = __webpack_require__(79800);
|
||||
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js
|
||||
var objectWithoutProperties = __webpack_require__(39647);
|
||||
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
|
||||
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
|
||||
var _react_17_0_2_react = __webpack_require__(59301);
|
||||
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
|
||||
var _umi_production_exports = __webpack_require__(75936);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js + 6 modules
|
||||
var breadcrumb = __webpack_require__(66104);
|
||||
// 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/checkbox/index.js + 3 modules
|
||||
var es_checkbox = __webpack_require__(24905);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input-number/index.js + 14 modules
|
||||
var input_number = __webpack_require__(94001);
|
||||
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/MisCollection/index.less?modules
|
||||
// extracted by mini-css-extract-plugin
|
||||
/* harmony default export */ var MisCollectionmodules = ({"contentListWrap":"contentListWrap___j_ce4","collection":"collection___p4VQ2","btn1":"btn1___wy1qR","btn2":"btn2___JEUgr"});
|
||||
// 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/MisCollection/index.tsx
|
||||
|
||||
|
||||
|
||||
|
||||
var _excluded = ["exercise", "globalSetting", "loading", "dispatch", "classroomList", "user", "match"];
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var MisCollection = function MisCollection(_ref) {
|
||||
var _user$userInfo;
|
||||
var exercise = _ref.exercise,
|
||||
globalSetting = _ref.globalSetting,
|
||||
loading = _ref.loading,
|
||||
dispatch = _ref.dispatch,
|
||||
classroomList = _ref.classroomList,
|
||||
user = _ref.user,
|
||||
match = _ref.match,
|
||||
props = objectWithoutProperties_default()(_ref, _excluded);
|
||||
var params = (0,_umi_production_exports.useParams)();
|
||||
var _useState = (0,_react_17_0_2_react.useState)(false),
|
||||
_useState2 = slicedToArray_default()(_useState, 2),
|
||||
practiceVis = _useState2[0],
|
||||
setPracticeVis = _useState2[1];
|
||||
var _useState3 = (0,_react_17_0_2_react.useState)(false),
|
||||
_useState4 = slicedToArray_default()(_useState3, 2),
|
||||
btnLoading = _useState4[0],
|
||||
setBtnLoading = _useState4[1];
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
|
||||
className: MisCollectionmodules.bg,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: "edu-container",
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("section", {
|
||||
className: "animated fadeIn",
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
||||
className: "mt10",
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(breadcrumb/* default */.Z, {
|
||||
separator: ">",
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z.Item, {
|
||||
href: "/classrooms/".concat(params.coursesId, "/exercise"),
|
||||
children: user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 || (_user$userInfo = _user$userInfo.course) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.course_name
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z.Item, {
|
||||
href: "/classrooms/".concat(params.coursesId, "/exercise"),
|
||||
children: "\u5728\u7EBF\u8003\u8BD5"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z.Item, {
|
||||
children: "\u9519\u9898\u96C6"
|
||||
})]
|
||||
})
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: "mt30 mb30",
|
||||
style: {
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'space-between'
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "icon-font icon-fanhui-bishe font12"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
style: {
|
||||
fontSize: '16px',
|
||||
color: '#333333',
|
||||
marginLeft: '10px'
|
||||
},
|
||||
children: "\u9519\u9898\u96C6"
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: "current",
|
||||
onClick: function onClick() {
|
||||
setPracticeVis(true);
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-shezhi2 mr5 font16"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
style: {
|
||||
color: "#666666",
|
||||
fontSize: '14px'
|
||||
},
|
||||
children: "\u8BBE\u7F6E\u5F97\u5206\u533A\u95F4"
|
||||
})]
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
className: MisCollectionmodules.contentListWrap,
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: MisCollectionmodules.collection,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
style: {
|
||||
color: '#5F6368',
|
||||
fontSize: '16px',
|
||||
marginRight: '10px'
|
||||
},
|
||||
children: "\u9519\u9898\u6570"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
style: {
|
||||
color: '#000000',
|
||||
fontSize: '16px'
|
||||
},
|
||||
children: "5\u9053"
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
className: "".concat(MisCollectionmodules.btn1, " mr20"),
|
||||
onClick: function onClick() {
|
||||
_umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/misCollection/list"));
|
||||
},
|
||||
children: "\u67E5\u770B\u5168\u90E8\u9519\u9898"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
className: MisCollectionmodules.btn2,
|
||||
onClick: function onClick() {
|
||||
_umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/misCollection/practice"));
|
||||
},
|
||||
children: "\u5F00\u59CB\u7EC3\u4E60"
|
||||
})]
|
||||
})]
|
||||
})
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
|
||||
centered: true,
|
||||
title: "\u7B54\u9898\u8BBE\u7F6E",
|
||||
width: 420,
|
||||
open: practiceVis,
|
||||
maskClosable: false,
|
||||
confirmLoading: btnLoading,
|
||||
okText: "\u786E\u5B9A",
|
||||
cancelText: "\u53D6\u6D88",
|
||||
destroyOnClose: true,
|
||||
onCancel: function onCancel() {
|
||||
setPracticeVis(false);
|
||||
},
|
||||
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
|
||||
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
|
||||
while (1) switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
setBtnLoading(true);
|
||||
|
||||
// const updatedRefs = { ...childRefs.current };
|
||||
// delete updatedRefs[cancleId]; // 清除已删除项的引用
|
||||
// childRefs.current = updatedRefs; // 更新引用对象
|
||||
|
||||
// const res = await Fetch(`/api/user_mirrors/${routeParams?.experid}/revoke_apply.json`, {
|
||||
// method: 'post'
|
||||
// },
|
||||
// );
|
||||
// if (res.status === 0) {
|
||||
// message.success('撤销成功');
|
||||
// getDetail()
|
||||
// }
|
||||
setBtnLoading(false);
|
||||
setPracticeVis(false);
|
||||
case 3:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}, _callee);
|
||||
})),
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
style: {
|
||||
fontSize: '14px',
|
||||
color: '#333333'
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
className: "ml5",
|
||||
children: "\u7B54\u5BF9"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
||||
style: {
|
||||
width: '118px',
|
||||
marginLeft: '5px',
|
||||
marginRight: '5px'
|
||||
}
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
children: "\u6B21\u540E\u81EA\u52A8\u79FB\u9664\u9519\u9898"
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: "mt20",
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
children: "\u6BCF\u6B21\u7EC3\u4E60\u968F\u673A\u62BD\u53D6"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
||||
defaultValue: 10,
|
||||
min: 1,
|
||||
style: {
|
||||
width: '118px',
|
||||
marginLeft: '5px',
|
||||
marginRight: '5px'
|
||||
}
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
children: "\u9053\u8BD5\u9898"
|
||||
})]
|
||||
})]
|
||||
})
|
||||
})]
|
||||
});
|
||||
};
|
||||
/* harmony default export */ var Exercise_MisCollection = ((0,_umi_production_exports.connect)(function (_ref3) {
|
||||
var exercise = _ref3.exercise,
|
||||
loading = _ref3.loading,
|
||||
user = _ref3.user,
|
||||
globalSetting = _ref3.globalSetting,
|
||||
classroomList = _ref3.classroomList;
|
||||
return {
|
||||
classroomList: classroomList,
|
||||
exercise: exercise,
|
||||
globalSetting: globalSetting,
|
||||
user: user,
|
||||
loading: loading.effects
|
||||
};
|
||||
})(MisCollection));
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue