dev_local_v9_kedashenji
linlu 3 years ago
parent 61a855bd86
commit 4594f7f9a6

@ -0,0 +1,343 @@
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Forums/Index/components/Content/index.less?modules ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___ugOB6 {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___d9Zvl {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___oANxH {
align-items: center;
box-align: center;
}
.flex_box_center_end___JoNvp {
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___WFtbf {
flex-direction: column;
box-orient: block-axis;
}
.wrap___YlpWQ {
width: 75%;
}
[id="educoder"] .tabsWrap___FS9z9 {
padding-right: 2px;
}
[id="educoder"] .tabsWrap___FS9z9 div[class~='ant-tabs-tab'] {
font-size: 14px;
margin-right: 40px !important;
color: #5f6368;
}
[id="educoder"] .tabsWrap___FS9z9 div[class~='ant-tabs-tab-active'] [class~='ant-tabs-tab-btn'] {
color: #232b40;
}
[id="educoder"] .tabsWrap___FS9z9 [class~='ant-tabs-nav'] {
margin: 0px;
height: 58px;
}
[id="educoder"] .tabsWrap___FS9z9 [class~='ant-tabs-nav'] div[class~='ant-tabs-ink-bar'] {
background-color: #232b40;
border-radius: 100px 100px 0px 0px;
height: 3px;
}
[id="educoder"] .tabsWrap___FS9z9 [class~='ant-tabs-nav']::before {
background: #f1f1f1;
}
[id="educoder"] .tabsWrap___FS9z9 div[class~='ant-tabs-extra-content'] {
width: 25%;
}
[id="educoder"] .tabsWrap___FS9z9 .searchWrap___T8sjM .search___GHxky {
display: flex;
align-items: center;
overflow: hidden;
border-radius: 19px;
height: 38px;
padding-left: 20px;
background-color: #f6f7f9;
border: none;
}
[id="educoder"] .tabsWrap___FS9z9 .searchWrap___T8sjM .search___GHxky [class~='ant-input-affix-wrapper'] {
background-color: #f6f7f9;
border: none;
}
[id="educoder"] .tabsWrap___FS9z9 .searchWrap___T8sjM .search___GHxky [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
[id="educoder"] .tabsWrap___FS9z9 .searchWrap___T8sjM .search___GHxky span[class~='ant-input-group-addon'] {
display: none;
}
[id="educoder"] .tabsWrap___FS9z9 .searchWrap___T8sjM .search___GHxky .searchIcon___tKDm9 {
margin-right: 14px;
cursor: pointer;
}
[id="educoder"] .tabsWrap___FS9z9 .searchWrap___T8sjM .search___GHxky input {
background-color: #f6f7f9;
}
[id="educoder"] .flex___UGrkD {
display: flex;
justify-content: space-between;
}
[id="educoder"] .header___PhNRv {
background-color: #fff;
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
padding: 0 20px;
height: 90px;
font-size: 16px;
border-bottom: 1px solid #eeeeee;
position: relative;
}
[id="educoder"] .header___PhNRv a {
color: #05101a;
padding: 5px 20px;
line-height: 2;
}
[id="educoder"] .active___gQ2iH {
border: 1px solid #0152d9;
color: #0152d9 !important;
border-radius: 24px;
}
[id="educoder"] .pagination___Jwtgh {
display: flex;
flex-direction: row;
justify-content: end;
background: #fff;
padding: 30px;
}
[id="educoder"] .searchText___eE5fP {
position: absolute;
bottom: 5px;
right: 0px;
padding-right: 20px;
font-size: 14px;
color: rgba(0, 0, 0, 0.65);
}
[id="educoder"] .headTitle___Olg9V {
font-size: 18px;
color: #05101a;
}
[id="educoder"] .forumsLoading___obGNe:empty {
width: 100%;
height: 1200px;
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0), rgba(255, 255, 255) 50%, rgba(255, 255, 255, 0) 80%), radial-gradient(circle 30px at 30px 30px, #eee 100%, transparent 0), linear-gradient(#eee 12px, transparent 0), linear-gradient(#eee 12px, transparent 0), linear-gradient(#eee 12px, transparent 0), linear-gradient(#eee 12px, transparent 0), linear-gradient(#eee 12px, transparent 0), linear-gradient(#eee 12px, transparent 0), linear-gradient(#eee 12px, transparent 0), linear-gradient(white 100px, transparent 0);
background-repeat: repeat-y;
background-size: 500px 20px, 80px 120px, 150px 120px, 40px 120px, 30px 120px,
60px 120px, 60px 120px, 60px 120px, 60px 120px, 1100px 120px;
background-position: -130% 0, 20px 20px, 110px 30px, 280px 30px, 850px 30px, 110px 65px, 680px 65px, 750px 65px, 820px 65px, 0px 0px;
animation: shine___APM6u 2s infinite;
}
@keyframes shine___APM6u {
to {
background-position: 200% 0, 20px 20px, 110px 30px, 280px 30px, 850px 30px,
110px 65px, 680px 65px, 750px 65px, 820px 65px, 0px 0px;
}
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Forums/Index/components/Item/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.wrap___XbGJ4 {
padding: 20px 0;
margin-right: 45px;
border-bottom: 1px solid #dbdce0;
position: relative;
}
.menuWrapper___csvF7 {
position: absolute;
top: 16px;
right: 0;
}
.flexRow___SvRn2 {
display: flex;
flex-direction: row;
align-items: center;
}
.flexBetween___ScjIv {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.top___jovA6 {
margin-bottom: 12px;
}
.top___jovA6 .tag___kpIWr {
margin-right: 10px;
display: inline-flex;
align-items: center;
}
.top___jovA6 .tag___kpIWr span {
color: #fff;
font-size: 12px;
background: #fb9100;
border-radius: 0px 100px 100px 0px;
position: relative;
left: -6px;
padding-left: 9px;
padding-right: 6px;
}
.top___jovA6 .tag___kpIWr img {
height: 24px;
position: relative;
z-index: 1;
}
.title___KKJxn {
font-size: 18px;
font-weight: 600;
color: #000000;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
max-width: 700px;
margin-bottom: 12px;
}
.title___KKJxn:hover {
cursor: pointer;
color: #165dff;
}
.from___aUr_5 {
font-size: 14px;
font-weight: 400;
color: #5f6368;
margin-bottom: 25px;
}
.bottom___YpWnN img {
height: 24px;
margin-right: 8px;
border-radius: 50%;
}
.bottom___YpWnN span {
font-weight: 400;
color: #5f6368;
font-size: 14px;
}
.bottom___YpWnN .info___rC_Ln span {
margin-left: 30px;
}
.menu___WXa4Y {
width: 100px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 12px;
}
.menu___WXa4Y [class~='ant-dropdown-menu-item'] {
width: 100%;
text-align: center;
}
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Forums/Index/components/Right/index.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.wrap___HDsfM {
width: 25%;
}
.ads___lVzc7 {
border-radius: 6px;
width: 100%;
margin: 20px 0;
}
.hotTags___ndI8R {
margin-bottom: 20px;
background: #f6f7f9;
border-radius: 6px;
padding: 20px 20px 36px 20px;
}
.hotTags___ndI8R img {
height: 18px;
margin-bottom: 23px;
}
.hotTags___ndI8R .tagsWrap___UYU1b .tag___ZTYgc {
background: #fff;
border-radius: 16px;
font-size: 14px;
font-weight: 400;
color: #ac651a;
padding: 9px 12px;
cursor: pointer;
}
.hotTopics___QnHrn {
margin-bottom: 20px;
background: #fff;
border-radius: 6px;
padding: 20px 20px 36px 20px;
box-shadow: 0px 2px 4px 0px #f1f0f1;
}
.hotTopics___QnHrn img {
height: 22px;
margin-bottom: 38px;
}
.hotTopics___QnHrn .questionItem___gukRM {
margin-bottom: 40px;
}
.hotTopics___QnHrn .questionItem___gukRM .questionTitle___lFkBk {
font-size: 16px;
font-weight: 600;
color: #000000;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-bottom: 20px;
cursor: pointer;
}
.hotTopics___QnHrn .questionItem___gukRM .bottomText___dV_IO {
font-size: 14px;
font-weight: 400;
color: #5f6368;
}
.hotTopics___QnHrn .questionItem___gukRM span {
margin-left: 4px;
}
.recommendShixun___jC_LV .titleImg___nPtD7 {
height: 20px;
margin-bottom: 20px;
}
.recommendShixun___jC_LV .recommendItem___wP9xO {
display: flex;
margin-bottom: 14px;
}
.recommendShixun___jC_LV .recommendItem___wP9xO img {
width: 128px;
height: 80px;
margin-right: 12px;
}
.recommendShixun___jC_LV .recommendItem___wP9xO .recommendItemInfo___vRNtS {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.recommendShixun___jC_LV .recommendItem___wP9xO .recommendItemInfo___vRNtS .shixunName___C5xxO {
font-size: 14px;
font-weight: 600;
color: #000000;
cursor: pointer;
}
.recommendShixun___jC_LV .recommendItem___wP9xO .recommendItemInfo___vRNtS .num___aC0f1 {
font-size: 12px;
font-weight: 400;
color: #000f37;
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Forums/Index/index.less?modules ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.page___TjGMF {
background-color: #fff;
}

@ -0,0 +1,50 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[28639],{
/***/ 81577:
/*!*********************************************!*\
!*** ./src/pages/Forums/Index/redirect.tsx ***!
\*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js */ 70215);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! umi */ 88275);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ 85893);
var _excluded = ["forumsList", "globalSetting", "loading", "dispatch"];
var ForumsListPage = function ForumsListPage(_ref) {
var forumsList = _ref.forumsList,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
dispatch = _ref.dispatch,
props = _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0___default()(_ref, _excluded);
var location = (0,umi__WEBPACK_IMPORTED_MODULE_2__.useLocation)();
(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {
umi__WEBPACK_IMPORTED_MODULE_2__.history.push("/forums/categories/all?order=newest");
}, []);
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, {})
// <Redirect from={`${location.pathname}`} to={`/forums/categories/all?order=newest`} />
;
};
/* harmony default export */ __webpack_exports__["default"] = ((0,umi__WEBPACK_IMPORTED_MODULE_2__.connect)(function (_ref2) {
var forumsList = _ref2.forumsList,
loading = _ref2.loading,
globalSetting = _ref2.globalSetting;
return {
forumsList: forumsList,
globalSetting: globalSetting,
loading: loading.models.forumsList
};
})(ForumsListPage));
/***/ })
}]);

@ -0,0 +1,435 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[74264],{
/***/ 40266:
/*!****************************************************!*\
!*** ./src/pages/Forums/New/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 */ Forums_New; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(17061);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(17156);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js
var objectSpread2 = __webpack_require__(42122);
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(27424);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__(70215);
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(88275);
// EXTERNAL MODULE: ./node_modules/antd/es/select/index.js + 106 modules
var es_select = __webpack_require__(96101);
// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 21 modules
var es_form = __webpack_require__(91773);
// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 4 modules
var message = __webpack_require__(2453);
// EXTERNAL MODULE: ./node_modules/antd/es/breadcrumb/index.js + 6 modules
var breadcrumb = __webpack_require__(85673);
// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules
var input = __webpack_require__(11486);
// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
var es_button = __webpack_require__(71577);
// EXTERNAL MODULE: ./src/components/markdown-editor/index.tsx + 10 modules
var markdown_editor = __webpack_require__(55373);
// EXTERNAL MODULE: ./src/components/MultiUpload/index.tsx + 3 modules
var MultiUpload = __webpack_require__(64768);
// EXTERNAL MODULE: ./src/service/forums.ts
var forums = __webpack_require__(52433);
;// CONCATENATED MODULE: ./src/pages/Forums/New/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Newmodules = ({"bg":"bg___pOKLN","flexRow":"flexRow___mNnbK","flexJustifyCenter":"flexJustifyCenter___uouQe","flexAlignEnd":"flexAlignEnd___CKILp","flexAlignCenter":"flexAlignCenter___y5peS","flexColumn":"flexColumn___JJd9N","formWrap":"formWrap___D8WBe","titleWrap":"titleWrap___ICMYl","fieldWrap":"fieldWrap___XNrtY","mdWrap":"mdWrap___gRykC","backgroundFa":"backgroundFa___jKoLp","button":"button___f0Fqa"});
// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
var jsx_runtime = __webpack_require__(85893);
;// CONCATENATED MODULE: ./src/pages/Forums/New/index.tsx
var _excluded = ["forumsDetail", "globalSetting", "loading", "dispatch"];
var Option = es_select/* default.Option */.Z.Option;
var New = function New(_ref) {
var _formValue$subject, _newData$forums, _newData$tag_list;
var forumsDetail = _ref.forumsDetail,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
dispatch = _ref.dispatch,
props = objectWithoutProperties_default()(_ref, _excluded);
var params = (0,_umi_production_exports.useParams)();
var _Form$useForm = es_form/* default.useForm */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
form = _Form$useForm2[0];
var _useState = (0,react.useState)({}),
_useState2 = slicedToArray_default()(_useState, 2),
formValue = _useState2[0],
setFormValue = _useState2[1];
var _useState3 = (0,react.useState)(0),
_useState4 = slicedToArray_default()(_useState3, 2),
isLoading = _useState4[0],
setIsLoading = _useState4[1];
var _useState5 = (0,react.useState)(false),
_useState6 = slicedToArray_default()(_useState5, 2),
isEdit = _useState6[0],
setIsEdit = _useState6[1];
var _useState7 = (0,react.useState)({}),
_useState8 = slicedToArray_default()(_useState7, 2),
newData = _useState8[0],
setNewData = _useState8[1];
var _useState9 = (0,react.useState)(1),
_useState10 = slicedToArray_default()(_useState9, 2),
type = _useState10[0],
setType = _useState10[1];
(0,react.useEffect)(function () {
handelGetNewData();
if (params.memoId) {
setIsEdit(true);
handleGetEditData();
} else {
setIsEdit(false);
var data = {
forum_id: 5
};
setFormValue(objectSpread2_default()({}, data));
form.setFieldsValue(objectSpread2_default()({}, data));
}
}, [params.memoId]);
var handelGetNewData = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return (0,forums/* getForumsNewData */.iI)({});
case 2:
res = _context.sent;
setNewData(res || {});
case 4:
case "end":
return _context.stop();
}
}, _callee);
}));
return function handelGetNewData() {
return _ref2.apply(this, arguments);
};
}();
var handleGetEditData = /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var _res$memo_tags;
var res, data;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
return (0,forums/* getForumsEditData */.qR)({
id: params.memoId
});
case 2:
_context2.t0 = _context2.sent;
if (_context2.t0) {
_context2.next = 5;
break;
}
_context2.t0 = {};
case 5:
res = _context2.t0;
data = {
subject: res.subject,
content: res.content,
attachments: (0,MultiUpload/* coverToFileList */.z)(res.attachments),
forum_id: res.forum_id,
memo_tags: (_res$memo_tags = res.memo_tags) === null || _res$memo_tags === void 0 ? void 0 : _res$memo_tags.map(function (item) {
return item.id;
})
};
setFormValue(objectSpread2_default()({}, data));
form.setFieldsValue(objectSpread2_default()({}, data));
case 9:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return function handleGetEditData() {
return _ref3.apply(this, arguments);
};
}();
var handleFinish = /*#__PURE__*/function () {
var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(value) {
var _formValue$attachment, _formValue$attachment2;
var postData, res;
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
postData = objectSpread2_default()(objectSpread2_default()({
id: isEdit ? params.memoId : null
}, formValue), {}, {
attachment_ids: (_formValue$attachment = formValue.attachments) === null || _formValue$attachment === void 0 ? void 0 : (_formValue$attachment2 = _formValue$attachment.filter(function (v) {
var _v$response;
return (_v$response = v.response) === null || _v$response === void 0 ? void 0 : _v$response.id;
})) === null || _formValue$attachment2 === void 0 ? void 0 : _formValue$attachment2.map(function (v) {
var _v$response2;
return (_v$response2 = v.response) === null || _v$response2 === void 0 ? void 0 : _v$response2.id;
}),
tags: formValue.memo_tags
});
if (!isEdit) {
_context3.next = 7;
break;
}
_context3.next = 4;
return (0,forums/* updateForums */.b4)(postData);
case 4:
_context3.t0 = _context3.sent;
_context3.next = 10;
break;
case 7:
_context3.next = 9;
return (0,forums/* newForums */.dX)(postData);
case 9:
_context3.t0 = _context3.sent;
case 10:
res = _context3.t0;
setIsLoading(0);
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
message/* default.success */.ZP.success(res === null || res === void 0 ? void 0 : res.message);
if (type === 1) {
_umi_production_exports.history.push("/forums/".concat(isEdit ? params === null || params === void 0 ? void 0 : params.memoId : res === null || res === void 0 ? void 0 : res.memo_id));
} else {
_umi_production_exports.history.push("/forums/".concat(isEdit ? params === null || params === void 0 ? void 0 : params.memoId : res === null || res === void 0 ? void 0 : res.memo_id, "/edit"));
}
}
case 13:
case "end":
return _context3.stop();
}
}, _callee3);
}));
return function handleFinish(_x) {
return _ref4.apply(this, arguments);
};
}();
var onCancel = function onCancel() {
document.body.scrollIntoView();
if (window.location.href.includes('new')) {
_umi_production_exports.history.back();
} else {
_umi_production_exports.history.push("/forums/".concat(params.memoId));
}
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
className: Newmodules.bg,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("section", {
className: "animated fadeIn mb10",
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.Item */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
to: "/forums",
children: "\u4EA4\u6D41\u95EE\u7B54"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, {
children: "\u8BE6\u60C5"
})]
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
className: "bg-white font16 pt20 pb20 pl20",
children: isEdit ? '编辑话题' : '发布话题'
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
form: form,
className: Newmodules.formWrap,
scrollToFirstError: true,
layout: "vertical",
onValuesChange: function onValuesChange(changedValues, values) {
console.log(values, 'values');
setFormValue(objectSpread2_default()(objectSpread2_default()({}, formValue), changedValues));
},
onFinish: handleFinish,
onFinishFailed: function onFinishFailed() {
setIsLoading(0);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Newmodules.fieldWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
name: "subject",
label: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font16",
children: "\u8BDD\u9898\u540D\u79F0: "
}),
rules: [{
required: true,
message: "请先输入话题名称"
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
maxLength: 50,
suffix: "".concat(((_formValue$subject = formValue.subject) === null || _formValue$subject === void 0 ? void 0 : _formValue$subject.length) || 0, "/50")
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Newmodules.mdWrap,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
name: "content",
label: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font16",
children: "\u5185\u5BB9: "
}),
rules: [{
required: true,
message: "请先输入话题内容"
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, {
height: 600,
id: "forums-new-content",
watch: true,
defaultValue: formValue.content
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
name: "attachments",
style: {
width: 350
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(MultiUpload/* default */.Z, {
showRemoveModal: true
})
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Newmodules.mdWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
name: "forum_id",
label: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font16",
children: "\u8BDD\u9898\u7C7B\u578B: "
}),
rules: [{
required: true,
message: "请先选择话题类型"
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, {
style: {
width: 300
},
children: newData === null || newData === void 0 ? void 0 : (_newData$forums = newData.forums) === null || _newData$forums === void 0 ? void 0 : _newData$forums.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(Option, {
value: item.id,
children: item.name
}, item.id);
})
})
})
}), formValue.forum_id === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Newmodules.mdWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
name: "memo_tags",
label: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font16",
children: "\u6280\u672F\u6807\u7B7E: "
}),
rules: [{
required: true,
message: "请先选择技术标签"
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, {
style: {
width: 300
},
placeholder: "\u8BF7\u9009\u62E9\u6280\u672F\u6807\u7B7E",
mode: "multiple",
tokenSeparators: [';'],
filterOption: function filterOption(inputValue, option) {
return option.props.children.toLocaleLowerCase().indexOf(inputValue.toLocaleLowerCase()) != -1;
},
children: newData === null || newData === void 0 ? void 0 : (_newData$tag_list = newData.tag_list) === null || _newData$tag_list === void 0 ? void 0 : _newData$tag_list.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(Option, {
value: item.id,
children: item.name
}, item.id);
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Newmodules.backgroundFa,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "pt40 mb30",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default.Item */.Z.Item, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
size: 'middle',
type: "primary",
className: "".concat(Newmodules.button, " mr20"),
htmlType: "submit",
loading: isLoading === 1,
onClick: function onClick() {
setType(1);
setIsLoading(1);
},
children: "\u63D0\u4EA4"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
size: 'middle',
type: "primary",
className: "".concat(Newmodules.button, " mr20"),
htmlType: "submit",
loading: isLoading === 2,
onClick: function onClick() {
setType(2);
setIsLoading(2);
},
children: "\u4FDD\u5B58"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
size: 'middle',
type: "primary",
ghost: true,
className: "".concat(Newmodules.button, " mr20"),
onClick: onCancel,
children: "\u53D6\u6D88"
})]
})
})
})]
})]
});
};
/* harmony default export */ var Forums_New = ((0,_umi_production_exports.connect)(function (_ref5) {
var forumsDetail = _ref5.forumsDetail,
loading = _ref5.loading,
globalSetting = _ref5.globalSetting;
return {
forumsDetail: forumsDetail,
globalSetting: globalSetting,
loading: loading.models.forumsDetail
};
})(New));
/***/ })
}]);

@ -0,0 +1,138 @@
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/MultiUpload/index.less ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.upload_button {
width: 108px;
height: 32px;
background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%);
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #BACFFE;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #3061D0;
display: inline-block;
text-align: center;
align-items: center;
align-content: center;
}
.upload_button .aBtn_img {
width: 14px;
height: 14px;
margin-top: -3px;
margin-right: 8px;
}
.upload_button:hover {
width: 108px;
height: 32px;
background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%);
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #BACFFE;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #3061D0;
}
.upload_button:active {
width: 108px;
height: 32px;
background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%);
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #BACFFE;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #3061D0;
}
.upload_text {
width: 129px;
height: 20px;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #5F6367;
line-height: 20px;
margin-left: 16px;
}
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Forums/New/index.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.bg___pOKLN {
margin: 0 auto;
width: 1200px;
margin-top: 20px;
margin-bottom: 60px;
padding-bottom: 140px;
}
.flexRow___mNnbK {
display: flex;
flex-direction: row;
}
.flexJustifyCenter___uouQe {
justify-content: center;
}
.flexAlignEnd___CKILp {
align-items: flex-end;
}
.flexAlignCenter___y5peS {
align-items: center;
}
.flexColumn___JJd9N {
display: flex;
flex-direction: column;
}
.formWrap___D8WBe {
border-top: 1px solid #eeeeee;
}
.formWrap___D8WBe label {
font-size: 14px;
}
.titleWrap___ICMYl {
background-color: #fff;
display: flex;
flex-direction: row;
justify-content: space-between;
font-size: 18px;
color: #333;
padding: 10px 20px;
border-bottom: 1px solid #eeeeee;
background: #fff;
}
.fieldWrap___XNrtY {
background-color: #fff;
padding: 10px 20px 10px;
border-bottom: 1px solid #eeeeee;
}
.fieldWrap___XNrtY div[class~='ant-form-item-label'] label {
font-size: 14px;
}
.fieldWrap___XNrtY input[class~='ant-input'] {
line-height: 1.5;
background: transparent;
border-width: 1px;
height: 40px;
font-size: 14px;
}
.mdWrap___gRykC {
background-color: #fff;
padding: 10px 20px 10px;
margin-top: 10px;
}
.mdWrap___gRykC div[class~='ant-form-item-label'] label {
font-size: 14px;
}
.backgroundFa___jKoLp {
background: #fafafa;
}
[id="educoder"] .button___f0Fqa {
width: 130px;
height: 40px;
line-height: 40px;
font-weight: 400;
padding: 0px;
}

File diff suppressed because one or more lines are too long

@ -0,0 +1,166 @@
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/Index/index.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___eglo4 {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___y5kzg {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___zIRh8 {
align-items: center;
box-align: center;
}
.flex_box_center_end___Wu3DG {
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___hut4c {
flex-direction: column;
box-orient: block-axis;
}
.page___bjvDy {
background: #ffffff;
padding-bottom: 30px;
min-height: 80vh;
}
.page___bjvDy .center___ZyA0X {
margin: 0 auto;
width: 1200px;
}
.page___bjvDy .listWrap___PTFml {
margin-top: 13px;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5 {
padding: 30px;
display: flex;
align-items: center;
background: #FFFFFF;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 4px;
border: 1px solid #F5F5F5;
margin-bottom: 20px;
position: relative;
overflow: hidden;
cursor: pointer;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5 .left___T2GqF {
flex: 1 1;
overflow: hidden;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5 .left___T2GqF .title___CFpu_ {
display: flex;
align-items: center;
overflow: hidden;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5 .left___T2GqF .title___CFpu_ .tag____u1X2 {
width: 60px;
height: 26px;
border-radius: 13px;
font-size: 14px;
font-weight: 400;
line-height: 24px;
text-align: center;
flex-shrink: 0;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5 .left___T2GqF .title___CFpu_ .tag0___gKHLM {
width: 60px;
height: 26px;
border-radius: 13px;
font-size: 14px;
font-weight: 400;
line-height: 24px;
text-align: center;
flex-shrink: 0;
border: 1px solid #DADBDE;
color: #999999;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5 .left___T2GqF .title___CFpu_ .tag1___aiej1 {
width: 60px;
height: 26px;
border-radius: 13px;
font-size: 14px;
font-weight: 400;
line-height: 24px;
text-align: center;
flex-shrink: 0;
border: 1px solid #B1F0E1;
color: #00B187;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5 .left___T2GqF .title___CFpu_ .tag2___JHnX7 {
width: 60px;
height: 26px;
border-radius: 13px;
font-size: 14px;
font-weight: 400;
line-height: 24px;
text-align: center;
flex-shrink: 0;
border: 1px solid #FFC4C4;
color: #E53333;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5 .left___T2GqF .title___CFpu_ .name___grSzv {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-left: 10px;
font-size: 20px;
font-weight: 600;
color: #000000;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5 .left___T2GqF .info___R50jk {
margin-top: 20px;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5 .left___T2GqF .info___R50jk span {
font-size: 14px;
color: #666666;
margin-right: 20px;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5 .left___T2GqF .info___R50jk span > span {
font-size: 14px;
color: #000000;
margin-left: 8px;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5 .left___T2GqF .time___iHtG5 {
font-size: 12px;
color: #9096A3;
margin-top: 8px;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5 .right___OWDoV {
display: flex;
align-items: center;
justify-content: center;
padding-left: 30px;
flex-shrink: 0;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5:hover .cover___nUJMT {
display: flex;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5 .cover___nUJMT {
display: none;
position: absolute;
width: 100%;
height: 100%;
z-index: 10;
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.5);
align-items: center;
justify-content: center;
color: #fff;
}
.page___bjvDy .listWrap___PTFml .list___TaWd5 .cover___nUJMT i {
margin-right: 8px;
font-size: 20px;
}

File diff suppressed because one or more lines are too long

@ -0,0 +1,175 @@
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/Lists/Archives/index.less?modules ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___lQeIL {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___GT1Rq {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___n5vK6 {
align-items: center;
box-align: center;
}
.flex_box_center_end___CNxyo {
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___mt3YF {
flex-direction: column;
box-orient: block-axis;
}
.body___vxrCH {
padding-left: 45px;
}
.Onerow___FzzBS {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.MultiLine___HVyhH {
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.StudentList___ljTCx {
padding: 30px;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border: 1px solid #f5f5f5;
}
.StudentList___ljTCx .Title___aMv1d {
font-size: 20px;
color: #333333;
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.TeacherList___j7NPe {
margin-bottom: 30px;
}
.TeacherList___j7NPe:last-child {
margin-right: auto;
}
.Active___ZnoUy {
position: absolute;
animation: rotate___YablO 2s infinite linear;
}
@keyframes rotate___YablO {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/components/HeadTitle/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___oGGi8 {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___e1At5 {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___K1Nl5 {
align-items: center;
box-align: center;
}
.flex_box_center_end___IP1rf {
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____nxPW {
flex-direction: column;
box-orient: block-axis;
}
.title___Ynb7w {
margin: 20px 0;
display: flex;
align-items: center;
}
.title___Ynb7w b {
font-size: 20px;
font-weight: 600;
color: #232B40;
}
.title___Ynb7w .time___dxFRB {
font-size: 14px;
margin-left: auto;
}
.title___Ynb7w .time___dxFRB > span {
color: #9096A3;
}
.title___Ynb7w .time___dxFRB > span span {
color: #232B40;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/components/Tags/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___Sswcw {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___nBexI {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___sPXvb {
align-items: center;
box-align: center;
}
.flex_box_center_end___c6nca {
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___Bq_gi {
flex-direction: column;
box-orient: block-axis;
}
.tag___NEywM {
padding: 0 12px;
height: 24px;
background: #ADB1B8;
border-radius: 12px;
line-height: 24px;
text-align: center;
font-size: 12px;
font-weight: 600;
color: #fff;
}

File diff suppressed because one or more lines are too long

@ -0,0 +1,78 @@
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/Lists/Gradingsummary/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___j7Jif {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___UHGUg {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___wHLdX {
align-items: center;
box-align: center;
}
.flex_box_center_end___HngqR {
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___WEQRk {
flex-direction: column;
box-orient: block-axis;
}
.body___m_WQo {
padding-top: 20px;
padding-left: 45px;
}
.Onerow___QCaCO {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.vCenter___LJpmU {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.StudentScore___pHFFl {
margin-top: 43px;
padding: 30px;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border: 1px solid #f5f5f5;
position: relative;
}
.StudentScore___pHFFl .Scorebg___T5Ij7 {
position: absolute;
top: -32px;
right: 10px;
}
.StudentScore___pHFFl .ScroeItem___Fh3pO {
width: 167px;
height: 102px;
background: #F6F7F9;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.StudentScore___pHFFl .ScoreTechers___VNlSW {
margin-right: 10px;
margin-bottom: 20px;
display: flex;
align-items: center;
}
.StudentScore___pHFFl .ScoreTechers___VNlSW:last-child {
margin-right: auto;
}

File diff suppressed because one or more lines are too long

@ -0,0 +1,260 @@
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/Lists/Index/index.less?modules ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___Mycwq {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___Xbrn7 {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___Y038R {
align-items: center;
box-align: center;
}
.flex_box_center_end___PH9yW {
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___BegNe {
flex-direction: column;
box-orient: block-axis;
}
.body___nOABp {
padding-top: 20px;
padding-left: 45px;
position: relative;
}
.Onerow___dGLJJ {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.MultiLine___QhT8_ {
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.divbox___y8Apd {
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 8px;
border: 1px solid #f5f5f5;
}
.GuideIcon___ooxgw {
position: absolute;
right: -60px;
width: 40px;
height: 40px;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 8px;
border: 1px solid #f5f5f5;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.GuideIcon___ooxgw:hover {
box-shadow: 0px 0px 8px 0px #D5E3FF;
border-color: #D3E1FF;
}
.Guide___hS9i1 {
width: 100%;
height: 104px;
padding: 20px 30px;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 8px;
border: 1px solid #f5f5f5;
}
.Guide___hS9i1 .GuideItem___RMU_S {
display: flex;
flex-direction: column;
align-items: center;
}
.Title___a3Njm {
font-size: 16px;
font-weight: 500;
color: #000;
line-height: 16px;
}
.Overview___xEPym {
width: 100%;
padding: 20px;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 8px;
border: 1px solid #f5f5f5;
}
.Overview___xEPym .OverviewIcon___aHj1M {
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
background: #F6F7F9;
border-radius: 50%;
}
.Overview___xEPym .OverviewNum___m5Gze {
font-size: 18px;
font-weight: 600;
color: #333;
line-height: 18px;
cursor: pointer;
}
.Overview___xEPym .OverviewName___ieWMD {
margin-top: 8px;
color: #9096A3;
}
.BadgeDot___dmDYU {
padding: 0 !important;
line-height: 30px !important;
top: -2px;
left: 69px;
z-index: 1;
}
.left69___dTE5Q {
left: 69px;
}
.left55___E3b4z {
left: 55px;
}
.Active16___UsmSC:hover {
color: #165DFF;
}
.Action___FZzt9 {
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 8px;
border: 1px solid #f5f5f5;
padding: 20px;
height: 100%;
}
.Action___FZzt9 .ActionItem___HIqhX {
padding: 14px 0;
border-bottom: 1px solid #f5f5f5;
cursor: pointer;
}
.Action___FZzt9 .ActionItem___HIqhX .ActionItemName___o_fmR {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 70px;
color: #000;
line-height: 14px;
}
.Action___FZzt9 .ActionItem___HIqhX .ActionItemDes___wF2m3 {
margin-top: 14px;
color: #5F6368;
line-height: 22px;
height: 44px;
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.Action___FZzt9 .ActionItem___HIqhX:first-child {
margin-top: 8px;
}
.Steps___o0fdB {
flex: 1 1;
width: 100%;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 8px;
border: 1px solid #f5f5f5;
padding: 20px;
}
.Steps___o0fdB .Status___DkqBa span[class~="ant-badge-status-dot"] {
width: 8px !important;
height: 8px !important;
}
.Steps___o0fdB .Status___DkqBa span[class~="ant-badge-status-text"] {
margin-left: 4px;
font-size: 12px;
color: #ADB2B8;
}
.Steps___o0fdB .StepsItemActive___uCmfI {
box-shadow: 0px 0px 8px 0px #D5E3FF;
border-radius: 8px;
}
.Steps___o0fdB .StepsItem___uuysT {
display: flex;
align-items: center;
width: 100%;
height: 70px;
margin-top: 16px;
}
.Steps___o0fdB .StepsItem___uuysT .StepsItemLeft___yikqm {
width: 100%;
padding-left: 42px;
margin-right: 20px;
font-size: 12px;
}
.Steps___o0fdB .StepsItem___uuysT .StepsItemCent___uiT_W {
width: 16px;
height: 16px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.Steps___o0fdB .StepsItem___uuysT .StepsItemCent___uiT_W .StepsItemCentDot___NO_kn {
width: 10px;
height: 10px;
border-radius: 50%;
}
.Steps___o0fdB .StepsItem___uuysT .StepsItemCent___uiT_W::before,
.Steps___o0fdB .StepsItem___uuysT .StepsItemCent___uiT_W::after {
content: "";
width: 2px;
height: calc(57px/2 + 5px);
position: absolute;
background: rgba(22, 93, 255, 0.05);
}
.Steps___o0fdB .StepsItem___uuysT .StepsItemCent___uiT_W::before {
top: calc((57px/2 + 5px) * -1);
}
.Steps___o0fdB .StepsItem___uuysT .StepsItemCent___uiT_W::after {
top: 13px;
}
.Steps___o0fdB .StepsItem___uuysT .StepsItemRight___gSq33 {
margin-left: 20px;
position: relative;
}
.Steps___o0fdB .StepsItem___uuysT .StepsItemRight___gSq33 .StepsItemRightTitle___XRf_G {
font-size: 16px;
font-weight: 600;
color: #5F6367;
line-height: 16px;
cursor: pointer;
}
.Steps___o0fdB .StepsItem___uuysT .StepsItemRight___gSq33 .StepsItemRightTitle___XRf_G:hover {
color: #165DFF;
}
.Steps___o0fdB .StepsItem___uuysT .StepsItemRight___gSq33 .shezhi___V4H3V {
position: absolute;
top: 50%;
right: 20px;
transform: translateY(-50%);
cursor: pointer;
}
.Steps___o0fdB .StepsItem___uuysT:first-child .StepsItemCent___uiT_W::before {
content: none;
}
.Steps___o0fdB .StepsItem___uuysT:last-child .StepsItemCent___uiT_W::after {
content: none;
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,64 @@
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/Lists/Personmanage/index.less?modules ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___SU33_ {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___NnGYW {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___lX31d {
align-items: center;
box-align: center;
}
.flex_box_center_end___KWld3 {
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___QHzze {
flex-direction: column;
box-orient: block-axis;
}
.ActvieE3___Hv5W0:hover {
color: #E30000;
}
.Actvie00___xMrRz:hover {
color: #00B187;
}
.body___gECjr {
padding-top: 20px;
padding-left: 45px;
}
.body___gECjr [class~="ant-table-thead"] tr th:nth-child(1),
.body___gECjr [class~="ant-table-thead"] tr th:nth-last-child(1) {
border-radius: 0 !important;
}
.AddBut___iCNdk {
color: #fff;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 18px;
}
.selectInfo___2doF7 {
width: 100%;
height: 38px;
background: #f4f7fc;
border-radius: 2px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 8px;
margin-bottom: 1px;
}

@ -0,0 +1,906 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[25022],{
/***/ 21912:
/*!********************************************************************!*\
!*** ./src/pages/Graduations/Lists/Settings/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 */ Settings; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(17061);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(17156);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(27424);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./src/pages/Graduations/Lists/Settings/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Settingsmodules = ({"flex_box_center":"flex_box_center___cEivK","flex_space_between":"flex_space_between___IFGZ3","flex_box_vertical_center":"flex_box_vertical_center___A29Xo","flex_box_center_end":"flex_box_center_end___gcDCE","flex_box_column":"flex_box_column___N3CZq","wrap":"wrap___D5wZy","title":"title___ip7DS","gray":"gray___X6m0z","btn":"btn___l4Im_","formWrap":"formWrap___TpXQq","radio":"radio___zMm2t"});
// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 21 modules
var es_form = __webpack_require__(91773);
// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 12 modules
var skeleton = __webpack_require__(4310);
// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 4 modules
var message = __webpack_require__(2453);
// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules
var input = __webpack_require__(11486);
// EXTERNAL MODULE: ./node_modules/antd/es/select/index.js + 106 modules
var es_select = __webpack_require__(96101);
// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 5 modules
var es_radio = __webpack_require__(78045);
// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js
var row = __webpack_require__(71230);
// EXTERNAL MODULE: ./node_modules/antd/es/switch/index.js + 27 modules
var es_switch = __webpack_require__(47897);
// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
var es_button = __webpack_require__(71577);
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(84519);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(88275);
// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
var jsx_runtime = __webpack_require__(85893);
;// CONCATENATED MODULE: ./src/pages/Graduations/Lists/Settings/index.tsx
var Page = function Page(_ref) {
var graduations = _ref.graduations,
dispatch = _ref.dispatch;
var params = (0,_umi_production_exports.useParams)();
var _useState = (0,react.useState)([]),
_useState2 = slicedToArray_default()(_useState, 2),
schools = _useState2[0],
setSchools = _useState2[1];
var _useState3 = (0,react.useState)([]),
_useState4 = slicedToArray_default()(_useState3, 2),
departments = _useState4[0],
setDepartments = _useState4[1];
var _useState5 = (0,react.useState)([]),
_useState6 = slicedToArray_default()(_useState5, 2),
years = _useState6[0],
setYears = _useState6[1];
var _useState7 = (0,react.useState)(true),
_useState8 = slicedToArray_default()(_useState7, 2),
loading = _useState8[0],
setLoading = _useState8[1];
var _useState9 = (0,react.useState)(false),
_useState10 = slicedToArray_default()(_useState9, 2),
btnLoading = _useState10[0],
setBtnLoading = _useState10[1];
var _Form$useForm = es_form/* default.useForm */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
form = _Form$useForm2[0];
var _useState11 = (0,react.useState)(false),
_useState12 = slicedToArray_default()(_useState11, 2),
fetchLoading = _useState12[0],
setFetchLoading = _useState12[1];
var timer = (0,react.useRef)(null);
var fetchIndex = (0,react.useRef)(1);
(0,react.useEffect)(function () {
getData();
}, []);
var getData = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var res, _ref3, school_id, _ref3$department_id, department_id, name, year, code_effect_range, join_audit, school_name;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
setLoading(true);
_context.next = 3;
return (0,fetch/* default */.ZP)("/api/graduations/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'get'
});
case 3:
res = _context.sent;
if (!(res.status === 0)) {
_context.next = 11;
break;
}
setYears((res === null || res === void 0 ? void 0 : res.graduation_years) || []);
_ref3 = (res === null || res === void 0 ? void 0 : res.graduation) || {}, school_id = _ref3.school_id, _ref3$department_id = _ref3.department_id, department_id = _ref3$department_id === void 0 ? '' : _ref3$department_id, name = _ref3.name, year = _ref3.year, code_effect_range = _ref3.code_effect_range, join_audit = _ref3.join_audit, school_name = _ref3.school_name;
_context.next = 9;
return getDepartments(school_id);
case 9:
form.setFieldsValue({
year: year,
school_id: school_id,
department_id: department_id,
name: name,
code_effect_range: code_effect_range,
join_audit: join_audit
});
setSchools([{
id: school_id,
name: school_name
}]);
case 11:
setLoading(false);
case 12:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getData() {
return _ref2.apply(this, arguments);
};
}();
var getSchools = function getSchools(name) {
var time = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
setFetchLoading(true);
clearTimeout(timer.current);
timer.current = setTimeout( /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var currentFetch, res;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
fetchIndex.current += 1;
currentFetch = fetchIndex.current;
_context2.next = 4;
return (0,fetch/* default */.ZP)("/api/schools/search.json", {
method: "get",
params: {
keyword: name
}
});
case 4:
res = _context2.sent;
if (res.status === 0 && fetchIndex.current === currentFetch) {
setSchools((res === null || res === void 0 ? void 0 : res.schools) || []);
setFetchLoading(false);
}
case 6:
case "end":
return _context2.stop();
}
}, _callee2);
})), time);
};
var getDepartments = /*#__PURE__*/function () {
var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(id) {
var res;
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
if (id) {
_context3.next = 2;
break;
}
return _context3.abrupt("return");
case 2:
_context3.next = 4;
return (0,fetch/* default */.ZP)("/api/schools/".concat(id, "/departments/for_option.json"), {
method: "get",
params: {
page: 1,
limit: 9999
}
});
case 4:
res = _context3.sent;
if (res.status === 0) {
setDepartments((res === null || res === void 0 ? void 0 : res.departments) || []);
}
case 6:
case "end":
return _context3.stop();
}
}, _callee3);
}));
return function getDepartments(_x) {
return _ref5.apply(this, arguments);
};
}();
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Settingsmodules.wrap,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Settingsmodules.title,
children: "\u57FA\u7840\u8BBE\u7F6E"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(skeleton/* default */.Z, {
loading: loading,
active: true,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
colon: false,
form: form,
size: "large",
className: Settingsmodules.formWrap,
onValuesChange: function onValuesChange(value) {
if (value.school_id) {
getDepartments(value.school_id);
form.setFieldValue('department_id', '');
}
},
onFinish: /*#__PURE__*/function () {
var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(value) {
var res;
return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
setBtnLoading(true);
_context4.next = 3;
return (0,fetch/* default */.ZP)("/api/graduations/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: "put",
body: value
});
case 3:
res = _context4.sent;
if (res.status === 0) {
message/* default.success */.ZP.success('保存成功!您设置的内容已成功保存。');
dispatch({
type: 'graduations/getGraduationsDetails',
payload: {
id: params === null || params === void 0 ? void 0 : params.id
}
});
}
setBtnLoading(false);
case 6:
case "end":
return _context4.stop();
}
}, _callee4);
}));
return function (_x2) {
return _ref6.apply(this, arguments);
};
}(),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
name: "name",
label: "\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0",
rules: [{
required: true,
message: "请输入毕业设计名称"
}, {
max: 60,
message: "输入超限,请缩减字符数"
}, {
whitespace: true,
message: '请输入毕业设计名称'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
showCount: true,
maxLength: 60,
size: "large"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
name: "year",
label: "\u9009\u62E9\u5C4A\u522B",
rules: [{
required: true,
message: "请选择届别"
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, {
size: "large",
children: years.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, {
children: item
}, item);
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
name: "school_id",
label: "\u5B66\u6821",
rules: [{
required: true,
message: "请选择学校"
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, {
showSearch: true,
filterOption: false,
onSearch: function onSearch(v) {
getSchools(v);
},
loading: fetchLoading,
size: "large",
style: {
width: 344
},
children: schools.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, {
value: item.id,
children: item.name
}, item.id);
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
name: "department_id",
label: "\u5B66\u9662",
rules: [{
required: true,
message: "请选择学院"
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, {
showSearch: true,
optionFilterProp: "children",
children: departments.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, {
value: item.id,
children: item.name
}, item.id);
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
name: "code_effect_range",
label: "\u9080\u8BF7\u7801\u8BBE\u7F6E",
className: Settingsmodules.radio,
rules: [{
required: true
}],
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, {
className: "mr30",
value: 0,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "c-black font14",
children: "\u5BF9\u6240\u6709\u89D2\u8272\u542F\u7528"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Settingsmodules.gray,
children: "\u9009\u4E2D\u540E\u6240\u6709\u7528\u6237\u53EF\u4EE5\u901A\u8FC7"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Settingsmodules.gray,
children: "\u9080\u8BF7\u7801\u52A0\u5165\u6BD5\u8BBE"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, {
className: "mr30",
value: 2,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "c-black font14",
children: "\u5BF9\u5B66\u751F\u505C\u7528"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Settingsmodules.gray,
children: "\u9009\u4E2D\u540E\u7528\u6237\u4EE5\u5B66\u751F\u8EAB\u4EFD\u52A0"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Settingsmodules.gray,
children: "\u5165\u6BD5\u8BBE\u65F6\uFF0C\u9080\u8BF7\u7801\u65E0\u6548"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, {
className: "mr30",
value: 1,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "c-black font14",
children: "\u5BF9\u7BA1\u7406\u5458\u505C\u7528"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Settingsmodules.gray,
children: "\u9009\u4E2D\u540E\u7528\u6237\u4EE5\u7BA1\u7406\u5458\u8EAB\u4EFD"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Settingsmodules.gray,
children: "\u52A0\u5165\u6BD5\u8BBE\u65F6\uFF0C\u9080\u8BF7\u7801\u65E0\u6548"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, {
value: 3,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "c-black font14",
children: "\u5BF9\u6240\u6709\u89D2\u8272\u505C\u7528"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Settingsmodules.gray,
children: "\u9009\u4E2D\u540E\u672C\u9080\u8BF7\u7801\u5931\u6548\uFF0C\u7528"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Settingsmodules.gray,
children: "\u6237\u4E0D\u80FD\u4E3B\u52A8\u52A0\u5165\u6BD5\u8BBE"
})]
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
style: {
marginLeft: 110,
marginTop: 30
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
name: "join_audit",
valuePropName: "checked",
noStyle: true,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, {})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-black font14 ml10",
children: "\u4F7F\u7528\u9080\u8BF7\u7801\u52A0\u5165\u7684\u5B66\u751F\u9700\u8981\u5BA1\u6838"
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
onClick: function onClick() {
return form.submit();
},
loading: btnLoading,
className: Settingsmodules.btn,
children: "\u4FDD\u5B58\u8BBE\u7F6E"
})]
})]
});
};
/* harmony default export */ var Settings = ((0,_umi_production_exports.connect)(function (_ref7) {
var graduations = _ref7.graduations;
return {
graduations: graduations
};
})(Page));
/***/ }),
/***/ 11486:
/*!*********************************************************!*\
!*** ./node_modules/antd/es/input/index.js + 5 modules ***!
\*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ input; }
});
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js
var form_context = __webpack_require__(65223);
// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js
var style = __webpack_require__(47673);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js
"use client";
const Group = props => {
const {
getPrefixCls,
direction
} = (0,react.useContext)(context/* ConfigContext */.E_);
const {
prefixCls: customizePrefixCls,
className
} = props;
const prefixCls = getPrefixCls('input-group', customizePrefixCls);
const inputPrefixCls = getPrefixCls('input');
const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls);
const cls = classnames_default()(prefixCls, {
[`${prefixCls}-lg`]: props.size === 'large',
[`${prefixCls}-sm`]: props.size === 'small',
[`${prefixCls}-compact`]: props.compact,
[`${prefixCls}-rtl`]: direction === 'rtl'
}, hashId, className);
const formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM);
const groupFormItemContext = (0,react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), {
isFormItemInput: false
}), [formItemContext]);
if (false) {}
return wrapSSR( /*#__PURE__*/react.createElement("span", {
className: cls,
style: props.style,
onMouseEnter: props.onMouseEnter,
onMouseLeave: props.onMouseLeave,
onFocus: props.onFocus,
onBlur: props.onBlur
}, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, {
value: groupFormItemContext
}, props.children)));
};
/* harmony default export */ var input_Group = (Group);
// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules
var Input = __webpack_require__(82586);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js
// This icon file is generated automatically.
var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" };
/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(44327);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_EyeInvisibleOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined));
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules
var EyeOutlined = __webpack_require__(43481);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js
var omit = __webpack_require__(10366);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/ref.js
var es_ref = __webpack_require__(17799);
// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js
var useRemovePasswordTimeout = __webpack_require__(72922);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js
"use client";
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
const defaultIconRender = visible => visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null);
const ActionMap = {
click: 'onClick',
hover: 'onMouseOver'
};
const Password = /*#__PURE__*/react.forwardRef((props, ref) => {
const {
visibilityToggle = true
} = props;
const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined;
const [visible, setVisible] = (0,react.useState)(() => visibilityControlled ? visibilityToggle.visible : false);
const inputRef = (0,react.useRef)(null);
react.useEffect(() => {
if (visibilityControlled) {
setVisible(visibilityToggle.visible);
}
}, [visibilityControlled, visibilityToggle]);
// Remove Password value
const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef);
const onVisibleChange = () => {
const {
disabled
} = props;
if (disabled) {
return;
}
if (visible) {
removePasswordTimeout();
}
setVisible(prevState => {
var _a;
const newState = !prevState;
if (typeof visibilityToggle === 'object') {
(_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState);
}
return newState;
});
};
const getIcon = prefixCls => {
const {
action = 'click',
iconRender = defaultIconRender
} = props;
const iconTrigger = ActionMap[action] || '';
const icon = iconRender(visible);
const iconProps = {
[iconTrigger]: onVisibleChange,
className: `${prefixCls}-icon`,
key: 'passwordIcon',
onMouseDown: e => {
// Prevent focused state lost
// https://github.com/ant-design/ant-design/issues/15173
e.preventDefault();
},
onMouseUp: e => {
// Prevent caret position change
// https://github.com/ant-design/ant-design/issues/23524
e.preventDefault();
}
};
return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps);
};
const {
className,
prefixCls: customizePrefixCls,
inputPrefixCls: customizeInputPrefixCls,
size
} = props,
restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]);
const {
getPrefixCls
} = react.useContext(context/* ConfigContext */.E_);
const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
const prefixCls = getPrefixCls('input-password', customizePrefixCls);
const suffixIcon = visibilityToggle && getIcon(prefixCls);
const inputClassName = classnames_default()(prefixCls, className, {
[`${prefixCls}-${size}`]: !!size
});
const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), {
type: visible ? 'text' : 'password',
className: inputClassName,
prefixCls: inputPrefixCls,
suffix: suffixIcon
});
if (size) {
omittedProps.size = size;
}
return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({
ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef)
}, omittedProps));
});
if (false) {}
/* harmony default export */ var input_Password = (Password);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules
var SearchOutlined = __webpack_require__(42480);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js
var reactNode = __webpack_require__(96159);
// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
var es_button = __webpack_require__(71577);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js
var useSize = __webpack_require__(98675);
// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js
var Compact = __webpack_require__(4173);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js
"use client";
var Search_rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
const Search = /*#__PURE__*/react.forwardRef((props, ref) => {
const {
prefixCls: customizePrefixCls,
inputPrefixCls: customizeInputPrefixCls,
className,
size: customizeSize,
suffix,
enterButton = false,
addonAfter,
loading,
disabled,
onSearch: customOnSearch,
onChange: customOnChange,
onCompositionStart,
onCompositionEnd
} = props,
restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]);
const {
getPrefixCls,
direction
} = react.useContext(context/* ConfigContext */.E_);
const composedRef = react.useRef(false);
const prefixCls = getPrefixCls('input-search', customizePrefixCls);
const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
const {
compactSize
} = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction);
const size = (0,useSize/* default */.Z)(ctx => {
var _a;
return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx;
});
const inputRef = react.useRef(null);
const onChange = e => {
if (e && e.target && e.type === 'click' && customOnSearch) {
customOnSearch(e.target.value, e, {
source: 'clear'
});
}
if (customOnChange) {
customOnChange(e);
}
};
const onMouseDown = e => {
var _a;
if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) {
e.preventDefault();
}
};
const onSearch = e => {
var _a, _b;
if (customOnSearch) {
customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e, {
source: 'input'
});
}
};
const onPressEnter = e => {
if (composedRef.current || loading) {
return;
}
onSearch(e);
};
const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null;
const btnClassName = `${prefixCls}-button`;
let button;
const enterButtonAsElement = enterButton || {};
const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true;
if (isAntdButton || enterButtonAsElement.type === 'button') {
button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({
onMouseDown,
onClick: e => {
var _a, _b;
(_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e);
onSearch(e);
},
key: 'enterButton'
}, isAntdButton ? {
className: btnClassName,
size
} : {}));
} else {
button = /*#__PURE__*/react.createElement(es_button/* default */.ZP, {
className: btnClassName,
type: enterButton ? 'primary' : undefined,
size: size,
disabled: disabled,
key: "enterButton",
onMouseDown: onMouseDown,
onClick: onSearch,
loading: loading,
icon: searchIcon
}, enterButton);
}
if (addonAfter) {
button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, {
key: 'addonAfter'
})];
}
const cls = classnames_default()(prefixCls, {
[`${prefixCls}-rtl`]: direction === 'rtl',
[`${prefixCls}-${size}`]: !!size,
[`${prefixCls}-with-button`]: !!enterButton
}, className);
const handleOnCompositionStart = e => {
composedRef.current = true;
onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e);
};
const handleOnCompositionEnd = e => {
composedRef.current = false;
onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e);
};
return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({
ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref),
onPressEnter: onPressEnter
}, restProps, {
size: size,
onCompositionStart: handleOnCompositionStart,
onCompositionEnd: handleOnCompositionEnd,
prefixCls: inputPrefixCls,
addonAfter: button,
suffix: suffix,
onChange: onChange,
className: cls,
disabled: disabled
}));
});
if (false) {}
/* harmony default export */ var input_Search = (Search);
// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js
var TextArea = __webpack_require__(96330);
;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js
"use client";
const input_Input = Input/* default */.Z;
if (false) {}
input_Input.Group = input_Group;
input_Input.Search = input_Search;
input_Input.TextArea = TextArea/* default */.Z;
input_Input.Password = input_Password;
/* harmony default export */ var input = (input_Input);
/***/ }),
/***/ 33507:
/*!*******************************************************!*\
!*** ./node_modules/antd/es/style/motion/collapse.js ***!
\*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
const genCollapseMotion = token => ({
[token.componentCls]: {
// For common/openAnimation
[`${token.antCls}-motion-collapse-legacy`]: {
overflow: 'hidden',
'&-active': {
transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
}
},
[`${token.antCls}-motion-collapse`]: {
overflow: 'hidden',
transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
}
}
});
/* harmony default export */ __webpack_exports__["Z"] = (genCollapseMotion);
/***/ }),
/***/ 43481:
/*!**********************************************************************************************!*\
!*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***!
\**********************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_EyeOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js
// This icon file is generated automatically.
var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" };
/* harmony default export */ var asn_EyeOutlined = (EyeOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(44327);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_EyeOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined));
/***/ })
}]);

@ -0,0 +1,64 @@
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/Lists/Settings/index.less?modules ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___cEivK {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___IFGZ3 {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___A29Xo {
align-items: center;
box-align: center;
}
.flex_box_center_end___gcDCE {
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___N3CZq {
flex-direction: column;
box-orient: block-axis;
}
.wrap___D5wZy {
padding-left: 45px;
}
.wrap___D5wZy .title___ip7DS {
font-size: 14px;
font-weight: 600;
color: #000000;
margin: 30px 0;
}
.wrap___D5wZy .gray___X6m0z {
font-size: 12px;
color: #ADB2B8;
}
.wrap___D5wZy .btn___l4Im_ {
background: #3061D0;
padding: 0 30px;
border: 0;
margin-top: 60px;
float: right;
height: 38px;
border-radius: 2px;
}
[id='educoder'] .formWrap___TpXQq div[class~='ant-form-item-label'] {
width: 110px;
}
[id='educoder'] .formWrap___TpXQq .radio___zMm2t label[class~='ant-form-item-required'] {
padding-bottom: 17px;
}
[id='educoder'] .formWrap___TpXQq .radio___zMm2t span[class~='ant-radio'] {
align-self: flex-start;
margin-top: 4px;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -0,0 +1,706 @@
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/Lists/StudentSelection/Teacher/index.less?modules ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___Oy3Ur {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___tSEQI {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___ub8YO {
align-items: center;
box-align: center;
}
.flex_box_center_end___MdOG3 {
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___yn_xj {
flex-direction: column;
box-orient: block-axis;
}
.wrap___j5lSK {
padding-left: 45px;
}
.wrap___j5lSK .teacherList___eiRwI {
min-height: 500px;
}
.wrap___j5lSK .teacherList___eiRwI .list___xa00z {
background: #FFFFFF;
border: 1px solid #ECECEC;
margin-bottom: 30px;
cursor: pointer;
}
.wrap___j5lSK .teacherList___eiRwI .list___xa00z .top___Cgsez {
display: flex;
align-items: center;
height: 60px;
background: #FFFFFF;
box-shadow: 0px 2px 4px 0px #EAEEF4;
padding: 0 20px;
}
.wrap___j5lSK .teacherList___eiRwI .list___xa00z .top___Cgsez .tag___J4aum {
height: 26px;
line-height: 24px;
padding: 0 10px;
border-radius: 13px;
border: 1px solid #CDD2DD;
font-size: 14px;
color: #6B758B;
flex-shrink: 0;
}
.wrap___j5lSK .teacherList___eiRwI .list___xa00z .top___Cgsez .name___tDF5G {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0 8px;
font-size: 20px;
color: #333333;
max-width: 600px;
}
.wrap___j5lSK .teacherList___eiRwI .list___xa00z .top___Cgsez .num___pHt23 {
padding: 2px 7px;
background: #E53333;
border-radius: 12px;
font-size: 12px;
color: #fff;
flex-shrink: 0;
margin-right: 10px;
}
.wrap___j5lSK .teacherList___eiRwI .list___xa00z .top___Cgsez .check___kslxc {
font-size: 14px;
color: #3061D0;
cursor: pointer;
margin-left: auto;
flex-shrink: 0;
}
.wrap___j5lSK .teacherList___eiRwI .list___xa00z .center___FWR7i {
color: #5F6368;
font-size: 14px;
display: flex;
align-items: center;
height: 90px;
padding: 0 20px;
}
.wrap___j5lSK .teacherList___eiRwI .list___xa00z .center___FWR7i .img___xWZT8 {
width: 44px;
height: 44px;
border-radius: 50%;
margin-right: 10px;
}
.wrap___j5lSK .teacherList___eiRwI .list___xa00z .center___FWR7i .col___Wszet {
margin-right: 75px;
}
.wrap___j5lSK .teacherList___eiRwI .list___xa00z .bottom___ErSvm {
color: #5F6368;
font-size: 14px;
height: 42px;
background: #F6F7F9;
box-shadow: 0px 2px 4px 0px #EAEEF4;
border-top: 1px solid #ECECEC;
display: flex;
align-items: center;
padding: 0 20px;
}
.wrap___j5lSK .teacherList___eiRwI .list___xa00z .bottom___ErSvm > div {
display: flex;
align-items: center;
}
.wrap___j5lSK .teacherList___eiRwI .list___xa00z .bottom___ErSvm > div div:first-child {
margin-right: 8px;
}
.wrap___j5lSK .teacherList___eiRwI .list___xa00z .bottom___ErSvm > div div:last-child {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #333333;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/components/HeadTitle/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___oGGi8 {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___e1At5 {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___K1Nl5 {
align-items: center;
box-align: center;
}
.flex_box_center_end___IP1rf {
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____nxPW {
flex-direction: column;
box-orient: block-axis;
}
.title___Ynb7w {
margin: 20px 0;
display: flex;
align-items: center;
}
.title___Ynb7w b {
font-size: 20px;
font-weight: 600;
color: #232B40;
}
.title___Ynb7w .time___dxFRB {
font-size: 14px;
margin-left: auto;
}
.title___Ynb7w .time___dxFRB > span {
color: #9096A3;
}
.title___Ynb7w .time___dxFRB > span span {
color: #232B40;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/components/Tags/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___Sswcw {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___nBexI {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___sPXvb {
align-items: center;
box-align: center;
}
.flex_box_center_end___c6nca {
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___Bq_gi {
flex-direction: column;
box-orient: block-axis;
}
.tag___NEywM {
padding: 0 12px;
height: 24px;
background: #ADB1B8;
border-radius: 12px;
line-height: 24px;
text-align: center;
font-size: 12px;
font-weight: 600;
color: #fff;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/Lists/StudentSelection/DetailsModal/index.less?modules ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___VCd4U {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___PXXJc {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___FvcHp {
align-items: center;
box-align: center;
}
.flex_box_center_end___faOk_ {
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___hYdgW {
flex-direction: column;
box-orient: block-axis;
}
.wrap___Lk1KU {
max-height: 650px;
}
.wrap___Lk1KU .markdown-body p {
font-size: 14px;
color: rgba(0, 0, 0, 0.9);
line-height: 22px;
font-family: serif;
font-family: initial;
}
.wrap___Lk1KU .des___NrGnB {
overflow-y: auto;
}
.wrap___Lk1KU .des___NrGnB .row____lS7x {
margin-bottom: 15px;
display: flex;
align-items: flex-start;
}
.wrap___Lk1KU .des___NrGnB .row____lS7x span {
display: inline-block;
}
.wrap___Lk1KU .des___NrGnB .row____lS7x > span:nth-child(1) {
font-size: 14px;
color: #5F6367;
margin-right: 18px;
width: 85px;
text-align: right;
flex-shrink: 0;
}
.wrap___Lk1KU .des___NrGnB .row____lS7x > span:nth-child(2) {
font-size: 14px;
color: rgba(0, 0, 0, 0.9);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 100%;
}
.wrap___Lk1KU .des___NrGnB .list___PEHaz {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.wrap___Lk1KU .des___NrGnB .list___PEHaz div {
margin-bottom: 10px;
margin-left: 103px;
color: #3061D0;
height: 20px;
text-decoration: underline;
font-family: serif;
font-family: initial;
cursor: pointer;
}
.wrap___Lk1KU .actionBtns___eC3BF {
display: flex;
align-items: center;
justify-content: flex-end;
}
.wrap___Lk1KU .actionBtns___eC3BF span {
font-size: 14px;
color: #165DFF;
cursor: pointer;
}
.wrap___Lk1KU .actionBtns___eC3BF b {
font-size: 14px;
color: #999999;
cursor: not-allowed;
font-weight: 400;
}
.wrap___Lk1KU .state___PF2x0 {
display: flex;
align-items: center;
overflow: hidden;
margin-left: 10px;
}
.wrap___Lk1KU .state___PF2x0 .tag___WyoKH {
width: 60px;
height: 26px;
border-radius: 13px;
font-size: 14px;
font-weight: 400;
line-height: 24px;
text-align: center;
flex-shrink: 0;
}
.wrap___Lk1KU .state___PF2x0 .tag0___HB3U8 {
width: 60px;
height: 26px;
border-radius: 13px;
font-size: 14px;
font-weight: 400;
line-height: 24px;
text-align: center;
flex-shrink: 0;
border: 1px solid #D5E2FF;
color: #165DFF;
}
.wrap___Lk1KU .state___PF2x0 .tag1___YmXRD {
width: 60px;
height: 26px;
border-radius: 13px;
font-size: 14px;
font-weight: 400;
line-height: 24px;
text-align: center;
flex-shrink: 0;
border: 1px solid #B1F0E1;
color: #00B187;
}
.wrap___Lk1KU .state___PF2x0 .tag2___l3QtF {
width: 60px;
height: 26px;
border-radius: 13px;
font-size: 14px;
font-weight: 400;
line-height: 24px;
text-align: center;
flex-shrink: 0;
border: 1px solid #FFC4C4;
color: #E53333;
}
.wrap___Lk1KU .state___PF2x0 .tag3___dBINp {
width: 60px;
height: 26px;
border-radius: 13px;
font-size: 14px;
font-weight: 400;
line-height: 24px;
text-align: center;
flex-shrink: 0;
border: 1px solid #DADBDE;
color: #999999;
}
.wrap___Lk1KU .state___PF2x0 .name___IBwDK {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-left: 10px;
font-size: 20px;
font-weight: 600;
color: #000000;
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/CodeBox/index.less?modules ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.codeBox___WpkVl {
display: flex;
}
.codeBox___WpkVl > aside {
margin-right: 20px;
height: 50px;
}
.codeBox___WpkVl > aside > div {
color: #f23838;
}
.codeBox___WpkVl > div {
display: flex;
flex-direction: column;
align-items: center;
}
.codeBox___WpkVl > div > div {
color: #999;
margin-top: 6px;
}
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/Lists/StudentSelection/Student/index.less?modules ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___NXcIP {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___Pebyg {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___BQGzf {
align-items: center;
box-align: center;
}
.flex_box_center_end___zN8c6 {
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___slo4Z {
flex-direction: column;
box-orient: block-axis;
}
.wrap___Cl57w {
padding-left: 45px;
}
.wrap___Cl57w .tip___sGVnl {
margin-top: 20px;
height: 40px;
background: rgba(233, 146, 55, 0.1);
border-radius: 4px;
display: flex;
align-items: center;
color: #E99237;
padding-left: 12px;
}
.wrap___Cl57w .listWrap___OYoyC {
margin-top: 13px;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ {
padding: 30px;
display: flex;
align-items: center;
background: #FFFFFF;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 4px;
border: 1px solid #F5F5F5;
margin-bottom: 20px;
position: relative;
overflow: hidden;
cursor: pointer;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ .left___b7Ykx {
flex: 1 1;
overflow: hidden;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ .left___b7Ykx .state___ZiQzs {
display: flex;
align-items: center;
overflow: hidden;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ .left___b7Ykx .state___ZiQzs .tag___swdOn {
width: 60px;
height: 26px;
border-radius: 13px;
font-size: 14px;
font-weight: 400;
line-height: 24px;
text-align: center;
flex-shrink: 0;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ .left___b7Ykx .state___ZiQzs .tag0___M6FYN {
width: 60px;
height: 26px;
border-radius: 13px;
font-size: 14px;
font-weight: 400;
line-height: 24px;
text-align: center;
flex-shrink: 0;
border: 1px solid #D5E2FF;
color: #165DFF;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ .left___b7Ykx .state___ZiQzs .tag1___Sg8yD {
width: 60px;
height: 26px;
border-radius: 13px;
font-size: 14px;
font-weight: 400;
line-height: 24px;
text-align: center;
flex-shrink: 0;
border: 1px solid #B1F0E1;
color: #00B187;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ .left___b7Ykx .state___ZiQzs .tag2___iT8lP {
width: 60px;
height: 26px;
border-radius: 13px;
font-size: 14px;
font-weight: 400;
line-height: 24px;
text-align: center;
flex-shrink: 0;
border: 1px solid #FFC4C4;
color: #E53333;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ .left___b7Ykx .state___ZiQzs .tag3___jqhO2 {
width: 60px;
height: 26px;
border-radius: 13px;
font-size: 14px;
font-weight: 400;
line-height: 24px;
text-align: center;
flex-shrink: 0;
border: 1px solid #DADBDE;
color: #999999;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ .left___b7Ykx .state___ZiQzs .name___BNDAZ {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-left: 10px;
font-size: 20px;
color: #000000;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ .left___b7Ykx .info___pKNSG {
margin-top: 30px;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ .left___b7Ykx .info___pKNSG span {
font-size: 14px;
color: #666666;
margin-right: 30px;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ .left___b7Ykx .info___pKNSG span > span {
font-size: 14px;
color: #000000;
margin-left: 8px;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ .left___b7Ykx .time___jyND5 {
font-size: 12px;
color: #9096A3;
margin-top: 14px;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ .right___XT6Gh {
display: flex;
align-items: flex-start;
padding-left: 30px;
flex-shrink: 0;
height: 112px;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ .right___XT6Gh .btn___vKu7W {
font-size: 14px;
color: #5F6368;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
margin-top: 3px;
}
.wrap___Cl57w .listWrap___OYoyC .list___rT4Q_ .right___XT6Gh .btn___vKu7W:hover {
color: #165DFF;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/Lists/StudentSelection/TopicModal/index.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___F8QoL {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___ixN8I {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___lwi7z {
align-items: center;
box-align: center;
}
.flex_box_center_end___MtVph {
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___fn2Wu {
flex-direction: column;
box-orient: block-axis;
}
.wrap___CkyzG .listWrap___d0chX {
max-height: 520px;
overflow: hidden auto;
width: 1000px;
margin-left: -25px;
padding: 0 25px;
margin-bottom: 10px;
}
.wrap___CkyzG .listWrap___d0chX .list___S7Zml {
background: #FFFFFF;
border: 1px solid #ECECEC;
margin-bottom: 30px;
cursor: pointer;
}
.wrap___CkyzG .listWrap___d0chX .list___S7Zml .top___FxvYM {
display: flex;
align-items: center;
background: #FFFFFF;
box-shadow: 0px 2px 4px 0px #EAEEF4;
padding: 0 20px;
}
.wrap___CkyzG .listWrap___d0chX .list___S7Zml .top___FxvYM .box___kpIeL {
flex: 1 1;
padding: 15px 20px 15px 0;
overflow: hidden;
}
.wrap___CkyzG .listWrap___d0chX .list___S7Zml .top___FxvYM .box___kpIeL .name___MGi0J {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 20px;
font-weight: 600;
color: #000000;
display: inline-block;
max-width: 100%;
}
.wrap___CkyzG .listWrap___d0chX .list___S7Zml .top___FxvYM .box___kpIeL .des___VqXEd > div {
font-size: 14px;
color: #717888;
line-height: 21px;
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.wrap___CkyzG .listWrap___d0chX .list___S7Zml .top___FxvYM .check___tTb0k {
font-size: 14px;
color: #3061D0;
cursor: pointer;
margin-left: auto;
flex-shrink: 0;
}
.wrap___CkyzG .listWrap___d0chX .list___S7Zml .bottom____2Rzh {
color: #5F6368;
font-size: 14px;
height: 42px;
background: #F6F7F9;
box-shadow: 0px 2px 4px 0px #EAEEF4;
border-top: 1px solid #ECECEC;
display: flex;
align-items: center;
padding: 0 20px;
}
.wrap___CkyzG .listWrap___d0chX .list___S7Zml .bottom____2Rzh > div {
display: flex;
align-items: center;
}
.wrap___CkyzG .listWrap___d0chX .list___S7Zml .bottom____2Rzh > div div:first-child {
margin-right: 8px;
}
.wrap___CkyzG .listWrap___d0chX .list___S7Zml .bottom____2Rzh > div div:last-child {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #333333;
}
.wrap___CkyzG .listWrap___d0chX .list___S7Zml:last-child {
margin-bottom: 20px;
}

File diff suppressed because one or more lines are too long

@ -0,0 +1,298 @@
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/components/TeacherModule/index.less?modules ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___Q4rC9 {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___pzGZc {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___DhNf8 {
align-items: center;
box-align: center;
}
.flex_box_center_end___ALRjT {
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___p6z9Y {
flex-direction: column;
box-orient: block-axis;
}
.wrap____H2XH {
padding-left: 45px;
}
.wrap____H2XH div[class~='ant-table'] {
min-height: 500px;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/components/HeadTitle/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___oGGi8 {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___e1At5 {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___K1Nl5 {
align-items: center;
box-align: center;
}
.flex_box_center_end___IP1rf {
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____nxPW {
flex-direction: column;
box-orient: block-axis;
}
.title___Ynb7w {
margin: 20px 0;
display: flex;
align-items: center;
}
.title___Ynb7w b {
font-size: 20px;
font-weight: 600;
color: #232B40;
}
.title___Ynb7w .time___dxFRB {
font-size: 14px;
margin-left: auto;
}
.title___Ynb7w .time___dxFRB > span {
color: #9096A3;
}
.title___Ynb7w .time___dxFRB > span span {
color: #232B40;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/components/Tags/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___Sswcw {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___nBexI {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___sPXvb {
align-items: center;
box-align: center;
}
.flex_box_center_end___c6nca {
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___Bq_gi {
flex-direction: column;
box-orient: block-axis;
}
.tag___NEywM {
padding: 0 12px;
height: 24px;
background: #ADB1B8;
border-radius: 12px;
line-height: 24px;
text-align: center;
font-size: 12px;
font-weight: 600;
color: #fff;
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/Lists/Tasks/DetailsModal/index.less?modules ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___dejrx {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___WBGxf {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___OMTvG {
align-items: center;
box-align: center;
}
.flex_box_center_end___FHZRS {
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___cDBl4 {
flex-direction: column;
box-orient: block-axis;
}
.File___Vzzv4 .deletfileIcon___snNZ9 {
opacity: 0;
cursor: pointer;
}
.File___Vzzv4:hover .deletfileIcon___snNZ9 {
opacity: 1;
}
.wrap___eGzSn {
position: relative;
max-height: 500px;
}
.wrap___eGzSn .row___qfnoA {
display: flex;
align-items: center;
margin-bottom: 12px;
}
.wrap___eGzSn .row___qfnoA div:first-child {
font-size: 14px;
color: #5F6367;
margin-right: 18px;
}
.wrap___eGzSn .row___qfnoA div:last-child {
font-size: 14px;
color: rgba(0, 0, 0, 0.9);
max-width: 420px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.wrap___eGzSn .img___Ftdlp {
width: 64px;
height: 64px;
color: #19CB70;
position: absolute;
z-index: 1000;
top: 0;
right: 0;
font-size: 64px;
}
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/Lists/Tasks/Student/index.less?modules ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___YhVJ8 {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___ZwNFf {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___zVi38 {
align-items: center;
box-align: center;
}
.flex_box_center_end___XiBd9 {
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___wlJ_z {
flex-direction: column;
box-orient: block-axis;
}
.wrap___btDZi {
padding-left: 45px;
font-size: 14px;
}
.wrap___btDZi .card___ynWkb {
background: #FFFFFF;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 4px;
border: 1px solid #F5F5F5;
padding: 30px;
}
.wrap___btDZi .card___ynWkb .title___ZK2i5 {
display: flex;
align-items: flex-start;
font-size: 14px;
margin-top: 25px;
margin-bottom: 13px;
}
.wrap___btDZi .card___ynWkb .title___ZK2i5 .teacherWrap___mwbsp {
flex: 1 1;
}
.wrap___btDZi .card___ynWkb .title___ZK2i5 .teacherWrap___mwbsp .titleCol___Yw1us {
display: inline-flex;
align-items: center;
margin-right: 30px;
margin-bottom: 12px;
}
.wrap___btDZi .card___ynWkb .head___Eh7hH {
height: 38px;
background: #F6F7F9;
border-radius: 4px 4px 0px 0px;
border: 1px solid #F6F7F9;
border-bottom: 0;
display: flex;
align-items: center;
color: #5F6368;
padding: 0 20px;
}
.wrap___btDZi .card___ynWkb .rowWrap___iqlIh {
border: 1px solid #F6F7F9;
border-radius: 0px 0px 4px 4px;
border-top: 0;
padding: 10px 0;
}
.wrap___btDZi .card___ynWkb .rowWrap___iqlIh .row___ysuMF {
height: 34px;
display: flex;
align-items: center;
padding: 0 20px;
}
.wrap___btDZi .card___ynWkb .rowWrap___iqlIh .row___ysuMF .name___Vp5LK {
padding-right: 48px;
margin-left: 10px;
color: #333333;
}
.wrap___btDZi .card___ynWkb .rowWrap___iqlIh .row___ysuMF .btns___TQ4qx {
margin-left: auto;
flex-shrink: 0;
}
.wrap___btDZi .card___ynWkb .rowWrap___iqlIh .row___ysuMF .btns___TQ4qx i:hover {
color: #165dff;
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,478 @@
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/Review/index.less?modules ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___UqwPg {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___BWLHX {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___rmIkX {
align-items: center;
box-align: center;
}
.flex_box_center_end___rJu0q {
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___CQUPE {
flex-direction: column;
box-orient: block-axis;
}
.wrap___R752P {
width: 100vw;
height: calc(100vh - 72px);
background-color: #F5F5F5;
overflow: hidden;
position: relative;
}
.wrap___R752P .head___peWVD {
padding-left: 40px;
height: 80px;
background: #FFFFFF;
box-shadow: 0px 2px 6px 0px rgba(173, 178, 184, 0.3);
display: flex;
align-items: center;
}
.wrap___R752P .head___peWVD .center___TNtVs {
flex: 1 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.wrap___R752P .head___peWVD .center___TNtVs div {
font-size: 18px;
color: #000000;
}
.wrap___R752P .head___peWVD .center___TNtVs aside {
font-size: 14px;
color: #5F6368;
}
.wrap___R752P .head___peWVD .btns___DDOCi {
margin-left: auto;
padding: 0 40px;
display: flex;
align-items: center;
}
.wrap___R752P .content___j9cyy {
height: calc(100vh - 152px);
display: flex;
align-items: flex-start;
justify-content: flex-start;
padding: 20px;
}
.wrap___R752P .content___j9cyy .left___h6oTj {
flex: 1 1;
height: 100%;
overflow: hidden;
margin-right: 20px;
background: #FFFFFF;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 8px;
border: 1px solid #F5F5F5;
padding: 20px;
}
.wrap___R752P .content___j9cyy .left___h6oTj .box___ueVSi {
width: 100%;
height: 100%;
background: #FAFAFA;
position: relative;
}
.wrap___R752P .content___j9cyy .left___h6oTj .box___ueVSi .details___m0PGu {
width: 100%;
height: 100%;
position: relative;
}
.wrap___R752P .content___j9cyy .left___h6oTj .box___ueVSi .block___QiYwo {
width: 40px;
height: 40px;
position: absolute;
z-index: 10;
}
.wrap___R752P .content___j9cyy .left___h6oTj .box___ueVSi .block1___AXkNx {
width: 40px;
height: 40px;
position: absolute;
z-index: 10;
background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
box-shadow: 2px 2px 4px 0px #F0F0F0;
left: 20px;
top: 20px;
}
.wrap___R752P .content___j9cyy .left___h6oTj .box___ueVSi .block2___Vs2Dz {
width: 40px;
height: 40px;
position: absolute;
z-index: 10;
background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
box-shadow: -2px 2px 4px 0px #F0F0F0;
right: 20px;
top: 20px;
}
.wrap___R752P .content___j9cyy .left___h6oTj .box___ueVSi .block3___CN0bs {
width: 40px;
height: 40px;
position: absolute;
z-index: 10;
background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
box-shadow: 2px -2px 4px 0px #F0F0F0;
left: 20px;
bottom: 20px;
}
.wrap___R752P .content___j9cyy .left___h6oTj .box___ueVSi .block4___bvVGQ {
width: 40px;
height: 40px;
position: absolute;
z-index: 10;
background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
box-shadow: -2px -2px 4px 0px #F0F0F0;
right: 20px;
bottom: 20px;
}
.wrap___R752P .content___j9cyy .right____Wv1I {
width: 360px;
height: 100%;
background: #FFFFFF;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 8px;
border: 1px solid #F5F5F5;
}
.wrap___R752P .footer___RnUNx {
width: 100%;
height: 70px;
background: #FFFFFF;
box-shadow: 0px -3px 16px 0px rgba(219, 219, 219, 0.5);
display: flex;
align-items: center;
justify-content: center;
position: absolute;
z-index: 20;
bottom: 0;
left: 0;
}
.wrap___R752P .footer___RnUNx button {
width: 108px;
height: 38px;
}
.wrap___R752P .drawer___Qzov_ {
width: 240px;
height: calc(100vh - 153px);
background: #FFFFFF;
box-shadow: 2px 0px 4px 0px #F5F5F5;
position: absolute;
z-index: 30;
bottom: 0;
transition: 0.5s;
padding: 20px;
}
.wrap___R752P .drawer___Qzov_ .back___jSSn2 {
display: inline-block;
font-size: 14px;
color: #3061D0;
margin-bottom: 30px;
text-align: right;
cursor: pointer;
width: 100%;
}
.wrap___R752P .drawer___Qzov_ > aside {
width: 200px;
height: 44px;
padding-left: 20px;
line-height: 44px;
color: #5F6367;
font-size: 14px;
cursor: pointer;
}
.wrap___R752P .drawer___Qzov_ > aside:hover {
color: #3061D0;
}
.wrap___R752P .drawer___Qzov_ > aside.active___IygYs {
background: #F8F9FA;
border-radius: 4px;
color: #3061D0;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Graduations/Review/DetailsElement/index.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___qUgzo {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___jgE93 {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___Y2ncM {
align-items: center;
box-align: center;
}
.flex_box_center_end____XQkF {
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___c0GOc {
flex-direction: column;
box-orient: block-axis;
}
.teacher___j0dys {
padding: 20px;
display: flex;
flex-direction: column;
height: 100%;
}
.teacher___j0dys .title___KQ15W {
height: 50px;
background: rgba(22, 93, 255, 0.1);
border-radius: 2px;
line-height: 50px;
text-align: center;
font-size: 16px;
font-weight: 500;
color: #3061D0;
letter-spacing: 2px;
margin-bottom: 30px;
flex-shrink: 0;
}
.teacher___j0dys .name___KmUZM {
display: flex;
align-items: center;
}
.teacher___j0dys .name___KmUZM img {
width: 24px;
height: 24px;
border-radius: 4px;
}
.teacher___j0dys .name___KmUZM > div {
font-size: 16px;
font-weight: 600;
color: #666666;
margin-left: 8px;
}
.teacher___j0dys .name___KmUZM > span {
font-size: 14px;
color: #ADB2B8;
margin-left: auto;
}
.teacher___j0dys .name___KmUZM > span i {
margin-right: 4px;
}
.teacher___j0dys .des___gzM9K {
padding: 20px;
background: #F6F7F9;
margin-top: 9px;
}
.teacher___j0dys .li___ClBON {
height: 26px;
display: flex;
align-items: center;
background: #FFFFFF;
border-radius: 15px;
color: #3061D0;
margin-top: 10px;
padding: 0 20px;
}
.teacher___j0dys .li___ClBON .es___bO_Me {
max-width: 170px;
text-decoration: underline;
margin-left: 8px;
cursor: pointer;
}
.teacher___j0dys .li___ClBON .size___Ngajm {
font-size: 12px;
color: #C5C5C5;
margin-left: auto;
flex-shrink: 0;
}
.teacher___j0dys .scroll___sX4U2 {
flex: 1 1;
overflow: hidden auto;
width: calc(100% + 40px);
margin-left: -20px;
padding: 0 20px;
}
.teacher___j0dys .line___p02It {
height: 1px;
background: #F6F7F9;
margin-bottom: 15px;
}
.teacher___j0dys .input___tlR5c {
width: 146px;
}
.teacher___j0dys .input___tlR5c .ant-input-number {
border-right-width: 0px;
}
.teacher___j0dys .input___tlR5c .ant-input-number:focus,
.teacher___j0dys .input___tlR5c .ant-input-number:hover {
border-right-width: 1px;
}
.teacher___j0dys .input___tlR5c .ant-input-number-group-addon {
background: transparent;
}
.teacher___j0dys .btns___E0A4P {
margin-top: 30px;
flex-shrink: 0;
text-align: right;
}
.teacher___j0dys .btns___E0A4P .ant-btn-default:not(:disabled) {
height: 32px;
background: rgba(248, 249, 252, 0.5);
border-radius: 2px;
border: 1px solid rgba(195, 207, 224, 0.5);
color: #464F66;
padding: 0 16px;
}
.teacher___j0dys .btns___E0A4P .ant-btn-primary:not(:disabled) {
margin-left: 20px;
height: 32px;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
padding: 0 16px;
border: 0;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/PreviewAll/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.wrp___dq7YK {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 108;
}
.wrp___dq7YK.bgBlack___ARIUV {
background: rgba(0, 0, 0, 0.5);
}
.wrp___dq7YK img,
.wrp___dq7YK video {
max-width: 100%;
max-height: 80%;
text-align: center;
}
.wrp___dq7YK iframe {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
background: #fff;
border: none;
}
.monaco___VnZC3 {
position: absolute;
height: 100%;
width: 100%;
}
.darkBlue___UprA9 * {
font-size: 14px;
}
.darkBlue___UprA9 [class~='margin'],
.darkBlue___UprA9 [class~='monaco-editor-background'] {
background: #0a0e2d !important;
}
.darkBlue___UprA9 [class~='line-numbers'] {
color: white !important;
}
.close___LKoWu {
position: absolute;
right: 40px;
top: 40px;
z-index: 10;
display: flex;
}
.close___LKoWu > span {
background: #4a4a4a;
color: #fff;
width: 40px;
height: 40px;
border-radius: 4px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
margin-left: 10px;
}
.embed___hvpEJ {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
/*!*******************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./src/components/monaco-editor/index.css ***!
\*******************************************************************************************************************************************************************************************************************************************/
.my-monaco-editor div,
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

@ -0,0 +1,231 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[50869],{
/***/ 62744:
/*!**************************************************!*\
!*** ./src/pages/Guidance/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 */ pages_Guidance; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(17061);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(17156);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(27424);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__(70215);
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(88275);
// EXTERNAL MODULE: ./src/utils/util.tsx
var util = __webpack_require__(29427);
// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 12 modules
var skeleton = __webpack_require__(4310);
// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js
var es_button = __webpack_require__(71577);
;// CONCATENATED MODULE: ./src/pages/Guidance/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Guidancemodules = ({"flex_box_center":"flex_box_center___xpkMF","flex_space_between":"flex_space_between___X8GQS","flex_box_vertical_center":"flex_box_vertical_center___QXnUW","flex_box_center_end":"flex_box_center_end___Qxdq1","flex_box_column":"flex_box_column___pN_H3","guidance":"guidance___BnanP","title":"title___b2ocd","u":"u___QIqxh","active":"active___VXClY","content":"content___NNbRj","btn":"btn___Q2wyi"});
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(84519);
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(59758);
// EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 1 modules
var RenderHtml = __webpack_require__(12768);
// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
var jsx_runtime = __webpack_require__(85893);
;// CONCATENATED MODULE: ./src/pages/Guidance/index.tsx
var _excluded = ["user"];
//实践课程老师
//教学课堂老师
//教学课堂学生
var Guidance = function Guidance(_ref) {
var _user$userInfo2, _data$3, _data$4;
var user = _ref.user,
props = objectWithoutProperties_default()(_ref, _excluded);
var _useState = (0,react.useState)(1),
_useState2 = slicedToArray_default()(_useState, 2),
active = _useState2[0],
setActive = _useState2[1];
var _useState3 = (0,react.useState)(false),
_useState4 = slicedToArray_default()(_useState3, 2),
isStudent = _useState4[0],
setIsStudent = _useState4[1];
var _useState5 = (0,react.useState)(false),
_useState6 = slicedToArray_default()(_useState5, 2),
isOnlyTeacher = _useState6[0],
setOnlyTeacher = _useState6[1];
var _useState7 = (0,react.useState)(''),
_useState8 = slicedToArray_default()(_useState7, 2),
typeTitle = _useState8[0],
setTypeTitle = _useState8[1];
var _useState9 = (0,react.useState)(true),
_useState10 = slicedToArray_default()(_useState9, 2),
loading = _useState10[0],
setLoading = _useState10[1];
var _useState11 = (0,react.useState)([{}, {}]),
_useState12 = slicedToArray_default()(_useState11, 2),
data = _useState12[0],
setData = _useState12[1];
var location = (0,_umi_production_exports.useLocation)();
var pathname = location.pathname;
console.log(location, 'location');
(0,react.useEffect)(function () {
var _user$userInfo;
if (user !== null && user !== void 0 && (_user$userInfo = user.userInfo) !== null && _user$userInfo !== void 0 && _user$userInfo.identity) {
dealType();
}
}, [user === null || user === void 0 ? void 0 : (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.identity]);
(0,react.useEffect)(function () {
getData();
}, []);
var dealType = function dealType() {
if (pathname.includes('classrooms')) {
var _user$userInfo3;
if ((user === null || user === void 0 ? void 0 : (_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : _user$userInfo3.identity) === 'student') {
setIsStudent(true);
setActive(2);
}
return;
}
if (pathname.includes('paths')) {
setOnlyTeacher(true);
return;
}
};
var getData = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(type) {
var res, _type, item, newData;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return (0,fetch/* default */.ZP)("/api/introductions.json", {
method: 'get'
});
case 2:
res = _context.sent;
if (res !== null && res !== void 0 && res.introductions) {
_type = null;
if (pathname.includes('classrooms')) {
_type = 'course';
setTypeTitle('教学课堂');
}
if (pathname.includes('paths')) {
_type = 'subject';
setTypeTitle('实践课程');
}
item = res.introductions;
newData = [item === null || item === void 0 ? void 0 : item.find(function (e) {
return e.clazz === "teacher" && e.page_type === _type;
}), item === null || item === void 0 ? void 0 : item.find(function (e) {
return e.clazz === "student" && e.page_type === _type;
})];
setData(newData);
}
setLoading(false);
case 5:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getData(_x) {
return _ref2.apply(this, arguments);
};
}();
var down = function down() {
var _data$, _data$2;
var url = env/* default.API_SERVER */.Z.API_SERVER + (
// '/api/attachments/' +
active === 1 ? (_data$ = data[0]) === null || _data$ === void 0 ? void 0 : _data$.attachment_url : (_data$2 = data[1]) === null || _data$2 === void 0 ? void 0 : _data$2.attachment_url);
(0,util/* downLoadLink */.Nd)('', url);
};
return /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
className: Guidancemodules.guidance,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(skeleton/* default */.Z, {
loading: loading,
active: true,
paragraph: {
rows: 5
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Guidancemodules.title,
children: [typeTitle, "\u65B0\u624B\u6307\u5F15"]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", {
className: Guidancemodules.u,
children: [!isStudent && /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
onClick: function onClick() {
return setActive(1);
},
className: active === 1 ? Guidancemodules.active : '',
children: "\u6559\u5E08\u7248"
}), !isOnlyTeacher && /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
onClick: function onClick() {
return setActive(2);
},
className: active === 2 ? Guidancemodules.active : '',
children: "\u5B66\u751F\u7248"
})]
}), active === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Guidancemodules.content,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
value: ((_data$3 = data[0]) === null || _data$3 === void 0 ? void 0 : _data$3.content) || ''
})
}), active === 2 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Guidancemodules.content,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
value: ((_data$4 = data[1]) === null || _data$4 === void 0 ? void 0 : _data$4.content) || ''
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Guidancemodules.btn,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
onClick: down,
children: "\u4E0B\u8F7D\u7528\u6237\u624B\u518C"
})
})]
})
});
};
/* harmony default export */ var pages_Guidance = ((0,_umi_production_exports.connect)(function (_ref3) {
var user = _ref3.user;
return {
user: user
};
})(Guidance));
/***/ })
}]);

@ -0,0 +1,248 @@
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Guidance/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___xpkMF {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___X8GQS {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___QXnUW {
align-items: center;
box-align: center;
}
.flex_box_center_end___Qxdq1 {
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___pN_H3 {
flex-direction: column;
box-orient: block-axis;
}
.guidance___BnanP {
width: 1200px;
margin: 40px auto;
padding: 30px 40px;
background-color: #fff;
}
.guidance___BnanP .title___b2ocd {
font-size: 30px;
text-align: center;
font-weight: 600;
color: #3a3a3a;
margin-bottom: 30px;
font-family: auto;
}
.guidance___BnanP .u___QIqxh {
margin: 0 auto 30px auto;
padding: 0;
background: #f1f1f1;
border-radius: 15px;
display: table;
}
.guidance___BnanP .u___QIqxh li {
width: 62px;
height: 30px;
line-height: 30px;
text-align: center;
border-radius: 15px;
font-size: 14px;
color: #333333;
cursor: pointer;
float: left;
}
.guidance___BnanP .u___QIqxh li.active___VXClY {
font-weight: 600;
color: #ffffff;
background: #0152d9;
}
.guidance___BnanP .content___NNbRj img {
display: block;
margin: 0 auto;
margin-top: -10px;
}
.guidance___BnanP .content___NNbRj h3 {
font-weight: 550;
color: #333333;
font-size: 24px;
margin-bottom: 60px;
font-family: auto;
text-align: center;
line-height: normal;
line-height: initial;
}
.guidance___BnanP .content___NNbRj h4 {
font-size: 20px;
font-weight: 600;
color: #333333;
margin-top: 60px;
margin-bottom: 30px;
line-height: normal;
line-height: initial;
}
.guidance___BnanP .content___NNbRj p {
font-size: 16px;
color: #333333;
margin: 28px 0 18px !important;
}
.guidance___BnanP .content___NNbRj p sup {
color: red;
top: -0.4em;
}
.guidance___BnanP .content___NNbRj aside {
text-align: center;
font-size: 20px;
font-weight: 600;
color: #333333;
line-height: 32px;
margin-top: 60px;
}
.guidance___BnanP .btn___Q2wyi {
display: flex;
justify-content: center;
margin-top: 40px;
}
.guidance___BnanP .btn___Q2wyi button {
width: 140px;
height: 40px;
background: #0152d9;
border-radius: 4px;
font-size: 16px;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/PreviewAll/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.wrp___dq7YK {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 108;
}
.wrp___dq7YK.bgBlack___ARIUV {
background: rgba(0, 0, 0, 0.5);
}
.wrp___dq7YK img,
.wrp___dq7YK video {
max-width: 100%;
max-height: 80%;
text-align: center;
}
.wrp___dq7YK iframe {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
background: #fff;
border: none;
}
.monaco___VnZC3 {
position: absolute;
height: 100%;
width: 100%;
}
.darkBlue___UprA9 * {
font-size: 14px;
}
.darkBlue___UprA9 [class~='margin'],
.darkBlue___UprA9 [class~='monaco-editor-background'] {
background: #0a0e2d !important;
}
.darkBlue___UprA9 [class~='line-numbers'] {
color: white !important;
}
.close___LKoWu {
position: absolute;
right: 40px;
top: 40px;
z-index: 10;
display: flex;
}
.close___LKoWu > span {
background: #4a4a4a;
color: #fff;
width: 40px;
height: 40px;
border-radius: 4px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
margin-left: 10px;
}
.embed___hvpEJ {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
/*!*******************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./src/components/monaco-editor/index.css ***!
\*******************************************************************************************************************************************************************************************************************************************/
.my-monaco-editor div,
.my-diff-editor div {
font-size: inherit;
}
.my-error-line-wrp {
width: calc(100% - 20px) !important;
background: rgba(245, 0, 0, 0.2) !important;
height: auto !important;
color: rgba(245, 0, 0, 1);
}
.noCopyPaste .quick-input-widget {
display: none !important;
}
.breakpoints-select {
background: #FF0000;
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.breakpoints-fake {
background: rgba(255, 0, 0, 0.5);
width: 8px !important;
height: 8px !important;
left: 7px !important;
top: 7px;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.highlighted-line {
background: #4B4B18;
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,135 @@
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Help/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___W5itf {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___gui6v {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___pD9t3 {
align-items: center;
box-align: center;
}
.flex_box_center_end___ocOJP {
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___KhV4h {
flex-direction: column;
box-orient: block-axis;
}
.content____xM73 {
padding: 30px;
}
.content____xM73 ul,
.content____xM73 li {
list-style: none;
}
.title___Q0EMb {
height: 60px;
line-height: 60px;
padding: 0 30px;
border-bottom: 1px solid #eaeaea;
background: #fff;
margin: 0;
}
.menu___dbMGX li {
padding: 12px 30px !important;
height: 50px !important;
}
.menu___dbMGX li a {
font-size: 14px;
}
.contcats___uNFhe {
border-bottom: 1px solid #eaeaea;
padding-top: 20px;
padding-bottom: 10px;
}
.contcats___uNFhe:nth-last-child(1) {
border-width: 0;
}
.contcats___uNFhe li {
margin: 10px 0;
padding-left: 10px;
}
.contcats___uNFhe li span {
width: 80px;
display: inline-block;
}
.cooperatives___EVJ5n .imgWrp___wcdFr {
width: 100%;
height: 60px;
border: 1px solid #eaeaea;
display: box;
display: flex;
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.cooperatives___EVJ5n img {
width: 100%;
max-height: 100%;
}
.btns___gQP5Z {
display: flex;
align-items: center;
justify-content: end;
margin-top: 30px;
}
.btns___gQP5Z .confirm___Igsxy {
width: 128px;
height: 38px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1;
border-radius: 2px;
font-size: 14px;
color: #FFFFFF;
text-align: center;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
margin-left: 20px;
}
.btns___gQP5Z .cancel___EPAJA {
width: 60px;
height: 38px;
background: #fff;
border-radius: 2px;
border: 1px solid #bacffe7c;
font-size: 14px;
color: #3061D0;
text-align: center;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
}
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Help/Feedback/index.less?modules ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.wrap___AsKly {
padding: 24px;
}
.wrap___AsKly [class~='ant-form-item'] {
margin-bottom: 20px;
}
.link___CnaN3 :hover {
color: #f06200;
}

@ -0,0 +1,95 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[43862],{
/***/ 34247:
/*!**************************************!*\
!*** ./src/pages/HttpStatus/403.tsx ***!
\**************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js */ 13012);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _assets_images_AssistantCode3_jpeg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/assets/images/AssistantCode3.jpeg */ 32637);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ 85893);
// import { useLocation } from 'umi';
var Http403 = function Http403(_ref) {
_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_1___default()(_ref);
var errorStatus = JSON.parse(sessionStorage.getItem('errorStatus'));
var message = errorStatus === null || errorStatus === void 0 ? void 0 : errorStatus.message;
var btnStyle = {
display: 'inline-block',
width: 160,
height: 40,
borderRadius: 5,
fontSize: 14,
textAlign: 'center',
lineHeight: '40px'
};
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", {
className: "pt60 pb60 tc",
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("img", {
width: 278,
src: _assets_images_AssistantCode3_jpeg__WEBPACK_IMPORTED_MODULE_3__,
style: {
marginTop: 167
}
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("p", {
className: "font16",
style: {
color: '#999',
marginBottom: 40,
marginTop: 20
},
children: message || /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("span", {
children: ["\u60A8\u9047\u5230\u4E86\u6743\u9650\u95EE\u9898", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("br", {}), "\u8BF7\u626B\u7801\u8054\u7CFB\u6559\u7814\u52A9\u7406\u5E2E\u60A8\u89E3\u51B3~"]
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", {
style: {
marginBottom: 70
},
children: [history.length > 2 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("a", {
style: _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, btnStyle), {}, {
border: '1px solid #0152d9'
}),
onClick: function onClick(e) {
e.preventDefault();
history.back();
},
children: "\u8FD4\u56DE\u4E0A\u4E00\u9875"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("a", {
href: "/",
style: _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, btnStyle), {}, {
backgroundColor: '#0152d9',
color: "#fff",
marginLeft: history.length > 2 ? 40 : 0
}),
children: "\u8FD4\u56DE\u9996\u9875"
})]
})]
});
};
/* harmony default export */ __webpack_exports__["default"] = (Http403);
/***/ }),
/***/ 32637:
/*!***********************************************!*\
!*** ./src/assets/images/AssistantCode3.jpeg ***!
\***********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__.p + "static/AssistantCode3.a8740efb.jpeg";
/***/ })
}]);

@ -0,0 +1,82 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[66531],{
/***/ 70876:
/*!**************************************!*\
!*** ./src/pages/HttpStatus/404.tsx ***!
\**************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js */ 13012);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _utils_env__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/env */ 59758);
/* harmony import */ var _utils_authority__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/utils/authority */ 7);
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! umi */ 88275);
/* harmony import */ var _pages_Engineering_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/pages/Engineering/util */ 69555);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ 85893);
var Http404 = function Http404(_ref) {
var props = Object.assign({}, (_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_1___default()(_ref), _ref));
var location = (0,umi__WEBPACK_IMPORTED_MODULE_5__.useLocation)();
//清除工程认证缓存的专业和届别
var user = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_4__/* .userInfo */ .eY)();
(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {
_pages_Engineering_util__WEBPACK_IMPORTED_MODULE_6__/* .localSelect.clear */ .U.clear(user === null || user === void 0 ? void 0 : user.login);
}, [user === null || user === void 0 ? void 0 : user.login]);
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false),
_useState2 = _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2),
show = _useState2[0],
setShow = _useState2[1];
(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {
setTimeout(function () {
var pathname = location.pathname;
if (pathname === '/sidekiq' || pathname === '/admins') {
if (!(0,_utils_authority__WEBPACK_IMPORTED_MODULE_4__/* .isLogin */ .bg)()) {
window.location.href = '/user/login';
}
} else if (pathname.indexOf("/explore") > -1) {
window.location.href = 'https://code.educoder.net/explore';
} else {
setShow(true);
}
}, 1500);
}, []);
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("div", {
className: "pt60 pb60 tc",
children: show && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.Fragment, {
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("img", {
src: "".concat(_utils_env__WEBPACK_IMPORTED_MODULE_3__/* ["default"].IMG_SERVER */ .Z.IMG_SERVER, "/images/warn/pic_404.jpg")
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)("p", {
className: "font18 mt40",
children: ["\u60A8\u53EF\u4EE5\u7A0D\u540E\u5C1D\u8BD5 ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("a", {
href: "/",
className: "c-blue",
children: "\u8FD4\u56DE\u9996\u9875"
}), "\uFF0C\u6216\u8005 ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("a", {
target: "_blank",
href: "//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd",
className: "c-blue",
children: "QQ\u53CD\u9988>>"
})]
})]
})
});
};
/* harmony default export */ __webpack_exports__["default"] = (Http404);
/***/ })
}]);

@ -0,0 +1,46 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[44565],{
/***/ 51601:
/*!**************************************!*\
!*** ./src/pages/HttpStatus/500.tsx ***!
\**************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js */ 13012);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _utils_env__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/env */ 59758);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ 85893);
var Http500 = function Http500(_ref) {
_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_0___default()(_ref);
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", {
className: "pt60 pb60 tc",
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("img", {
src: "".concat(_utils_env__WEBPACK_IMPORTED_MODULE_2__/* ["default"].IMG_SERVER */ .Z.IMG_SERVER, "/images/warn/pic_500.jpg")
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("p", {
className: "font18 mt40",
children: ["\u60A8\u53EF\u4EE5\u7A0D\u540E\u5C1D\u8BD5 ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("a", {
href: "/",
className: "c-blue",
children: "\u8FD4\u56DE\u9996\u9875"
}), "\uFF0C\u6216\u8005 ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("a", {
target: "_blank",
href: "//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd",
className: "c-blue",
children: "QQ\u53CD\u9988>>"
})]
})]
});
};
/* harmony default export */ __webpack_exports__["default"] = (Http500);
/***/ })
}]);

File diff suppressed because it is too large Load Diff

@ -0,0 +1,59 @@
/*!***************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./src/pages/HttpStatus/hpccourse.css ***!
\***************************************************************************************************************************************************************************************************************************************/
.menuitem{
border: 1px solid #82C2FF;
height: 50px;
display: flex;
padding-left: 10px;
align-items: center;
border-radius: 2px;
margin-top: 7px;
width:300px;
font-size: 16px;
color: #228FF6;
background-image: linear-gradient(to right, #C5E9FF , #ffffff);
cursor: pointer;
}
.menuitemselect{
border: 1px solid #82C2FF;
height: 50px;
display: flex;
padding-left: 10px;
align-items: center;
width:300px;
border-radius: 2px;
margin-top: 7px;
font-size: 16px;
color: #ffffff;
background-image: linear-gradient(to right, #2985FF , #2EFDFF);
cursor: pointer;
}
.menuadd{
margin-top: 7px;
width:300px;
height:50px;
border-radius:2px;
border:1px dashed rgba(34,143,246,1);
cursor: pointer;
color: #228FF6;
display: flex;
align-items: center;
}
.rightcount{
background:#fff;
box-shadow:0px 2px 20px 3px rgba(232,232,232,1);
flex: 6 1;
padding: 20px;
margin-left: 30px;
margin-top: 24px;
}
.bannterdiv{
width: 100%;
height: 400px;
background-color: #081C4B;
background-position: center;
background-repeat: no-repeat;
}

File diff suppressed because one or more lines are too long

@ -0,0 +1,79 @@
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/HttpStatus/Sixindex.less?modules ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___llt3T {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___hZQIr {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___Dfpbw {
align-items: center;
box-align: center;
}
.flex_box_center_end___QPC43 {
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___q5XDA {
flex-direction: column;
box-orient: block-axis;
}
.Anchor___htj1O {
margin-top: 190px;
width: 130px;
margin-left: 84px;
background: rgba(0, 0, 0, 0);
color: #fff !important;
}
.Anchor___htj1O [class~='ant-anchor-ink'] {
display: none;
}
.Anchor___htj1O [class~='ant-menu-item-selected'] {
background-color: rgba(32, 0, 211, 0.6) !important;
}
.Anchor___htj1O [class~='ant-menu-item-selected'] a {
color: #fff13d !important;
font-size: 14px;
}
.Anchor___htj1O [class~='ant-menu-item-active'] {
background-color: rgba(32, 0, 211, 0.6) !important;
}
.Anchor___htj1O [class~='ant-menu-item-active'] a {
color: #fff13d !important;
font-size: 14px;
}
.Anchor___htj1O .muitem___OWyLl {
display: flex;
align-items: center;
height: 45px;
line-height: 45px;
padding: 0px;
justify-content: center;
}
.Anchor___htj1O .muitem___OWyLl [class~='ant-anchor-link'] {
padding: 0px;
height: 45px;
line-height: 45px;
width: 100%;
text-align: center;
}
.Anchor___htj1O .muitem___OWyLl a {
color: #fff;
font-size: 14px;
}
.backTop___nfpVM {
left: 110px;
bottom: 140px;
}

@ -0,0 +1,392 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[66034],{
/***/ 86441:
/*!*********************************************************!*\
!*** ./src/pages/HttpStatus/UserAgents.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 */ UserAgents; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(17061);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(17156);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(27424);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
var jsx_runtime = __webpack_require__(85893);
;// CONCATENATED MODULE: ./src/pages/HttpStatus/Argentitem.tsx
function listitem(_ref) {
var item = _ref.item,
type = _ref.type,
page = _ref.page;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
alignItems: 'center',
flexDirection: 'initial',
height: '37px',
background: '#ffffff',
padding: '0px 15px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
flex: '1'
},
children: page === 1 ? type + 1 : type + 1 + (page - 1) * 20
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
flex: '1'
},
children: item.login || '--'
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
flex: '2'
},
children: item.name || '--'
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
flex: '2'
},
children: item.register_info || '--'
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
flex: '1'
},
children: item.competition_info || '--'
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
flex: '2'
},
children: item.ip || '--'
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
flex: '2'
},
children: item.username || '--'
})]
});
}
/* harmony default export */ var Argentitem = (listitem);
// EXTERNAL MODULE: ./node_modules/antd/es/pagination/index.js + 13 modules
var pagination = __webpack_require__(34435);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(88275);
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(84519);
;// CONCATENATED MODULE: ./src/pages/HttpStatus/UserAgents.tsx
//竞赛引流
function useragents(props) {
var params = (0,_umi_production_exports.useParams)();
var _useState = (0,react.useState)(1),
_useState2 = slicedToArray_default()(_useState, 2),
page = _useState2[0],
setPage = _useState2[1];
var _useState3 = (0,react.useState)(20),
_useState4 = slicedToArray_default()(_useState3, 2),
per_page = _useState4[0],
setPer_page = _useState4[1];
var _useState5 = (0,react.useState)(),
_useState6 = slicedToArray_default()(_useState5, 2),
agentslist = _useState6[0],
setAgentslist = _useState6[1];
var _useState7 = (0,react.useState)(),
_useState8 = slicedToArray_default()(_useState7, 2),
alintsdata = _useState8[0],
setAlintsdata = _useState8[1];
(0,react.useEffect)(function () {
function init() {
return _init.apply(this, arguments);
}
function _init() {
_init = 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:
_context.next = 2;
return (0,fetch/* default */.ZP)("/api/user_agents.json", {
method: 'get',
params: {
page: page,
per_page: per_page
}
});
case 2:
res = _context.sent;
if (res.status === 0) {
setAgentslist(res.data.user_agents);
setAlintsdata(res.data);
}
case 4:
case "end":
return _context.stop();
}
}, _callee);
}));
return _init.apply(this, arguments);
}
init();
}, [page]);
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "edu-container minH500",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "educontent mb20 persmstyle",
style: {
width: "1200px",
marginTop: "26px"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: "flex",
background: '#ffffff',
height: '60px',
alignItems: 'center',
padding: '0px 15px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u5F15\u6D41\u603B\u4EBA\u6570\uFF1A", alintsdata && alintsdata.agents_count || '0']
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
marginLeft: '20px'
},
children: ["\u7ADE\u8D5B\u6210\u529F\u62A5\u540D\uFF1A", alintsdata && alintsdata.action_count || '0']
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
marginTop: '1px',
background: '#ffffff'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
alignItems: 'center',
flexDirection: 'initial',
height: '37px',
background: '#ffffff',
padding: '0px 15px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
flex: '1'
},
children: "\u5E8F\u53F7"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
flex: '1'
},
children: "\u4EE3\u7406\u4EBA\u767B\u5F55\u540D"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
flex: '2'
},
children: "\u4EE3\u7406\u4EBA\u59D3\u540D"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
flex: '2'
},
children: "\u6CE8\u518C\u60C5\u51B5"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
flex: '1'
},
children: "\u7ADE\u8D5B\u62A5\u540D"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
flex: '2'
},
children: "IP"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
flex: '2'
},
children: "\u5F15\u6D41\u4EBA\u59D3\u540D"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
border: '1px solid #fafafa',
minHeight: '400px'
},
children: agentslist && agentslist.map(function (item, i) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(Argentitem, {
page: page,
item: item,
type: i
});
})
})]
}), alintsdata && alintsdata.agents_count > 20 ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
justifyContent: 'center',
display: 'flex',
marginTop: '20px'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
defaultCurrent: 1,
defaultPageSize: 20,
onChange: function onChange(page, pagesize) {
return setPage(page);
},
total: alintsdata && alintsdata.agents_count
})
}) : '']
})
});
}
/* harmony default export */ var UserAgents = (useragents);
/***/ }),
/***/ 55007:
/*!***********************************************************************************************!*\
!*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LeftOutlined.js + 1 modules ***!
\***********************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_LeftOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js
// This icon file is generated automatically.
var LeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, "name": "left", "theme": "outlined" };
/* harmony default export */ var asn_LeftOutlined = (LeftOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(44327);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LeftOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var LeftOutlined_LeftOutlined = function LeftOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_LeftOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_LeftOutlined = (/*#__PURE__*/react.forwardRef(LeftOutlined_LeftOutlined));
/***/ }),
/***/ 79269:
/*!************************************************************************************************!*\
!*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/RightOutlined.js + 1 modules ***!
\************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_RightOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js
// This icon file is generated automatically.
var RightOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, "name": "right", "theme": "outlined" };
/* harmony default export */ var asn_RightOutlined = (RightOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(44327);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/RightOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var RightOutlined_RightOutlined = function RightOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_RightOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_RightOutlined = (/*#__PURE__*/react.forwardRef(RightOutlined_RightOutlined));
/***/ }),
/***/ 42480:
/*!*************************************************************************************************!*\
!*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules ***!
\*************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_SearchOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js
// This icon file is generated automatically.
var SearchOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, "name": "search", "theme": "outlined" };
/* harmony default export */ var asn_SearchOutlined = (SearchOutlined);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules
var AntdIcon = __webpack_require__(44327);
;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var SearchOutlined_SearchOutlined = function SearchOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_SearchOutlined
}));
};
if (false) {}
/* harmony default export */ var icons_SearchOutlined = (/*#__PURE__*/react.forwardRef(SearchOutlined_SearchOutlined));
/***/ })
}]);

File diff suppressed because one or more lines are too long

@ -0,0 +1,632 @@
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/pages/HttpStatus/introduction.less ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.page {
position: relative;
height: 1080px;
background-color: #fafafa;
overflow: hidden;
}
.page .section_1 {
height: 1080px;
background-color: #ffffff;
margin: 0px auto;
width: 1200px;
position: relative;
}
.page .section_1 .box_1 {
width: 134px;
height: 30px;
margin: 30px 0 0 533px;
}
.page .section_1 .box_1 .box_2 {
width: 14px;
height: 17px;
background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPnga2fd170c19ea7377d9084fd8bf9a48778c8b9d20a544fac361dc041e19715640) -1px -1px no-repeat;
background-size: 16px 19px;
margin-top: 6px;
}
.page .section_1 .box_1 .text_1 {
width: 91px;
height: 30px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 22px;
font-family: PingFangSC-Semibold;
white-space: nowrap;
line-height: 30px;
text-align: left;
margin-left: 9px;
}
.page .section_1 .box_1 .box_3 {
width: 14px;
height: 17px;
background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPngfbf5b4682afb1295e87ba4f8246f1b02021d36b8734bfa27844db55aac4865f3) -1px -1px no-repeat;
background-size: 16px 19px;
margin: 6px 0 0 6px;
}
.page .section_1 .box_4 {
width: 1008px;
height: 362px;
margin: 50px 0 0 132px;
}
.page .section_1 .box_4 .block_1 {
width: 145px;
height: 244px;
margin-top: 78px;
}
.page .section_1 .box_4 .block_1 .image_1 {
width: 145px;
height: 209px;
}
.page .section_1 .box_4 .block_1 .text_2 {
width: 75px;
height: 20px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 14px;
font-family: PingFangSC-Semibold;
white-space: nowrap;
line-height: 20px;
text-align: left;
margin: 15px 0 0 35px;
}
.page .section_1 .box_4 .block_2 {
height: 362px;
border-radius: 6px;
border: 1px solid #165dff;
width: 761px;
}
.page .section_1 .box_4 .block_2 .text-wrapper_1 {
height: 48px;
border-radius: 6px 6px 0 0;
background-color: #165dff;
width: 761px;
}
.page .section_1 .box_4 .block_2 .text-wrapper_1 .text_3 {
width: 64px;
height: 22px;
display: inline-block;
overflow-wrap: break-word;
color: #ffffff;
font-size: 16px;
font-family: PingFangSC-Medium;
white-space: nowrap;
line-height: 22px;
text-align: left;
margin: 13px 0 0 20px;
}
.page .section_1 .box_5 {
width: 250px;
height: 60px;
margin: 213px 0 0 444px;
}
.page .section_1 .box_5 .image_2 {
width: 60px;
height: 60px;
}
.page .section_1 .box_5 .image-wrapper_1 {
position: relative;
width: 60px;
height: 60px;
border-radius: 30px;
overflow: hidden;
background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPngd717985649e49644fd6dd20f8db8a204c852bf9a92e3edad25754eb51c92ce45) 100% no-repeat;
}
.page .section_1 .box_5 .image-wrapper_1 .image_3 {
position: absolute;
left: 0;
top: 0;
width: 60px;
height: 60px;
}
.page .section_1 .text-wrapper_2 {
width: 277px;
height: 20px;
margin: 20px 0 0 809px;
}
.page .section_1 .text-wrapper_2 .text_4 {
width: 84px;
height: 20px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 14px;
letter-spacing: -0.05833333px;
font-family: PingFangSC-Regular;
white-space: nowrap;
line-height: 20px;
text-align: left;
}
.page .section_1 .text-wrapper_2 .text_5 {
width: 84px;
height: 20px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 14px;
letter-spacing: -0.05833333px;
font-family: PingFangSC-Regular;
white-space: nowrap;
line-height: 20px;
text-align: left;
}
.page .section_1 .box_6 {
width: 253px;
height: 60px;
margin: 60px 0 206px 821px;
}
.page .section_1 .box_6 .image-wrapper_5 {
height: 60px;
border: 1px solid rgba(255, 255, 255, 0.01);
width: 60px;
}
.page .section_1 .box_6 .image-wrapper_5 .image_4 {
width: 60px;
height: 49px;
margin-top: 5px;
}
.page .section_1 .box_6 .image-wrapper_2 {
position: relative;
width: 60px;
height: 60px;
border-radius: 30px;
overflow: hidden;
background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPngd717985649e49644fd6dd20f8db8a204c852bf9a92e3edad25754eb51c92ce45) 100% no-repeat;
}
.page .section_1 .box_6 .image-wrapper_2 .image_5 {
position: absolute;
left: 0;
top: 0;
width: 60px;
height: 60px;
}
.page .section_1 .text_6 {
position: absolute;
left: 556px;
top: 100px;
width: 91px;
height: 30px;
display: inline-block;
overflow-wrap: break-word;
color: rgba(67, 77, 108, 0.49);
font-size: 22px;
font-family: PingFangSC-Semibold;
white-space: nowrap;
line-height: 30px;
text-align: left;
-webkit-text-stroke: 1px;
background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.page .section_1 .box_7 {
height: 362px;
border-radius: 6px;
border: 1px solid #165dff;
width: 289px;
position: absolute;
left: 60px;
top: 110px;
}
.page .section_1 .box_7 .text-wrapper_3 {
height: 48px;
border-radius: 6px 6px 0 0;
background-color: #165dff;
width: 289px;
}
.page .section_1 .box_7 .text-wrapper_3 .text_7 {
width: 80px;
height: 22px;
display: inline-block;
overflow-wrap: break-word;
color: #ffffff;
font-size: 16px;
font-family: PingFangSC-Medium;
white-space: nowrap;
line-height: 22px;
text-align: left;
margin: 13px 0 0 20px;
}
.page .section_1 .text-wrapper_4 {
position: absolute;
left: 425px;
top: 200px;
width: 668px;
height: 208px;
overflow-wrap: break-word;
text-align: left;
font-size: 0;
}
.page .section_1 .text-wrapper_4 .paragraph_1 {
font-size: 14px;
font-family: PingFangSC-Regular;
color: #434d6c;
line-height: 30px;
}
.page .section_1 .text-wrapper_4 .text_8 {
font-size: 14px;
font-family: PingFangSC-Regular;
color: #434d6c;
line-height: 30px;
}
.page .section_1 .text-wrapper_4 .text_9 {
font-size: 14px;
font-family: PingFangSC-Regular;
color: #434d6c;
line-height: 30px;
}
.page .section_1 .text-wrapper_4 .text_10 {
font-size: 14px;
font-family: PingFangSC-Regular;
color: #434d6c;
line-height: 30px;
}
.page .section_1 .box_8 {
height: 510px;
border-radius: 6px;
border: 1px solid #165dff;
width: 761px;
position: absolute;
left: 379px;
top: 501px;
}
.page .section_1 .box_8 .group_1 {
width: 761px;
height: 332px;
}
.page .section_1 .box_8 .group_1 .text-wrapper_5 {
height: 48px;
border-radius: 6px 6px 0 0;
background-color: #165dff;
width: 761px;
}
.page .section_1 .box_8 .group_1 .text-wrapper_5 .text_11 {
width: 96px;
height: 22px;
display: inline-block;
overflow-wrap: break-word;
color: #ffffff;
font-size: 16px;
font-family: PingFangSC-Medium;
white-space: nowrap;
line-height: 22px;
text-align: left;
margin: 13px 0 0 20px;
}
.page .section_1 .box_8 .group_1 .image-wrapper_3 {
width: 253px;
height: 60px;
margin: 150px 0 0 442px;
}
.page .section_1 .box_8 .group_1 .image-wrapper_3 .image_6 {
width: 60px;
height: 60px;
}
.page .section_1 .box_8 .group_1 .image-wrapper_3 .image_7 {
width: 60px;
height: 60px;
}
.page .section_1 .box_8 .group_1 .text-wrapper_6 {
width: 260px;
height: 20px;
margin: 18px 0 0 67px;
}
.page .section_1 .box_8 .group_1 .text-wrapper_6 .text_12 {
width: 56px;
height: 20px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 14px;
letter-spacing: -0.05833333px;
font-family: PingFangSC-Regular;
white-space: nowrap;
line-height: 20px;
text-align: left;
}
.page .section_1 .box_8 .group_1 .text-wrapper_6 .text_13 {
width: 84px;
height: 20px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 14px;
letter-spacing: -0.05833333px;
font-family: PingFangSC-Regular;
white-space: nowrap;
line-height: 20px;
text-align: left;
}
.page .section_1 .box_8 .group_1 .group_2 {
width: 760px;
height: 1px;
margin-top: 30px;
}
.page .section_1 .box_8 .group_1 .group_2 .box_9 {
width: 191px;
height: 1px;
background-color: #ffffff;
}
.page .section_1 .box_8 .group_1 .group_2 .box_10 {
width: 190px;
height: 1px;
background-color: #ffffff;
}
.page .section_1 .box_8 .group_1 .image-wrapper_4 {
width: 250px;
height: 60px;
margin: 29px 0 0 65px;
}
.page .section_1 .box_8 .group_1 .image-wrapper_4 .image_8 {
width: 60px;
height: 60px;
}
.page .section_1 .box_8 .group_1 .image-wrapper_4 .image_9 {
width: 60px;
height: 60px;
}
.page .section_1 .box_8 .group_1 .text-wrapper_7 {
width: 689px;
height: 20px;
margin: 18px 0 0 46px;
}
.page .section_1 .box_8 .group_1 .text-wrapper_7 .text_14 {
width: 98px;
height: 20px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 14px;
letter-spacing: -0.05833333px;
font-family: PingFangSC-Regular;
white-space: nowrap;
line-height: 20px;
text-align: left;
}
.page .section_1 .box_8 .group_1 .text-wrapper_7 .text_15 {
width: 98px;
height: 20px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 14px;
letter-spacing: -0.05833333px;
font-family: PingFangSC-Regular;
white-space: nowrap;
line-height: 20px;
text-align: left;
margin-left: 92px;
}
.page .section_1 .box_8 .group_1 .text-wrapper_7 .text_16 {
width: 140px;
height: 20px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 14px;
letter-spacing: -0.05833333px;
font-family: PingFangSC-Regular;
white-space: nowrap;
line-height: 20px;
text-align: left;
margin-left: 68px;
}
.page .section_1 .box_8 .group_1 .text-wrapper_7 .text_17 {
width: 140px;
height: 20px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 14px;
letter-spacing: -0.05833333px;
font-family: PingFangSC-Regular;
white-space: nowrap;
line-height: 20px;
text-align: left;
margin-left: 53px;
}
.page .section_1 .box_8 .group_3 {
position: absolute;
left: 190px;
top: 204px;
width: 190px;
height: 1px;
background-color: #ffffff;
}
.page .section_1 .box_8 .group_4 {
position: absolute;
left: 377px;
top: 204px;
width: 190px;
height: 1px;
background-color: #ffffff;
}
.page .section_2 {
height: 60px;
background-color: rgba(255, 255, 255, 0.6);
box-shadow: 0px 2px 10px 0px rgba(136, 136, 136, 0.5);
width: 1920px;
position: absolute;
left: 0;
top: 0;
}
.page .section_2 .box_11 {
width: 1880px;
height: 46px;
margin: 14px 0 0 20px;
}
.page .section_2 .box_11 .image_10 {
width: 46px;
height: 18px;
margin-top: 7px;
}
.page .section_2 .box_11 .text_18 {
width: 271px;
height: 24px;
display: inline-block;
overflow-wrap: break-word;
color: #196efd;
font-size: 18px;
font-family: PingFangSC-Semibold;
white-space: nowrap;
line-height: 18px;
text-align: center;
margin: 4px 0 0 4px;
}
.page .section_2 .box_11 .text_19 {
width: 28px;
height: 20px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 14px;
font-family: PingFangSC-Regular;
white-space: nowrap;
line-height: 20px;
text-align: center;
margin: 6px 0 0 884px;
}
.page .section_2 .box_11 .text_20 {
width: 56px;
height: 20px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 14px;
font-family: PingFangSC-Regular;
white-space: nowrap;
line-height: 20px;
text-align: center;
margin: 6px 0 0 45px;
}
.page .section_2 .box_11 .paragraph_2 {
width: 56px;
height: 40px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 14px;
font-family: PingFangSC-Regular;
line-height: 20px;
text-align: center;
margin: 6px 0 0 47px;
}
.page .section_2 .box_11 .paragraph_3 {
width: 56px;
height: 40px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 14px;
font-family: PingFangSC-Regular;
line-height: 20px;
text-align: center;
margin: 6px 0 0 47px;
}
.page .section_2 .box_11 .text_21 {
width: 56px;
height: 20px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 14px;
font-family: PingFangSC-Regular;
white-space: nowrap;
line-height: 20px;
text-align: center;
margin: 6px 0 0 46px;
}
.page .section_2 .box_11 .section_3 {
width: 56px;
height: 35px;
margin: 6px 0 0 46px;
}
.page .section_2 .box_11 .section_3 .text_22 {
width: 56px;
height: 20px;
display: inline-block;
overflow-wrap: break-word;
color: #434d6c;
font-size: 14px;
font-family: PingFangSC-Semibold;
white-space: nowrap;
line-height: 20px;
text-align: center;
}
.page .section_2 .box_11 .section_3 .image_11 {
width: 28px;
height: 4px;
margin: 11px 0 0 14px;
}
.page .section_2 .box_11 .text-wrapper_8 {
height: 32px;
border-radius: 2px;
background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPngf0c62fcd1a7ea96a5157edf210c71b49ebd3b32ba45d5f5615068886a80fe700) 100% no-repeat;
margin-left: 46px;
width: 90px;
}
.page .section_2 .box_11 .text-wrapper_8 .text_23 {
width: 63px;
height: 20px;
display: inline-block;
overflow-wrap: break-word;
color: #ffffff;
font-size: 14px;
font-family: PingFangSC-Regular;
white-space: nowrap;
line-height: 20px;
text-align: center;
margin: 6px 0 0 14px;
}
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/pages/HttpStatus/index.less ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex-col {
display: flex;
flex-direction: column;
}
.flex-row {
display: flex;
flex-direction: row;
}
.justify-start {
display: flex;
justify-content: flex-start;
}
.justify-center {
display: flex;
justify-content: center;
}
.justify-end {
display: flex;
justify-content: flex-end;
}
.justify-evenly {
display: flex;
justify-content: space-evenly;
}
.justify-around {
display: flex;
justify-content: space-around;
}
.justify-between {
display: flex;
justify-content: space-between;
}
.align-start {
display: flex;
align-items: flex-start;
}
.align-center {
display: flex;
align-items: center;
}
.align-end {
display: flex;
align-items: flex-end;
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,51 @@
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Innovation/Edit/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.form_wrapper___l7xyo div[class~='ant-form-item'] {
margin-bottom: 30px;
}
.greyFont___gBzwF {
color: #b1bacd;
margin-left: 4px;
}
.ant_table___Cbiv0 thead[class~='ant-table-thead'] > tr > th {
background-color: #eef2f8;
}
.warn___HXJqO {
font-size: 12px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #e30000;
margin-left: 20px;
display: flex;
align-items: center;
}
.datasetBtn___HBXHw {
display: flex;
align-items: center;
justify-content: center;
}
.datasetBtn___HBXHw img {
height: 16px;
margin-right: 6px;
}
.datasetBtn___HBXHw.createBtn___Ms0eY {
color: #165dff;
border: 1px solid #165dff;
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/SliceUpdate/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
[class~='ant-upload-drag'] {
background: rgba(24, 144, 255, 0.04) !important;
border-radius: 4px;
border: 1px dashed #0152d9;
}
.colorBlue___UHzQq {
color: #0152d9;
}
.repeatedName___dFCaT {
color: red;
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,48 @@
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/SliceUpdate/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
[class~='ant-upload-drag'] {
background: rgba(24, 144, 255, 0.04) !important;
border-radius: 4px;
border: 1px dashed #0152d9;
}
.colorBlue___UHzQq {
color: #0152d9;
}
.repeatedName___dFCaT {
color: red;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Innovation/MyDataSet/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.wrap____9ZGR [class~='ant-upload-drag'] {
background: rgba(24, 144, 255, 0.04) !important;
border-radius: 4px;
border: 1px dashed #0152d9;
}
.wrap____9ZGR .colorBlue___xzq11 {
color: #0152d9;
}
.wrap____9ZGR .repeatedName___UjIrF {
color: red;
}
.header___jGTIO {
display: flex;
justify-content: space-between;
}
.header___jGTIO .title___EH1W7 {
font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #464f66;
}
.header___jGTIO .title___EH1W7::before {
content: '';
display: inline-block;
width: 4px;
height: 12px;
background: #242f49;
margin-right: 8px;
}

@ -0,0 +1,918 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[12865],{
/***/ 4957:
/*!**********************************************************!*\
!*** ./src/components/SliceUpdate/index.tsx + 1 modules ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ SliceUpdate; }
});
// UNUSED EXPORTS: UploadFile
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js
var objectSpread2 = __webpack_require__(42122);
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(27424);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(17061);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/toConsumableArray.js
var toConsumableArray = __webpack_require__(861);
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(17156);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__(70215);
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/upload/index.js + 28 modules
var upload = __webpack_require__(92421);
// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 4 modules
var message = __webpack_require__(2453);
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(84519);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(88275);
;// CONCATENATED MODULE: ./src/components/SliceUpdate/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var SliceUpdatemodules = ({"colorBlue":"colorBlue___UHzQq","repeatedName":"repeatedName___dFCaT"});
// EXTERNAL MODULE: ./node_modules/spark-md5/spark-md5.js
var spark_md5 = __webpack_require__(8322);
var spark_md5_default = /*#__PURE__*/__webpack_require__.n(spark_md5);
// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
var jsx_runtime = __webpack_require__(85893);
;// CONCATENATED MODULE: ./src/components/SliceUpdate/index.tsx
var _excluded = ["dispatch", "user", "setloading", "uploading", "setmd5List", "content", "shixunHomeworks", "globalSetting"];
var Dragger = upload/* default.Dragger */.Z.Dragger;
var shardSize = 15 * 1024 * 1024;
//测试环境
// let api='https://testfu.educoder.net';
//线上地址
// let api='https://fu.educoder.net';
var UploadFile = function UploadFile(_ref) {
var dispatch = _ref.dispatch,
user = _ref.user,
setloading = _ref.setloading,
uploading = _ref.uploading,
setmd5List = _ref.setmd5List,
content = _ref.content,
shixunHomeworks = _ref.shixunHomeworks,
globalSetting = _ref.globalSetting,
props = objectWithoutProperties_default()(_ref, _excluded);
console.log(globalSetting, 'globalSetting');
(0,react.useEffect)(function () {
if (shixunHomeworks.actionTabs.key === '分片专用504') {
dispatch({
type: 'shixunHomeworks/setActionTabs',
payload: {
key: ''
}
});
filepatch();
}
function filepatch() {
return _filepatch.apply(this, arguments);
}
function _filepatch() {
_filepatch = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _globalSetting$settin;
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return (0,fetch/* default */.ZP)((globalSetting === null || globalSetting === void 0 ? void 0 : (_globalSetting$settin = globalSetting.setting) === null || _globalSetting$settin === void 0 ? void 0 : _globalSetting$settin.bigfiles_upload) + "/file/filePatchMerge", {
method: 'post',
body: shixunHomeworks.actionTabs.params
}, true, true);
case 2:
res = _context.sent;
if (res.errorCode === "000000") {
fileList[0]['file']['percent'] = 100;
fileList[0]['file']['status'] = 'success';
setFileList(toConsumableArray_default()(fileList));
setloading(100);
message/* default.info */.ZP.info('上传成功');
setmd5List(res === null || res === void 0 ? void 0 : res.data);
}
case 4:
case "end":
return _context.stop();
}
}, _callee);
}));
return _filepatch.apply(this, arguments);
}
}, [shixunHomeworks.actionTabs.key]);
var _useState = (0,react.useState)([]),
_useState2 = slicedToArray_default()(_useState, 2),
fileList = _useState2[0],
setFileList = _useState2[1];
var _useState3 = (0,react.useState)(0),
_useState4 = slicedToArray_default()(_useState3, 2),
succeed = _useState4[0],
setsucceed = _useState4[1];
var _useState5 = (0,react.useState)(false),
_useState6 = slicedToArray_default()(_useState5, 2),
hasError = _useState6[0],
sethasError = _useState6[1];
var _props = {
onRemove: function onRemove(e) {
setFileList(toConsumableArray_default()(fileList.filter(function (item) {
return item.name !== e.name;
})));
},
multiple: true,
fileList: fileList === null || fileList === void 0 ? void 0 : fileList.map(function (item) {
return item.file;
}),
customRequest: function customRequest() {},
beforeUpload: function () {
var _beforeUpload = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(file) {
var fileSize;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
fileSize = 100 * 1024 * 1024 * 1024;
if (!fileList.filter(function (item) {
return item.name === file.name;
}).length) {
_context2.next = 4;
break;
}
message/* default.info */.ZP.info("".concat(file.name, "\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9"));
return _context2.abrupt("return");
case 4:
if (!((file === null || file === void 0 ? void 0 : file.size) > fileSize)) {
_context2.next = 7;
break;
}
message/* default.info */.ZP.info("\u6587\u4EF6\u8D85\u8FC7".concat(fileSize / 1024 / 1024 / 1024, "GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"));
return _context2.abrupt("return", false);
case 7:
// console.log(file);
setFileList([{
name: file.name,
file: file
}]);
return _context2.abrupt("return", false);
case 9:
case "end":
return _context2.stop();
}
}, _callee2);
}));
function beforeUpload(_x) {
return _beforeUpload.apply(this, arguments);
}
return beforeUpload;
}()
};
(0,react.useEffect)(function () {
//判断 点击保存才调用接口
if (uploading === 0) {
var _fileList$;
setsucceed(0);
sethasError(false);
if ((fileList === null || fileList === void 0 ? void 0 : fileList.length) <= 0) {
message/* default.info */.ZP.info('文件不能为空');
setloading(101);
return;
}
checkUpload(fileList === null || fileList === void 0 ? void 0 : (_fileList$ = fileList[0]) === null || _fileList$ === void 0 ? void 0 : _fileList$.file, user.userInfo.login);
}
}, [uploading]);
//查看当前文件是否在后台
function checkUpload(_x2, _x3) {
return _checkUpload.apply(this, arguments);
}
function _checkUpload() {
_checkUpload = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(file, dirname) {
var _globalSetting$settin3, _res$data, _res$data2, _res$data2$, _res$data3;
var md51, res;
return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
// console.log('file',file,dirname);
md51 = md5(file);
_context4.next = 3;
return (0,fetch/* default */.ZP)((globalSetting === null || globalSetting === void 0 ? void 0 : (_globalSetting$settin3 = globalSetting.setting) === null || _globalSetting$settin3 === void 0 ? void 0 : _globalSetting$settin3.bigfiles_upload) + "/file/fileExists", {
method: 'get',
params: {
md5: md51,
size: file.size,
dirName: dirname
}
}, false, true);
case 3:
res = _context4.sent;
if (!((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.length) > 0 && (res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : (_res$data2$ = _res$data2[0]) === null || _res$data2$ === void 0 ? void 0 : _res$data2$.type) === 1)) {
_context4.next = 11;
break;
}
setloading(100), fileList[0]['file']['percent'] = 100;
fileList[0]['file']['status'] = 'success';
setFileList(toConsumableArray_default()(fileList));
message/* default.info */.ZP.info('上传成功');
setmd5List(res === null || res === void 0 ? void 0 : res.data);
return _context4.abrupt("return");
case 11:
if (!(res.data.length > 0 && res.data[0].type === 0)) {
_context4.next = 14;
break;
}
upload(res.data[0].id, file, dirname);
return _context4.abrupt("return");
case 14:
if ((res === null || res === void 0 ? void 0 : (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.length) <= 0) {
prepareUpload(md51, file, dirname);
}
case 15:
case "end":
return _context4.stop();
}
}, _callee4);
}));
return _checkUpload.apply(this, arguments);
}
function prepareUpload(_x4, _x5, _x6) {
return _prepareUpload.apply(this, arguments);
}
function _prepareUpload() {
_prepareUpload = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(md5, file, dirName) {
var _globalSetting$settin4, _res$data4;
var res, _res$data5, _res$data5$;
return regeneratorRuntime_default()().wrap(function _callee5$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
_context5.next = 2;
return (0,fetch/* default */.ZP)((globalSetting === null || globalSetting === void 0 ? void 0 : (_globalSetting$settin4 = globalSetting.setting) === null || _globalSetting$settin4 === void 0 ? void 0 : _globalSetting$settin4.bigfiles_upload) + "/file/newFile", {
method: 'post',
body: {
name: file.name,
md5: md5,
size: 1,
oldName: file.name,
dirName: dirName
}
}, false, true);
case 2:
res = _context5.sent;
if ((res === null || res === void 0 ? void 0 : (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.length) > 0) {
// id=res?.data?.[0]?.id;
upload(res === null || res === void 0 ? void 0 : (_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : (_res$data5$ = _res$data5[0]) === null || _res$data5$ === void 0 ? void 0 : _res$data5$.id, file, dirName);
// return
}
case 4:
case "end":
return _context5.stop();
}
}, _callee5);
}));
return _prepareUpload.apply(this, arguments);
}
function md5(file) {
var spark = new (spark_md5_default())();
if (!file.size) {
spark.appendBinary(file);
return spark.end();
}
if (file.size < 2048) {
var shardCount = Math.ceil(file.size / 2);
for (var i = 0; i < shardCount; i++) {
var start = i * 5;
var end = Math.min(file.size, start + 2);
spark.appendBinary(file.slice(start, end));
}
} else if (file.size < 15728640 && file > 2048) {
var shardCount = Math.ceil(file.size / 2000);
for (var i = 0; i < shardCount; i++) {
var start = i * 5;
var end = Math.min(file.size, start + 2000);
spark.appendBinary(file.slice(start, end));
}
} else {
var shardCount = Math.ceil(file.size / shardSize);
for (var i = 0; i < shardCount; i++) {
var start = i * shardSize;
var end = Math.min(file.size, start);
spark.appendBinary(file.slice(start, end));
}
}
// for (var i = 0; i < shardCount; i++) {
// var start = i * shardSize;
// var end = Math.min(file.size, start + 1024);
// spark.appendBinary(file.slice(start, end));
// }
return spark.end();
}
function upload(_x7, _x8, _x9) {
return _upload.apply(this, arguments);
}
function _upload() {
_upload = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(id, file, dirName) {
var shardCount, i;
return regeneratorRuntime_default()().wrap(function _callee6$(_context6) {
while (1) switch (_context6.prev = _context6.next) {
case 0:
if (id) {
_context6.next = 2;
break;
}
return _context6.abrupt("return");
case 2:
shardCount = Math.ceil(file.size / shardSize);
i = 0;
case 4:
if (!(i < shardCount)) {
_context6.next = 10;
break;
}
_context6.next = 7;
return uploadPatch(id, file, i, shardCount, dirName);
case 7:
i++;
_context6.next = 4;
break;
case 10:
case "end":
return _context6.stop();
}
}, _callee6);
}));
return _upload.apply(this, arguments);
}
function uploadPatch(parent, file, index, shardCount, dirName) {
if (hasError) return;
var start = index * shardSize;
var end = Math.min(file.size, start + shardSize);
var patch = file.slice(start, end);
var reader = new FileReader();
reader.readAsBinaryString(patch);
reader.onload = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(e) {
var _globalSetting$settin2;
var blob, md51, form, res;
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
blob = e.target.result;
md51 = md5(blob);
form = new FormData();
form.append("index", index);
form.append("parent", parent);
form.append("md5", md51);
form.append("size", patch.size);
form.append("patch", patch);
form.append("dirName", dirName);
form.append("name", file.name + "-patch-" + index);
_context3.next = 12;
return (0,fetch/* default */.ZP)((globalSetting === null || globalSetting === void 0 ? void 0 : (_globalSetting$settin2 = globalSetting.setting) === null || _globalSetting$settin2 === void 0 ? void 0 : _globalSetting$settin2.bigfiles_upload) + "/file/filePatchUpload", {
method: 'post',
body: form
}, true, true);
case 12:
res = _context3.sent;
fileList[0]['file']['percent'] = 0;
fileList[0]['file']['status'] = 'uploading';
if (!(res.errorCode === "000000")) {
_context3.next = 25;
break;
}
succeed++;
setsucceed(succeed);
mergePatch(parent, file, shardCount, dirName);
// setloading(succeed*shardSize/file.size*100)
fileList[0]['file']['percent'] = succeed * shardSize / file.size * 100;
fileList[0]['file']['status'] = 'uploading';
setFileList(toConsumableArray_default()(fileList));
return _context3.abrupt("return");
case 25:
message/* default.info */.ZP.info('上传分片失败');
sethasError(true);
case 27:
case "end":
return _context3.stop();
}
}, _callee3);
}));
return function (_x10) {
return _ref2.apply(this, arguments);
};
}();
}
function mergePatch(_x11, _x12, _x13, _x14) {
return _mergePatch.apply(this, arguments);
}
function _mergePatch() {
_mergePatch = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7(parent, file, shardCount, dirName) {
var _globalSetting$settin5;
var form, res;
return regeneratorRuntime_default()().wrap(function _callee7$(_context7) {
while (1) switch (_context7.prev = _context7.next) {
case 0:
if (!(succeed != shardCount)) {
_context7.next = 2;
break;
}
return _context7.abrupt("return");
case 2:
form = new FormData();
form.append("parent", parent);
form.append("size", file.size);
form.append("dirName", dirName);
form.append('type', content || 0);
_context7.next = 9;
return (0,fetch/* default */.ZP)((globalSetting === null || globalSetting === void 0 ? void 0 : (_globalSetting$settin5 = globalSetting.setting) === null || _globalSetting$settin5 === void 0 ? void 0 : _globalSetting$settin5.bigfiles_upload) + "/file/filePatchMerge", {
method: 'post',
body: form
}, true, true);
case 9:
res = _context7.sent;
if (res.errorCode === "000000") {
fileList[0]['file']['percent'] = 100;
fileList[0]['file']['status'] = 'success';
setFileList(toConsumableArray_default()(fileList));
setloading(100);
message/* default.info */.ZP.info('上传成功');
setmd5List(res === null || res === void 0 ? void 0 : res.data);
} else if (res.status === -1) {
setFileList([]);
setloading(101);
}
case 11:
case "end":
return _context7.stop();
}
}, _callee7);
}));
return _mergePatch.apply(this, arguments);
}
return /*#__PURE__*/(0,jsx_runtime.jsxs)(Dragger, objectSpread2_default()(objectSpread2_default()({
height: 300
}, _props), {}, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shangchuan font50 ".concat(SliceUpdatemodules.colorBlue)
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "font14 mt30",
children: ["\u62D6\u62FD\u6587\u4EF6\u6216", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "".concat(SliceUpdatemodules.colorBlue, " ml5"),
children: "\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20"
})]
})]
}));
};
/* harmony default export */ var SliceUpdate = ((0,_umi_production_exports.connect)(function (_ref3) {
var loading = _ref3.loading,
globalSetting = _ref3.globalSetting,
user = _ref3.user,
shixunHomeworks = _ref3.shixunHomeworks;
return {
globalSetting: globalSetting,
loading: loading.models.competitions,
user: user,
shixunHomeworks: shixunHomeworks
};
})(UploadFile));
/***/ }),
/***/ 13198:
/*!*************************************************!*\
!*** ./src/pages/Innovation/MyMirror/index.tsx ***!
\*************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 88671);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 36182);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 71577);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 14446);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 83062);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 76661);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 34435);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd */ 2453);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! antd */ 78045);
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! umi */ 88275);
/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/fetch */ 84519);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! moment */ 27484);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _utils_authority__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/utils/authority */ 7);
/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../index.less?modules */ 71831);
/* harmony import */ var _components_SliceUpdate__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/components/SliceUpdate */ 4957);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ 85893);
var Paragraph = antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"].Paragraph */ .Z.Paragraph;
var TabPane = antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"].TabPane */ .Z.TabPane;
var ProjectDetailPage = function ProjectDetailPage(_ref) {
var dispatch = _ref.dispatch;
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)({
limit: 10,
page: 1,
tab: 'mine'
}),
_useState2 = _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2),
params = _useState2[0],
setparasm = _useState2[1];
var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)([]),
_useState4 = _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState3, 2),
datas = _useState4[0],
setdatas = _useState4[1];
var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false),
_useState6 = _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState5, 2),
showmodal = _useState6[0],
setshowmodal = _useState6[1];
var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(),
_useState8 = _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState7, 2),
loading = _useState8[0],
setloading = _useState8[1];
var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(),
_useState10 = _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState9, 2),
content = _useState10[0],
setcontent = _useState10[1];
var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(),
_useState12 = _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState11, 2),
datacount = _useState12[0],
setdatacount = _useState12[1];
(0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {
getdata();
}, []);
function getdata() {
return _getdata.apply(this, arguments);
}
function _getdata() {
_getdata = _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3() {
var res;
return _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
_context3.next = 2;
return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .ZP)("/api/sci/projects/sci_mirror_repositories.json", {
method: 'get',
params: params
});
case 2:
res = _context3.sent;
if ((params === null || params === void 0 ? void 0 : params.tab) === 'mine') {
setdatacount(res === null || res === void 0 ? void 0 : res.count);
}
setdatas(res);
case 5:
case "end":
return _context3.stop();
}
}, _callee3);
}));
return _getdata.apply(this, arguments);
}
function updataset(_x) {
return _updataset.apply(this, arguments);
}
function _updataset() {
_updataset = _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(data) {
return _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
setshowmodal(false);
getdata();
case 2:
case "end":
return _context4.stop();
}
}, _callee4);
}));
return _updataset.apply(this, arguments);
}
var handleCreateProject = function handleCreateProject(mirror_type, mirror_repository_id) {
if ((datas === null || datas === void 0 ? void 0 : datas.my_sci_projects_num) >= 10 && !(0,_utils_authority__WEBPACK_IMPORTED_MODULE_8__/* .isSuperAdmins */ .Ny)()) {
dispatch({
type: 'innovation/openSimpleModal',
payload: {
title: '镜像数量达到上限',
children: '每位用户最多只能创建10个镜像你的镜像数量已经达到上限。',
footer: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .ZP, {
onClick: function onClick() {
return dispatch({
type: 'innovation/closeSimpleModal'
});
},
type: "primary",
children: "\u6211\u77E5\u9053\u4E86"
})
}
});
return;
}
umi__WEBPACK_IMPORTED_MODULE_5__.history.push("/innovation/project/create?mirror_type=".concat(mirror_type, "&mirror_repository_id=").concat(mirror_repository_id, "&tab=").concat(params === null || params === void 0 ? void 0 : params.tab));
};
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, {
activeKey: params.tab,
onChange: function onChange(e) {
params.tab = e;
params.page = 1;
setparasm(params);
getdata();
},
tabBarExtraContent: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .ZP, {
type: "primary",
onClick: function onClick() {
if ((datas === null || datas === void 0 ? void 0 : datas.count) === 10 && !(0,_utils_authority__WEBPACK_IMPORTED_MODULE_8__/* .isSuperAdmins */ .Ny)()) {
antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"].warning */ .Z.warning({
title: '镜像数量达到上限',
content: '每位用户最多只能创建10个镜像你的镜像数量已经 达到上限。'
});
return;
}
setshowmodal(true);
},
children: "\u4E0A\u4F20\u955C\u50CF"
}),
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(TabPane, {
tab: (0,_utils_authority__WEBPACK_IMPORTED_MODULE_8__/* .isSuperAdmins */ .Ny)() ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].title */ .Z.title,
children: "\u6211\u7684\u955C\u50CF"
}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
title: "\u955C\u50CF\u4E0A\u965010\uFF0C\u5DF2\u7528".concat(datacount),
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("span", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].title */ .Z.title,
children: ["\u6211\u7684\u955C\u50CF\uFF08", datacount, "/10\uFF09"]
})
})
}, "mine"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(TabPane, {
tab: '他人共享'
}, "share")]
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
dataSource: datas === null || datas === void 0 ? void 0 : datas.sci_mirrors,
columns: [{
title: '序号',
dataIndex: 'filename',
key: 'filename',
render: function render(text, item, index) {
return params.limit * (params.page - 1) + index + 1;
}
}, {
title: '镜像名称',
dataIndex: 'name',
width: '20%',
ellipsis: true,
key: 'name'
}, {
title: '镜像类型',
dataIndex: 'mirror_type_cn',
key: 'mirror_type_cn',
width: '10%',
ellipsis: true
}, {
title: '镜像描述',
dataIndex: 'description',
key: 'description',
width: '20%',
ellipsis: true
}, {
title: '创建时间',
dataIndex: 'created_at',
key: 'created_at',
width: '10%',
ellipsis: true,
render: function render(text) {
return moment__WEBPACK_IMPORTED_MODULE_7___default()(text).format('YYYY-MM-DD HH:mm');
}
}, {
title: '创建者',
dataIndex: 'user_name',
key: 'user_name',
width: '10%',
ellipsis: true
}, {
title: '操作',
dataIndex: 'id',
key: 'id',
width: '20%',
render: function render(text, record) {
var mirror_type = record.mirror_type,
mirror_repository_id = record.mirror_repository_id;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].link */ .Z.link,
onClick: function onClick() {
return handleCreateProject(mirror_type, mirror_repository_id);
},
children: "\u521B\u5EFA\u9879\u76EE"
}), (params === null || params === void 0 ? void 0 : params.tab) === 'mine' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("a", {
style: {
marginLeft: 20,
color: 'red'
},
onClick: /*#__PURE__*/_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2() {
return _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"].confirm */ .Z.confirm({
title: '提示',
content: '当前镜像删除后不可恢复,是否确认删除',
okText: '确认',
cancelText: '取消',
onOk: function () {
var _onOk = _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee() {
var res;
return _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .ZP)("/api/sci/projects/del_mirror.json", {
method: 'delete',
body: {
mirror_id: text
}
});
case 2:
res = _context.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
params.page = 1;
setparasm(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params));
getdata();
}
case 4:
case "end":
return _context.stop();
}
}, _callee);
}));
function onOk() {
return _onOk.apply(this, arguments);
}
return onOk;
}()
});
case 1:
case "end":
return _context2.stop();
}
}, _callee2);
})),
children: "\u5220\u9664"
})]
});
}
}],
pagination: false
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
style: {
textAlign: 'center',
marginTop: 20
},
current: params.page,
showSizeChanger: false,
total: datas === null || datas === void 0 ? void 0 : datas.count,
pageSize: 10,
hideOnSinglePage: true,
onChange: function onChange(e) {
params.page = e, setparasm(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params));
getdata();
}
}), showmodal && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
title: "\u4E0A\u4F20\u955C\u50CF",
open: showmodal,
onCancel: function onCancel() {
if (loading < 100) {
antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"].confirm */ .Z.confirm({
title: '提示',
content: '还有文件暂未上传,是否取消',
okText: '确定',
cancelText: '取消',
onOk: function onOk() {
setloading(101);
setshowmodal(false);
}
});
return;
}
setcontent('');
setshowmodal(false);
},
okButtonProps: {
loading: loading < 100
},
onOk: function onOk() {
if (!content) {
antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"].info */ .ZP.info('请选择镜像类型');
return;
}
setloading(0);
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].wrap */ .Z.wrap,
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("label", {
style: {
color: 'red'
},
children: "*"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
children: "\u9009\u62E9\u6587\u4EF6"
}), " ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
children: "(\u5355\u4E2A\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100GB)"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components_SliceUpdate__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, {
setmd5List: updataset,
uploading: loading,
setloading: setloading,
content: content,
showmodal: showmodal
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("label", {
children: "\u955C\u50CF\u7C7B\u578B\uFF1A"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"].Group */ .ZP.Group, {
onChange: function onChange(e) {
setcontent(e.target.value);
},
value: content,
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .ZP, {
value: 1,
children: "\u56FE\u5F62\u5316"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .ZP, {
value: 2,
children: "\u547D\u4EE4\u884C"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .ZP, {
value: 4,
children: "JupyterLab"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .ZP, {
value: 3,
children: "JupyterNotebook"
})]
})]
})
})]
});
};
/* harmony default export */ __webpack_exports__["default"] = ((0,umi__WEBPACK_IMPORTED_MODULE_5__.connect)(function (_ref3) {
var innovation = _ref3.innovation;
return {
innovation: innovation
};
})(ProjectDetailPage));
/***/ }),
/***/ 71831:
/*!*************************************************!*\
!*** ./src/pages/Innovation/index.less?modules ***!
\*************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
// extracted by mini-css-extract-plugin
/* harmony default export */ __webpack_exports__["Z"] = ({"flex_box_center":"flex_box_center___enTkV","flex_space_between":"flex_space_between___j8LoK","flex_box_vertical_center":"flex_box_vertical_center___BJ6hp","flex_box_center_end":"flex_box_center_end___KZOQH","flex_box_column":"flex_box_column___Tzu7t","wrapper":"wrapper___DnUnJ","content_wrapper":"content_wrapper___F_rCn","base_modal_style":"base_modal_style___vKqRE","menu":"menu___BpwS6","submenu":"submenu___xDr82","link":"link___b9dc8","header":"header___yrRip","title":"title___oWojk","home":"home___D896G","info":"info___n4w60"});
/***/ })
}]);

@ -0,0 +1,128 @@
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Innovation/index.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___enTkV {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___j8LoK {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___BJ6hp {
align-items: center;
box-align: center;
}
.flex_box_center_end___KZOQH {
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___Tzu7t {
flex-direction: column;
box-orient: block-axis;
}
.wrapper___DnUnJ {
padding: 0 40px;
min-width: 1200px;
flex-wrap: nowrap;
}
.content_wrapper___F_rCn {
background-color: #fff;
padding: 28px 20px 30px 20px;
}
.base_modal_style___vKqRE div[class^='ant-modal-body'] {
padding: 32px;
}
.menu___BpwS6 {
height: calc(100% - 70px);
min-width: 200px;
}
.menu___BpwS6 li[class^='ant-menu-item'] {
font-size: 14px;
height: 50px;
display: flex;
align-items: center;
}
.menu___BpwS6 .submenu___xDr82 li[class^='ant-menu-item'],
.menu___BpwS6 .submenu___xDr82 div[class^='ant-menu-submenu-title'] {
font-size: 14px;
height: 50px;
display: flex;
align-items: center;
}
.menu___BpwS6 .submenu___xDr82 li[class^='ant-menu-item'] {
color: #6b758b;
}
.menu___BpwS6 .submenu___xDr82 li[class~='ant-menu-item-selected'] {
color: #0152d9;
}
.menu___BpwS6 .submenu___xDr82 ul {
background: none;
}
.link___b9dc8 {
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #165dff;
}
.link___b9dc8:hover {
cursor: pointer;
}
.header___yrRip {
display: flex;
justify-content: space-between;
}
.header___yrRip .title___oWojk {
font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #464f66;
}
.header___yrRip .title___oWojk::before {
content: '';
display: inline-block;
width: 4px;
height: 12px;
background: #242f49;
margin-right: 8px;
}
.home___D896G {
display: flex;
padding: 26px 36px;
align-items: center;
justify-content: center;
background: #fff;
cursor: pointer;
}
.home___D896G .info___n4w60 {
margin-left: 10px;
}
.home___D896G .info___n4w60 > div:first-child {
font-size: 20px;
font-weight: 500;
color: #0152d9;
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/SliceUpdate/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
[class~='ant-upload-drag'] {
background: rgba(24, 144, 255, 0.04) !important;
border-radius: 4px;
border: 1px dashed #0152d9;
}
.colorBlue___UHzQq {
color: #0152d9;
}
.repeatedName___dFCaT {
color: red;
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,53 @@
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Innovation/MyProject/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___vI0AN {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___lnVde {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___x1xpO {
align-items: center;
box-align: center;
}
.flex_box_center_end___fiRM8 {
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___erHFl {
flex-direction: column;
box-orient: block-axis;
}
.count___ZMhqS {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.header___w7qxt .title___cx4uQ {
font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #464f66;
}
.header___w7qxt .title___cx4uQ::before {
content: '';
display: inline-block;
width: 4px;
height: 12px;
background: #242f49;
margin-right: 8px;
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,48 @@
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Innovation/PublicDataSet/index.less?modules ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.wrap___3BW9K [class~='ant-upload-drag'] {
background: rgba(24, 144, 255, 0.04) !important;
border-radius: 4px;
border: 1px dashed #0152d9;
}
.wrap___3BW9K .colorBlue___IjEdf {
color: #0152d9;
}
.wrap___3BW9K .repeatedName___zqMsR {
color: red;
}
.header___MCuDa {
display: flex;
justify-content: space-between;
}
.header___MCuDa .title___FGsmi {
font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #464f66;
}
.header___MCuDa .title___FGsmi::before {
content: '';
display: inline-block;
width: 4px;
height: 12px;
background: #242f49;
margin-right: 8px;
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/SliceUpdate/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
[class~='ant-upload-drag'] {
background: rgba(24, 144, 255, 0.04) !important;
border-radius: 4px;
border: 1px dashed #0152d9;
}
.colorBlue___UHzQq {
color: #0152d9;
}
.repeatedName___dFCaT {
color: red;
}

@ -0,0 +1,461 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[11070],{
/***/ 65142:
/*!*****************************************************!*\
!*** ./src/pages/Innovation/PublicMirror/index.tsx ***!
\*****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424);
/* harmony import */ var _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd */ 88671);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 36182);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 71577);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 96074);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 76661);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 34435);
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! umi */ 88275);
/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/fetch */ 84519);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! moment */ 27484);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _utils_authority__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/utils/authority */ 7);
/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../index.less?modules */ 71831);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ 85893);
var Paragraph = antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"].Paragraph */ .Z.Paragraph;
var TabPane = antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"].TabPane */ .Z.TabPane;
var ProjectDetailPage = function ProjectDetailPage(_ref) {
var dispatch = _ref.dispatch;
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)({
limit: 10,
page: 1,
tab: 'public'
}),
_useState2 = _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2),
params = _useState2[0],
setparasm = _useState2[1];
var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)([]),
_useState4 = _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState3, 2),
datas = _useState4[0],
setdatas = _useState4[1];
(0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {
getdata();
}, []);
function getdata() {
return _getdata.apply(this, arguments);
}
function _getdata() {
_getdata = _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee() {
var res;
return _Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .ZP)("/api/sci/projects/sci_mirror_repositories.json", {
method: 'get',
params: params
});
case 2:
res = _context.sent;
setdatas(res);
case 4:
case "end":
return _context.stop();
}
}, _callee);
}));
return _getdata.apply(this, arguments);
}
var handleCreateProject = function handleCreateProject(mirror_type, mirror_repository_id) {
if ((datas === null || datas === void 0 ? void 0 : datas.my_sci_projects_num) >= 10 && !(0,_utils_authority__WEBPACK_IMPORTED_MODULE_8__/* .isSuperAdmins */ .Ny)()) {
dispatch({
type: 'innovation/openSimpleModal',
payload: {
title: '项目数量达到上限',
children: '每位用户最多只能创建10个项目你的项目数量已经达到上限。',
footer: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .ZP, {
onClick: function onClick() {
return dispatch({
type: 'innovation/closeSimpleModal'
});
},
type: "primary",
children: "\u6211\u77E5\u9053\u4E86"
})
}
});
return;
}
umi__WEBPACK_IMPORTED_MODULE_5__.history.push("/innovation/project/create?mirror_type=".concat(mirror_type, "&mirror_repository_id=").concat(mirror_repository_id, "&tab=public"));
};
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", {
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].header */ .Z.header,
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("span", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].title */ .Z.title,
children: "\u516C\u5F00\u955C\u50CF\u5217\u8868"
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
dataSource: datas === null || datas === void 0 ? void 0 : datas.sci_mirrors,
columns: [{
title: '序号',
dataIndex: 'filename',
key: 'filename',
render: function render(text, item, index) {
return params.limit * (params.page - 1) + index + 1;
}
}, {
title: '镜像名称',
dataIndex: 'name',
width: '20%',
ellipsis: true,
key: 'name'
}, {
title: '镜像类型',
dataIndex: 'mirror_type_cn',
key: 'mirror_type_cn',
width: '10%',
ellipsis: true
}, {
title: '镜像描述',
dataIndex: 'description',
key: 'description',
width: '20%',
ellipsis: true
}, {
title: '创建时间',
dataIndex: 'created_at',
key: 'created_at',
width: '10%',
ellipsis: true,
render: function render(text) {
return moment__WEBPACK_IMPORTED_MODULE_7___default()(text).format('YYYY-MM-DD HH:mm');
}
}, {
title: '创建者',
dataIndex: 'user_name',
key: 'user_name',
width: '10%',
ellipsis: true
}, {
title: '操作',
dataIndex: 'id',
key: 'id',
width: '20%',
ellipsis: true,
render: function render(text, record) {
var mirror_type = record.mirror_type,
mirror_repository_id = record.mirror_repository_id;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].link */ .Z.link,
onClick: function onClick() {
return handleCreateProject(mirror_type, mirror_repository_id);
},
children: "\u521B\u5EFA\u9879\u76EE"
});
}
}],
pagination: false
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
style: {
textAlign: 'center',
marginTop: 20
},
current: params.page,
total: datas === null || datas === void 0 ? void 0 : datas.count,
showSizeChanger: false,
pageSize: 10,
hideOnSinglePage: true,
onChange: function onChange(e) {
params.page = e, setparasm(_Users_dingyongkang_Documents_workspace_zhiqing_educoder_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params));
getdata();
}
})]
});
};
/* harmony default export */ __webpack_exports__["default"] = ((0,umi__WEBPACK_IMPORTED_MODULE_5__.connect)(function (_ref2) {
var innovation = _ref2.innovation;
return {
innovation: innovation
};
})(ProjectDetailPage));
/***/ }),
/***/ 71831:
/*!*************************************************!*\
!*** ./src/pages/Innovation/index.less?modules ***!
\*************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
// extracted by mini-css-extract-plugin
/* harmony default export */ __webpack_exports__["Z"] = ({"flex_box_center":"flex_box_center___enTkV","flex_space_between":"flex_space_between___j8LoK","flex_box_vertical_center":"flex_box_vertical_center___BJ6hp","flex_box_center_end":"flex_box_center_end___KZOQH","flex_box_column":"flex_box_column___Tzu7t","wrapper":"wrapper___DnUnJ","content_wrapper":"content_wrapper___F_rCn","base_modal_style":"base_modal_style___vKqRE","menu":"menu___BpwS6","submenu":"submenu___xDr82","link":"link___b9dc8","header":"header___yrRip","title":"title___oWojk","home":"home___D896G","info":"info___n4w60"});
/***/ }),
/***/ 96074:
/*!***********************************************************!*\
!*** ./node_modules/antd/es/divider/index.js + 1 modules ***!
\***********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ divider; }
});
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js
var style = __webpack_require__(14747);
// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js
var genComponentStyleHook = __webpack_require__(67968);
// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js
var statistic = __webpack_require__(45503);
;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js
// ============================== Shared ==============================
const genSharedDividerStyle = token => {
const {
componentCls,
sizePaddingEdgeHorizontal,
colorSplit,
lineWidth,
textPaddingInline,
orientationMargin,
verticalMarginInline
} = token;
return {
[componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
borderBlockStart: `${lineWidth}px solid ${colorSplit}`,
// vertical
'&-vertical': {
position: 'relative',
top: '-0.06em',
display: 'inline-block',
height: '0.9em',
marginInline: verticalMarginInline,
marginBlock: 0,
verticalAlign: 'middle',
borderTop: 0,
borderInlineStart: `${lineWidth}px solid ${colorSplit}`
},
'&-horizontal': {
display: 'flex',
clear: 'both',
width: '100%',
minWidth: '100%',
margin: `${token.dividerHorizontalGutterMargin}px 0`
},
[`&-horizontal${componentCls}-with-text`]: {
display: 'flex',
alignItems: 'center',
margin: `${token.dividerHorizontalWithTextGutterMargin}px 0`,
color: token.colorTextHeading,
fontWeight: 500,
fontSize: token.fontSizeLG,
whiteSpace: 'nowrap',
textAlign: 'center',
borderBlockStart: `0 ${colorSplit}`,
'&::before, &::after': {
position: 'relative',
width: '50%',
borderBlockStart: `${lineWidth}px solid transparent`,
// Chrome not accept `inherit` in `border-top`
borderBlockStartColor: 'inherit',
borderBlockEnd: 0,
transform: 'translateY(50%)',
content: "''"
}
},
[`&-horizontal${componentCls}-with-text-left`]: {
'&::before': {
width: `${orientationMargin * 100}%`
},
'&::after': {
width: `${100 - orientationMargin * 100}%`
}
},
[`&-horizontal${componentCls}-with-text-right`]: {
'&::before': {
width: `${100 - orientationMargin * 100}%`
},
'&::after': {
width: `${orientationMargin * 100}%`
}
},
[`${componentCls}-inner-text`]: {
display: 'inline-block',
paddingBlock: 0,
paddingInline: textPaddingInline
},
'&-dashed': {
background: 'none',
borderColor: colorSplit,
borderStyle: 'dashed',
borderWidth: `${lineWidth}px 0 0`
},
[`&-horizontal${componentCls}-with-text${componentCls}-dashed`]: {
'&::before, &::after': {
borderStyle: 'dashed none none'
}
},
[`&-vertical${componentCls}-dashed`]: {
borderInlineStartWidth: lineWidth,
borderInlineEnd: 0,
borderBlockStart: 0,
borderBlockEnd: 0
},
[`&-plain${componentCls}-with-text`]: {
color: token.colorText,
fontWeight: 'normal',
fontSize: token.fontSize
},
[`&-horizontal${componentCls}-with-text-left${componentCls}-no-default-orientation-margin-left`]: {
'&::before': {
width: 0
},
'&::after': {
width: '100%'
},
[`${componentCls}-inner-text`]: {
paddingInlineStart: sizePaddingEdgeHorizontal
}
},
[`&-horizontal${componentCls}-with-text-right${componentCls}-no-default-orientation-margin-right`]: {
'&::before': {
width: '100%'
},
'&::after': {
width: 0
},
[`${componentCls}-inner-text`]: {
paddingInlineEnd: sizePaddingEdgeHorizontal
}
}
})
};
};
// ============================== Export ==============================
/* harmony default export */ var divider_style = ((0,genComponentStyleHook/* default */.Z)('Divider', token => {
const dividerToken = (0,statistic/* merge */.TS)(token, {
dividerHorizontalWithTextGutterMargin: token.margin,
dividerHorizontalGutterMargin: token.marginLG,
sizePaddingEdgeHorizontal: 0
});
return [genSharedDividerStyle(dividerToken)];
}, token => ({
textPaddingInline: '1em',
orientationMargin: 0.05,
verticalMarginInline: token.marginXS
})));
;// CONCATENATED MODULE: ./node_modules/antd/es/divider/index.js
"use client";
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
const Divider = props => {
const {
getPrefixCls,
direction,
divider
} = react.useContext(context/* ConfigContext */.E_);
const {
prefixCls: customizePrefixCls,
type = 'horizontal',
orientation = 'center',
orientationMargin,
className,
rootClassName,
children,
dashed,
plain,
style
} = props,
restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "plain", "style"]);
const prefixCls = getPrefixCls('divider', customizePrefixCls);
const [wrapSSR, hashId] = divider_style(prefixCls);
const orientationPrefix = orientation.length > 0 ? `-${orientation}` : orientation;
const hasChildren = !!children;
const hasCustomMarginLeft = orientation === 'left' && orientationMargin != null;
const hasCustomMarginRight = orientation === 'right' && orientationMargin != null;
const classString = classnames_default()(prefixCls, divider === null || divider === void 0 ? void 0 : divider.className, hashId, `${prefixCls}-${type}`, {
[`${prefixCls}-with-text`]: hasChildren,
[`${prefixCls}-with-text${orientationPrefix}`]: hasChildren,
[`${prefixCls}-dashed`]: !!dashed,
[`${prefixCls}-plain`]: !!plain,
[`${prefixCls}-rtl`]: direction === 'rtl',
[`${prefixCls}-no-default-orientation-margin-left`]: hasCustomMarginLeft,
[`${prefixCls}-no-default-orientation-margin-right`]: hasCustomMarginRight
}, className, rootClassName);
const memoizedOrientationMargin = react.useMemo(() => {
if (typeof orientationMargin === 'number') {
return orientationMargin;
}
if (/^\d+$/.test(orientationMargin)) {
return Number(orientationMargin);
}
return orientationMargin;
}, [orientationMargin]);
const innerStyle = Object.assign(Object.assign({}, hasCustomMarginLeft && {
marginLeft: memoizedOrientationMargin
}), hasCustomMarginRight && {
marginRight: memoizedOrientationMargin
});
// Warning children not work in vertical mode
if (false) {}
return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({
className: classString,
style: Object.assign(Object.assign({}, divider === null || divider === void 0 ? void 0 : divider.style), style)
}, restProps, {
role: "separator"
}), children && type !== 'vertical' && /*#__PURE__*/react.createElement("span", {
className: `${prefixCls}-inner-text`,
style: innerStyle
}, children)));
};
if (false) {}
/* harmony default export */ var divider = (Divider);
/***/ })
}]);

@ -0,0 +1,113 @@
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Innovation/index.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___enTkV {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___j8LoK {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___BJ6hp {
align-items: center;
box-align: center;
}
.flex_box_center_end___KZOQH {
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___Tzu7t {
flex-direction: column;
box-orient: block-axis;
}
.wrapper___DnUnJ {
padding: 0 40px;
min-width: 1200px;
flex-wrap: nowrap;
}
.content_wrapper___F_rCn {
background-color: #fff;
padding: 28px 20px 30px 20px;
}
.base_modal_style___vKqRE div[class^='ant-modal-body'] {
padding: 32px;
}
.menu___BpwS6 {
height: calc(100% - 70px);
min-width: 200px;
}
.menu___BpwS6 li[class^='ant-menu-item'] {
font-size: 14px;
height: 50px;
display: flex;
align-items: center;
}
.menu___BpwS6 .submenu___xDr82 li[class^='ant-menu-item'],
.menu___BpwS6 .submenu___xDr82 div[class^='ant-menu-submenu-title'] {
font-size: 14px;
height: 50px;
display: flex;
align-items: center;
}
.menu___BpwS6 .submenu___xDr82 li[class^='ant-menu-item'] {
color: #6b758b;
}
.menu___BpwS6 .submenu___xDr82 li[class~='ant-menu-item-selected'] {
color: #0152d9;
}
.menu___BpwS6 .submenu___xDr82 ul {
background: none;
}
.link___b9dc8 {
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #165dff;
}
.link___b9dc8:hover {
cursor: pointer;
}
.header___yrRip {
display: flex;
justify-content: space-between;
}
.header___yrRip .title___oWojk {
font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #464f66;
}
.header___yrRip .title___oWojk::before {
content: '';
display: inline-block;
width: 4px;
height: 12px;
background: #242f49;
margin-right: 8px;
}
.home___D896G {
display: flex;
padding: 26px 36px;
align-items: center;
justify-content: center;
background: #fff;
cursor: pointer;
}
.home___D896G .info___n4w60 {
margin-left: 10px;
}
.home___D896G .info___n4w60 > div:first-child {
font-size: 20px;
font-weight: 500;
color: #0152d9;
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,113 @@
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Innovation/index.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___enTkV {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___j8LoK {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___BJ6hp {
align-items: center;
box-align: center;
}
.flex_box_center_end___KZOQH {
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___Tzu7t {
flex-direction: column;
box-orient: block-axis;
}
.wrapper___DnUnJ {
padding: 0 40px;
min-width: 1200px;
flex-wrap: nowrap;
}
.content_wrapper___F_rCn {
background-color: #fff;
padding: 28px 20px 30px 20px;
}
.base_modal_style___vKqRE div[class^='ant-modal-body'] {
padding: 32px;
}
.menu___BpwS6 {
height: calc(100% - 70px);
min-width: 200px;
}
.menu___BpwS6 li[class^='ant-menu-item'] {
font-size: 14px;
height: 50px;
display: flex;
align-items: center;
}
.menu___BpwS6 .submenu___xDr82 li[class^='ant-menu-item'],
.menu___BpwS6 .submenu___xDr82 div[class^='ant-menu-submenu-title'] {
font-size: 14px;
height: 50px;
display: flex;
align-items: center;
}
.menu___BpwS6 .submenu___xDr82 li[class^='ant-menu-item'] {
color: #6b758b;
}
.menu___BpwS6 .submenu___xDr82 li[class~='ant-menu-item-selected'] {
color: #0152d9;
}
.menu___BpwS6 .submenu___xDr82 ul {
background: none;
}
.link___b9dc8 {
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #165dff;
}
.link___b9dc8:hover {
cursor: pointer;
}
.header___yrRip {
display: flex;
justify-content: space-between;
}
.header___yrRip .title___oWojk {
font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #464f66;
}
.header___yrRip .title___oWojk::before {
content: '';
display: inline-block;
width: 4px;
height: 12px;
background: #242f49;
margin-right: 8px;
}
.home___D896G {
display: flex;
padding: 26px 36px;
align-items: center;
justify-content: center;
background: #fff;
cursor: pointer;
}
.home___D896G .info___n4w60 {
margin-left: 10px;
}
.home___D896G .info___n4w60 > div:first-child {
font-size: 20px;
font-weight: 500;
color: #0152d9;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save