Auto Submit

dev_local_v9_test4
autosubmit 1 year ago
parent b36678f790
commit ebe3ef7ab1

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[14882,1024],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[14882,1024,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[16473,91056,18880,29642,96594,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[16473,91056,18880,29642,96594,1024,14882,27155,44407],{
/***/ 680:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[16862,84360,7385,21642,60499,92952,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[16862,84360,7385,21642,60499,92952,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[17103,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[17103,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[18880,91056,29642,96594,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[18880,91056,29642,96594,1024,14882,27155,44407],{
/***/ 680:
/*!*******************************************************************************************************************!*\

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[19059,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[19059,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[21321,84360,93826,35019,38660,1024,14882,11021],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[21321,84360,93826,35019,38660,1024,14882,27155,44407,11021],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[21642,84360,7385,60499,92952,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[21642,84360,7385,60499,92952,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[23647,91056,18880,29642,96594,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[23647,91056,18880,29642,96594,1024,14882,27155,44407],{
/***/ 680:
/*!*******************************************************************************************************************!*\

@ -0,0 +1,787 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[27155,1024,14882,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\
!*** ./node_modules/_@ant-design_icons@5.5.1@@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@7.25.7@@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(19973);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@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/_@ant-design_icons@5.5.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(22589);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@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_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_EyeOutlined
}));
};
/**![eye](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTk0Mi4yIDQ4Ni4yQzg0Ny40IDI4Ni41IDcwNC4xIDE4NiA1MTIgMTg2Yy0xOTIuMiAwLTMzNS40IDEwMC41LTQzMC4yIDMwMC4zYTYwLjMgNjAuMyAwIDAwMCA1MS41QzE3Ni42IDczNy41IDMxOS45IDgzOCA1MTIgODM4YzE5Mi4yIDAgMzM1LjQtMTAwLjUgNDMwLjItMzAwLjMgNy43LTE2LjIgNy43LTM1IDAtNTEuNXpNNTEyIDc2NmMtMTYxLjMgMC0yNzkuNC04MS44LTM2Mi43LTI1NEMyMzIuNiAzMzkuOCAzNTAuNyAyNTggNTEyIDI1OGMxNjEuMyAwIDI3OS40IDgxLjggMzYyLjcgMjU0Qzc5MS41IDY4NC4yIDY3My40IDc2NiA1MTIgNzY2em0tNC00MzBjLTk3LjIgMC0xNzYgNzguOC0xNzYgMTc2czc4LjggMTc2IDE3NiAxNzYgMTc2LTc4LjggMTc2LTE3Ni03OC44LTE3Ni0xNzYtMTc2em0wIDI4OGMtNjEuOSAwLTExMi01MC4xLTExMi0xMTJzNTAuMS0xMTIgMTEyLTExMiAxMTIgNTAuMSAxMTIgMTEyLTUwLjEgMTEyLTExMiAxMTJ6IiAvPjwvc3ZnPg==) */
var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(EyeOutlined_EyeOutlined);
if (false) {}
/* harmony default export */ var icons_EyeOutlined = (RefIcon);
/***/ }),
/***/ 38854:
/*!************************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules ***!
\************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ es_dropdown; }
});
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown.js
var dropdown = __webpack_require__(91857);
// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
var _classnames_2_5_1_classnames = __webpack_require__(92310);
var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules
var EllipsisOutlined = __webpack_require__(94172);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules
var space = __webpack_require__(81327);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js
var Compact = __webpack_require__(33234);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/style/index.js + 1 modules
var style = __webpack_require__(47211);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown-button.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 DropdownButton = props => {
const {
getPopupContainer: getContextPopupContainer,
getPrefixCls,
direction
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
const {
prefixCls: customizePrefixCls,
type = 'default',
danger,
disabled,
loading,
onClick,
htmlType,
children,
className,
menu,
arrow,
autoFocus,
overlay,
trigger,
align,
open,
onOpenChange,
placement,
getPopupContainer,
href,
icon = /*#__PURE__*/_react_17_0_2_react.createElement(EllipsisOutlined/* default */.Z, null),
title,
buttonsRender = buttons => buttons,
mouseEnterDelay,
mouseLeaveDelay,
overlayClassName,
overlayStyle,
destroyPopupOnHide,
dropdownRender
} = props,
restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]);
const prefixCls = getPrefixCls('dropdown', customizePrefixCls);
const buttonPrefixCls = `${prefixCls}-button`;
const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls);
const dropdownProps = {
menu,
arrow,
autoFocus,
align,
disabled,
trigger: disabled ? [] : trigger,
onOpenChange,
getPopupContainer: getPopupContainer || getContextPopupContainer,
mouseEnterDelay,
mouseLeaveDelay,
overlayClassName,
overlayStyle,
destroyPopupOnHide,
dropdownRender
};
const {
compactSize,
compactItemClassnames
} = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction);
const classes = _classnames_2_5_1_classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId);
if ('overlay' in props) {
dropdownProps.overlay = overlay;
}
if ('open' in props) {
dropdownProps.open = open;
}
if ('placement' in props) {
dropdownProps.placement = placement;
} else {
dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight';
}
const leftButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, {
type: type,
danger: danger,
disabled: disabled,
loading: loading,
onClick: onClick,
htmlType: htmlType,
href: href,
title: title
}, children);
const rightButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, {
type: type,
danger: danger,
icon: icon
});
const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]);
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(space/* default */.Z.Compact, Object.assign({
className: classes,
size: compactSize,
block: true
}, restProps), leftButtonToRender, /*#__PURE__*/_react_17_0_2_react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender)));
};
DropdownButton.__ANT_BUTTON = true;
/* harmony default export */ var dropdown_button = (DropdownButton);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js
"use client";
const Dropdown = dropdown/* default */.Z;
Dropdown.Button = dropdown_button;
/* harmony default export */ var es_dropdown = (Dropdown);
/***/ }),
/***/ 73782:
/*!*********************************************************************!*\
!*** ./node_modules/_antd@5.9.0@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@2.5.1@classnames/index.js
var _classnames_2_5_1_classnames = __webpack_require__(92310);
var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/context.js
var form_context = __webpack_require__(32441);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/style/index.js
var style = __webpack_require__(9937);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Group.js
"use client";
const Group = props => {
const {
getPrefixCls,
direction
} = (0,_react_17_0_2_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_2_5_1_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_17_0_2_react.useContext)(form_context/* FormItemInputContext */.aM);
const groupFormItemContext = (0,_react_17_0_2_react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), {
isFormItemInput: false
}), [formItemContext]);
if (false) {}
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("span", {
className: cls,
style: props.style,
onMouseEnter: props.onMouseEnter,
onMouseLeave: props.onMouseLeave,
onFocus: props.onFocus,
onBlur: props.onBlur
}, /*#__PURE__*/_react_17_0_2_react.createElement(form_context/* FormItemInputContext */.aM.Provider, {
value: groupFormItemContext
}, props.children)));
};
/* harmony default export */ var input_Group = (Group);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Input.js + 1 modules
var Input = __webpack_require__(9432);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(19973);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@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/_@ant-design_icons@5.5.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(22589);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@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_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_EyeInvisibleOutlined
}));
};
/**![eye-invisible](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTk0Mi4yIDQ4Ni4yUTg4OS40NyAzNzUuMTEgODE2LjcgMzA1bC01MC44OCA1MC44OEM4MDcuMzEgMzk1LjUzIDg0My40NSA0NDcuNCA4NzQuNyA1MTIgNzkxLjUgNjg0LjIgNjczLjQgNzY2IDUxMiA3NjZxLTcyLjY3IDAtMTMzLjg3LTIyLjM4TDMyMyA3OTguNzVRNDA4IDgzOCA1MTIgODM4cTI4OC4zIDAgNDMwLjItMzAwLjNhNjAuMjkgNjAuMjkgMCAwMDAtNTEuNXptLTYzLjU3LTMyMC42NEw4MzYgMTIyLjg4YTggOCAwIDAwLTExLjMyIDBMNzE1LjMxIDIzMi4yUTYyNC44NiAxODYgNTEyIDE4NnEtMjg4LjMgMC00MzAuMiAzMDAuM2E2MC4zIDYwLjMgMCAwMDAgNTEuNXE1Ni42OSAxMTkuNCAxMzYuNSAxOTEuNDFMMTEyLjQ4IDgzNWE4IDggMCAwMDAgMTEuMzFMMTU1LjE3IDg4OWE4IDggMCAwMDExLjMxIDBsNzEyLjE1LTcxMi4xMmE4IDggMCAwMDAtMTEuMzJ6TTE0OS4zIDUxMkMyMzIuNiAzMzkuOCAzNTAuNyAyNTggNTEyIDI1OGM1NC41NCAwIDEwNC4xMyA5LjM2IDE0OS4xMiAyOC4zOWwtNzAuMyA3MC4zYTE3NiAxNzYgMCAwMC0yMzguMTMgMjM4LjEzbC04My40MiA4My40MkMyMjMuMSA2MzcuNDkgMTgzLjMgNTgyLjI4IDE0OS4zIDUxMnptMjQ2LjcgMGExMTIuMTEgMTEyLjExIDAgMDExNDYuMi0xMDYuNjlMNDAxLjMxIDU0Ni4yQTExMiAxMTIgMCAwMTM5NiA1MTJ6IiAvPjxwYXRoIGQ9Ik01MDggNjI0Yy0zLjQ2IDAtNi44Ny0uMTYtMTAuMjUtLjQ3bC01Mi44MiA1Mi44MmExNzYuMDkgMTc2LjA5IDAgMDAyMjcuNDItMjI3LjQybC01Mi44MiA1Mi44MmMuMzEgMy4zOC40NyA2Ljc5LjQ3IDEwLjI1YTExMS45NCAxMTEuOTQgMCAwMS0xMTIgMTEyeiIgLz48L3N2Zz4=) */
var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined);
if (false) {}
/* harmony default export */ var icons_EyeInvisibleOutlined = (RefIcon);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/EyeOutlined.js + 1 modules
var EyeOutlined = __webpack_require__(50382);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/omit.js
var omit = __webpack_require__(55405);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/ref.js
var es_ref = __webpack_require__(25629);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/hooks/useRemovePasswordTimeout.js
var useRemovePasswordTimeout = __webpack_require__(59412);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@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_17_0_2_react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/_react_17_0_2_react.createElement(icons_EyeInvisibleOutlined, null);
const ActionMap = {
click: 'onClick',
hover: 'onMouseOver'
};
const Password = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
const {
visibilityToggle = true
} = props;
const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined;
const [visible, setVisible] = (0,_react_17_0_2_react.useState)(() => visibilityControlled ? visibilityToggle.visible : false);
const inputRef = (0,_react_17_0_2_react.useRef)(null);
_react_17_0_2_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_17_0_2_react.cloneElement( /*#__PURE__*/_react_17_0_2_react.isValidElement(icon) ? icon : /*#__PURE__*/_react_17_0_2_react.createElement("span", null, icon), iconProps);
};
const {
className,
prefixCls: customizePrefixCls,
inputPrefixCls: customizeInputPrefixCls,
size
} = props,
restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]);
const {
getPrefixCls
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
const prefixCls = getPrefixCls('input-password', customizePrefixCls);
const suffixIcon = visibilityToggle && getIcon(prefixCls);
const inputClassName = _classnames_2_5_1_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_17_0_2_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/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/SearchOutlined.js + 1 modules
var SearchOutlined = __webpack_require__(42653);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/reactNode.js
var reactNode = __webpack_require__(92343);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useSize.js
var useSize = __webpack_require__(19716);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js
var Compact = __webpack_require__(33234);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@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_17_0_2_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_17_0_2_react.useContext(context/* ConfigContext */.E_);
const composedRef = _react_17_0_2_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_17_0_2_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_17_0_2_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_17_0_2_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_2_5_1_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_17_0_2_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@5.9.0@antd/es/input/TextArea.js
var TextArea = __webpack_require__(1643);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@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);
/***/ }),
/***/ 81327:
/*!*********************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules ***!
\*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ space; }
});
// UNUSED EXPORTS: SpaceContext
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
var _classnames_2_5_1_classnames = __webpack_require__(92310);
var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/Children/toArray.js
var toArray = __webpack_require__(75440);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js
var Compact = __webpack_require__(33234);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/context.js
const SpaceContext = /*#__PURE__*/_react_17_0_2_react.createContext({
latestIndex: 0
});
const SpaceContextProvider = SpaceContext.Provider;
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Item.js
"use client";
const Item = _ref => {
let {
className,
index,
children,
split,
style
} = _ref;
const {
latestIndex
} = _react_17_0_2_react.useContext(SpaceContext);
if (children === null || children === undefined) {
return null;
}
return /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /*#__PURE__*/_react_17_0_2_react.createElement("div", {
className: className,
style: style
}, children), index < latestIndex && split && /*#__PURE__*/_react_17_0_2_react.createElement("span", {
className: `${className}-split`
}, split));
};
/* harmony default export */ var space_Item = (Item);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/style/index.js + 1 modules
var space_style = __webpack_require__(2856);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/utils.js
function isPresetSize(size) {
return ['small', 'middle', 'large'].includes(size);
}
function isValidGapNumber(size) {
if (!size) {
// The case of size = 0 is deliberately excluded here, because the default value of the gap attribute in CSS is 0, so if the user passes 0 in, we can directly ignore it.
return false;
}
return typeof size === 'number' && !Number.isNaN(size);
}
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/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 Space = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
var _a, _b;
const {
getPrefixCls,
space,
direction: directionConfig
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
const {
size = (space === null || space === void 0 ? void 0 : space.size) || 'small',
align,
className,
rootClassName,
children,
direction = 'horizontal',
prefixCls: customizePrefixCls,
split,
style,
wrap = false,
classNames: customClassNames,
styles
} = props,
otherProps = __rest(props, ["size", "align", "className", "rootClassName", "children", "direction", "prefixCls", "split", "style", "wrap", "classNames", "styles"]);
const [horizontalSize, verticalSize] = Array.isArray(size) ? size : [size, size];
const isPresetVerticalSize = isPresetSize(verticalSize);
const isPresetHorizontalSize = isPresetSize(horizontalSize);
const isValidVerticalSize = isValidGapNumber(verticalSize);
const isValidHorizontalSize = isValidGapNumber(horizontalSize);
const childNodes = (0,toArray/* default */.Z)(children, {
keepEmpty: true
});
const mergedAlign = align === undefined && direction === 'horizontal' ? 'center' : align;
const prefixCls = getPrefixCls('space', customizePrefixCls);
const [wrapSSR, hashId] = (0,space_style/* default */.Z)(prefixCls);
const cls = _classnames_2_5_1_classnames_default()(prefixCls, space === null || space === void 0 ? void 0 : space.className, hashId, `${prefixCls}-${direction}`, {
[`${prefixCls}-rtl`]: directionConfig === 'rtl',
[`${prefixCls}-align-${mergedAlign}`]: mergedAlign,
[`${prefixCls}-gap-row-${verticalSize}`]: isPresetVerticalSize,
[`${prefixCls}-gap-col-${horizontalSize}`]: isPresetHorizontalSize
}, className, rootClassName);
const itemClassName = _classnames_2_5_1_classnames_default()(`${prefixCls}-item`, (_a = customClassNames === null || customClassNames === void 0 ? void 0 : customClassNames.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.classNames) === null || _b === void 0 ? void 0 : _b.item);
// Calculate latest one
let latestIndex = 0;
const nodes = childNodes.map((child, i) => {
var _a, _b;
if (child !== null && child !== undefined) {
latestIndex = i;
}
const key = child && child.key || `${itemClassName}-${i}`;
return /*#__PURE__*/_react_17_0_2_react.createElement(space_Item, {
className: itemClassName,
key: key,
index: i,
split: split,
style: (_a = styles === null || styles === void 0 ? void 0 : styles.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.styles) === null || _b === void 0 ? void 0 : _b.item
}, child);
});
const spaceContext = _react_17_0_2_react.useMemo(() => ({
latestIndex
}), [latestIndex]);
// =========================== Render ===========================
if (childNodes.length === 0) {
return null;
}
const gapStyle = {};
if (wrap) {
gapStyle.flexWrap = 'wrap';
}
if (!isPresetHorizontalSize && isValidHorizontalSize) {
gapStyle.columnGap = horizontalSize;
}
if (!isPresetVerticalSize && isValidVerticalSize) {
gapStyle.rowGap = verticalSize;
}
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({
ref: ref,
className: cls,
style: Object.assign(Object.assign(Object.assign({}, gapStyle), space === null || space === void 0 ? void 0 : space.style), style)
}, otherProps), /*#__PURE__*/_react_17_0_2_react.createElement(SpaceContextProvider, {
value: spaceContext
}, nodes)));
});
if (false) {}
const CompoundedSpace = Space;
CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony default export */ var space = (CompoundedSpace);
/***/ })
}]);

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[29642,91056,18880,96594,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[29642,91056,18880,96594,1024,14882,27155,44407],{
/***/ 680:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[34765,78169,58268,25473,81120,91056,18880,29642,96594,1024,14882,52708,11021],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[34765,78169,58268,25473,81120,91056,18880,29642,96594,1024,14882,27155,44407,52708,11021],{
/***/ 71371:
/*!********************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[35019,84360,21321,93826,38660,1024,14882,11021],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[35019,84360,21321,93826,38660,1024,14882,27155,44407,11021],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,373 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[19360],{
/***/ 18987:
/*!*******************************************************************!*\
!*** ./src/pages/User/Detail/virtualSpaces/index.tsx + 3 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 */ virtualSpaces; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(7557);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
var objectSpread2 = __webpack_require__(82242);
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(41498);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(79800);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__(39647);
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(65659);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tabs/index.js + 24 modules
var tabs = __webpack_require__(99313);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/skeleton/index.js + 12 modules
var skeleton = __webpack_require__(96865);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules
var pagination = __webpack_require__(27092);
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(94255);
// EXTERNAL MODULE: ./src/utils/util.tsx
var util = __webpack_require__(84357);
;// CONCATENATED MODULE: ./src/pages/User/Detail/virtualSpaces/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var virtualSpacesmodules = ({"flex_box_center":"flex_box_center___zMMsd","flex_space_between":"flex_space_between___jt9k_","flex_box_vertical_center":"flex_box_vertical_center___BOPuh","flex_box_center_end":"flex_box_center_end___r_Iu0","flex_box_column":"flex_box_column___FOne9","order":"order___Qysjp","content":"content___IUWof","w1":"w1___W6edK","w2":"w2___WlZJP","w3":"w3___VfQ_s","w4":"w4___JaF4v","w5":"w5___dZmAB","w6":"w6___lKqpD","listTitle":"listTitle___mK0Um","listContent":"listContent___EJ710","info":"info___f0Irx","d1":"d1___ZqEOx","d2":"d2___FGqo_","d3":"d3___PwKy3","unitPrice":"unitPrice___A_1Mb","p":"p____3Bip","l":"l___f_rxJ","payType":"payType___BItlK","price":"price___c198g","status":"status___mYgsx","action":"action___cdhRD"});
;// CONCATENATED MODULE: ./src/pages/User/Detail/virtualSpaces/List/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Listmodules = ({"flex_box_center":"flex_box_center___HFQZB","flex_space_between":"flex_space_between___zFFul","flex_box_vertical_center":"flex_box_vertical_center___io4tB","flex_box_center_end":"flex_box_center_end___H6Abs","flex_box_column":"flex_box_column___GQMTL","listWarp":"listWarp___BsT0V","li":"li___ndfmM","img":"img___Ric6Z","name":"name___aCd4t","e":"e___aP2FC"});
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(92387);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/User/Detail/virtualSpaces/List/index.tsx
var List = function List(_ref) {
var data = _ref.data,
_ref$marginLeft = _ref.marginLeft,
marginLeft = _ref$marginLeft === void 0 ? 21 : _ref$marginLeft,
_ref$listWarpStyle = _ref.listWarpStyle,
listWarpStyle = _ref$listWarpStyle === void 0 ? {} : _ref$listWarpStyle,
_ref$width = _ref.width,
width = _ref$width === void 0 ? 282 : _ref$width,
_ref$height = _ref.height,
height = _ref$height === void 0 ? 257 : _ref$height;
return /*#__PURE__*/(0,jsx_runtime.jsx)("ul", {
className: Listmodules.listWarp,
style: listWarpStyle,
children: data.map(function (item, index) {
var name = item.name,
id = item.id,
backbground_image_url = item.backbground_image_url,
cover_url = item.cover_url,
category_url = item.category_url;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
target: "_blank",
href: category_url,
className: Listmodules.li,
style: {
marginLeft: marginLeft,
width: width,
height: height
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Listmodules.img,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: env/* default */.Z.IMG_SERVER + cover_url,
alt: "\u5C01\u9762\u56FE"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Listmodules.name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Listmodules.e,
children: name
})
})
})]
}, index);
})
});
};
/* harmony default export */ var virtualSpaces_List = (List);
// EXTERNAL MODULE: ./src/assets/images/noEnvData.png
var noEnvData = __webpack_require__(36723);
// EXTERNAL MODULE: ./src/pages/virtualSpaces/components/AddOrEdit/index.tsx + 1 modules
var AddOrEdit = __webpack_require__(84080);
// EXTERNAL MODULE: ./src/utils/verifyLogin.tsx + 2 modules
var verifyLogin = __webpack_require__(51425);
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(39067);
// EXTERNAL MODULE: ./src/components/ui-customization/index.tsx + 32 modules
var ui_customization = __webpack_require__(73210);
;// CONCATENATED MODULE: ./src/pages/User/Detail/virtualSpaces/index.tsx
var _excluded = ["user", "userDetail", "globalSetting", "dispatch"];
var TabPane = tabs/* default */.Z.TabPane;
var Paths = function Paths(_ref) {
var _user$userInfo;
var user = _ref.user,
userDetail = _ref.userDetail,
globalSetting = _ref.globalSetting,
dispatch = _ref.dispatch,
props = objectWithoutProperties_default()(_ref, _excluded);
var _useSearchParams = (0,_umi_production_exports.useSearchParams)(),
_useSearchParams2 = slicedToArray_default()(_useSearchParams, 1),
searchParams = _useSearchParams2[0];
var location = (0,_umi_production_exports.useLocation)();
var _useState = (0,_react_17_0_2_react.useState)({
category: searchParams.get("category") || 'all',
page: 1,
limit: 15
}),
_useState2 = slicedToArray_default()(_useState, 2),
params = _useState2[0],
setParams = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)([]),
_useState4 = slicedToArray_default()(_useState3, 2),
list = _useState4[0],
setList = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(0),
_useState6 = slicedToArray_default()(_useState5, 2),
total = _useState6[0],
setTotal = _useState6[1];
var _useState7 = (0,_react_17_0_2_react.useState)(true),
_useState8 = slicedToArray_default()(_useState7, 2),
loading = _useState8[0],
setLoading = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)(false),
_useState10 = slicedToArray_default()(_useState9, 2),
visible = _useState10[0],
setVisible = _useState10[1];
(0,_react_17_0_2_react.useEffect)(function () {
(0,util/* setDocumentTitle */.Dk)('虚拟社区');
getData(params);
}, []);
var getData = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(record) {
var c, res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
setLoading(true);
c = objectSpread2_default()({}, record);
_context.next = 4;
return (0,fetch/* default */.ZP)("/api/virtual_classrooms/mine.json", {
method: 'get',
params: c
});
case 4:
res = _context.sent;
if (res !== null && res !== void 0 && res.virtual_classrooms) {
setList(res === null || res === void 0 ? void 0 : res.virtual_classrooms);
setTotal(res === null || res === void 0 ? void 0 : res.total_count);
setLoading(false);
}
case 6:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getData(_x) {
return _ref2.apply(this, arguments);
};
}();
var handleTabsClick = function handleTabsClick(key) {
var _window$location$href;
if ((_window$location$href = window.location.href.toString()) !== null && _window$location$href !== void 0 && _window$location$href.includes('category')) {
(0,util/* replaceParamVal */.jz)('category', key);
} else {
window.history.replaceState(null, '', window.location.href.indexOf('?') > -1 ? window.location.href + "&category=".concat(key) : "?category=".concat(key));
}
params.category = key;
params.page = 1;
setParams(objectSpread2_default()({}, params));
getData(params);
};
var tabsMapping = [{
name: '全部',
id: 'all'
}, {
name: '我管理的',
id: 'manage'
}, {
name: '我参与的',
id: 'partake'
}];
var add = function add() {
if ((0,authority/* isSuperAdmins */.Ny)() || (0,verifyLogin/* handleProfessionalCertificationModal */.O5)()) {
setVisible(true);
}
};
var handleOk = /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(values, cb) {
var res;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
return (0,fetch/* default */.ZP)("/api/virtual_classrooms.json", {
method: 'post',
body: values
});
case 2:
res = _context2.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
getData(params);
setVisible(false);
setTimeout(function () {
(0,util/* openNewWindow */.xg)(res === null || res === void 0 ? void 0 : res.category_url);
}, 300);
dispatch({
type: 'shixunHomeworks/setActionTabs',
payload: {
key: '提示',
type: 99
}
});
}
cb(res);
case 5:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return function handleOk(_x2, _x3) {
return _ref3.apply(this, arguments);
};
}();
var handleChange = function handleChange(page) {
document.body.scrollIntoView();
params.page = page;
setParams(objectSpread2_default()({}, params));
getData(params);
};
var renderEmpty = function renderEmpty() {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
flexDirection: 'column',
margin: '100px 0 20px 0'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: noEnvData,
width: 204,
alt: ""
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#6A6A6A'
},
children: "\u6682\u65E0\u6570\u636E"
})]
});
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: virtualSpacesmodules.order,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomTabs */.YG, {
value: params === null || params === void 0 ? void 0 : params.category,
onChange: handleTabsClick,
tabBarExtraContent: (0,authority/* isLogin */.bg)() && (((_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.identity) === 'teacher' || (0,authority/* isSuperAdmins */.Ny)()) && /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
onClick: add,
children: "\u65B0\u5EFA\u865A\u62DF\u793E\u533A"
}),
className: "mb25",
dataSource: tabsMapping
}), /*#__PURE__*/(0,jsx_runtime.jsx)(skeleton/* default */.Z, {
loading: loading,
active: true,
paragraph: {
rows: 5
},
children: !!list.length ? /*#__PURE__*/(0,jsx_runtime.jsx)(virtualSpaces_List, {
data: list || []
}) : renderEmpty()
}), /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
hideOnSinglePage: true,
onChange: function onChange(page) {
return handleChange(page);
},
current: params.page,
pageSize: params.limit,
total: total,
showQuickJumper: true,
showSizeChanger: false,
showTotal: function showTotal(total) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "mr10",
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-orange",
children: total
}), "\u6761\u6570\u636E"]
});
},
className: "tc pb30"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(AddOrEdit/* default */.Z, {
visible: visible,
title: '新建虚拟社区',
onCancel: function onCancel() {
return setVisible(false);
},
onOk: handleOk
})]
});
};
/* harmony default export */ var virtualSpaces = ((0,_umi_production_exports.connect)(function (_ref4) {
var user = _ref4.user,
userDetail = _ref4.userDetail,
globalSetting = _ref4.globalSetting;
return {
user: user,
userDetail: userDetail,
globalSetting: globalSetting
};
})(Paths));
/***/ }),
(self["webpackChunk"] = self["webpackChunk"] || []).push([[36723],{
/***/ 36723:
/*!*****************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[37873,91056,18880,29642,96594,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[37873,91056,18880,29642,96594,1024,14882,27155,44407],{
/***/ 680:
/*!*******************************************************************************************************************!*\

File diff suppressed because it is too large Load Diff

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[38660,84360,21321,93826,35019,1024,14882,11021],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[38660,84360,21321,93826,35019,1024,14882,27155,44407,11021],{
/***/ 50382:
/*!*****************************************************************************************************!*\

File diff suppressed because it is too large Load Diff

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[41339,49166,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[41339,49166,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -0,0 +1,787 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[44407,1024,14882,27155],{
/***/ 50382:
/*!*****************************************************************************************************!*\
!*** ./node_modules/_@ant-design_icons@5.5.1@@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@7.25.7@@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(19973);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@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/_@ant-design_icons@5.5.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(22589);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@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_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_EyeOutlined
}));
};
/**![eye](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTk0Mi4yIDQ4Ni4yQzg0Ny40IDI4Ni41IDcwNC4xIDE4NiA1MTIgMTg2Yy0xOTIuMiAwLTMzNS40IDEwMC41LTQzMC4yIDMwMC4zYTYwLjMgNjAuMyAwIDAwMCA1MS41QzE3Ni42IDczNy41IDMxOS45IDgzOCA1MTIgODM4YzE5Mi4yIDAgMzM1LjQtMTAwLjUgNDMwLjItMzAwLjMgNy43LTE2LjIgNy43LTM1IDAtNTEuNXpNNTEyIDc2NmMtMTYxLjMgMC0yNzkuNC04MS44LTM2Mi43LTI1NEMyMzIuNiAzMzkuOCAzNTAuNyAyNTggNTEyIDI1OGMxNjEuMyAwIDI3OS40IDgxLjggMzYyLjcgMjU0Qzc5MS41IDY4NC4yIDY3My40IDc2NiA1MTIgNzY2em0tNC00MzBjLTk3LjIgMC0xNzYgNzguOC0xNzYgMTc2czc4LjggMTc2IDE3NiAxNzYgMTc2LTc4LjggMTc2LTE3Ni03OC44LTE3Ni0xNzYtMTc2em0wIDI4OGMtNjEuOSAwLTExMi01MC4xLTExMi0xMTJzNTAuMS0xMTIgMTEyLTExMiAxMTIgNTAuMSAxMTIgMTEyLTUwLjEgMTEyLTExMiAxMTJ6IiAvPjwvc3ZnPg==) */
var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(EyeOutlined_EyeOutlined);
if (false) {}
/* harmony default export */ var icons_EyeOutlined = (RefIcon);
/***/ }),
/***/ 38854:
/*!************************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules ***!
\************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ es_dropdown; }
});
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown.js
var dropdown = __webpack_require__(91857);
// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
var _classnames_2_5_1_classnames = __webpack_require__(92310);
var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules
var EllipsisOutlined = __webpack_require__(94172);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules
var space = __webpack_require__(81327);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js
var Compact = __webpack_require__(33234);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/style/index.js + 1 modules
var style = __webpack_require__(47211);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown-button.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 DropdownButton = props => {
const {
getPopupContainer: getContextPopupContainer,
getPrefixCls,
direction
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
const {
prefixCls: customizePrefixCls,
type = 'default',
danger,
disabled,
loading,
onClick,
htmlType,
children,
className,
menu,
arrow,
autoFocus,
overlay,
trigger,
align,
open,
onOpenChange,
placement,
getPopupContainer,
href,
icon = /*#__PURE__*/_react_17_0_2_react.createElement(EllipsisOutlined/* default */.Z, null),
title,
buttonsRender = buttons => buttons,
mouseEnterDelay,
mouseLeaveDelay,
overlayClassName,
overlayStyle,
destroyPopupOnHide,
dropdownRender
} = props,
restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]);
const prefixCls = getPrefixCls('dropdown', customizePrefixCls);
const buttonPrefixCls = `${prefixCls}-button`;
const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls);
const dropdownProps = {
menu,
arrow,
autoFocus,
align,
disabled,
trigger: disabled ? [] : trigger,
onOpenChange,
getPopupContainer: getPopupContainer || getContextPopupContainer,
mouseEnterDelay,
mouseLeaveDelay,
overlayClassName,
overlayStyle,
destroyPopupOnHide,
dropdownRender
};
const {
compactSize,
compactItemClassnames
} = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction);
const classes = _classnames_2_5_1_classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId);
if ('overlay' in props) {
dropdownProps.overlay = overlay;
}
if ('open' in props) {
dropdownProps.open = open;
}
if ('placement' in props) {
dropdownProps.placement = placement;
} else {
dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight';
}
const leftButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, {
type: type,
danger: danger,
disabled: disabled,
loading: loading,
onClick: onClick,
htmlType: htmlType,
href: href,
title: title
}, children);
const rightButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, {
type: type,
danger: danger,
icon: icon
});
const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]);
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(space/* default */.Z.Compact, Object.assign({
className: classes,
size: compactSize,
block: true
}, restProps), leftButtonToRender, /*#__PURE__*/_react_17_0_2_react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender)));
};
DropdownButton.__ANT_BUTTON = true;
/* harmony default export */ var dropdown_button = (DropdownButton);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js
"use client";
const Dropdown = dropdown/* default */.Z;
Dropdown.Button = dropdown_button;
/* harmony default export */ var es_dropdown = (Dropdown);
/***/ }),
/***/ 73782:
/*!*********************************************************************!*\
!*** ./node_modules/_antd@5.9.0@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@2.5.1@classnames/index.js
var _classnames_2_5_1_classnames = __webpack_require__(92310);
var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/context.js
var form_context = __webpack_require__(32441);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/style/index.js
var style = __webpack_require__(9937);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Group.js
"use client";
const Group = props => {
const {
getPrefixCls,
direction
} = (0,_react_17_0_2_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_2_5_1_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_17_0_2_react.useContext)(form_context/* FormItemInputContext */.aM);
const groupFormItemContext = (0,_react_17_0_2_react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), {
isFormItemInput: false
}), [formItemContext]);
if (false) {}
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("span", {
className: cls,
style: props.style,
onMouseEnter: props.onMouseEnter,
onMouseLeave: props.onMouseLeave,
onFocus: props.onFocus,
onBlur: props.onBlur
}, /*#__PURE__*/_react_17_0_2_react.createElement(form_context/* FormItemInputContext */.aM.Provider, {
value: groupFormItemContext
}, props.children)));
};
/* harmony default export */ var input_Group = (Group);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Input.js + 1 modules
var Input = __webpack_require__(9432);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(19973);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@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/_@ant-design_icons@5.5.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(22589);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@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_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_EyeInvisibleOutlined
}));
};
/**![eye-invisible](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTk0Mi4yIDQ4Ni4yUTg4OS40NyAzNzUuMTEgODE2LjcgMzA1bC01MC44OCA1MC44OEM4MDcuMzEgMzk1LjUzIDg0My40NSA0NDcuNCA4NzQuNyA1MTIgNzkxLjUgNjg0LjIgNjczLjQgNzY2IDUxMiA3NjZxLTcyLjY3IDAtMTMzLjg3LTIyLjM4TDMyMyA3OTguNzVRNDA4IDgzOCA1MTIgODM4cTI4OC4zIDAgNDMwLjItMzAwLjNhNjAuMjkgNjAuMjkgMCAwMDAtNTEuNXptLTYzLjU3LTMyMC42NEw4MzYgMTIyLjg4YTggOCAwIDAwLTExLjMyIDBMNzE1LjMxIDIzMi4yUTYyNC44NiAxODYgNTEyIDE4NnEtMjg4LjMgMC00MzAuMiAzMDAuM2E2MC4zIDYwLjMgMCAwMDAgNTEuNXE1Ni42OSAxMTkuNCAxMzYuNSAxOTEuNDFMMTEyLjQ4IDgzNWE4IDggMCAwMDAgMTEuMzFMMTU1LjE3IDg4OWE4IDggMCAwMDExLjMxIDBsNzEyLjE1LTcxMi4xMmE4IDggMCAwMDAtMTEuMzJ6TTE0OS4zIDUxMkMyMzIuNiAzMzkuOCAzNTAuNyAyNTggNTEyIDI1OGM1NC41NCAwIDEwNC4xMyA5LjM2IDE0OS4xMiAyOC4zOWwtNzAuMyA3MC4zYTE3NiAxNzYgMCAwMC0yMzguMTMgMjM4LjEzbC04My40MiA4My40MkMyMjMuMSA2MzcuNDkgMTgzLjMgNTgyLjI4IDE0OS4zIDUxMnptMjQ2LjcgMGExMTIuMTEgMTEyLjExIDAgMDExNDYuMi0xMDYuNjlMNDAxLjMxIDU0Ni4yQTExMiAxMTIgMCAwMTM5NiA1MTJ6IiAvPjxwYXRoIGQ9Ik01MDggNjI0Yy0zLjQ2IDAtNi44Ny0uMTYtMTAuMjUtLjQ3bC01Mi44MiA1Mi44MmExNzYuMDkgMTc2LjA5IDAgMDAyMjcuNDItMjI3LjQybC01Mi44MiA1Mi44MmMuMzEgMy4zOC40NyA2Ljc5LjQ3IDEwLjI1YTExMS45NCAxMTEuOTQgMCAwMS0xMTIgMTEyeiIgLz48L3N2Zz4=) */
var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined);
if (false) {}
/* harmony default export */ var icons_EyeInvisibleOutlined = (RefIcon);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/EyeOutlined.js + 1 modules
var EyeOutlined = __webpack_require__(50382);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/omit.js
var omit = __webpack_require__(55405);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/ref.js
var es_ref = __webpack_require__(25629);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/hooks/useRemovePasswordTimeout.js
var useRemovePasswordTimeout = __webpack_require__(59412);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@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_17_0_2_react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/_react_17_0_2_react.createElement(icons_EyeInvisibleOutlined, null);
const ActionMap = {
click: 'onClick',
hover: 'onMouseOver'
};
const Password = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
const {
visibilityToggle = true
} = props;
const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined;
const [visible, setVisible] = (0,_react_17_0_2_react.useState)(() => visibilityControlled ? visibilityToggle.visible : false);
const inputRef = (0,_react_17_0_2_react.useRef)(null);
_react_17_0_2_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_17_0_2_react.cloneElement( /*#__PURE__*/_react_17_0_2_react.isValidElement(icon) ? icon : /*#__PURE__*/_react_17_0_2_react.createElement("span", null, icon), iconProps);
};
const {
className,
prefixCls: customizePrefixCls,
inputPrefixCls: customizeInputPrefixCls,
size
} = props,
restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]);
const {
getPrefixCls
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
const prefixCls = getPrefixCls('input-password', customizePrefixCls);
const suffixIcon = visibilityToggle && getIcon(prefixCls);
const inputClassName = _classnames_2_5_1_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_17_0_2_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/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/SearchOutlined.js + 1 modules
var SearchOutlined = __webpack_require__(42653);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/reactNode.js
var reactNode = __webpack_require__(92343);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useSize.js
var useSize = __webpack_require__(19716);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js
var Compact = __webpack_require__(33234);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@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_17_0_2_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_17_0_2_react.useContext(context/* ConfigContext */.E_);
const composedRef = _react_17_0_2_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_17_0_2_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_17_0_2_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_17_0_2_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_2_5_1_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_17_0_2_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@5.9.0@antd/es/input/TextArea.js
var TextArea = __webpack_require__(1643);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@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);
/***/ }),
/***/ 81327:
/*!*********************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules ***!
\*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ space; }
});
// UNUSED EXPORTS: SpaceContext
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
var _classnames_2_5_1_classnames = __webpack_require__(92310);
var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/Children/toArray.js
var toArray = __webpack_require__(75440);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js
var Compact = __webpack_require__(33234);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/context.js
const SpaceContext = /*#__PURE__*/_react_17_0_2_react.createContext({
latestIndex: 0
});
const SpaceContextProvider = SpaceContext.Provider;
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Item.js
"use client";
const Item = _ref => {
let {
className,
index,
children,
split,
style
} = _ref;
const {
latestIndex
} = _react_17_0_2_react.useContext(SpaceContext);
if (children === null || children === undefined) {
return null;
}
return /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /*#__PURE__*/_react_17_0_2_react.createElement("div", {
className: className,
style: style
}, children), index < latestIndex && split && /*#__PURE__*/_react_17_0_2_react.createElement("span", {
className: `${className}-split`
}, split));
};
/* harmony default export */ var space_Item = (Item);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/style/index.js + 1 modules
var space_style = __webpack_require__(2856);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/utils.js
function isPresetSize(size) {
return ['small', 'middle', 'large'].includes(size);
}
function isValidGapNumber(size) {
if (!size) {
// The case of size = 0 is deliberately excluded here, because the default value of the gap attribute in CSS is 0, so if the user passes 0 in, we can directly ignore it.
return false;
}
return typeof size === 'number' && !Number.isNaN(size);
}
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/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 Space = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
var _a, _b;
const {
getPrefixCls,
space,
direction: directionConfig
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
const {
size = (space === null || space === void 0 ? void 0 : space.size) || 'small',
align,
className,
rootClassName,
children,
direction = 'horizontal',
prefixCls: customizePrefixCls,
split,
style,
wrap = false,
classNames: customClassNames,
styles
} = props,
otherProps = __rest(props, ["size", "align", "className", "rootClassName", "children", "direction", "prefixCls", "split", "style", "wrap", "classNames", "styles"]);
const [horizontalSize, verticalSize] = Array.isArray(size) ? size : [size, size];
const isPresetVerticalSize = isPresetSize(verticalSize);
const isPresetHorizontalSize = isPresetSize(horizontalSize);
const isValidVerticalSize = isValidGapNumber(verticalSize);
const isValidHorizontalSize = isValidGapNumber(horizontalSize);
const childNodes = (0,toArray/* default */.Z)(children, {
keepEmpty: true
});
const mergedAlign = align === undefined && direction === 'horizontal' ? 'center' : align;
const prefixCls = getPrefixCls('space', customizePrefixCls);
const [wrapSSR, hashId] = (0,space_style/* default */.Z)(prefixCls);
const cls = _classnames_2_5_1_classnames_default()(prefixCls, space === null || space === void 0 ? void 0 : space.className, hashId, `${prefixCls}-${direction}`, {
[`${prefixCls}-rtl`]: directionConfig === 'rtl',
[`${prefixCls}-align-${mergedAlign}`]: mergedAlign,
[`${prefixCls}-gap-row-${verticalSize}`]: isPresetVerticalSize,
[`${prefixCls}-gap-col-${horizontalSize}`]: isPresetHorizontalSize
}, className, rootClassName);
const itemClassName = _classnames_2_5_1_classnames_default()(`${prefixCls}-item`, (_a = customClassNames === null || customClassNames === void 0 ? void 0 : customClassNames.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.classNames) === null || _b === void 0 ? void 0 : _b.item);
// Calculate latest one
let latestIndex = 0;
const nodes = childNodes.map((child, i) => {
var _a, _b;
if (child !== null && child !== undefined) {
latestIndex = i;
}
const key = child && child.key || `${itemClassName}-${i}`;
return /*#__PURE__*/_react_17_0_2_react.createElement(space_Item, {
className: itemClassName,
key: key,
index: i,
split: split,
style: (_a = styles === null || styles === void 0 ? void 0 : styles.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.styles) === null || _b === void 0 ? void 0 : _b.item
}, child);
});
const spaceContext = _react_17_0_2_react.useMemo(() => ({
latestIndex
}), [latestIndex]);
// =========================== Render ===========================
if (childNodes.length === 0) {
return null;
}
const gapStyle = {};
if (wrap) {
gapStyle.flexWrap = 'wrap';
}
if (!isPresetHorizontalSize && isValidHorizontalSize) {
gapStyle.columnGap = horizontalSize;
}
if (!isPresetVerticalSize && isValidVerticalSize) {
gapStyle.rowGap = verticalSize;
}
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({
ref: ref,
className: cls,
style: Object.assign(Object.assign(Object.assign({}, gapStyle), space === null || space === void 0 ? void 0 : space.style), style)
}, otherProps), /*#__PURE__*/_react_17_0_2_react.createElement(SpaceContextProvider, {
value: spaceContext
}, nodes)));
});
if (false) {}
const CompoundedSpace = Space;
CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony default export */ var space = (CompoundedSpace);
/***/ })
}]);

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[49029,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[49029,1024,14882,27155,44407],{
/***/ 16135:
/*!***********************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[5451,91056,18880,29642,96594,1024,14882,52708,11021],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[5451,91056,18880,29642,96594,1024,14882,27155,44407,52708,11021],{
/***/ 680:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[56794,91056,18880,29642,96594,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[56794,91056,18880,29642,96594,1024,14882,27155,44407],{
/***/ 680:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[58047,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[58047,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[60499,84360,7385,21642,92952,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[60499,84360,7385,21642,92952,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[61362,84360,7385,21642,60499,92952,91056,18880,29642,96594,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[61362,84360,7385,21642,60499,92952,91056,18880,29642,96594,1024,14882,27155,44407],{
/***/ 680:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[7229,84360,21321,93826,35019,38660,1024,14882,11021],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[7229,84360,21321,93826,35019,38660,1024,14882,27155,44407,11021],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[7385,84360,21642,60499,92952,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[7385,84360,21642,60499,92952,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[78158,92016,84360,21321,93826,35019,38660,1024,14882,11021],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[78158,92016,84360,21321,93826,35019,38660,1024,14882,27155,44407,11021],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[82854,84360,7385,21642,60499,92952,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[82854,84360,7385,21642,60499,92952,1024,14882,27155,44407],{
/***/ 27385:
/*!*******************************************************************************************************!*\

@ -34,8 +34,8 @@ var es_message = __webpack_require__(8591);
var modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 5 modules
var input = __webpack_require__(73782);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/radio/index.js + 5 modules
var es_radio = __webpack_require__(5112);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/select/index.js
var es_select = __webpack_require__(57809);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/upload/index.js + 24 modules
var upload = __webpack_require__(59028);
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/components/AddOrEdit/index.less?modules
@ -47,6 +47,8 @@ var resetmodules = __webpack_require__(93974);
var env = __webpack_require__(92387);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules
var icons_CloseCircleFilled = __webpack_require__(58670);
// EXTERNAL MODULE: ./src/service/paths.ts
var paths = __webpack_require__(19652);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/components/AddOrEdit/index.tsx
@ -61,6 +63,7 @@ var jsx_runtime = __webpack_require__(37712);
var AddOrEdit = function AddOrEdit(_ref) {
var _fileList$3, _fileOtherList$3;
var visible = _ref.visible,
@ -87,7 +90,13 @@ var AddOrEdit = function AddOrEdit(_ref) {
_useState8 = slicedToArray_default()(_useState7, 2),
imgLoading = _useState8[0],
setImgLoading = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)([]),
_useState10 = slicedToArray_default()(_useState9, 2),
schoolList = _useState10[0],
setSchoolList = _useState10[1];
(0,_react_17_0_2_react.useEffect)(function () {
//获取学院
getSchoolList();
if (visible !== null && visible !== void 0 && visible.name) {
var _visible$cover_url, _visible$cover_url2, _visible$backbground_, _visible$backbground_2;
form.setFieldsValue({
@ -113,6 +122,11 @@ var AddOrEdit = function AddOrEdit(_ref) {
var handleCancel = function handleCancel() {
onCancel();
};
var getSchoolList = function getSchoolList() {
(0,paths/* getSchoolOption */.GY)({}).then(function (res) {
setSchoolList(res === null || res === void 0 ? void 0 : res.schools);
});
};
var addSubmit = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(values) {
var _fileList$, _fileOtherList$;
@ -267,22 +281,20 @@ var AddOrEdit = function AddOrEdit(_ref) {
placeholder: "\u8BF7\u8F93\u5165\u793E\u533A\u540D\u79F0"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u793E\u533A\u7C7B\u578B",
initialValue: "classroom",
name: "vs_type",
label: "\u6240\u5C5E\u5B66\u9662",
name: "schoolId",
rules: [{
required: true,
message: '请输入社区类型'
message: '请选择所属学院'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, {
value: "classroom",
children: "\u865A\u62DF\u6559\u7814\u5BA4"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, {
className: "ml20",
value: "plan",
children: "101\u8BA1\u5212"
})]
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
placeholder: "\u8BF7\u9009\u62E9\u6240\u5C5E\u5B66\u9662",
children: schoolList === null || schoolList === void 0 ? void 0 : schoolList.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: item === null || item === void 0 ? void 0 : item.id,
children: item === null || item === void 0 ? void 0 : item.name
}, index);
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
@ -383,22 +395,22 @@ var Edit = function Edit(_ref3) {
var _Form$useForm3 = Form.useForm(),
_Form$useForm4 = _slicedToArray(_Form$useForm3, 1),
form = _Form$useForm4[0];
var _useState9 = useState(false),
_useState10 = _slicedToArray(_useState9, 2),
btnLoading = _useState10[0],
setBtnLoading = _useState10[1];
var _useState11 = useState([]),
var _useState11 = useState(false),
_useState12 = _slicedToArray(_useState11, 2),
fileList = _useState12[0],
setFileList = _useState12[1];
btnLoading = _useState12[0],
setBtnLoading = _useState12[1];
var _useState13 = useState([]),
_useState14 = _slicedToArray(_useState13, 2),
fileOtherList = _useState14[0],
setFileOtherList = _useState14[1];
var _useState15 = useState(false),
fileList = _useState14[0],
setFileList = _useState14[1];
var _useState15 = useState([]),
_useState16 = _slicedToArray(_useState15, 2),
imgLoading = _useState16[0],
setImgLoading = _useState16[1];
fileOtherList = _useState16[0],
setFileOtherList = _useState16[1];
var _useState17 = useState(false),
_useState18 = _slicedToArray(_useState17, 2),
imgLoading = _useState18[0],
setImgLoading = _useState18[1];
useEffect(function () {
if (data !== null && data !== void 0 && data.name) {
var _data$cover_url, _data$cover_url2, _data$backbground_ima, _data$backbground_ima2;

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[84360,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[84360,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

File diff suppressed because one or more lines are too long

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[86741,84360,7385,21642,60499,92952,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[86741,84360,7385,21642,60499,92952,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[88973,5451,91056,18880,29642,96594,1024,14882,52708,11021],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[88973,5451,91056,18880,29642,96594,1024,14882,27155,44407,52708,11021],{
/***/ 680:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[91056,18880,29642,96594,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[91056,18880,29642,96594,1024,14882,27155,44407],{
/***/ 680:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[92016,84360,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[92016,84360,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[92952,84360,7385,21642,60499,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[92952,84360,7385,21642,60499,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[93826,84360,21321,35019,38660,1024,14882,11021],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[93826,84360,21321,35019,38660,1024,14882,27155,44407,11021],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[95740,7229,84360,21321,93826,35019,38660,1024,14882,11021],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[95740,7229,84360,21321,93826,35019,38660,1024,14882,27155,44407,11021],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[96594,91056,18880,29642,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[96594,91056,18880,29642,1024,14882,27155,44407],{
/***/ 680:
/*!*******************************************************************************************************************!*\

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[97928,17103,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[97928,17103,1024,14882,27155,44407],{
/***/ 71371:
/*!********************************************************************************************************!*\

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[99816,84360,86741,7385,21642,60499,92952,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[99816,84360,86741,7385,21642,60499,92952,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -12,7 +12,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
<meta http-equiv="Cache-Control" content="no-transform">
<title>头歌实践教学平台</title>
<link rel="stylesheet" href="/react/build/umi.8e510499.css">
<link rel="stylesheet" href="/react/build/umi.c0d94d6a.css">
<script src="/react/build/js/polyfill.min.js"></script>
</head>
<body>
@ -27,7 +27,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.7fa2abc5.js"></script>
<script src="/react/build/umi.783177f0.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -1,50 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[40559],{
/***/ 27385:
/*!*******************************************************************************************************!*\
!*** ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/CheckOutlined.js + 1 modules ***!
\*******************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ icons_CheckOutlined; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(19973);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/CheckOutlined.js
// This icon file is generated automatically.
var CheckOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, "name": "check", "theme": "outlined" };
/* harmony default export */ var asn_CheckOutlined = (CheckOutlined);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(22589);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/CheckOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var CheckOutlined_CheckOutlined = function CheckOutlined(props, ref) {
return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_CheckOutlined
}));
};
/**![check](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkxMiAxOTBoLTY5LjljLTkuOCAwLTE5LjEgNC41LTI1LjEgMTIuMkw0MDQuNyA3MjQuNSAyMDcgNDc0YTMyIDMyIDAgMDAtMjUuMS0xMi4ySDExMmMtNi43IDAtMTAuNCA3LjctNi4zIDEyLjlsMjczLjkgMzQ3YzEyLjggMTYuMiAzNy40IDE2LjIgNTAuMyAwbDQ4OC40LTYxOC45YzQuMS01LjEuNC0xMi44LTYuMy0xMi44eiIgLz48L3N2Zz4=) */
var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(CheckOutlined_CheckOutlined);
if (false) {}
/* harmony default export */ var icons_CheckOutlined = (RefIcon);
/***/ }),
(self["webpackChunk"] = self["webpackChunk"] || []).push([[40559,52708,11021],{
/***/ 680:
/*!*******************************************************************************************************************!*\
@ -1406,6 +1361,224 @@ Layout.Content = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Content */ .VY;
Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z;
/* harmony default export */ __webpack_exports__.Z = (Layout);
/***/ }),
/***/ 57809:
/*!**********************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/select/index.js ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 92310);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-select */ 77861);
/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rc-util/es/omit */ 55405);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var _util_PurePanel__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../_util/PurePanel */ 53487);
/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../_util/motion */ 62892);
/* harmony import */ var _util_statusUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_util/statusUtils */ 19080);
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 36355);
/* harmony import */ var _config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../config-provider/DisabledContext */ 1684);
/* harmony import */ var _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../config-provider/defaultRenderEmpty */ 93891);
/* harmony import */ var _config_provider_hooks_useSize__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../config-provider/hooks/useSize */ 19716);
/* harmony import */ var _form_context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../form/context */ 32441);
/* harmony import */ var _space_Compact__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../space/Compact */ 33234);
/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 14154);
/* harmony import */ var _useBuiltinPlacements__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./useBuiltinPlacements */ 58582);
/* harmony import */ var _useShowArrow__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./useShowArrow */ 84443);
/* harmony import */ var _utils_iconUtil__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/iconUtil */ 66339);
"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;
};
// TODO: 4.0 - codemod should help to change `filterOption` to support node props.
const SECRET_COMBOBOX_MODE_DO_NOT_USE = 'SECRET_COMBOBOX_MODE_DO_NOT_USE';
const InternalSelect = (_a, ref) => {
var _b;
var {
prefixCls: customizePrefixCls,
bordered = true,
className,
rootClassName,
getPopupContainer,
popupClassName,
dropdownClassName,
listHeight = 256,
placement,
listItemHeight = 24,
size: customizeSize,
disabled: customDisabled,
notFoundContent,
status: customStatus,
builtinPlacements,
dropdownMatchSelectWidth,
popupMatchSelectWidth,
direction: propDirection,
style,
allowClear
} = _a,
props = __rest(_a, ["prefixCls", "bordered", "className", "rootClassName", "getPopupContainer", "popupClassName", "dropdownClassName", "listHeight", "placement", "listItemHeight", "size", "disabled", "notFoundContent", "status", "builtinPlacements", "dropdownMatchSelectWidth", "popupMatchSelectWidth", "direction", "style", "allowClear"]);
const {
getPopupContainer: getContextPopupContainer,
getPrefixCls,
renderEmpty,
direction: contextDirection,
virtual,
popupMatchSelectWidth: contextPopupMatchSelectWidth,
popupOverflow,
select
} = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_);
const prefixCls = getPrefixCls('select', customizePrefixCls);
const rootPrefixCls = getPrefixCls();
const direction = propDirection !== null && propDirection !== void 0 ? propDirection : contextDirection;
const {
compactSize,
compactItemClassnames
} = (0,_space_Compact__WEBPACK_IMPORTED_MODULE_4__/* .useCompactItemContext */ .ri)(prefixCls, direction);
const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls);
const mode = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
const {
mode: m
} = props;
if (m === 'combobox') {
return undefined;
}
if (m === SECRET_COMBOBOX_MODE_DO_NOT_USE) {
return 'combobox';
}
return m;
}, [props.mode]);
const isMultiple = mode === 'multiple' || mode === 'tags';
const showSuffixIcon = (0,_useShowArrow__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(props.suffixIcon, props.showArrow);
const mergedPopupMatchSelectWidth = (_b = popupMatchSelectWidth !== null && popupMatchSelectWidth !== void 0 ? popupMatchSelectWidth : dropdownMatchSelectWidth) !== null && _b !== void 0 ? _b : contextPopupMatchSelectWidth;
// ===================== Form Status =====================
const {
status: contextStatus,
hasFeedback,
isFormItemInput,
feedbackIcon
} = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_form_context__WEBPACK_IMPORTED_MODULE_7__/* .FormItemInputContext */ .aM);
const mergedStatus = (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_8__/* .getMergedStatus */ .F)(contextStatus, customStatus);
// ===================== Empty =====================
let mergedNotFound;
if (notFoundContent !== undefined) {
mergedNotFound = notFoundContent;
} else if (mode === 'combobox') {
mergedNotFound = null;
} else {
mergedNotFound = (renderEmpty === null || renderEmpty === void 0 ? void 0 : renderEmpty('Select')) || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z, {
componentName: "Select"
});
}
// ===================== Icons =====================
const {
suffixIcon,
itemIcon,
removeIcon,
clearIcon
} = (0,_utils_iconUtil__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(Object.assign(Object.assign({}, props), {
multiple: isMultiple,
hasFeedback,
feedbackIcon,
showSuffixIcon,
prefixCls,
showArrow: props.showArrow,
componentName: 'Select'
}));
const mergedAllowClear = allowClear === true ? {
clearIcon
} : allowClear;
const selectProps = (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)(props, ['suffixIcon', 'itemIcon']);
const rcSelectRtlDropdownClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()(popupClassName || dropdownClassName, {
[`${prefixCls}-dropdown-${direction}`]: direction === 'rtl'
}, rootClassName, hashId);
const mergedSize = (0,_config_provider_hooks_useSize__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(ctx => {
var _a;
return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx;
});
// ===================== Disabled =====================
const disabled = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z);
const mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;
const mergedClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()({
[`${prefixCls}-lg`]: mergedSize === 'large',
[`${prefixCls}-sm`]: mergedSize === 'small',
[`${prefixCls}-rtl`]: direction === 'rtl',
[`${prefixCls}-borderless`]: !bordered,
[`${prefixCls}-in-form-item`]: isFormItemInput
}, (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_8__/* .getStatusClassNames */ .Z)(prefixCls, mergedStatus, hasFeedback), compactItemClassnames, select === null || select === void 0 ? void 0 : select.className, className, rootClassName, hashId);
// ===================== Placement =====================
const memoPlacement = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
if (placement !== undefined) {
return placement;
}
return direction === 'rtl' ? 'bottomRight' : 'bottomLeft';
}, [placement, direction]);
const mergedBuiltinPlacements = (0,_useBuiltinPlacements__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z)(builtinPlacements, popupOverflow);
// ====================== Warning ======================
if (false) {}
// ====================== Render =======================
return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_select__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP, Object.assign({
ref: ref,
virtual: virtual,
showSearch: select === null || select === void 0 ? void 0 : select.showSearch
}, selectProps, {
style: Object.assign(Object.assign({}, select === null || select === void 0 ? void 0 : select.style), style),
dropdownMatchSelectWidth: mergedPopupMatchSelectWidth,
builtinPlacements: mergedBuiltinPlacements,
transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_15__/* .getTransitionName */ .m)(rootPrefixCls, 'slide-up', props.transitionName),
listHeight: listHeight,
listItemHeight: listItemHeight,
mode: mode,
prefixCls: prefixCls,
placement: memoPlacement,
direction: direction,
suffixIcon: suffixIcon,
menuItemSelectedIcon: itemIcon,
removeIcon: removeIcon,
allowClear: mergedAllowClear,
notFoundContent: mergedNotFound,
className: mergedClassName,
getPopupContainer: getPopupContainer || getContextPopupContainer,
dropdownClassName: rcSelectRtlDropdownClassName,
disabled: mergedDisabled
})));
};
if (false) {}
const Select = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(InternalSelect);
// We don't care debug panel
/* istanbul ignore next */
const PurePanel = (0,_util_PurePanel__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)(Select);
Select.SECRET_COMBOBOX_MODE_DO_NOT_USE = SECRET_COMBOBOX_MODE_DO_NOT_USE;
Select.Option = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .Option */ .Wx;
Select.OptGroup = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .OptGroup */ .Xo;
Select._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;
if (false) {}
/* harmony default export */ __webpack_exports__["default"] = (Select);
/***/ })
}]);

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67878,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67878,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[14058,92016,84360,78158,21321,93826,35019,38660,91056,18880,29642,96594,1024,14882,52708,11021],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[14058,92016,84360,78158,39645,21321,93826,35019,38660,91056,18880,29642,96594,1024,14882,27155,44407,52708,11021],{
/***/ 680:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[90337,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[90337,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[16328,92016,84360,78158,21321,93826,35019,38660,1024,14882,11021],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[16328,92016,84360,78158,21321,93826,35019,38660,1024,14882,27155,44407,11021],{
/***/ 50382:
/*!*****************************************************************************************************!*\

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[98062,1024,14882],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[98062,1024,14882,27155,44407],{
/***/ 50382:
/*!*****************************************************************************************************!*\

@ -0,0 +1,405 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[19360],{
/***/ 18987:
/*!*******************************************************************!*\
!*** ./src/pages/User/Detail/virtualSpaces/index.tsx + 3 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 */ virtualSpaces; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(7557);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
var objectSpread2 = __webpack_require__(82242);
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(41498);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(79800);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__(39647);
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(65659);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tabs/index.js + 24 modules
var tabs = __webpack_require__(99313);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/skeleton/index.js + 12 modules
var skeleton = __webpack_require__(96865);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules
var pagination = __webpack_require__(27092);
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(94255);
// EXTERNAL MODULE: ./src/utils/util.tsx
var util = __webpack_require__(84357);
;// CONCATENATED MODULE: ./src/pages/User/Detail/virtualSpaces/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var virtualSpacesmodules = ({"flex_box_center":"flex_box_center___zMMsd","flex_space_between":"flex_space_between___jt9k_","flex_box_vertical_center":"flex_box_vertical_center___BOPuh","flex_box_center_end":"flex_box_center_end___r_Iu0","flex_box_column":"flex_box_column___FOne9","order":"order___Qysjp","content":"content___IUWof","w1":"w1___W6edK","w2":"w2___WlZJP","w3":"w3___VfQ_s","w4":"w4___JaF4v","w5":"w5___dZmAB","w6":"w6___lKqpD","listTitle":"listTitle___mK0Um","listContent":"listContent___EJ710","info":"info___f0Irx","d1":"d1___ZqEOx","d2":"d2___FGqo_","d3":"d3___PwKy3","unitPrice":"unitPrice___A_1Mb","p":"p____3Bip","l":"l___f_rxJ","payType":"payType___BItlK","price":"price___c198g","status":"status___mYgsx","action":"action___cdhRD"});
;// CONCATENATED MODULE: ./src/pages/User/Detail/virtualSpaces/List/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Listmodules = ({"flex_box_center":"flex_box_center___HFQZB","flex_space_between":"flex_space_between___zFFul","flex_box_vertical_center":"flex_box_vertical_center___io4tB","flex_box_center_end":"flex_box_center_end___H6Abs","flex_box_column":"flex_box_column___GQMTL","listWarp":"listWarp___BsT0V","li":"li___ndfmM","img":"img___Ric6Z","name":"name___aCd4t","e":"e___aP2FC","unit":"unit____BY_u","tags":"tags___ec5xr","tag1":"tag1___PPMZU","tag2":"tag2___ryXix"});
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(92387);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/User/Detail/virtualSpaces/List/index.tsx
var List = function List(_ref) {
var data = _ref.data,
_ref$marginLeft = _ref.marginLeft,
marginLeft = _ref$marginLeft === void 0 ? 21 : _ref$marginLeft,
_ref$listWarpStyle = _ref.listWarpStyle,
listWarpStyle = _ref$listWarpStyle === void 0 ? {} : _ref$listWarpStyle,
_ref$width = _ref.width,
width = _ref$width === void 0 ? 282 : _ref$width,
_ref$height = _ref.height,
height = _ref$height === void 0 ? 290 : _ref$height;
return /*#__PURE__*/(0,jsx_runtime.jsx)("ul", {
className: Listmodules.listWarp,
style: listWarpStyle,
children: data.map(function (item, index) {
var name = item.name,
id = item.id,
backbground_image_url = item.backbground_image_url,
cover_url = item.cover_url,
category_url = item.category_url;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
target: "_blank",
href: category_url,
className: Listmodules.li,
style: {
marginLeft: marginLeft,
width: width,
height: height
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Listmodules.img,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: env/* default */.Z.IMG_SERVER + cover_url,
alt: "\u5C01\u9762\u56FE"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Listmodules.name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Listmodules.e,
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u53D1\u5E03\u5355\u4F4D\uFF1A\u5B66\u6821",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Listmodules.unit,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-danwei1 font14 mr3"
}), "\u5B66\u6821"]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Listmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottom",
title: "\u7AE0\u8282\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-zhangjie1 font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [item.stages_count, "22"]
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottom",
title: "\u5B66\u4E60\u4EBA\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-chengyuan font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [item.members_count, "11"]
})]
})
})]
})
})]
}, index);
})
});
};
/* harmony default export */ var virtualSpaces_List = (List);
// EXTERNAL MODULE: ./src/assets/images/noEnvData.png
var noEnvData = __webpack_require__(36723);
// EXTERNAL MODULE: ./src/pages/virtualSpaces/components/AddOrEdit/index.tsx + 1 modules
var AddOrEdit = __webpack_require__(84080);
// EXTERNAL MODULE: ./src/utils/verifyLogin.tsx + 2 modules
var verifyLogin = __webpack_require__(51425);
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(39067);
// EXTERNAL MODULE: ./src/components/ui-customization/index.tsx + 32 modules
var ui_customization = __webpack_require__(73210);
;// CONCATENATED MODULE: ./src/pages/User/Detail/virtualSpaces/index.tsx
var _excluded = ["user", "userDetail", "globalSetting", "dispatch"];
var TabPane = tabs/* default */.Z.TabPane;
var Paths = function Paths(_ref) {
var _user$userInfo;
var user = _ref.user,
userDetail = _ref.userDetail,
globalSetting = _ref.globalSetting,
dispatch = _ref.dispatch,
props = objectWithoutProperties_default()(_ref, _excluded);
var _useSearchParams = (0,_umi_production_exports.useSearchParams)(),
_useSearchParams2 = slicedToArray_default()(_useSearchParams, 1),
searchParams = _useSearchParams2[0];
var location = (0,_umi_production_exports.useLocation)();
var _useState = (0,_react_17_0_2_react.useState)({
category: searchParams.get("category") || 'all',
page: 1,
limit: 15
}),
_useState2 = slicedToArray_default()(_useState, 2),
params = _useState2[0],
setParams = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)([]),
_useState4 = slicedToArray_default()(_useState3, 2),
list = _useState4[0],
setList = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(0),
_useState6 = slicedToArray_default()(_useState5, 2),
total = _useState6[0],
setTotal = _useState6[1];
var _useState7 = (0,_react_17_0_2_react.useState)(true),
_useState8 = slicedToArray_default()(_useState7, 2),
loading = _useState8[0],
setLoading = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)(false),
_useState10 = slicedToArray_default()(_useState9, 2),
visible = _useState10[0],
setVisible = _useState10[1];
(0,_react_17_0_2_react.useEffect)(function () {
(0,util/* setDocumentTitle */.Dk)('虚拟社区');
getData(params);
}, []);
var getData = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(record) {
var c, res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
setLoading(true);
c = objectSpread2_default()({}, record);
_context.next = 4;
return (0,fetch/* default */.ZP)("/api/virtual_classrooms/mine.json", {
method: 'get',
params: c
});
case 4:
res = _context.sent;
if (res !== null && res !== void 0 && res.virtual_classrooms) {
setList(res === null || res === void 0 ? void 0 : res.virtual_classrooms);
setTotal(res === null || res === void 0 ? void 0 : res.total_count);
setLoading(false);
}
case 6:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getData(_x) {
return _ref2.apply(this, arguments);
};
}();
var handleTabsClick = function handleTabsClick(key) {
var _window$location$href;
if ((_window$location$href = window.location.href.toString()) !== null && _window$location$href !== void 0 && _window$location$href.includes('category')) {
(0,util/* replaceParamVal */.jz)('category', key);
} else {
window.history.replaceState(null, '', window.location.href.indexOf('?') > -1 ? window.location.href + "&category=".concat(key) : "?category=".concat(key));
}
params.category = key;
params.page = 1;
setParams(objectSpread2_default()({}, params));
getData(params);
};
var tabsMapping = [{
name: '全部',
id: 'all'
}, {
name: '我管理的',
id: 'manage'
}, {
name: '我参与的',
id: 'partake'
}];
var add = function add() {
if ((0,authority/* isSuperAdmins */.Ny)() || (0,verifyLogin/* handleProfessionalCertificationModal */.O5)()) {
setVisible(true);
}
};
var handleOk = /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(values, cb) {
var res;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
return (0,fetch/* default */.ZP)("/api/virtual_classrooms.json", {
method: 'post',
body: values
});
case 2:
res = _context2.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
getData(params);
setVisible(false);
setTimeout(function () {
(0,util/* openNewWindow */.xg)(res === null || res === void 0 ? void 0 : res.category_url);
}, 300);
dispatch({
type: 'shixunHomeworks/setActionTabs',
payload: {
key: '提示',
type: 99
}
});
}
cb(res);
case 5:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return function handleOk(_x2, _x3) {
return _ref3.apply(this, arguments);
};
}();
var handleChange = function handleChange(page) {
document.body.scrollIntoView();
params.page = page;
setParams(objectSpread2_default()({}, params));
getData(params);
};
var renderEmpty = function renderEmpty() {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
flexDirection: 'column',
margin: '100px 0 20px 0'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: noEnvData,
width: 204,
alt: ""
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#6A6A6A'
},
children: "\u6682\u65E0\u6570\u636E"
})]
});
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: virtualSpacesmodules.order,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomTabs */.YG, {
value: params === null || params === void 0 ? void 0 : params.category,
onChange: handleTabsClick,
tabBarExtraContent: (0,authority/* isLogin */.bg)() && (((_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.identity) === 'teacher' || (0,authority/* isSuperAdmins */.Ny)()) && /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
onClick: add,
children: "\u65B0\u5EFA\u865A\u62DF\u793E\u533A"
}),
className: "mb25",
dataSource: tabsMapping
}), /*#__PURE__*/(0,jsx_runtime.jsx)(skeleton/* default */.Z, {
loading: loading,
active: true,
paragraph: {
rows: 5
},
children: !!list.length ? /*#__PURE__*/(0,jsx_runtime.jsx)(virtualSpaces_List, {
data: list || []
}) : renderEmpty()
}), /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
hideOnSinglePage: true,
onChange: function onChange(page) {
return handleChange(page);
},
current: params.page,
pageSize: params.limit,
total: total,
showQuickJumper: true,
showSizeChanger: false,
showTotal: function showTotal(total) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "mr10",
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-orange",
children: total
}), "\u6761\u6570\u636E"]
});
},
className: "tc pb30"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(AddOrEdit/* default */.Z, {
visible: visible,
title: '新建虚拟社区',
onCancel: function onCancel() {
return setVisible(false);
},
onOk: handleOk
})]
});
};
/* harmony default export */ var virtualSpaces = ((0,_umi_production_exports.connect)(function (_ref4) {
var user = _ref4.user,
userDetail = _ref4.userDetail,
globalSetting = _ref4.globalSetting;
return {
user: user,
userDetail: userDetail,
globalSetting: globalSetting
};
})(Paths));
/***/ })
}]);

@ -195,7 +195,7 @@
}
.listWarp___BsT0V .li___ndfmM .img___Ric6Z {
overflow: hidden;
height: calc(100% - 80px);
height: 177px;
border-radius: 8px 8px 0 0;
}
.listWarp___BsT0V .li___ndfmM .img___Ric6Z img {
@ -203,14 +203,14 @@
transition: all 0.5s;
}
.listWarp___BsT0V .li___ndfmM .name___aCd4t {
height: 80px;
font-size: 16px;
font-weight: 600;
color: #404250;
padding: 0 10px;
color: #000000;
padding: 0 12px;
width: 100%;
display: flex;
align-items: center;
padding-top: 15px;
}
.listWarp___BsT0V .li___ndfmM .name___aCd4t .e___aP2FC {
display: inline-block;
@ -219,6 +219,57 @@
white-space: nowrap;
max-width: 100%;
}
.listWarp___BsT0V .li___ndfmM .unit____BY_u {
font-size: 14px;
color: #000f37;
padding: 0px 12px;
margin-top: 8px;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 100%;
}
.listWarp___BsT0V .li___ndfmM .unit____BY_u i {
color: #7d8592;
}
.listWarp___BsT0V .li___ndfmM .tags___ec5xr {
height: 34px;
display: flex;
align-items: center;
justify-content: space-between;
color: #000f37;
padding: 0px 12px;
}
.listWarp___BsT0V .li___ndfmM .tags___ec5xr div {
display: flex;
align-items: center;
}
.listWarp___BsT0V .li___ndfmM .tags___ec5xr div > span {
margin-right: 12px;
font-size: 12px;
}
.listWarp___BsT0V .li___ndfmM .tags___ec5xr div i {
color: #7d8592;
}
.listWarp___BsT0V .li___ndfmM .tags___ec5xr .tag1___PPMZU,
.listWarp___BsT0V .li___ndfmM .tags___ec5xr .tag2___ryXix {
height: 18px;
padding: 3px 6px;
font-size: 12px;
border-radius: 2px;
border: 1px solid #FFE6AB;
color: #CA7720;
display: flex;
align-items: center;
justify-content: center;
font-weight: 400;
}
.listWarp___BsT0V .li___ndfmM .tags___ec5xr .tag2___ryXix {
border: 1px solid #D6F7EF;
color: #01795d;
margin-left: 6px;
}
.listWarp___BsT0V .li___ndfmM:nth-child(3n + 1),
.listWarp___BsT0V .li___ndfmM:first-child {
margin-left: 0 !important;

File diff suppressed because one or more lines are too long

@ -0,0 +1,349 @@
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/IndexNew/index.less?modules ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___xTlJO {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___USpKs {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___nCO5N {
align-items: center;
box-align: center;
}
.flex_box_center_end___BXq4K {
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___Eq8AP {
flex-direction: column;
box-orient: block-axis;
}
.page___YMMOQ {
background: #ffffff;
padding-bottom: 30px;
}
.page___YMMOQ .center___GVxs9 {
margin: 0 auto;
width: 1200px;
}
.page___YMMOQ .course_list___MA34Z {
width: 1200px;
height: 153px;
margin: 30px auto;
padding-top: 25px;
}
.page___YMMOQ .course_list___MA34Z .school_list___W4te2 {
display: flex;
flex-wrap: wrap;
}
.page___YMMOQ .course_list___MA34Z .school_list___W4te2 .school_item___ghVMr {
margin-left: 100px;
width: 170px;
height: 40px;
display: flex;
align-items: center;
cursor: pointer;
}
.page___YMMOQ .course_list___MA34Z .school_list___W4te2 .school_item___ghVMr div {
margin-left: 12px;
font-family: Alibaba-PuHuiTi, Alibaba-PuHuiTi;
font-weight: 600;
font-size: 14px;
color: #162A5C;
text-align: left;
font-style: normal;
}
.page___YMMOQ .course_list___MA34Z .school_list___W4te2 .school_item___ghVMr:hover div {
color: #3061D0;
}
.page___YMMOQ .course_list___MA34Z .school_list___W4te2 .school_item___ghVMr:nth-child(4n + 1) {
margin-left: 125px;
}
.page___YMMOQ .course_list___MA34Z .school_list___W4te2 .school_item___ghVMr:nth-child(n + 5) {
margin-top: 20px;
}
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/components/AddOrEdit/index.less?modules ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___ze4wf {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___JpH0B {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___NbRyF {
align-items: center;
box-align: center;
}
.flex_box_center_end___fUFoB {
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___i2BZL {
flex-direction: column;
box-orient: block-axis;
}
.form____yVeV > aside {
font-size: 12px;
color: #5f6367;
margin-top: 20px;
}
.form____yVeV input {
border-radius: 2px;
border: 1px solid #e1e1e1;
margin-left: 4px;
}
.form____yVeV label {
height: 32px;
color: #000000 !important;
line-height: 32px !important;
}
.form____yVeV label::before {
margin-top: 2px;
}
.form____yVeV .btn___X16NC {
padding: 0 16px;
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;
height: 32px;
line-height: 30px;
color: #165dff;
cursor: pointer;
}
.form____yVeV .btn___X16NC i {
margin-right: 3px;
font-size: 14px;
}
.form____yVeV .img___sQnKq {
position: relative;
width: 200px;
height: auto;
background-color: #f4f3f4;
display: flex;
align-items: center;
justify-content: center;
}
.form____yVeV .img___sQnKq > div {
position: absolute;
right: -6px;
top: -6px;
cursor: pointer;
background-color: #fff;
width: 16px;
height: 16px;
border-radius: 50%;
}
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/reset.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___vG4eV {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___qVVxe {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___P8Z8s {
align-items: center;
box-align: center;
}
.flex_box_center_end___VMme3 {
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___VMHwm {
flex-direction: column;
box-orient: block-axis;
}
.dropdownmenus___oVzoj {
width: 104px;
}
.dropdownmenus___oVzoj [class~='ant-dropdown-menu-item'] {
text-align: center;
}
.dropdownmenus___oVzoj [class~='ant-dropdown-menu-item']:hover {
color: #165dff !important;
background: #fff;
}
.dropdownmenus___oVzoj [class~='ant-dropdown-menu'] {
padding: 10px 0 !important;
}
.popupClassNames___OcZq7 {
background: yellow;
}
.selectdown___mmcA8 [class~='ant-select-item-option-selected'] {
font-weight: 400 !important;
background-color: #edf2ff !important;
}
.selectdown___mmcA8 [class~='ant-select-item-option-active'] {
color: #165dff !important;
background-color: #fff !important;
}
.selectdown___mmcA8 [class~='ant-select-item-option'] {
padding: 10px 24px;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/IndexNew/List/index.less?modules ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___HR0FK {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___AORwV {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___u8RVW {
align-items: center;
box-align: center;
}
.flex_box_center_end___JWmwA {
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___EvD2h {
flex-direction: column;
box-orient: block-axis;
}
.listWarp___PiaNu {
display: flex;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
padding: 0;
}
.listWarp___PiaNu .li___fFwoj {
width: 283px;
background: #ffffff;
box-shadow: 0px 2px 4px 0px #d6dae1;
border-radius: 8px;
margin-bottom: 30px;
}
.listWarp___PiaNu .li___fFwoj:hover img {
transform: scale(1.1);
}
.listWarp___PiaNu .li___fFwoj .img___bvstn {
overflow: hidden;
height: 177px;
border-radius: 8px 8px 0 0;
}
.listWarp___PiaNu .li___fFwoj .img___bvstn img {
width: 100%;
transition: all 0.5s;
}
.listWarp___PiaNu .li___fFwoj .name___c5WWW {
font-size: 16px;
font-weight: 600;
color: #000000;
padding: 0 12px;
width: 100%;
display: flex;
align-items: center;
padding-top: 15px;
}
.listWarp___PiaNu .li___fFwoj .name___c5WWW .e___dMKVB {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 100%;
}
.listWarp___PiaNu .li___fFwoj .unit___sqJRC {
font-size: 14px;
color: #000f37;
padding: 0px 12px;
margin-top: 8px;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 100%;
}
.listWarp___PiaNu .li___fFwoj .unit___sqJRC i {
color: #7d8592;
}
.listWarp___PiaNu .li___fFwoj .tags___njTz9 {
height: 34px;
display: flex;
align-items: center;
justify-content: space-between;
color: #000f37;
padding: 0px 12px;
}
.listWarp___PiaNu .li___fFwoj .tags___njTz9 div {
display: flex;
align-items: center;
}
.listWarp___PiaNu .li___fFwoj .tags___njTz9 div > span {
margin-right: 12px;
font-size: 12px;
}
.listWarp___PiaNu .li___fFwoj .tags___njTz9 div i {
color: #7d8592;
}
.listWarp___PiaNu .li___fFwoj .tags___njTz9 .tag1___pLlW6,
.listWarp___PiaNu .li___fFwoj .tags___njTz9 .tag2___Gbb1l {
height: 18px;
padding: 3px 6px;
font-size: 12px;
border-radius: 2px;
border: 1px solid #FFE6AB;
color: #CA7720;
display: flex;
align-items: center;
justify-content: center;
font-weight: 400;
}
.listWarp___PiaNu .li___fFwoj .tags___njTz9 .tag2___Gbb1l {
border: 1px solid #D6F7EF;
color: #01795d;
margin-left: 6px;
}
.listWarp___PiaNu .li___fFwoj:nth-child(4n + 1),
.listWarp___PiaNu .li___fFwoj:first-child {
margin-left: 0 !important;
}

@ -0,0 +1,324 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[27496],{
/***/ 52640:
/*!************************************************************************!*\
!*** ./src/pages/virtualSpaces/Lists/CourseData/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 */ CourseData; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__(39647);
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(65659);
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/CourseData/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var CourseDatamodules = ({"flex_box_center":"flex_box_center____BAJL","flex_space_between":"flex_space_between___nKXPB","flex_box_vertical_center":"flex_box_vertical_center___IZCYi","flex_box_center_end":"flex_box_center_end___POJwV","flex_box_column":"flex_box_column___H9ll4","all":"all___FSE3O","TitleStyle":"TitleStyle___OMeOf","content":"content___kn9Lq","contentTile":"contentTile___YW6lk","contentLeft":"contentLeft___v8xJk","yearStyle":"yearStyle___FpIPP","schoolStyle":"schoolStyle___X_Gz8","roleStyle":"roleStyle___XI1a9","contentRight":"contentRight___nb0C7","sexStyle":"sexStyle___eHuTn","eduStyle":"eduStyle___Ou6YP"});
// EXTERNAL MODULE: ./node_modules/_echarts-for-react@2.0.16@echarts-for-react/lib/index.js
var lib = __webpack_require__(42441);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/CourseData/index.tsx
var _excluded = ["classroomList", "virtualSpaces", "loading", "dispatch"];
var WorkplacePage = function WorkplacePage(_ref) {
var classroomList = _ref.classroomList,
virtualSpaces = _ref.virtualSpaces,
loading = _ref.loading,
dispatch = _ref.dispatch,
props = objectWithoutProperties_default()(_ref, _excluded);
var getYearOption = function getYearOption() {
return {
color: ['#6687F2'],
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'shadow'
}
},
grid: {
left: '1%',
right: '4%',
bottom: '10%',
top: '10%',
containLabel: true
},
xAxis: [{
name: '',
type: 'category',
data: ['20及以下', '21-30', '31-40', '41-50', '51-60', '61-70', '70及以上']
// axisLabel: {//坐标轴刻度标签的相关设置。
// interval: 0,
// rotate: "45"
// },
}],
yAxis: [{
name: '',
type: 'value'
}],
series: [{
name: 'Direct',
type: 'bar',
barWidth: '40%',
data: [10, 52, 200, 334, 390, 330, 220]
}]
};
};
var getShoolOption = function getShoolOption() {
return {
color: ['#6687F2'],
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'shadow'
}
},
grid: {
left: '1%',
right: '4%',
bottom: '1%',
top: '10%',
containLabel: true
},
xAxis: [{
name: '',
type: 'category',
data: ['20及以下', '21-30', '31-40', '41-50', '51-60', '61-70', '70及以上'],
axisLabel: {
//坐标轴刻度标签的相关设置。
interval: 0,
rotate: "45"
}
}],
yAxis: [{
name: '',
type: 'value'
}],
series: [{
name: 'Direct',
type: 'bar',
barWidth: '40%',
data: [10, 52, 200, 334, 390, 330, 220]
}]
};
};
var getRoleOption = function getRoleOption() {
return {
color: ['#6687F2'],
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'shadow'
}
},
grid: {
left: '1%',
right: '4%',
bottom: '10%',
top: '10%',
containLabel: true
},
xAxis: [{
name: '',
type: 'category',
data: ['20及以下', '21-30', '31-40', '41-50', '51-60', '61-70', '70及以上']
// axisLabel: {//坐标轴刻度标签的相关设置。
// interval: 0,
// rotate: "45"
// },
}],
yAxis: [{
name: '',
type: 'value'
}],
series: [{
name: 'Direct',
type: 'bar',
barWidth: '40%',
data: [10, 52, 200, 334, 390, 330, 220]
}]
};
};
var getSexOption = function getSexOption() {
return {
tooltip: {
trigger: 'item'
},
legend: {
bottom: '8%',
left: 'center'
},
series: [{
name: '性别',
type: 'pie',
radius: ['40%', '60%'],
center: ['50%', '40%'],
// avoidLabelOverlap: false,
label: {
show: false
},
data: [{
name: '男',
value: 10
}, {
name: '女',
value: 17
}],
itemStyle: {
normal: {
color: function color(colors) {
var colorList = ['#FC8282', '#6687F2'];
return colorList[colors.dataIndex];
}
}
}
}]
};
};
var getEduOption = function getEduOption() {
return {
tooltip: {
trigger: 'item'
},
legend: {
bottom: '8%',
left: 'center'
},
series: [{
name: '学历',
type: 'pie',
radius: ['40%', '60%'],
center: ['50%', '40%'],
// avoidLabelOverlap: false,
label: {
show: false
},
data: [{
name: '本科',
value: 2
}, {
name: '硕士研究生',
value: 18
}, {
name: '博生研究生',
value: 18
}],
itemStyle: {
normal: {
color: function color(colors) {
var colorList = ['#36CBCB', '#56D57C', '#FAD337'];
return colorList[colors.dataIndex];
}
}
}
}]
};
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseDatamodules.all,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseDatamodules.TitleStyle,
children: "\u57FA\u7840\u6570\u636E"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseDatamodules.content,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseDatamodules.contentLeft,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseDatamodules.yearStyle,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseDatamodules.contentTile,
children: "\u5E74\u9F84\u6BB5"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: getYearOption(),
style: {
height: 230,
width: 570
}
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseDatamodules.schoolStyle,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseDatamodules.contentTile,
children: "\u9662\u6821"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: getShoolOption(),
style: {
height: 250,
width: 570
}
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseDatamodules.roleStyle,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseDatamodules.contentTile,
children: "\u804C\u79F0"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: getRoleOption(),
style: {
height: 230,
width: 570
}
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseDatamodules.contentRight,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseDatamodules.sexStyle,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseDatamodules.contentTile,
children: "\u6027\u522B"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: getSexOption(),
style: {
height: 220,
width: 270
}
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseDatamodules.eduStyle,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseDatamodules.contentTile,
children: "\u5B66\u5386"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: getEduOption(),
style: {
height: 220,
width: 270
}
})]
})]
})]
})]
});
};
/* harmony default export */ var CourseData = ((0,_umi_production_exports.connect)(function (_ref2) {
var loading = _ref2.loading,
user = _ref2.user,
virtualSpaces = _ref2.virtualSpaces;
return {
loading: loading.effects,
user: user,
virtualSpaces: virtualSpaces
};
})(WorkplacePage));
/***/ })
}]);

@ -0,0 +1,105 @@
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/Lists/CourseData/index.less?modules ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center____BAJL {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___nKXPB {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___IZCYi {
align-items: center;
box-align: center;
}
.flex_box_center_end___POJwV {
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___H9ll4 {
flex-direction: column;
box-orient: block-axis;
}
.all___FSE3O {
padding: 28px 30px;
}
.all___FSE3O .TitleStyle___OMeOf {
height: 22px;
font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 14px;
color: #000000;
line-height: 22px;
text-align: left;
font-style: normal;
margin-bottom: 20px;
}
.all___FSE3O .content___kn9Lq {
display: flex;
}
.all___FSE3O .content___kn9Lq .contentTile___YW6lk {
height: 22px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #000000;
line-height: 22px;
text-align: left;
font-style: normal;
}
.all___FSE3O .content___kn9Lq .contentLeft___v8xJk {
width: 589px;
}
.all___FSE3O .content___kn9Lq .contentLeft___v8xJk .yearStyle___FpIPP {
padding: 14px;
width: 589px;
height: 264px;
border-radius: 2px;
border: 1px solid #F6F7F9;
}
.all___FSE3O .content___kn9Lq .contentLeft___v8xJk .schoolStyle___X_Gz8 {
padding: 14px;
margin-top: 20px;
width: 589px;
height: 313px;
border-radius: 2px;
border: 1px solid #F6F7F9;
}
.all___FSE3O .content___kn9Lq .contentLeft___v8xJk .roleStyle___XI1a9 {
padding: 14px;
margin-top: 20px;
width: 589px;
height: 264px;
border-radius: 2px;
border: 1px solid #F6F7F9;
}
.all___FSE3O .content___kn9Lq .contentRight___nb0C7 {
margin-left: 32px;
width: 300px;
height: 400px;
}
.all___FSE3O .content___kn9Lq .contentRight___nb0C7 .sexStyle___eHuTn {
padding: 14px;
width: 300px;
height: 264px;
border-radius: 2px;
border: 1px solid #F6F7F9;
}
.all___FSE3O .content___kn9Lq .contentRight___nb0C7 .eduStyle___Ou6YP {
padding: 14px;
margin-top: 20px;
width: 300px;
height: 264px;
border-radius: 2px;
border: 1px solid #F6F7F9;
}

@ -0,0 +1,362 @@
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/Lists/Discussion/Detail/index.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___Hmx5i {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___Dx8H4 {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___dMU0Z {
align-items: center;
box-align: center;
}
.flex_box_center_end___dCdhg {
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___QCcWO {
flex-direction: column;
box-orient: block-axis;
}
.Onerow___bolpc {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.MultiLine___jesmY {
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.DiscussionList___CcLEr {
margin-top: 25px;
width: 100%;
display: flex;
flex-wrap: wrap;
gap: 30px 20px;
}
.DiscussionListItem___CSgpe {
cursor: pointer;
width: 283px;
overflow: hidden;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 8px;
}
.DiscussionListItem___CSgpe .DiscussionListItemImg___KgrBI {
width: 100%;
transition: all 0.5s;
}
.DiscussionListItem___CSgpe:hover .DiscussionListItemImg___KgrBI {
transform: scale(1.1);
}
.imgUpLoad___nu_Sv {
position: relative;
width: 200px;
height: auto;
background-color: #f4f3f4;
display: flex;
align-items: center;
justify-content: center;
}
.imgUpLoad___nu_Sv > div {
position: absolute;
right: -6px;
top: -6px;
cursor: pointer;
background-color: #fff;
width: 16px;
height: 16px;
border-radius: 50%;
}
.DiscussionDetail___zgks4 {
overflow: hidden;
margin-top: 25px;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border: 1px solid #F6F7F9;
padding: 20px;
}
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/Lists/Discussion/index.less?modules ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___QbjXY {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___CGgf9 {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___TZqsW {
align-items: center;
box-align: center;
}
.flex_box_center_end___G6yjl {
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___X3SPm {
flex-direction: column;
box-orient: block-axis;
}
.Onerow___te_Su {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.MultiLine___FQNWA {
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.DiscussionList___AO3Id {
margin-top: 25px;
width: 100%;
display: flex;
flex-wrap: wrap;
gap: 30px 20px;
}
.DiscussionListItem___dGzLI {
cursor: pointer;
width: 283px;
overflow: hidden;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 8px;
}
.DiscussionListItem___dGzLI .DiscussionListItemImg___XeC4p {
width: 100%;
transition: all 0.5s;
}
.DiscussionListItem___dGzLI:hover .DiscussionListItemImg___XeC4p {
transform: scale(1.1);
}
.imgUpLoad___gjBfb {
position: relative;
width: 200px;
height: auto;
background-color: #f4f3f4;
display: flex;
align-items: center;
justify-content: center;
}
.imgUpLoad___gjBfb > div {
position: absolute;
right: -6px;
top: -6px;
cursor: pointer;
background-color: #fff;
width: 16px;
height: 16px;
border-radius: 50%;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/QuestionEditor/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.wrap___ilWvf div[class~='ant-form-item'] {
margin-bottom: 0;
}
.wrap___ilWvf div[class~='ant-form-item-explain-error'] {
display: none;
}
.wrap___ilWvf .deleteIcon___JBDG8 {
color: #E30000;
font-size: 14px;
}
.wrap___ilWvf .keywordTag___iieCb {
padding: 10px 10px 10px 8px;
font-size: 14px;
font-weight: 400;
color: #000000;
}
.questionTitleEditorWrap___MHB5s {
margin-bottom: 18px;
}
.choiceWrap___QFkTc {
margin-bottom: 20px;
}
.choiceWrap___QFkTc .choiceIndex___Mr2YO {
display: flex;
flex: 0 0 auto;
justify-content: center;
align-items: center;
width: 46px;
height: 46px;
border-radius: 23px;
border: 1px solid #DCDCDC;
font-size: 16px;
font-weight: 400;
color: #464F66;
cursor: pointer;
}
.choiceWrap___QFkTc .choiceIndex___Mr2YO.judgementIndex___fUVWK {
border-radius: 2px;
}
.choiceWrap___QFkTc .setAnswerBtn___Whox5 {
border-radius: 2px;
border: 1px solid #DCDCDC;
font-size: 14px;
font-weight: 400;
color: #9096A3;
height: 46px;
display: flex;
align-items: center;
padding: 0 16px;
cursor: pointer;
}
.choiceWrap___QFkTc .activeAnswer___fGU6Y {
background-color: #37AD83;
border-color: #37AD83;
color: #fff;
}
.choiceWrap___QFkTc .activeJudgementAnswer___wJv8P {
background-color: #ebf6f2;
border-color: #37AD83;
color: #37AD83;
}
.choiceWrap___QFkTc .actionWrapper___ERQ7k {
display: flex;
align-items: center;
justify-content: flex-end;
margin: auto 0 auto 20px;
}
.choiceWrap___QFkTc .actionWrapper___ERQ7k .addIcon___L9TE0 {
color: #2FA34F;
font-size: 14px;
}
.choiceWrap___QFkTc .actionWrapper___ERQ7k .deleteIcon___JBDG8 {
color: #E30000;
font-size: 14px;
margin-left: 20px;
}
.inputBorder___Q5tRE {
border-radius: 2px;
border: 1px solid #DCDCDC;
padding: 8px 12px;
font-size: 14px;
min-height: 46px;
display: flex;
align-items: center;
}
.placeholder___p9sFY {
font-size: 14px;
font-weight: 400;
color: #9096A3;
}
.blankWrapper___nC45e {
display: flex;
align-items: center;
}
.blankWrapper___nC45e .blankInput___pEHsx {
border-radius: 2px;
border: 1px solid #DCDCDC;
height: 46px;
font-size: 14px;
}
.blankInputNumberWrapper___uEHb0 div[class~='ant-form-item-label'] {
line-height: 46px;
}
.blankInputNumberWrapper___uEHb0 [class~="ant-row"] {
align-items: center !important;
}
.blankInputNumberWrapper___uEHb0 input[class~='ant-input-number-input'] {
font-size: 14px;
height: 46px;
}
.addBtn___WR5ZI {
display: flex;
justify-content: center;
align-items: center;
width: 80px;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px -1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 16px;
cursor: pointer;
font-weight: 400;
color: #FFFFFF;
font-size: 12px;
}
.blankIndex___x9Pny {
font-size: 14px;
font-weight: 400;
color: #666666;
}
.baseInputWrapper___eVsG7 div[class~='ant-form-item-label'] {
line-height: 56px;
}
.baseInputWrapper___eVsG7 input[class~='ant-input-number-input'] {
font-size: 14px;
}
div[class~='ant-collapse-borderless'] {
background-color: #fff;
}
.collapseWrapper___ZTysU {
margin-bottom: 30px;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] {
margin-bottom: 20px;
border: none;
box-shadow: 0px 2px 4px 0px #EAEEF4;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-header'] {
padding: 0 20px !important;
height: 64px !important;
background-color: #F6F7F8;
align-items: center !important;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-content'] {
background-color: #fff !important;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-content'] div[class~='ant-collapse-content-box'] {
padding: 20px 40px !important;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item-active'] div[class~='ant-collapse-header'] {
background-color: #eaeffa !important;
}
.collapseWrapper___ZTysU .panelHeader___QSN9g {
font-size: 14px;
font-weight: 400;
color: #000000;
}
.collapseWrapper___ZTysU .panelHeader___QSN9g span {
color: #666666;
}
.collapseWrapper___ZTysU .open___B6FU9 {
color: #165DFF;
transform: rotateZ(90deg);
}
.collapseWrapper___ZTysU .close___QX19r {
color: #82A8FF;
}
.hide___mn25n {
display: none;
}

@ -0,0 +1,644 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[96265],{
/***/ 24720:
/*!**********************************************************!*\
!*** ./src/components/QuestionEditor/MdEditorInForm.tsx ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ h: function() { return /* binding */ MdEditorInForm; },
/* harmony export */ x: function() { return /* binding */ RegularInput; }
/* harmony export */ });
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js */ 39647);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _components_markdown_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components/markdown-editor */ 37570);
/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./index.less?modules */ 97195);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var _components_RenderHtml__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/components/RenderHtml */ 28312);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
var _excluded = ["value", "onChange", "scrollId"];
var MdEditorInForm = function MdEditorInForm(_ref) {
var value = _ref.value,
_onChange = _ref.onChange,
scrollId = _ref.scrollId,
props = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_1___default()(_ref, _excluded);
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", {
id: scrollId || '',
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_markdown_editor__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, props), {}, {
// hidetoolBar
defaultValue: value,
onChange: function onChange(a, b) {
console.log("a:", a, b);
if (!!(b !== null && b !== void 0 && b.length)) _onChange(a, b);else _onChange(a);
}
}))
});
};
var RegularInput = function RegularInput(_ref2) {
var value = _ref2.value,
onChange = _ref2.onChange,
placeholder = _ref2.placeholder,
_ref2$height = _ref2.height,
height = _ref2$height === void 0 ? 140 : _ref2$height,
isEdit = _ref2.isEdit;
return isEdit ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_markdown_editor__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, {
watch: true,
isFocus: true,
height: height,
placeholder: placeholder,
defaultValue: value,
onChange: onChange
}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", {
style: {
cursor: 'pointer'
},
children: value ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.inputBorder,
value: value
}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", {
className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.inputBorder, " ").concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.placeholder),
children: placeholder
})
});
};
/***/ }),
/***/ 80735:
/*!**********************************************************************!*\
!*** ./src/pages/virtualSpaces/Lists/Discussion/AddOrEdit/index.tsx ***!
\**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js */ 79800);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js */ 39647);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! antd */ 8591);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! antd */ 59028);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 43418);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 78241);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 73782);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 95237);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 43604);
/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../index.less?modules */ 75782);
/* harmony import */ var _utils_env__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/env */ 92387);
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @ant-design/icons */ 58670);
/* harmony import */ var _components_QuestionEditor_MdEditorInForm__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/components/QuestionEditor/MdEditorInForm */ 24720);
/* harmony import */ var _components_ui_customization__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/components/ui-customization */ 73210);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
var _excluded = ["handleFinish", "form", "dispatch"];
var AddOrEdit = function AddOrEdit(_ref) {
var _fileList$2;
var handleFinish = _ref.handleFinish,
form = _ref.form,
dispatch = _ref.dispatch,
props = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_2___default()(_ref, _excluded);
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]),
_useState2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default()(_useState, 2),
fileList = _useState2[0],
setFileList = _useState2[1];
var uploadProps = {
fileList: fileList,
maxCount: 1,
// accept: ".pdf, .docx, .doc, .xlsx, .xls, .ppt, .pptx, .zip,.jpg,.png",
accept: "image/*",
withCredentials: true,
beforeUpload: function beforeUpload(file) {
var fileSize = file.size / 1024 / 1024;
if (fileSize > 2 || fileSize == 0) {
antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .ZP.error("".concat(file.name, " \u56FE\u7247\u65E0\u6CD5\u4E0A\u4F20\u3002").concat(fileSize == 0 ? "文件内容不能为空" : '超过图片大小限制(2MB)'));
return antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.LIST_IGNORE;
}
return true;
},
onRemove: function onRemove(file) {
setFileList([]);
},
onChange: function onChange(info) {
form.setFieldsValue({
cover_id: ''
});
var statusList = ["uploading", "done", "removed"];
if (statusList.includes(info.file.status)) {
var _info$fileList;
setFileList(info.fileList);
form.setFieldsValue({
cover_id: (_info$fileList = info.fileList) === null || _info$fileList === void 0 || (_info$fileList = _info$fileList[0]) === null || _info$fileList === void 0 || (_info$fileList = _info$fileList.response) === null || _info$fileList === void 0 ? void 0 : _info$fileList.id
});
}
},
action: "".concat(_utils_env__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z.API_SERVER, "/api/attachments.json")
};
var fileUploadProps = {
multiple: true,
maxCount: 10,
// accept: ".pdf, .docx, .doc, .xlsx, .xls, .ppt, .pptx, .zip,.jpg,.png",
withCredentials: true,
beforeUpload: function beforeUpload(file) {
var fileSize = file.size / 1024 / 1024;
if (fileSize > 500 || fileSize == 0) {
antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .ZP.error("".concat(file.name, " \u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002").concat(fileSize == 0 ? "文件内容不能为空" : '超过文件大小限制(500MB)'));
return antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.LIST_IGNORE;
}
return true;
},
action: "".concat(_utils_env__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z.API_SERVER, "/api/attachments.json")
};
var renderImg = function renderImg() {
var _fileList$;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z.imgUpLoad,
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("img", {
src: _utils_env__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z.API_SERVER + "/api/attachments/" + (fileList === null || fileList === void 0 || (_fileList$ = fileList[0]) === null || _fileList$ === void 0 || (_fileList$ = _fileList$.response) === null || _fileList$ === void 0 ? void 0 : _fileList$.id),
alt: "avatar",
style: {
width: '100%'
}
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
onClick: function onClick() {
setFileList([]);
form.setFieldsValue({
cover_id: ''
});
},
style: {
fontSize: '16px',
color: 'red'
}
})
})]
});
};
(0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {
if (props.open && form.getFieldValue("cover_id") && form.getFieldValue("cover")) {
setFileList([{
response: form.getFieldValue("cover")
}]);
}
}, [props.open]);
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, props), {}, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, {
form: form,
initialValues: {},
layout: "vertical",
onFinish: function onFinish(ValueAll) {
handleFinish(ValueAll);
setFileList([]);
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, {
htmlFor: null,
name: "name",
label: "\u6807\u9898",
rules: [{
required: true,
message: '请输入标题'
}],
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
placeholder: "\u8BF7\u8F93\u5165\u6807\u9898",
maxLength: 60,
showCount: true
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, {
htmlFor: null,
name: "desc",
label: "\u5185\u5BB9",
rules: [{
required: true,
message: '请在此输入内容'
}],
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_components_QuestionEditor_MdEditorInForm__WEBPACK_IMPORTED_MODULE_6__/* .MdEditorInForm */ .h, {
placeholder: "\u8BF7\u5728\u6B64\u8F93\u5165\u5185\u5BB9",
scrollId: '',
watch: true,
height: 192
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, {
htmlFor: null,
label: "附件",
name: "attachment_ids",
valuePropName: "fileList",
getValueFromEvent: function getValueFromEvent(e) {
if (Array.isArray(e)) {
return e;
}
return e === null || e === void 0 ? void 0 : e.fileList;
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, fileUploadProps), {}, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
wrap: false,
align: "middle",
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_components_ui_customization__WEBPACK_IMPORTED_MODULE_7__/* .CustomButton */ .op, {
style: {
borderRadius: "2px"
},
icon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("i", {
className: "iconfont icon-shangchuan3"
}),
children: "\u6587\u4EF6\u4E0A\u4F20"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
style: {
marginLeft: "16px",
color: "#5F6367"
},
onClick: function onClick(e) {
e.preventDefault();
e.stopPropagation();
},
children: "1\u3001\u4E0D\u652F\u6301\u65AD\u70B9\u7EED\u4F20\uFF0C\u5355\u4E2A\u6587\u4EF6\u5927\u5C0F\u8BF7\u52FF\u8D85\u8FC7500M\uFF1B2\u3001\u4E00\u6B21\u6700\u591A\u4E0A\u4F2010\u4E2A\u6587\u4EF6\u3002"
})]
})
}))
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, {
name: "cover_id",
label: "\u5C01\u9762\u56FE\u7247",
rules: [{
required: true,
message: '请上传封面图片'
}],
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z.upload,
children: fileList !== null && fileList !== void 0 && (_fileList$2 = fileList[0]) !== null && _fileList$2 !== void 0 && (_fileList$2 = _fileList$2.response) !== null && _fileList$2 !== void 0 && _fileList$2.id ? renderImg() : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, uploadProps), {}, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
wrap: false,
align: "middle",
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_components_ui_customization__WEBPACK_IMPORTED_MODULE_7__/* .CustomButton */ .op, {
style: {
borderRadius: "2px"
},
icon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("i", {
className: "iconfont icon-shangchuan3"
}),
children: "\u56FE\u7247\u4E0A\u4F20"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
style: {
marginLeft: "16px",
color: "#5F6367"
},
onClick: function onClick(e) {
e.preventDefault();
e.stopPropagation();
},
children: "\u8BF7\u9009\u62E9jpg\u3001png\u683C\u5F0F\uFF0C\u5EFA\u8BAE\u5C3A\u5BF8282*212\u50CF\u7D20"
})]
})
}))
})
})]
})
}));
};
/* harmony default export */ __webpack_exports__.Z = (AddOrEdit);
/***/ }),
/***/ 63173:
/*!************************************************************!*\
!*** ./src/pages/virtualSpaces/Lists/Discussion/index.tsx ***!
\************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js */ 79800);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js */ 39647);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! umi */ 65659);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 78241);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 71418);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 95237);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 43604);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd */ 6848);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! antd */ 27092);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! antd */ 8591);
/* harmony import */ var _components_ui_customization__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/components/ui-customization */ 73210);
/* harmony import */ var _components_NoData__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/components/NoData */ 65119);
/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./index.less?modules */ 75782);
/* harmony import */ var _utils_env__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/utils/env */ 92387);
/* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/utils/util */ 84357);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! moment */ 61186);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var _pages_virtualSpaces_Lists_Discussion_AddOrEdit__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/pages/virtualSpaces/Lists/Discussion/AddOrEdit */ 80735);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
var _excluded = ["classroomList", "globalSetting", "virtualSpaces", "loading", "user", "dispatch"];
var DiscussionPage = function DiscussionPage(_ref) {
var _menus$find, _DiscussionList$data, _DiscussionList$data2, _DiscussionList$data3, _DiscussionList$data4, _DiscussionList$data5;
var classroomList = _ref.classroomList,
globalSetting = _ref.globalSetting,
virtualSpaces = _ref.virtualSpaces,
loading = _ref.loading,
user = _ref.user,
dispatch = _ref.dispatch,
props = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default()(_ref, _excluded);
var DiscussionList = virtualSpaces.DiscussionList,
menus = virtualSpaces.menus;
var _Form$useForm = antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z.useForm(),
_Form$useForm2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_Form$useForm, 1),
form = _Form$useForm2[0];
var _useParams = (0,umi__WEBPACK_IMPORTED_MODULE_6__.useParams)(),
virtual_spacesId = _useParams.virtual_spacesId;
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false),
_useState2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2),
isAddDiscussion = _useState2[0],
setIsAddDiscussion = _useState2[1];
var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)({
page: 1,
limit: 15
}),
_useState4 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState3, 2),
urlData = _useState4[0],
setUrlData = _useState4[1];
// const moduleName = menus?.find((e: any) => e.module_url === location.pathname)?.name || '';
var moduleName = (menus === null || menus === void 0 || (_menus$find = menus.find(function (e) {
return e.id == window.localStorage.getItem('vtrsModuleId');
})) === null || _menus$find === void 0 ? void 0 : _menus$find.name) || '';
var getDiscussionList = function getDiscussionList() {
window.scrollTo(0, 0);
dispatch({
type: "virtualSpaces/getDiscussionList",
payload: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, urlData), {}, {
virtual_spacesId: virtual_spacesId,
virtual_module_id: window.localStorage.getItem('vtrsModuleId')
})
});
};
(0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {
getDiscussionList();
}, [urlData, window.localStorage.getItem('vtrsModuleId')]);
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
spinning: loading["virtualSpaces/getDiscussionList"],
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
className: "ml40 mr40",
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_components_ui_customization__WEBPACK_IMPORTED_MODULE_7__/* .CustomTabs */ .YG, {
value: 'all',
onChange: function onChange() {},
tabBarExtraContent: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_components_ui_customization__WEBPACK_IMPORTED_MODULE_7__/* .CustomButton */ .op, {
onClick: function onClick() {
setIsAddDiscussion(true);
form.resetFields();
},
children: "\u65B0\u5EFA"
}),
dataSource: [{
id: 'all',
name: moduleName
}]
}), (DiscussionList === null || DiscussionList === void 0 || (_DiscussionList$data = DiscussionList.data) === null || _DiscussionList$data === void 0 ? void 0 : _DiscussionList$data.count) == 0 ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_components_NoData__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, {}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.DiscussionList,
children: DiscussionList === null || DiscussionList === void 0 || (_DiscussionList$data2 = DiscussionList.data) === null || _DiscussionList$data2 === void 0 || (_DiscussionList$data2 = _DiscussionList$data2.list) === null || _DiscussionList$data2 === void 0 ? void 0 : _DiscussionList$data2.map(function (item, index) {
var _item$cover;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
style: {
flexDirection: "column"
},
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.DiscussionListItem,
onClick: function onClick() {
umi__WEBPACK_IMPORTED_MODULE_6__.history.push("/".concat(_utils_util__WEBPACK_IMPORTED_MODULE_11__/* .vtrsKey */ .AS, "/").concat(virtual_spacesId, "/discussion/").concat(item.id, "/detail?leftMenuId=").concat(window.localStorage.getItem('vtrsModuleId')));
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
style: {
width: 283,
height: 177,
overflow: "hidden"
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("img", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.DiscussionListItemImg,
src: "".concat(_utils_env__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.API_SERVER).concat(item === null || item === void 0 || (_item$cover = item.cover) === null || _item$cover === void 0 ? void 0 : _item$cover.url)
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
justify: "space-between",
style: {
padding: "26px 12px",
flexDirection: "column",
flex: 1,
width: 283
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z, {
placement: "topLeft",
title: item.name,
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
className: "font16 ".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.Onerow),
style: {
color: "#333",
fontWeight: 600
},
children: item.name
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
className: "mt10 ".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.MultiLine),
style: {
color: "#666"
},
children: item.desc
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
style: {
marginTop: "22px"
},
align: "middle",
justify: "space-between",
wrap: false,
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("i", {
className: "iconfont icon-shijian1 font12 mr5"
}), moment__WEBPACK_IMPORTED_MODULE_12___default()(item === null || item === void 0 ? void 0 : item.created_at).format("YYYY-MM-DD")]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z, {
placement: "topLeft",
title: item.real_name,
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.Onerow,
style: {
maxWidth: 150,
lineHeight: "18px"
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("img", {
className: "mr5",
width: 18,
height: 18,
src: "".concat(_utils_env__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.IMG_SERVER, "/images/").concat(item === null || item === void 0 ? void 0 : item.user_image_url)
}), item === null || item === void 0 ? void 0 : item.real_name]
})
})]
})]
})]
}, index);
})
}), (DiscussionList === null || DiscussionList === void 0 || (_DiscussionList$data3 = DiscussionList.data) === null || _DiscussionList$data3 === void 0 ? void 0 : _DiscussionList$data3.count) != 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
className: "mt20 mb20",
wrap: false,
align: "middle",
justify: "space-between",
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
children: ["\u5171\xA0", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("span", {
style: {
color: "#165DFF"
},
children: (DiscussionList === null || DiscussionList === void 0 || (_DiscussionList$data4 = DiscussionList.data) === null || _DiscussionList$data4 === void 0 ? void 0 : _DiscussionList$data4.count) || 0
}), "\xA0\u6761\u6570\u636E"]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z, {
showSizeChanger: false,
showQuickJumper: true,
current: urlData.page,
pageSize: urlData.limit,
onChange: function onChange(page, limit) {
return setUrlData(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, urlData), {}, {
page: page,
limit: limit
}));
},
total: (DiscussionList === null || DiscussionList === void 0 || (_DiscussionList$data5 = DiscussionList.data) === null || _DiscussionList$data5 === void 0 ? void 0 : _DiscussionList$data5.count) || 0
})
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_pages_virtualSpaces_Lists_Discussion_AddOrEdit__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, {
form: form,
title: "新建交流研讨",
width: 1200,
open: isAddDiscussion,
destroyOnClose: true,
dispatch: dispatch,
onCancel: function onCancel() {
setIsAddDiscussion(false);
form.resetFields();
},
confirmLoading: loading["virtualSpaces/postDiscussionList"],
onOk: function onOk() {
return form.submit();
},
handleFinish: ( /*#__PURE__*/function () {
var _ref2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(ValueAll) {
var _ValueAll$attachment_;
var res;
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
ValueAll.attachment_ids = (ValueAll === null || ValueAll === void 0 || (_ValueAll$attachment_ = ValueAll.attachment_ids) === null || _ValueAll$attachment_ === void 0 ? void 0 : _ValueAll$attachment_.map(function (item) {
var _item$response;
return item === null || item === void 0 || (_item$response = item.response) === null || _item$response === void 0 ? void 0 : _item$response.id;
})) || [];
_context.next = 3;
return dispatch({
type: "virtualSpaces/postDiscussionList",
payload: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({
virtual_spacesId: virtual_spacesId
}, ValueAll), {}, {
virtual_module_id: window.localStorage.getItem('vtrsModuleId')
})
});
case 3:
res = _context.sent;
console.log(ValueAll);
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
antd__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .ZP.success("新建成功");
form.resetFields();
setIsAddDiscussion(false);
getDiscussionList();
}
case 6:
case "end":
return _context.stop();
}
}, _callee);
}));
return function (_x) {
return _ref2.apply(this, arguments);
};
}())
})]
})
});
};
/* harmony default export */ __webpack_exports__["default"] = ((0,umi__WEBPACK_IMPORTED_MODULE_6__.connect)(function (_ref3) {
var classroomList = _ref3.classroomList,
loading = _ref3.loading,
globalSetting = _ref3.globalSetting,
virtualSpaces = _ref3.virtualSpaces,
user = _ref3.user;
return {
classroomList: classroomList,
globalSetting: globalSetting,
loading: loading.effects,
virtualSpaces: virtualSpaces,
user: user
};
})(DiscussionPage));
/***/ }),
/***/ 97195:
/*!**********************************************************!*\
!*** ./src/components/QuestionEditor/index.less?modules ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
// extracted by mini-css-extract-plugin
/* harmony default export */ __webpack_exports__.Z = ({"wrap":"wrap___ilWvf","deleteIcon":"deleteIcon___JBDG8","keywordTag":"keywordTag___iieCb","questionTitleEditorWrap":"questionTitleEditorWrap___MHB5s","choiceWrap":"choiceWrap___QFkTc","choiceIndex":"choiceIndex___Mr2YO","judgementIndex":"judgementIndex___fUVWK","setAnswerBtn":"setAnswerBtn___Whox5","activeAnswer":"activeAnswer___fGU6Y","activeJudgementAnswer":"activeJudgementAnswer___wJv8P","actionWrapper":"actionWrapper___ERQ7k","addIcon":"addIcon___L9TE0","inputBorder":"inputBorder___Q5tRE","placeholder":"placeholder___p9sFY","blankWrapper":"blankWrapper___nC45e","blankInput":"blankInput___pEHsx","blankInputNumberWrapper":"blankInputNumberWrapper___uEHb0","addBtn":"addBtn___WR5ZI","blankIndex":"blankIndex___x9Pny","baseInputWrapper":"baseInputWrapper___eVsG7","collapseWrapper":"collapseWrapper___ZTysU","panelHeader":"panelHeader___QSN9g","open":"open___B6FU9","close":"close___QX19r","hide":"hide___mn25n"});
/***/ }),
/***/ 75782:
/*!*********************************************************************!*\
!*** ./src/pages/virtualSpaces/Lists/Discussion/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___QbjXY","flex_space_between":"flex_space_between___CGgf9","flex_box_vertical_center":"flex_box_vertical_center___TZqsW","flex_box_center_end":"flex_box_center_end___G6yjl","flex_box_column":"flex_box_column___X3SPm","Onerow":"Onerow___te_Su","MultiLine":"MultiLine___FQNWA","DiscussionList":"DiscussionList___AO3Id","DiscussionListItem":"DiscussionListItem___dGzLI","DiscussionListItemImg":"DiscussionListItemImg___XeC4p","imgUpLoad":"imgUpLoad___gjBfb"});
/***/ })
}]);

@ -0,0 +1,269 @@
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/Lists/Discussion/index.less?modules ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___QbjXY {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___CGgf9 {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___TZqsW {
align-items: center;
box-align: center;
}
.flex_box_center_end___G6yjl {
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___X3SPm {
flex-direction: column;
box-orient: block-axis;
}
.Onerow___te_Su {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.MultiLine___FQNWA {
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.DiscussionList___AO3Id {
margin-top: 25px;
width: 100%;
display: flex;
flex-wrap: wrap;
gap: 30px 20px;
}
.DiscussionListItem___dGzLI {
cursor: pointer;
width: 283px;
overflow: hidden;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 8px;
}
.DiscussionListItem___dGzLI .DiscussionListItemImg___XeC4p {
width: 100%;
transition: all 0.5s;
}
.DiscussionListItem___dGzLI:hover .DiscussionListItemImg___XeC4p {
transform: scale(1.1);
}
.imgUpLoad___gjBfb {
position: relative;
width: 200px;
height: auto;
background-color: #f4f3f4;
display: flex;
align-items: center;
justify-content: center;
}
.imgUpLoad___gjBfb > div {
position: absolute;
right: -6px;
top: -6px;
cursor: pointer;
background-color: #fff;
width: 16px;
height: 16px;
border-radius: 50%;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/QuestionEditor/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.wrap___ilWvf div[class~='ant-form-item'] {
margin-bottom: 0;
}
.wrap___ilWvf div[class~='ant-form-item-explain-error'] {
display: none;
}
.wrap___ilWvf .deleteIcon___JBDG8 {
color: #E30000;
font-size: 14px;
}
.wrap___ilWvf .keywordTag___iieCb {
padding: 10px 10px 10px 8px;
font-size: 14px;
font-weight: 400;
color: #000000;
}
.questionTitleEditorWrap___MHB5s {
margin-bottom: 18px;
}
.choiceWrap___QFkTc {
margin-bottom: 20px;
}
.choiceWrap___QFkTc .choiceIndex___Mr2YO {
display: flex;
flex: 0 0 auto;
justify-content: center;
align-items: center;
width: 46px;
height: 46px;
border-radius: 23px;
border: 1px solid #DCDCDC;
font-size: 16px;
font-weight: 400;
color: #464F66;
cursor: pointer;
}
.choiceWrap___QFkTc .choiceIndex___Mr2YO.judgementIndex___fUVWK {
border-radius: 2px;
}
.choiceWrap___QFkTc .setAnswerBtn___Whox5 {
border-radius: 2px;
border: 1px solid #DCDCDC;
font-size: 14px;
font-weight: 400;
color: #9096A3;
height: 46px;
display: flex;
align-items: center;
padding: 0 16px;
cursor: pointer;
}
.choiceWrap___QFkTc .activeAnswer___fGU6Y {
background-color: #37AD83;
border-color: #37AD83;
color: #fff;
}
.choiceWrap___QFkTc .activeJudgementAnswer___wJv8P {
background-color: #ebf6f2;
border-color: #37AD83;
color: #37AD83;
}
.choiceWrap___QFkTc .actionWrapper___ERQ7k {
display: flex;
align-items: center;
justify-content: flex-end;
margin: auto 0 auto 20px;
}
.choiceWrap___QFkTc .actionWrapper___ERQ7k .addIcon___L9TE0 {
color: #2FA34F;
font-size: 14px;
}
.choiceWrap___QFkTc .actionWrapper___ERQ7k .deleteIcon___JBDG8 {
color: #E30000;
font-size: 14px;
margin-left: 20px;
}
.inputBorder___Q5tRE {
border-radius: 2px;
border: 1px solid #DCDCDC;
padding: 8px 12px;
font-size: 14px;
min-height: 46px;
display: flex;
align-items: center;
}
.placeholder___p9sFY {
font-size: 14px;
font-weight: 400;
color: #9096A3;
}
.blankWrapper___nC45e {
display: flex;
align-items: center;
}
.blankWrapper___nC45e .blankInput___pEHsx {
border-radius: 2px;
border: 1px solid #DCDCDC;
height: 46px;
font-size: 14px;
}
.blankInputNumberWrapper___uEHb0 div[class~='ant-form-item-label'] {
line-height: 46px;
}
.blankInputNumberWrapper___uEHb0 [class~="ant-row"] {
align-items: center !important;
}
.blankInputNumberWrapper___uEHb0 input[class~='ant-input-number-input'] {
font-size: 14px;
height: 46px;
}
.addBtn___WR5ZI {
display: flex;
justify-content: center;
align-items: center;
width: 80px;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px -1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 16px;
cursor: pointer;
font-weight: 400;
color: #FFFFFF;
font-size: 12px;
}
.blankIndex___x9Pny {
font-size: 14px;
font-weight: 400;
color: #666666;
}
.baseInputWrapper___eVsG7 div[class~='ant-form-item-label'] {
line-height: 56px;
}
.baseInputWrapper___eVsG7 input[class~='ant-input-number-input'] {
font-size: 14px;
}
div[class~='ant-collapse-borderless'] {
background-color: #fff;
}
.collapseWrapper___ZTysU {
margin-bottom: 30px;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] {
margin-bottom: 20px;
border: none;
box-shadow: 0px 2px 4px 0px #EAEEF4;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-header'] {
padding: 0 20px !important;
height: 64px !important;
background-color: #F6F7F8;
align-items: center !important;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-content'] {
background-color: #fff !important;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-content'] div[class~='ant-collapse-content-box'] {
padding: 20px 40px !important;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item-active'] div[class~='ant-collapse-header'] {
background-color: #eaeffa !important;
}
.collapseWrapper___ZTysU .panelHeader___QSN9g {
font-size: 14px;
font-weight: 400;
color: #000000;
}
.collapseWrapper___ZTysU .panelHeader___QSN9g span {
color: #666666;
}
.collapseWrapper___ZTysU .open___B6FU9 {
color: #165DFF;
transform: rotateZ(90deg);
}
.collapseWrapper___ZTysU .close___QX19r {
color: #82A8FF;
}
.hide___mn25n {
display: none;
}

@ -0,0 +1,362 @@
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/Lists/Lesson/Detail/index.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___Q28K2 {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___XKhJD {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___G6xvN {
align-items: center;
box-align: center;
}
.flex_box_center_end___OpS9Y {
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___Jx7wj {
flex-direction: column;
box-orient: block-axis;
}
.Onerow___iGZyH {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.MultiLine___zus_s {
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.LessonsList___d2liG {
margin-top: 25px;
width: 100%;
display: flex;
flex-wrap: wrap;
gap: 30px 35px;
}
.LessonsListItem___CaSaY {
cursor: pointer;
width: 283px;
overflow: hidden;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 8px;
}
.LessonsListItem___CaSaY .LessonsListItemImg___LCyOb {
width: 100%;
transition: all 0.5s;
}
.LessonsListItem___CaSaY:hover .LessonsListItemImg___LCyOb {
transform: scale(1.1);
}
.imgUpLoad___gXVAl {
position: relative;
width: 200px;
height: auto;
background-color: #f4f3f4;
display: flex;
align-items: center;
justify-content: center;
}
.imgUpLoad___gXVAl > div {
position: absolute;
right: -6px;
top: -6px;
cursor: pointer;
background-color: #fff;
width: 16px;
height: 16px;
border-radius: 50%;
}
.LessonDetail___z2veM {
overflow: hidden;
margin-top: 25px;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border: 1px solid #F6F7F9;
padding: 20px;
}
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/Lists/Lesson/index.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___cFjD5 {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___WX1ma {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___iyMsP {
align-items: center;
box-align: center;
}
.flex_box_center_end___LFV4U {
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___GujFO {
flex-direction: column;
box-orient: block-axis;
}
.Onerow___QKU3O {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.MultiLine___ZOVUQ {
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.LessonsList___lfvK6 {
margin-top: 25px;
width: 100%;
display: flex;
flex-wrap: wrap;
gap: 30px 35px;
}
.LessonsListItem___Opl7o {
cursor: pointer;
width: 283px;
overflow: hidden;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 8px;
}
.LessonsListItem___Opl7o .LessonsListItemImg___rvVXp {
width: 100%;
transition: all 0.5s;
}
.LessonsListItem___Opl7o:hover .LessonsListItemImg___rvVXp {
transform: scale(1.1);
}
.imgUpLoad___wax6e {
position: relative;
width: 200px;
height: auto;
background-color: #f4f3f4;
display: flex;
align-items: center;
justify-content: center;
}
.imgUpLoad___wax6e > div {
position: absolute;
right: -6px;
top: -6px;
cursor: pointer;
background-color: #fff;
width: 16px;
height: 16px;
border-radius: 50%;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/QuestionEditor/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.wrap___ilWvf div[class~='ant-form-item'] {
margin-bottom: 0;
}
.wrap___ilWvf div[class~='ant-form-item-explain-error'] {
display: none;
}
.wrap___ilWvf .deleteIcon___JBDG8 {
color: #E30000;
font-size: 14px;
}
.wrap___ilWvf .keywordTag___iieCb {
padding: 10px 10px 10px 8px;
font-size: 14px;
font-weight: 400;
color: #000000;
}
.questionTitleEditorWrap___MHB5s {
margin-bottom: 18px;
}
.choiceWrap___QFkTc {
margin-bottom: 20px;
}
.choiceWrap___QFkTc .choiceIndex___Mr2YO {
display: flex;
flex: 0 0 auto;
justify-content: center;
align-items: center;
width: 46px;
height: 46px;
border-radius: 23px;
border: 1px solid #DCDCDC;
font-size: 16px;
font-weight: 400;
color: #464F66;
cursor: pointer;
}
.choiceWrap___QFkTc .choiceIndex___Mr2YO.judgementIndex___fUVWK {
border-radius: 2px;
}
.choiceWrap___QFkTc .setAnswerBtn___Whox5 {
border-radius: 2px;
border: 1px solid #DCDCDC;
font-size: 14px;
font-weight: 400;
color: #9096A3;
height: 46px;
display: flex;
align-items: center;
padding: 0 16px;
cursor: pointer;
}
.choiceWrap___QFkTc .activeAnswer___fGU6Y {
background-color: #37AD83;
border-color: #37AD83;
color: #fff;
}
.choiceWrap___QFkTc .activeJudgementAnswer___wJv8P {
background-color: #ebf6f2;
border-color: #37AD83;
color: #37AD83;
}
.choiceWrap___QFkTc .actionWrapper___ERQ7k {
display: flex;
align-items: center;
justify-content: flex-end;
margin: auto 0 auto 20px;
}
.choiceWrap___QFkTc .actionWrapper___ERQ7k .addIcon___L9TE0 {
color: #2FA34F;
font-size: 14px;
}
.choiceWrap___QFkTc .actionWrapper___ERQ7k .deleteIcon___JBDG8 {
color: #E30000;
font-size: 14px;
margin-left: 20px;
}
.inputBorder___Q5tRE {
border-radius: 2px;
border: 1px solid #DCDCDC;
padding: 8px 12px;
font-size: 14px;
min-height: 46px;
display: flex;
align-items: center;
}
.placeholder___p9sFY {
font-size: 14px;
font-weight: 400;
color: #9096A3;
}
.blankWrapper___nC45e {
display: flex;
align-items: center;
}
.blankWrapper___nC45e .blankInput___pEHsx {
border-radius: 2px;
border: 1px solid #DCDCDC;
height: 46px;
font-size: 14px;
}
.blankInputNumberWrapper___uEHb0 div[class~='ant-form-item-label'] {
line-height: 46px;
}
.blankInputNumberWrapper___uEHb0 [class~="ant-row"] {
align-items: center !important;
}
.blankInputNumberWrapper___uEHb0 input[class~='ant-input-number-input'] {
font-size: 14px;
height: 46px;
}
.addBtn___WR5ZI {
display: flex;
justify-content: center;
align-items: center;
width: 80px;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px -1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 16px;
cursor: pointer;
font-weight: 400;
color: #FFFFFF;
font-size: 12px;
}
.blankIndex___x9Pny {
font-size: 14px;
font-weight: 400;
color: #666666;
}
.baseInputWrapper___eVsG7 div[class~='ant-form-item-label'] {
line-height: 56px;
}
.baseInputWrapper___eVsG7 input[class~='ant-input-number-input'] {
font-size: 14px;
}
div[class~='ant-collapse-borderless'] {
background-color: #fff;
}
.collapseWrapper___ZTysU {
margin-bottom: 30px;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] {
margin-bottom: 20px;
border: none;
box-shadow: 0px 2px 4px 0px #EAEEF4;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-header'] {
padding: 0 20px !important;
height: 64px !important;
background-color: #F6F7F8;
align-items: center !important;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-content'] {
background-color: #fff !important;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-content'] div[class~='ant-collapse-content-box'] {
padding: 20px 40px !important;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item-active'] div[class~='ant-collapse-header'] {
background-color: #eaeffa !important;
}
.collapseWrapper___ZTysU .panelHeader___QSN9g {
font-size: 14px;
font-weight: 400;
color: #000000;
}
.collapseWrapper___ZTysU .panelHeader___QSN9g span {
color: #666666;
}
.collapseWrapper___ZTysU .open___B6FU9 {
color: #165DFF;
transform: rotateZ(90deg);
}
.collapseWrapper___ZTysU .close___QX19r {
color: #82A8FF;
}
.hide___mn25n {
display: none;
}

@ -0,0 +1,269 @@
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/Lists/Lesson/index.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___cFjD5 {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___WX1ma {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___iyMsP {
align-items: center;
box-align: center;
}
.flex_box_center_end___LFV4U {
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___GujFO {
flex-direction: column;
box-orient: block-axis;
}
.Onerow___QKU3O {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.MultiLine___ZOVUQ {
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.LessonsList___lfvK6 {
margin-top: 25px;
width: 100%;
display: flex;
flex-wrap: wrap;
gap: 30px 35px;
}
.LessonsListItem___Opl7o {
cursor: pointer;
width: 283px;
overflow: hidden;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 8px;
}
.LessonsListItem___Opl7o .LessonsListItemImg___rvVXp {
width: 100%;
transition: all 0.5s;
}
.LessonsListItem___Opl7o:hover .LessonsListItemImg___rvVXp {
transform: scale(1.1);
}
.imgUpLoad___wax6e {
position: relative;
width: 200px;
height: auto;
background-color: #f4f3f4;
display: flex;
align-items: center;
justify-content: center;
}
.imgUpLoad___wax6e > div {
position: absolute;
right: -6px;
top: -6px;
cursor: pointer;
background-color: #fff;
width: 16px;
height: 16px;
border-radius: 50%;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/QuestionEditor/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.wrap___ilWvf div[class~='ant-form-item'] {
margin-bottom: 0;
}
.wrap___ilWvf div[class~='ant-form-item-explain-error'] {
display: none;
}
.wrap___ilWvf .deleteIcon___JBDG8 {
color: #E30000;
font-size: 14px;
}
.wrap___ilWvf .keywordTag___iieCb {
padding: 10px 10px 10px 8px;
font-size: 14px;
font-weight: 400;
color: #000000;
}
.questionTitleEditorWrap___MHB5s {
margin-bottom: 18px;
}
.choiceWrap___QFkTc {
margin-bottom: 20px;
}
.choiceWrap___QFkTc .choiceIndex___Mr2YO {
display: flex;
flex: 0 0 auto;
justify-content: center;
align-items: center;
width: 46px;
height: 46px;
border-radius: 23px;
border: 1px solid #DCDCDC;
font-size: 16px;
font-weight: 400;
color: #464F66;
cursor: pointer;
}
.choiceWrap___QFkTc .choiceIndex___Mr2YO.judgementIndex___fUVWK {
border-radius: 2px;
}
.choiceWrap___QFkTc .setAnswerBtn___Whox5 {
border-radius: 2px;
border: 1px solid #DCDCDC;
font-size: 14px;
font-weight: 400;
color: #9096A3;
height: 46px;
display: flex;
align-items: center;
padding: 0 16px;
cursor: pointer;
}
.choiceWrap___QFkTc .activeAnswer___fGU6Y {
background-color: #37AD83;
border-color: #37AD83;
color: #fff;
}
.choiceWrap___QFkTc .activeJudgementAnswer___wJv8P {
background-color: #ebf6f2;
border-color: #37AD83;
color: #37AD83;
}
.choiceWrap___QFkTc .actionWrapper___ERQ7k {
display: flex;
align-items: center;
justify-content: flex-end;
margin: auto 0 auto 20px;
}
.choiceWrap___QFkTc .actionWrapper___ERQ7k .addIcon___L9TE0 {
color: #2FA34F;
font-size: 14px;
}
.choiceWrap___QFkTc .actionWrapper___ERQ7k .deleteIcon___JBDG8 {
color: #E30000;
font-size: 14px;
margin-left: 20px;
}
.inputBorder___Q5tRE {
border-radius: 2px;
border: 1px solid #DCDCDC;
padding: 8px 12px;
font-size: 14px;
min-height: 46px;
display: flex;
align-items: center;
}
.placeholder___p9sFY {
font-size: 14px;
font-weight: 400;
color: #9096A3;
}
.blankWrapper___nC45e {
display: flex;
align-items: center;
}
.blankWrapper___nC45e .blankInput___pEHsx {
border-radius: 2px;
border: 1px solid #DCDCDC;
height: 46px;
font-size: 14px;
}
.blankInputNumberWrapper___uEHb0 div[class~='ant-form-item-label'] {
line-height: 46px;
}
.blankInputNumberWrapper___uEHb0 [class~="ant-row"] {
align-items: center !important;
}
.blankInputNumberWrapper___uEHb0 input[class~='ant-input-number-input'] {
font-size: 14px;
height: 46px;
}
.addBtn___WR5ZI {
display: flex;
justify-content: center;
align-items: center;
width: 80px;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px -1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 16px;
cursor: pointer;
font-weight: 400;
color: #FFFFFF;
font-size: 12px;
}
.blankIndex___x9Pny {
font-size: 14px;
font-weight: 400;
color: #666666;
}
.baseInputWrapper___eVsG7 div[class~='ant-form-item-label'] {
line-height: 56px;
}
.baseInputWrapper___eVsG7 input[class~='ant-input-number-input'] {
font-size: 14px;
}
div[class~='ant-collapse-borderless'] {
background-color: #fff;
}
.collapseWrapper___ZTysU {
margin-bottom: 30px;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] {
margin-bottom: 20px;
border: none;
box-shadow: 0px 2px 4px 0px #EAEEF4;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-header'] {
padding: 0 20px !important;
height: 64px !important;
background-color: #F6F7F8;
align-items: center !important;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-content'] {
background-color: #fff !important;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item'] div[class~='ant-collapse-content'] div[class~='ant-collapse-content-box'] {
padding: 20px 40px !important;
}
.collapseWrapper___ZTysU div[class~='ant-collapse-item-active'] div[class~='ant-collapse-header'] {
background-color: #eaeffa !important;
}
.collapseWrapper___ZTysU .panelHeader___QSN9g {
font-size: 14px;
font-weight: 400;
color: #000000;
}
.collapseWrapper___ZTysU .panelHeader___QSN9g span {
color: #666666;
}
.collapseWrapper___ZTysU .open___B6FU9 {
color: #165DFF;
transform: rotateZ(90deg);
}
.collapseWrapper___ZTysU .close___QX19r {
color: #82A8FF;
}
.hide___mn25n {
display: none;
}

@ -0,0 +1,750 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[23873],{
/***/ 24720:
/*!**********************************************************!*\
!*** ./src/components/QuestionEditor/MdEditorInForm.tsx ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ h: function() { return /* binding */ MdEditorInForm; },
/* harmony export */ x: function() { return /* binding */ RegularInput; }
/* harmony export */ });
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js */ 39647);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _components_markdown_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components/markdown-editor */ 37570);
/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./index.less?modules */ 97195);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var _components_RenderHtml__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/components/RenderHtml */ 28312);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
var _excluded = ["value", "onChange", "scrollId"];
var MdEditorInForm = function MdEditorInForm(_ref) {
var value = _ref.value,
_onChange = _ref.onChange,
scrollId = _ref.scrollId,
props = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_1___default()(_ref, _excluded);
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", {
id: scrollId || '',
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_markdown_editor__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, props), {}, {
// hidetoolBar
defaultValue: value,
onChange: function onChange(a, b) {
console.log("a:", a, b);
if (!!(b !== null && b !== void 0 && b.length)) _onChange(a, b);else _onChange(a);
}
}))
});
};
var RegularInput = function RegularInput(_ref2) {
var value = _ref2.value,
onChange = _ref2.onChange,
placeholder = _ref2.placeholder,
_ref2$height = _ref2.height,
height = _ref2$height === void 0 ? 140 : _ref2$height,
isEdit = _ref2.isEdit;
return isEdit ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_markdown_editor__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, {
watch: true,
isFocus: true,
height: height,
placeholder: placeholder,
defaultValue: value,
onChange: onChange
}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", {
style: {
cursor: 'pointer'
},
children: value ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.inputBorder,
value: value
}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", {
className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.inputBorder, " ").concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.placeholder),
children: placeholder
})
});
};
/***/ }),
/***/ 78775:
/*!******************************************************************!*\
!*** ./src/pages/virtualSpaces/Lists/Lesson/AddOrEdit/index.tsx ***!
\******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js */ 79800);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js */ 39647);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 8591);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 59028);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 43418);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 71418);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 78241);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 73782);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd */ 57809);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! antd */ 95237);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! antd */ 43604);
/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../index.less?modules */ 47252);
/* harmony import */ var _utils_env__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/utils/env */ 92387);
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ant-design/icons */ 58670);
/* harmony import */ var _components_QuestionEditor_MdEditorInForm__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/components/QuestionEditor/MdEditorInForm */ 24720);
/* harmony import */ var _components_ui_customization__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/components/ui-customization */ 73210);
/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/utils/fetch */ 94255);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
var _excluded = ["handleFinish", "form", "dispatch"];
var AddOrEdit = function AddOrEdit(_ref) {
var _fileList$2;
var handleFinish = _ref.handleFinish,
form = _ref.form,
dispatch = _ref.dispatch,
props = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default()(_ref, _excluded);
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)([]),
_useState2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2),
fileList = _useState2[0],
setFileList = _useState2[1];
var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)([]),
_useState4 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState3, 2),
filterSchoolList = _useState4[0],
setFilterSchoolList = _useState4[1];
var timer = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);
var fetchIndex = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(1);
var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false),
_useState6 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState5, 2),
isLoading = _useState6[0],
setIsLoading = _useState6[1];
var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false),
_useState8 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState7, 2),
fetchLoading = _useState8[0],
setFetchLoading = _useState8[1];
var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)([]),
_useState10 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState9, 2),
schoolList = _useState10[0],
setSchoolList = _useState10[1];
var uploadProps = {
fileList: fileList,
maxCount: 1,
// accept: ".pdf, .docx, .doc, .xlsx, .xls, .ppt, .pptx, .zip,.jpg,.png",
accept: "image/*",
withCredentials: true,
beforeUpload: function beforeUpload(file) {
var fileSize = file.size / 1024 / 1024;
if (fileSize > 2 || fileSize == 0) {
antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.error("".concat(file.name, " \u56FE\u7247\u65E0\u6CD5\u4E0A\u4F20\u3002").concat(fileSize == 0 ? "文件内容不能为空" : '超过图片大小限制(2MB)'));
return antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.LIST_IGNORE;
}
return true;
},
onRemove: function onRemove(file) {
setFileList([]);
},
onChange: function onChange(info) {
form.setFieldsValue({
cover_id: ''
});
var statusList = ["uploading", "done", "removed"];
if (statusList.includes(info.file.status)) {
var _info$fileList;
setFileList(info.fileList);
form.setFieldsValue({
cover_id: (_info$fileList = info.fileList) === null || _info$fileList === void 0 || (_info$fileList = _info$fileList[0]) === null || _info$fileList === void 0 || (_info$fileList = _info$fileList.response) === null || _info$fileList === void 0 ? void 0 : _info$fileList.id
});
}
},
action: "".concat(_utils_env__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z.API_SERVER, "/api/attachments.json")
};
var renderImg = function renderImg() {
var _fileList$;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.imgUpLoad,
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("img", {
src: _utils_env__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z.API_SERVER + "/api/attachments/" + (fileList === null || fileList === void 0 || (_fileList$ = fileList[0]) === null || _fileList$ === void 0 || (_fileList$ = _fileList$.response) === null || _fileList$ === void 0 ? void 0 : _fileList$.id),
alt: "avatar",
style: {
width: '100%'
}
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
onClick: function onClick() {
setFileList([]);
form.setFieldsValue({
cover_id: ''
});
},
style: {
fontSize: '16px',
color: 'red'
}
})
})]
});
};
var getSchoolOption = /*#__PURE__*/function () {
var _ref2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee() {
var _res$schools;
var res;
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
setIsLoading(true);
_context.next = 3;
return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .ZP)("/api/schools/search.json", {
method: "get",
params: {
display_aliases: true,
per_page: 9999
}
});
case 3:
res = _context.sent;
setSchoolList(res === null || res === void 0 ? void 0 : res.schools);
setFilterSchoolList(res === null || res === void 0 ? void 0 : res.schools);
form.setFieldsValue({
school_id: (res === null || res === void 0 || (_res$schools = res.schools) === null || _res$schools === void 0 || (_res$schools = _res$schools.find(function (item) {
return item.id == parseInt(form.getFieldValue("school_id"));
})) === null || _res$schools === void 0 ? void 0 : _res$schools.name) || form.getFieldValue("school_id")
});
setIsLoading(false);
case 8:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getSchoolOption() {
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__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2() {
var currentFetch, res;
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
fetchIndex.current += 1;
currentFetch = fetchIndex.current;
_context2.next = 4;
return dispatch({
type: 'account/getSchoolOption',
payload: {
display_aliases: true,
keyword: name
}
});
case 4:
res = _context2.sent;
if (res.status === 0 && fetchIndex.current === currentFetch) {
setSchoolList(res === null || res === void 0 ? void 0 : res.schools);
setFetchLoading(false);
}
case 6:
case "end":
return _context2.stop();
}
}, _callee2);
})), time);
};
(0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {
if (props.open) {
if (form.getFieldValue("cover_id") && form.getFieldValue("cover")) {
setFileList([{
response: form.getFieldValue("cover")
}]);
}
getSchoolOption();
} else {
setFileList([]);
}
}, [props.open]);
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, props), {}, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
spinning: isLoading,
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
form: form,
size: "large",
initialValues: {},
layout: "vertical"
// onValuesChange={(changedValues: any) => {
// setFilterSchoolList(schoolList.filter(item => item.name.includes(changedValues.school_id)));
// }}
,
onFinish: function onFinish(ValueAll) {
// ValueAll.school_id = schoolList.find(item => item.name === ValueAll.school_id)?.id;
handleFinish(ValueAll);
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z.Item, {
htmlFor: null,
name: "name",
label: "\u597D\u8BFE\u540D\u79F0",
rules: [{
required: true,
message: '请输入好课名称'
}],
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
placeholder: "\u8BF7\u8F93\u5165\u597D\u8BFE\u540D\u79F0",
maxLength: 60,
showCount: true
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z.Item, {
htmlFor: null,
name: "creator",
label: "\u521B\u5EFA\u8005",
rules: [{
required: true,
message: '请输入创建者'
}],
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
placeholder: "\u8BF7\u8F93\u5165\u521B\u5EFA\u8005",
maxLength: 60,
showCount: true
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z.Item, {
htmlFor: null,
name: "school_id",
label: "\u6240\u5C5E\u5355\u4F4D",
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__["default"], {
showSearch: true,
filterOption: false,
onSearch: function onSearch(v) {
getSchools(v);
},
loading: fetchLoading,
size: "large",
style: {
width: '100%'
},
children: schoolList.map(function (item) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__["default"].Option, {
value: item.id,
children: item.name
}, item.id);
})
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z.Item, {
htmlFor: null,
name: "desc",
label: "\u7B80\u4ECB",
rules: [{
required: true,
message: '请输入好课简介'
}],
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components_QuestionEditor_MdEditorInForm__WEBPACK_IMPORTED_MODULE_8__/* .MdEditorInForm */ .h, {
placeholder: "\u8BF7\u8F93\u5165\u597D\u8BFE\u7B80\u4ECB",
scrollId: '',
watch: true,
height: 192
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z.Item, {
name: "cover_id",
label: "\u5C01\u9762\u56FE\u7247",
rules: [{
required: true,
message: '请上传好课图片'
}],
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.upload,
children: fileList !== null && fileList !== void 0 && (_fileList$2 = fileList[0]) !== null && _fileList$2 !== void 0 && (_fileList$2 = _fileList$2.response) !== null && _fileList$2 !== void 0 && _fileList$2.id ? renderImg() : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, uploadProps), {}, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z, {
wrap: false,
align: "middle",
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components_ui_customization__WEBPACK_IMPORTED_MODULE_9__/* .CustomButton */ .op, {
style: {
borderRadius: "2px"
},
icon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("i", {
className: "iconfont icon-shangchuan3"
}),
children: "\u56FE\u7247\u4E0A\u4F20"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .Z, {
style: {
marginLeft: "16px",
color: "#5F6367"
},
onClick: function onClick(e) {
e.preventDefault();
e.stopPropagation();
},
children: "\u8BF7\u9009\u62E9jpg\u3001png\u683C\u5F0F\uFF0C\u5EFA\u8BAE\u5C3A\u5BF8282*212\u50CF\u7D20"
})]
})
}))
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z.Item, {
htmlFor: null,
name: "lesson_url",
label: "\u8BFE\u7A0B\u94FE\u63A5",
rules: [{
type: 'url',
message: '资源链接格式不正确'
}],
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
placeholder: "\u8BF7\u8F93\u5165\u8BFE\u7A0B\u94FE\u63A5",
maxLength: 150
})
})]
})
})
}));
};
/* harmony default export */ __webpack_exports__.Z = (AddOrEdit);
/***/ }),
/***/ 40395:
/*!********************************************************************!*\
!*** ./src/pages/virtualSpaces/Lists/Lesson/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 */ Lesson; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(7557);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(41498);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
var objectSpread2 = __webpack_require__(82242);
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(79800);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__(39647);
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(65659);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules
var es_form = __webpack_require__(78241);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/col/index.js
var col = __webpack_require__(43604);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js
var row = __webpack_require__(95237);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules
var pagination = __webpack_require__(27092);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules
var message = __webpack_require__(8591);
// EXTERNAL MODULE: ./src/components/ui-customization/index.tsx + 32 modules
var ui_customization = __webpack_require__(73210);
// EXTERNAL MODULE: ./src/components/NoData/index.tsx
var NoData = __webpack_require__(65119);
// EXTERNAL MODULE: ./src/pages/virtualSpaces/Lists/Lesson/index.less?modules
var Lessonmodules = __webpack_require__(47252);
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(92387);
// EXTERNAL MODULE: ./src/utils/util.tsx
var util = __webpack_require__(84357);
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Lesson/imgs/AddIcon.png
var AddIcon_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAABE9JREFUOE+t1OtPU3ccx/HPOac9l5ZSxEuhwKZSIVW0CGFInEEHLhDHpiQjmSLO7cGyZdklS5YtE5Lhhblp2Ngkc/PCbHDIxcUEnOJikMV5WShRJsqlCBRs4XBraUvpac9vcTrHRvDBtt8f8Mrv+37woQghDP7HRz0W7G1SArdMEpQmmaJCFZRvOOB3XuYMu3rn+sPcoP1kdO+VY4f1qTs2Kucl0BTDAvI0iKfXScYt++hlW0qBZPmf8EOwhW4/2ZCnC2eVjMwADKG0qyNeu3G+NjXg7oVpQxYodSwobhFobiEwPRgM2FvLJ/rDLDQAr28aTi7MkvD827cegDfN/KEjVWPmNhurFnhsTgvHG1uT0Nlci6tNfUhM0cFoigRoNSheB0qIQmBqHB8etaHjnhec24mSnS8UL9+2p/gPcOimma+pOC2eEP3CvFA1yrJsMEQEce1iD6JiVLB2uaBgVUhI1kHFyZCDMoJBgusjT+KQRQ968C72PremMH7rnpJHYO2JH8Rjgx4hZYkCn663osfqRlAiiIqNgS4CcA07YO32wiuHQK8PwYLQKfiDNN5qSoQ0OIbiTamFxplgTUWdeNg2KRQk+RExcAP1FgWy1yzAvQkCdUgQQy4JSVFA56ASPo8PPY4pfJDPoWY8Ga0tk9i/Ob3ImL9736OGX1bUiV/1jAvvp4yhv6kd7HwtVmTkwnLlOtLXxmGy7zKWpeVi78EGvP7KBpw9XokUowIjsck4cwk4sCW90Lh9xsmnjteKZd2jwu5UO8ZvDUBWMDCsNACMCqGsiOSnn8DFn0QoWQ084yMYstpAgSAYF4+66yqUvfRsoXFr8cOGjWa++lydeMThF0rXWcE5h9H22xS2bddD0AigaIKJ0QDCF7KQ/DJco258X+mAPlKJqahYVDQLKM3LLFpZsPfByUONZv7UuVrx23vTwtEcGyLpMbRYPBAEGpnZkThzbgK377ixNk2LdU+p0VjvgH1YQuJKASOCHp/Va3AgN73I9HLJX2DV2Wqx3OYRvst1IF7rxsDANJp/diEykoUpSQNCAMgErS0uiKKEVavUiFsmoMM9H0VVPD7Pe+bvYGV9tVjW5xIyDD5kLvFCBT8cAwSinUYM2w9NCIMJZwDDZCk04V5EL2bhV6pRf4dHZ5sX5flZhat3fvKgob3+G+7C5fN3RmVKydAUgUqn9cdsEHzcUooJuJEtfA3O34VgaApqxG3geRrc6FVZ6fh1jEhSQJp0wbTceDDzzdLSWeNw+hd79KhEX3NN+nTd3XfBK4LIyzDCJ8lQ0gRVFzrBszz0i6OhVSu+eHV91HszB2IWWN7Y97FXoj9yOmxoN+/CfmMcfPcDUhTuh2QYBpaIFeiI34iwEM4Vo5EML64zjP2JzgJLf+y5BLApI31daHh3E2vWLYKHEBBQoEFAAkHczimQe9bvCIRrBUIF3FveyVneOCf4X8f78Yv9L/TfAdDhGTPNBgwfAAAAAElFTkSuQmCC";
// EXTERNAL MODULE: ./src/pages/virtualSpaces/Lists/Lesson/AddOrEdit/index.tsx
var AddOrEdit = __webpack_require__(78775);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Lesson/index.tsx
var _excluded = ["classroomList", "globalSetting", "user", "virtualSpaces", "loading", "dispatch"];
var LessonPage = function LessonPage(_ref) {
var _menus$find, _LessonsList$data, _LessonsList$data2, _LessonsList$data3, _LessonsList$data4, _LessonsList$data5, _LessonsList$data6;
var classroomList = _ref.classroomList,
globalSetting = _ref.globalSetting,
user = _ref.user,
virtualSpaces = _ref.virtualSpaces,
loading = _ref.loading,
dispatch = _ref.dispatch,
props = objectWithoutProperties_default()(_ref, _excluded);
var virtualSpacesDetails = virtualSpaces.virtualSpacesDetails,
menus = virtualSpaces.menus,
LessonsList = virtualSpaces.LessonsList;
var _Form$useForm = es_form/* default */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
form = _Form$useForm2[0];
var _useState = (0,_react_17_0_2_react.useState)({}),
_useState2 = slicedToArray_default()(_useState, 2),
fileList = _useState2[0],
setFileList = _useState2[1];
var _useParams = (0,_umi_production_exports.useParams)(),
virtual_spacesId = _useParams.virtual_spacesId;
var _useState3 = (0,_react_17_0_2_react.useState)(false),
_useState4 = slicedToArray_default()(_useState3, 2),
isAddLesson = _useState4[0],
setIsAddLesson = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)({
page: 1,
limit: 15
}),
_useState6 = slicedToArray_default()(_useState5, 2),
urlData = _useState6[0],
setUrlData = _useState6[1];
// const moduleName = menus?.find((e: any) => e.module_url === location.pathname)?.name || '';
var moduleName = (menus === null || menus === void 0 || (_menus$find = menus.find(function (e) {
return e.id == window.localStorage.getItem('vtrsModuleId');
})) === null || _menus$find === void 0 ? void 0 : _menus$find.name) || '';
var getGoodLessonsList = function getGoodLessonsList() {
console.log('1111');
window.scrollTo(0, 0);
dispatch({
type: "virtualSpaces/getGoodLessonsList",
payload: objectSpread2_default()(objectSpread2_default()({}, urlData), {}, {
virtual_spacesId: virtual_spacesId,
virtual_module_id: window.localStorage.getItem('vtrsModuleId')
})
});
};
(0,_react_17_0_2_react.useEffect)(function () {
getGoodLessonsList();
}, [urlData]);
return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading["virtualSpaces/getGoodLessonsList"],
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "ml40 mr40",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomTabs */.YG, {
value: 'all',
onChange: function onChange() {},
tabBarExtraContent: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
icon: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
width: 20,
src: AddIcon_namespaceObject
}),
onClick: function onClick() {
var _user$userInfo;
setIsAddLesson(true);
form.setFieldsValue({
creator: user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.real_name
});
},
children: "\u65B0\u5EFA\u597D\u8BFE"
}),
dataSource: [{
id: 'all',
name: moduleName,
total: LessonsList === null || LessonsList === void 0 || (_LessonsList$data = LessonsList.data) === null || _LessonsList$data === void 0 ? void 0 : _LessonsList$data.count
}]
}), (LessonsList === null || LessonsList === void 0 || (_LessonsList$data2 = LessonsList.data) === null || _LessonsList$data2 === void 0 ? void 0 : _LessonsList$data2.count) == 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {}) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Lessonmodules/* default */.Z.LessonsList,
children: LessonsList === null || LessonsList === void 0 || (_LessonsList$data3 = LessonsList.data) === null || _LessonsList$data3 === void 0 || (_LessonsList$data3 = _LessonsList$data3.list) === null || _LessonsList$data3 === void 0 ? void 0 : _LessonsList$data3.map(function (item, index) {
var _item$cover;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Lessonmodules/* default */.Z.LessonsListItem,
onClick: function onClick() {
_umi_production_exports.history.push("/".concat(util/* vtrsKey */.AS, "/").concat(virtual_spacesId, "/lesson/").concat(item.id, "/detail?leftMenuId=").concat(window.localStorage.getItem('vtrsModuleId')));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
style: {
width: 283,
height: 177,
overflow: "hidden"
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: Lessonmodules/* default */.Z.LessonsListItemImg,
src: "".concat(env/* default */.Z.API_SERVER).concat(item === null || item === void 0 || (_item$cover = item.cover) === null || _item$cover === void 0 ? void 0 : _item$cover.url)
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
padding: "26px 12px"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
title: item.name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "font16 ".concat(Lessonmodules/* default */.Z.Onerow),
style: {
color: "#333",
fontWeight: 600
},
children: item.name
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mt10 ".concat(Lessonmodules/* default */.Z.MultiLine),
style: {
color: "#666"
},
children: item.desc
})]
})]
}, index);
})
}), (LessonsList === null || LessonsList === void 0 || (_LessonsList$data4 = LessonsList.data) === null || _LessonsList$data4 === void 0 ? void 0 : _LessonsList$data4.count) != 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mt20 mb20",
wrap: false,
align: "middle",
justify: "space-between",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
children: ["\u5171\xA0", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "#165DFF"
},
children: (LessonsList === null || LessonsList === void 0 || (_LessonsList$data5 = LessonsList.data) === null || _LessonsList$data5 === void 0 ? void 0 : _LessonsList$data5.count) || 0
}), "\xA0\u6761\u6570\u636E"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
showSizeChanger: false,
showQuickJumper: true,
current: urlData.page,
pageSize: urlData.limit,
onChange: function onChange(page, limit) {
return setUrlData(objectSpread2_default()(objectSpread2_default()({}, urlData), {}, {
page: page,
limit: limit
}));
},
total: (LessonsList === null || LessonsList === void 0 || (_LessonsList$data6 = LessonsList.data) === null || _LessonsList$data6 === void 0 ? void 0 : _LessonsList$data6.count) || 0
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(AddOrEdit/* default */.Z, {
title: "新建好课",
form: form,
width: 1200,
open: isAddLesson,
destroyOnClose: true,
centered: true,
dispatch: dispatch,
onCancel: function onCancel() {
form.resetFields();
setIsAddLesson(false);
},
confirmLoading: loading["virtualSpaces/postGoodLessonsList"],
onOk: function onOk() {
return form.submit();
},
handleFinish: ( /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(ValueAll) {
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return dispatch({
type: "virtualSpaces/postGoodLessonsList",
payload: objectSpread2_default()(objectSpread2_default()({
virtual_spacesId: virtual_spacesId
}, ValueAll), {}, {
virtual_module_id: window.localStorage.getItem('vtrsModuleId')
})
});
case 2:
res = _context.sent;
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
message/* default */.ZP.success("创建成功");
form.resetFields();
setIsAddLesson(false);
getGoodLessonsList();
}
case 4:
case "end":
return _context.stop();
}
}, _callee);
}));
return function (_x) {
return _ref2.apply(this, arguments);
};
}())
})]
})
});
};
/* harmony default export */ var Lesson = ((0,_umi_production_exports.connect)(function (_ref3) {
var classroomList = _ref3.classroomList,
loading = _ref3.loading,
globalSetting = _ref3.globalSetting,
virtualSpaces = _ref3.virtualSpaces,
user = _ref3.user;
return {
classroomList: classroomList,
globalSetting: globalSetting,
loading: loading.effects,
virtualSpaces: virtualSpaces,
user: user
};
})(LessonPage));
/***/ }),
/***/ 97195:
/*!**********************************************************!*\
!*** ./src/components/QuestionEditor/index.less?modules ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
// extracted by mini-css-extract-plugin
/* harmony default export */ __webpack_exports__.Z = ({"wrap":"wrap___ilWvf","deleteIcon":"deleteIcon___JBDG8","keywordTag":"keywordTag___iieCb","questionTitleEditorWrap":"questionTitleEditorWrap___MHB5s","choiceWrap":"choiceWrap___QFkTc","choiceIndex":"choiceIndex___Mr2YO","judgementIndex":"judgementIndex___fUVWK","setAnswerBtn":"setAnswerBtn___Whox5","activeAnswer":"activeAnswer___fGU6Y","activeJudgementAnswer":"activeJudgementAnswer___wJv8P","actionWrapper":"actionWrapper___ERQ7k","addIcon":"addIcon___L9TE0","inputBorder":"inputBorder___Q5tRE","placeholder":"placeholder___p9sFY","blankWrapper":"blankWrapper___nC45e","blankInput":"blankInput___pEHsx","blankInputNumberWrapper":"blankInputNumberWrapper___uEHb0","addBtn":"addBtn___WR5ZI","blankIndex":"blankIndex___x9Pny","baseInputWrapper":"baseInputWrapper___eVsG7","collapseWrapper":"collapseWrapper___ZTysU","panelHeader":"panelHeader___QSN9g","open":"open___B6FU9","close":"close___QX19r","hide":"hide___mn25n"});
/***/ }),
/***/ 47252:
/*!*****************************************************************!*\
!*** ./src/pages/virtualSpaces/Lists/Lesson/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___cFjD5","flex_space_between":"flex_space_between___WX1ma","flex_box_vertical_center":"flex_box_vertical_center___iyMsP","flex_box_center_end":"flex_box_center_end___LFV4U","flex_box_column":"flex_box_column___GujFO","Onerow":"Onerow___QKU3O","MultiLine":"MultiLine___ZOVUQ","LessonsList":"LessonsList___lfvK6","LessonsListItem":"LessonsListItem___Opl7o","LessonsListItemImg":"LessonsListItemImg___rvVXp","imgUpLoad":"imgUpLoad___wax6e"});
/***/ })
}]);

@ -82,23 +82,34 @@ var AddOrEdit = function AddOrEdit(_ref) {
_useState4 = slicedToArray_default()(_useState3, 2),
fileList = _useState4[0],
setFileList = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(false),
var _useState5 = (0,_react_17_0_2_react.useState)([]),
_useState6 = slicedToArray_default()(_useState5, 2),
imgLoading = _useState6[0],
setImgLoading = _useState6[1];
console.log(visible, 22);
filePdf = _useState6[0],
setFilePdf = _useState6[1];
var _useState7 = (0,_react_17_0_2_react.useState)(false),
_useState8 = slicedToArray_default()(_useState7, 2),
imgLoading = _useState8[0],
setImgLoading = _useState8[1];
(0,_react_17_0_2_react.useEffect)(function () {
if (visible !== null && visible !== void 0 && visible.id) {
var _visible$attachment, _visible$attachment2;
var _visible$attachment, _visible$attachment2, _visible$attachment3, _visible$attachment4, _visible$attachment5;
form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, visible), {}, {
attachment_id: visible === null || visible === void 0 || (_visible$attachment = visible.attachment) === null || _visible$attachment === void 0 ? void 0 : _visible$attachment.id
attachment_id: visible === null || visible === void 0 || (_visible$attachment = visible.attachment) === null || _visible$attachment === void 0 ? void 0 : _visible$attachment.id,
zxjc_id: visible === null || visible === void 0 || (_visible$attachment2 = visible.attachment) === null || _visible$attachment2 === void 0 ? void 0 : _visible$attachment2.id
}));
var newFileList = [objectSpread2_default()(objectSpread2_default()({}, visible === null || visible === void 0 ? void 0 : visible.attachment), {}, {
response: {
id: visible === null || visible === void 0 || (_visible$attachment2 = visible.attachment) === null || _visible$attachment2 === void 0 ? void 0 : _visible$attachment2.id
id: visible === null || visible === void 0 || (_visible$attachment3 = visible.attachment) === null || _visible$attachment3 === void 0 ? void 0 : _visible$attachment3.id
}
})];
var newPdfList = [objectSpread2_default()(objectSpread2_default()({}, visible === null || visible === void 0 ? void 0 : visible.attachment), {}, {
response: {
id: visible === null || visible === void 0 || (_visible$attachment4 = visible.attachment) === null || _visible$attachment4 === void 0 ? void 0 : _visible$attachment4.id
},
name: visible === null || visible === void 0 || (_visible$attachment5 = visible.attachment) === null || _visible$attachment5 === void 0 ? void 0 : _visible$attachment5.title
})];
setFileList(newFileList);
setFilePdf(newPdfList);
}
}, [visible]);
var handleOk = function handleOk() {
@ -165,6 +176,37 @@ var AddOrEdit = function AddOrEdit(_ref) {
setFileList([]);
return true;
};
var handlePdfChange = function handlePdfChange(info) {
form.setFieldsValue({
zxjc_id: ''
});
var statusList = ["uploading", "done", "removed"];
if (statusList.includes(info.file.status)) {
var _info$fileList2;
// if (info.file.status === 'uploading') {
// setImgLoading(true);
// }
// if (info.file.status === 'done') {
// setImgLoading(false);
// }
setFilePdf(info.fileList);
form.setFieldsValue({
zxjc_id: (_info$fileList2 = info.fileList) === null || _info$fileList2 === void 0 || (_info$fileList2 = _info$fileList2[0]) === null || _info$fileList2 === void 0 || (_info$fileList2 = _info$fileList2.response) === null || _info$fileList2 === void 0 ? void 0 : _info$fileList2.id
});
}
};
var handlePdfRemove = function handlePdfRemove(file) {
setFilePdf([]);
};
var handlePdfBeforeUpload = function handlePdfBeforeUpload(file) {
var isJpgOrPng = file.type === 'application/pdf';
if (!isJpgOrPng) {
message/* default */.ZP.error('请上传pdf文件!');
return Promise.reject();
}
setFilePdf([]);
return true;
};
var renderImg = function renderImg() {
var _fileList$2;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -205,6 +247,7 @@ var AddOrEdit = function AddOrEdit(_ref) {
afterClose: function afterClose() {
setBtnLoading(false);
setFileList([]);
setFilePdf([]);
form.resetFields();
},
okText: '确认',
@ -335,6 +378,63 @@ var AddOrEdit = function AddOrEdit(_ref) {
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u8D2D\u4E66\u94FE\u63A5",
name: "buy_url",
rules: [{
type: 'url',
message: '购书链接格式不正确'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
placeholder: "\u8BF7\u8F93\u5165\u8D2D\u4E66\u94FE\u63A5",
maxLength: 150
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u76F8\u5173\u8BFE\u7A0B\u94FE\u63A5",
name: "relevance_url",
rules: [{
type: 'url',
message: '相关课程链接格式不正确'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
placeholder: "\u8BF7\u8F93\u5165\u76F8\u5173\u8BFE\u7A0B\u94FE\u63A5",
maxLength: 150
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "zxjc_id",
label: "\u5728\u7EBF\u6559\u6750",
rules: [{
required: true,
message: '请上传在线教材'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: AddOrEditmodules.upload,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(upload/* default */.Z, {
fileList: filePdf,
action: "".concat(env/* default */.Z.API_SERVER, "/api/attachments.json"),
onChange: function onChange(e) {
return handlePdfChange(e);
},
onRemove: function onRemove(e) {
return handlePdfRemove(e);
},
beforeUpload: function beforeUpload(e) {
return handlePdfBeforeUpload(e);
},
withCredentials: true,
accept: "application/pdf",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(ui_customization/* CustomButton */.op, {
style: {
borderRadius: '2px',
marginLeft: 4,
marginTop: 3
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shangchuantupian2 mr5"
}), "\u4E0A\u4F20\u6587\u4EF6"]
})
})
})
})]
})
});

@ -127,23 +127,34 @@ var AddOrEdit = function AddOrEdit(_ref) {
_useState4 = slicedToArray_default()(_useState3, 2),
fileList = _useState4[0],
setFileList = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(false),
var _useState5 = (0,_react_17_0_2_react.useState)([]),
_useState6 = slicedToArray_default()(_useState5, 2),
imgLoading = _useState6[0],
setImgLoading = _useState6[1];
console.log(visible, 22);
filePdf = _useState6[0],
setFilePdf = _useState6[1];
var _useState7 = (0,_react_17_0_2_react.useState)(false),
_useState8 = slicedToArray_default()(_useState7, 2),
imgLoading = _useState8[0],
setImgLoading = _useState8[1];
(0,_react_17_0_2_react.useEffect)(function () {
if (visible !== null && visible !== void 0 && visible.id) {
var _visible$attachment, _visible$attachment2;
var _visible$attachment, _visible$attachment2, _visible$attachment3, _visible$attachment4, _visible$attachment5;
form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, visible), {}, {
attachment_id: visible === null || visible === void 0 || (_visible$attachment = visible.attachment) === null || _visible$attachment === void 0 ? void 0 : _visible$attachment.id
attachment_id: visible === null || visible === void 0 || (_visible$attachment = visible.attachment) === null || _visible$attachment === void 0 ? void 0 : _visible$attachment.id,
zxjc_id: visible === null || visible === void 0 || (_visible$attachment2 = visible.attachment) === null || _visible$attachment2 === void 0 ? void 0 : _visible$attachment2.id
}));
var newFileList = [objectSpread2_default()(objectSpread2_default()({}, visible === null || visible === void 0 ? void 0 : visible.attachment), {}, {
response: {
id: visible === null || visible === void 0 || (_visible$attachment2 = visible.attachment) === null || _visible$attachment2 === void 0 ? void 0 : _visible$attachment2.id
id: visible === null || visible === void 0 || (_visible$attachment3 = visible.attachment) === null || _visible$attachment3 === void 0 ? void 0 : _visible$attachment3.id
}
})];
var newPdfList = [objectSpread2_default()(objectSpread2_default()({}, visible === null || visible === void 0 ? void 0 : visible.attachment), {}, {
response: {
id: visible === null || visible === void 0 || (_visible$attachment4 = visible.attachment) === null || _visible$attachment4 === void 0 ? void 0 : _visible$attachment4.id
},
name: visible === null || visible === void 0 || (_visible$attachment5 = visible.attachment) === null || _visible$attachment5 === void 0 ? void 0 : _visible$attachment5.title
})];
setFileList(newFileList);
setFilePdf(newPdfList);
}
}, [visible]);
var handleOk = function handleOk() {
@ -210,6 +221,37 @@ var AddOrEdit = function AddOrEdit(_ref) {
setFileList([]);
return true;
};
var handlePdfChange = function handlePdfChange(info) {
form.setFieldsValue({
zxjc_id: ''
});
var statusList = ["uploading", "done", "removed"];
if (statusList.includes(info.file.status)) {
var _info$fileList2;
// if (info.file.status === 'uploading') {
// setImgLoading(true);
// }
// if (info.file.status === 'done') {
// setImgLoading(false);
// }
setFilePdf(info.fileList);
form.setFieldsValue({
zxjc_id: (_info$fileList2 = info.fileList) === null || _info$fileList2 === void 0 || (_info$fileList2 = _info$fileList2[0]) === null || _info$fileList2 === void 0 || (_info$fileList2 = _info$fileList2.response) === null || _info$fileList2 === void 0 ? void 0 : _info$fileList2.id
});
}
};
var handlePdfRemove = function handlePdfRemove(file) {
setFilePdf([]);
};
var handlePdfBeforeUpload = function handlePdfBeforeUpload(file) {
var isJpgOrPng = file.type === 'application/pdf';
if (!isJpgOrPng) {
message/* default */.ZP.error('请上传pdf文件!');
return Promise.reject();
}
setFilePdf([]);
return true;
};
var renderImg = function renderImg() {
var _fileList$2;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -250,6 +292,7 @@ var AddOrEdit = function AddOrEdit(_ref) {
afterClose: function afterClose() {
setBtnLoading(false);
setFileList([]);
setFilePdf([]);
form.resetFields();
},
okText: '确认',
@ -380,6 +423,63 @@ var AddOrEdit = function AddOrEdit(_ref) {
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u8D2D\u4E66\u94FE\u63A5",
name: "buy_url",
rules: [{
type: 'url',
message: '购书链接格式不正确'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
placeholder: "\u8BF7\u8F93\u5165\u8D2D\u4E66\u94FE\u63A5",
maxLength: 150
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u76F8\u5173\u8BFE\u7A0B\u94FE\u63A5",
name: "relevance_url",
rules: [{
type: 'url',
message: '相关课程链接格式不正确'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
placeholder: "\u8BF7\u8F93\u5165\u76F8\u5173\u8BFE\u7A0B\u94FE\u63A5",
maxLength: 150
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "zxjc_id",
label: "\u5728\u7EBF\u6559\u6750",
rules: [{
required: true,
message: '请上传在线教材'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: AddOrEditmodules.upload,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(upload/* default */.Z, {
fileList: filePdf,
action: "".concat(env/* default */.Z.API_SERVER, "/api/attachments.json"),
onChange: function onChange(e) {
return handlePdfChange(e);
},
onRemove: function onRemove(e) {
return handlePdfRemove(e);
},
beforeUpload: function beforeUpload(e) {
return handlePdfBeforeUpload(e);
},
withCredentials: true,
accept: "application/pdf",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(ui_customization/* CustomButton */.op, {
style: {
borderRadius: '2px',
marginLeft: 4,
marginTop: 3
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shangchuantupian2 mr5"
}), "\u4E0A\u4F20\u6587\u4EF6"]
})
})
})
})]
})
});
@ -418,13 +518,19 @@ var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(65659);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js
var row = __webpack_require__(95237);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/col/index.js
var col = __webpack_require__(43604);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/skeleton/index.js + 12 modules
var skeleton = __webpack_require__(96865);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./src/components/NoData/index.tsx
var NoData = __webpack_require__(65119);
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Material/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Materialmodules = ({"flex_box_center":"flex_box_center___ib72a","flex_space_between":"flex_space_between___QmDfb","flex_box_vertical_center":"flex_box_vertical_center___XXhZp","flex_box_center_end":"flex_box_center_end___HeMGP","flex_box_column":"flex_box_column___g0Y22","wrap":"wrap___VxAa4","list":"list___BOHb1","left":"left___KgBuF","right":"right___bBZU2","title":"title___uBnVu","des":"des___MgP7x"});
/* harmony default export */ var Materialmodules = ({"flex_box_center":"flex_box_center___ib72a","flex_space_between":"flex_space_between___QmDfb","flex_box_vertical_center":"flex_box_vertical_center___XXhZp","flex_box_center_end":"flex_box_center_end___HeMGP","flex_box_column":"flex_box_column___g0Y22","wrap":"wrap___VxAa4","list":"list___BOHb1","left":"left___KgBuF","right":"right___bBZU2","title":"title___uBnVu","des":"des___MgP7x","PieceFenbuList":"PieceFenbuList___gzTyL","PieceFenbuItem":"PieceFenbuItem___Z9J18","MultiLine3":"MultiLine3___KeM07"});
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(94255);
// EXTERNAL MODULE: ./src/components/ui-customization/index.tsx + 32 modules
@ -490,6 +596,10 @@ var Page = function Page(_ref) {
active = _useState8[0],
setActive = _useState8[1];
var permission = (virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.is_member) || (0,authority/* isSuperAdmins */.Ny)();
var _useState9 = (0,_react_17_0_2_react.useState)(parseInt(localStorage.getItem('isMaterPieceFenbu') || "1")),
_useState10 = slicedToArray_default()(_useState9, 2),
isPieceFenbu = _useState10[0],
setIsPieceFenbu = _useState10[1];
(0,_react_17_0_2_react.useEffect)(function () {
getData();
}, [active]);
@ -531,6 +641,10 @@ var Page = function Page(_ref) {
id: '2',
name: '实践教材'
// total: 22
}, {
id: '3',
name: '其他教材'
// total: 22
}];
var handleOk = /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(values) {
@ -568,8 +682,18 @@ var Page = function Page(_ref) {
onChange: function onChange(k) {
setActive(k);
},
tabBarExtraContent: permission && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [active === '1' && /*#__PURE__*/(0,jsx_runtime.jsxs)(ui_customization/* CustomButton */.op, {
tabBarExtraContent: permission && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "mr20",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont ".concat(isPieceFenbu != 1 ? "icon-fenbu-2" : "icon-fenbu"),
onClick: function onClick() {
setIsPieceFenbu(isPieceFenbu != 1 ? 1 : 2);
localStorage.setItem('isMaterPieceFenbu', "".concat(isPieceFenbu != 1 ? 1 : 2));
}
})
}), active === '1' && /*#__PURE__*/(0,jsx_runtime.jsxs)(ui_customization/* CustomButton */.op, {
onClick: function onClick() {
return setVisible(true);
},
@ -593,65 +717,158 @@ var Page = function Page(_ref) {
},
src: addM_namespaceObject
}), "\u65B0\u5EFA\u5B9E\u8DF5\u6559\u6750"]
}), active === '3' && /*#__PURE__*/(0,jsx_runtime.jsxs)(ui_customization/* CustomButton */.op, {
onClick: function onClick() {
return setVisible(true);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: "mr5",
width: 20,
style: {
marginTop: -2
},
src: addM_namespaceObject
}), "\u65B0\u5EFA\u5176\u4ED6\u6559\u6750"]
})]
}),
dataSource: tabs
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(skeleton/* default */.Z, {
className: "mt20",
loading: loading,
children: [!list.length && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {}), list.map(function (item) {
var name = item.name,
id = item.id,
attachment = item.attachment,
author = item.author,
publisher = item.publisher,
number = item.number,
publication_time = item.publication_time,
description = item.description;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Materialmodules.list,
onClick: function onClick() {
return _umi_production_exports.history.push("/".concat(util/* vtrsKey */.AS, "/").concat(query.virtual_spacesId, "/material/").concat(id, "/detail"));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Materialmodules.left,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: env/* default */.Z.API_SERVER + (attachment === null || attachment === void 0 ? void 0 : attachment.url)
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Materialmodules.right,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Materialmodules.title,
children: name
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [!list.length && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {}), isPieceFenbu != 1 ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Materialmodules.PieceFenbuList,
children: list.map(function (item) {
var name = item.name,
id = item.id,
attachment = item.attachment,
author = item.author,
publisher = item.publisher,
number = item.number,
publication_time = item.publication_time,
description = item.description;
return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: Materialmodules.PieceFenbuItem,
wrap: false,
onClick: function onClick() {
return _umi_production_exports.history.push("/".concat(util/* vtrsKey */.AS, "/").concat(query.virtual_spacesId, "/material/").concat(id, "/detail?leftMenuId=").concat(window.localStorage.getItem('vtrsModuleId')));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
style: {
flexDirection: "column",
width: 171
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
width: 171,
height: 215,
src: env/* default */.Z.API_SERVER + (attachment === null || attachment === void 0 ? void 0 : attachment.url)
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "font12",
style: {
marginTop: "15px"
},
children: ["\u4F5C\u8005\uFF1A", author]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mt10 font12",
children: ["\u51FA\u7248\u793E\uFF1A", publisher]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mt10 font12",
children: ["ISBN\uFF1A", number]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mt10 font12",
children: ["\u51FA\u7248\u65F6\u95F4\uFF1A", publication_time]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "c-grey-666 font14 mb5",
children: "\u7B80\u4ECB\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Materialmodules.des,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
showTextOnly: true,
showLines: 3,
value: description || ''
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "ml20",
style: {
flexDirection: "column",
flex: 1,
position: "relative"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
title: name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "".concat(Materialmodules.MultiLine, " font16"),
style: {
marginTop: "13px",
fontWeight: 500
},
children: name
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: Materialmodules.MultiLine3,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
showTextOnly: true,
value: "简介:" + (description || '暂未填写内容~')
})
})]
})]
}, id);
})
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
children: list.map(function (item) {
var name = item.name,
id = item.id,
attachment = item.attachment,
author = item.author,
publisher = item.publisher,
number = item.number,
publication_time = item.publication_time,
description = item.description;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Materialmodules.list,
onClick: function onClick() {
return _umi_production_exports.history.push("/".concat(util/* vtrsKey */.AS, "/").concat(query.virtual_spacesId, "/material/").concat(id, "/detail?leftMenuId=").concat(window.localStorage.getItem('vtrsModuleId')));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Materialmodules.left,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: env/* default */.Z.API_SERVER + (attachment === null || attachment === void 0 ? void 0 : attachment.url)
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Materialmodules.right,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Materialmodules.title,
children: name
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: author,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u4F5C\u8005\uFF1A", author]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: publisher,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u51FA\u7248\u793E\uFF1A", publisher]
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: number,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["ISBN\uFF1A", number]
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u51FA\u7248\u65F6\u95F4\uFF1A", publication_time]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "c-grey-666 font14 mb5",
children: "\u7B80\u4ECB\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Materialmodules.des,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
showTextOnly: true,
showLines: 3,
value: description || ''
})
})]
})]
})]
}, id);
}, id);
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(AddOrEdit/* default */.Z, {
visible: visible,
title: active === '1' ? '主教材' : "实践教材",
title: active === '1' ? '主教材' : active === '2' ? '实践教材' : "其他教材",
onCancel: function onCancel() {
return setVisible(false);
},

@ -83,6 +83,39 @@
.wrap___VxAa4 .list___BOHb1 .right___bBZU2::-webkit-scrollbar {
display: none;
}
.wrap___VxAa4 .PieceFenbuList___gzTyL {
margin-top: 25px;
display: flex;
flex-wrap: wrap;
gap: 42px 30px;
}
.wrap___VxAa4 .PieceFenbuList___gzTyL .PieceFenbuItem___Z9J18 {
width: 444px;
padding: 20px;
position: relative;
color: #000;
}
.wrap___VxAa4 .PieceFenbuList___gzTyL .PieceFenbuItem___Z9J18 .MultiLine3___KeM07 {
position: absolute;
top: 70px;
-webkit-line-clamp: 11;
font-weight: 400;
color: #666666;
line-height: 25px;
font-size: 14px;
}
.wrap___VxAa4 .PieceFenbuList___gzTyL .PieceFenbuItem___Z9J18 img {
z-index: 1;
}
.wrap___VxAa4 .PieceFenbuList___gzTyL .PieceFenbuItem___Z9J18::before {
content: "";
position: absolute;
width: 100%;
height: calc(100% - 85px);
background: #F6F7F9;
bottom: 0;
left: 0;
}
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.26@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/Lists/Material/AddOrEdit/index.less?modules ***!

@ -309,4 +309,31 @@
line-height: 20px;
margin-left: 30px;
}
.tabs___vHdEw {
width: 100%;
display: flex;
height: 43px;
margin-top: 20px;
border-bottom: 1px #eeeeee solid;
}
.tabs___vHdEw .item_tab___gHOXT,
.tabs___vHdEw .active_tab___Th9Td {
font-size: 14px;
margin-right: 40px;
cursor: pointer;
display: flex;
}
.tabs___vHdEw .item_tab___gHOXT {
color: #666666;
}
.tabs___vHdEw .active_tab___Th9Td {
color: #2A6CB3;
}
.tabs___vHdEw .active_line___dOPXK {
position: absolute;
width: 100%;
height: 2px;
background: #2A6CB3;
top: 40px;
}

@ -514,7 +514,7 @@ var pagination = __webpack_require__(27092);
var NoData = __webpack_require__(65119);
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Settings/components/Member/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Membermodules = ({"flex_box_center":"flex_box_center____FAUe","flex_space_between":"flex_space_between___JShCL","flex_box_vertical_center":"flex_box_vertical_center___YhLcd","flex_box_center_end":"flex_box_center_end___yfXIw","flex_box_column":"flex_box_column___zPH_W","warp":"warp____XM76","Content":"Content___dD_y0","imgstyle":"imgstyle___d5fnu","cardstyle":"cardstyle___uUh0g","paddingcard":"paddingcard___uEvZt","titlefont":"titlefont___HssVh","flexEnd":"flexEnd___Hl39R","modalinput":"modalinput___Vs9yI","items":"items___Gh25j","adminsstyle":"adminsstyle___dby7X","upadmin":"upadmin___JBDfN","yes":"yes___VIGe0","no":"no___e0VYU"});
/* harmony default export */ var Membermodules = ({"flex_box_center":"flex_box_center____FAUe","flex_space_between":"flex_space_between___JShCL","flex_box_vertical_center":"flex_box_vertical_center___YhLcd","flex_box_center_end":"flex_box_center_end___yfXIw","flex_box_column":"flex_box_column___zPH_W","warp":"warp____XM76","Content":"Content___dD_y0","imgstyle":"imgstyle___d5fnu","cardstyle":"cardstyle___uUh0g","paddingcard":"paddingcard___uEvZt","titlefont":"titlefont___HssVh","flexEnd":"flexEnd___Hl39R","modalinput":"modalinput___Vs9yI","items":"items___Gh25j","adminsstyle":"adminsstyle___dby7X","upadmin":"upadmin___JBDfN","yes":"yes___VIGe0","no":"no___e0VYU","tabs":"tabs___vHdEw","item_tab":"item_tab___gHOXT","active_tab":"active_tab___Th9Td","active_line":"active_line___dOPXK"});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js
var toConsumableArray = __webpack_require__(37205);
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
@ -1530,6 +1530,20 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
_useState8 = slicedToArray_default()(_useState7, 2),
params = _useState8[0],
setparams = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)([{
name: '已审核',
type: 'agreed'
}, {
name: '待审核',
type: 'pending'
}]),
_useState10 = slicedToArray_default()(_useState9, 2),
tabs = _useState10[0],
setTabs = _useState10[1];
var _useState11 = (0,_react_17_0_2_react.useState)('agreed'),
_useState12 = slicedToArray_default()(_useState11, 2),
activeTabs = _useState12[0],
setActiveTabs = _useState12[1];
function getDataSets() {
return _getDataSets.apply(this, arguments);
}
@ -1597,7 +1611,25 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
}, [classroomList.actionTabs.key]);
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Membermodules.warp,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Membermodules.tabs,
children: tabs.map(function (item, i) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(activeTabs == item.type ? Membermodules.active_tab : Membermodules.item_tab),
onClick: function onClick() {
setActiveTabs(item.type);
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
position: 'relative'
},
children: [item.name, "\uFF08", item.name == '已审核' ? cousesList === null || cousesList === void 0 ? void 0 : cousesList.member_count : cousesList === null || cousesList === void 0 ? void 0 : cousesList.apply_total_count, "\uFF09", /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(activeTabs == item.type ? Membermodules.active_line : '')
})]
})
}, i);
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Membermodules.Content,
children: [(cousesList === null || cousesList === void 0 ? void 0 : cousesList.total_count) <= 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
Buttonclass: Membermodules.buttonstyle,

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1.7 MiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.5 MiB

File diff suppressed because one or more lines are too long

@ -292,10 +292,10 @@ mark {
\**************************************************************************************************************************************************************************************************************************************************************************************/
@font-face {
font-family: "iconfont"; /* Project id 653600 */
src: url(./static/iconfont.6e0520b6.woff2) format('woff2'),
url(./static/iconfont.dda059a7.woff) format('woff'),
url(./static/iconfont.f7a0167c.ttf) format('truetype'),
url(./static/iconfont.fe7ed808.svg#iconfont) format('svg');
src: url(./static/iconfont.ad6f1793.woff2) format('woff2'),
url(./static/iconfont.fb0675d6.woff) format('woff'),
url(./static/iconfont.c1ac8237.ttf) format('truetype'),
url(./static/iconfont.fb7b0f51.svg#iconfont) format('svg');
}
.iconfont {
@ -306,6 +306,786 @@ mark {
-moz-osx-font-smoothing: grayscale;
}
.icon-genghuan1:before {
content: "\ecec";
}
.icon-charuhudongceyan:before {
content: "\eced";
}
.icon-cai:before {
content: "\eceb";
}
.icon-wendaji:before {
content: "\ecea";
}
.icon-dafenxiaojianpan:before {
content: "\ece7";
}
.icon-shanchu18:before {
content: "\ece8";
}
.icon-kuaijiepingfen:before {
content: "\ece9";
}
.icon-yulan3:before {
content: "\ece6";
}
.icon-jizhongyuejuan:before {
content: "\ece5";
}
.icon-chakankaoshi:before {
content: "\ece2";
}
.icon-qiandao2:before {
content: "\ece3";
}
.icon-a-kaishijixudajuan:before {
content: "\ece4";
}
.icon-jixukaoshi:before {
content: "\ece1";
}
.icon-zhuanjialiebiao:before {
content: "\ecd3";
}
.icon-wodezixun:before {
content: "\ecd4";
}
.icon-zhongxinshengcheng:before {
content: "\ecdf";
}
.icon-tingzhishengcheng:before {
content: "\ece0";
}
.icon-a-huifupinglun:before {
content: "\ecde";
}
.icon-zhiding3:before {
content: "\ecda";
}
.icon-zhidi:before {
content: "\ecdb";
}
.icon-xiayi5:before {
content: "\ecdc";
}
.icon-shangyi5:before {
content: "\ecdd";
}
.icon-guaduan:before {
content: "\ecd9";
}
.icon-yuyin:before {
content: "\ecd5";
}
.icon-jinzhishipin:before {
content: "\ecd6";
}
.icon-shipin7:before {
content: "\ecd7";
}
.icon-jinzhiyuyin:before {
content: "\ecd8";
}
.icon-zaixianliaotian:before {
content: "\ecd1";
}
.icon-gongzuotai:before {
content: "\ecd2";
}
.icon-pinglun4:before {
content: "\eccf";
}
.icon-dianzan7:before {
content: "\ecd0";
}
.icon-siweidaotu:before {
content: "\ecc4";
}
.icon-chakan3:before {
content: "\ecce";
}
.icon-yulan2:before {
content: "\eccd";
}
.icon-bianji14:before {
content: "\eccc";
}
.icon-fangda6:before {
content: "\eccb";
}
.icon-zuofenzhi:before {
content: "\ecc6";
}
.icon-youfenzhi:before {
content: "\ecc7";
}
.icon-quanping5:before {
content: "\ecc8";
}
.icon-gengduo7:before {
content: "\ecc9";
}
.icon-suoxiao6:before {
content: "\ecca";
}
.icon-fangshefenzhi:before {
content: "\ecc5";
}
.icon-bianji13:before {
content: "\ecc2";
}
.icon-shanchu17:before {
content: "\ecc3";
}
.icon-bianji12:before {
content: "\ecc1";
}
.icon-peizhiyujiankong:before {
content: "\ecc0";
}
.icon-yijianyingyong:before {
content: "\ecbf";
}
.icon-changyongpingyu:before {
content: "\ecbe";
}
.icon-kaishi:before {
content: "\ecbd";
}
.icon-renwuzhinan:before {
content: "\ecb9";
}
.icon-fanhui5:before {
content: "\ecbc";
}
.icon-chexiao2:before {
content: "\ecba";
}
.icon-bianzu3:before {
content: "\ecbb";
}
.icon-shanchu16:before {
content: "\ecb6";
}
.icon-shangyige:before {
content: "\ecb7";
}
.icon-qingkong:before {
content: "\ecb8";
}
.icon-xiayige:before {
content: "\ecb5";
}
.icon-shouye1:before {
content: "\ecb3";
}
.icon-zanting:before {
content: "\ecb4";
}
.icon-yincangtiaojianshezhi:before {
content: "\ecb2";
}
.icon-shoucang4:before {
content: "\ecb1";
}
.icon-yinyong:before {
content: "\ecad";
}
.icon-piliangcaozuo3:before {
content: "\ecac";
}
.icon-xunifangzhenti1:before {
content: "\ecae";
}
.icon-rongheti1:before {
content: "\ecaf";
}
.icon-xuanzeti4:before {
content: "\ecb0";
}
.icon-jupyter:before {
content: "\ecab";
}
.icon-caozuoshouce:before {
content: "\ecaa";
}
.icon-dianzibanpai:before {
content: "\eca9";
}
.icon-zhihuikaiguan:before {
content: "\eca8";
}
.icon-quxiaofabu1:before {
content: "\eca6";
}
.icon-fuhe-gaizhang:before {
content: "\eca7";
}
.icon-fasong2:before {
content: "\eca5";
}
.icon-icon-weixin:before {
content: "\eca4";
}
.icon-a-fenxiang2:before {
content: "\eca3";
}
.icon-qiyehezuo:before {
content: "\eca1";
}
.icon-zhaopinxinxi:before {
content: "\eca2";
}
.icon-dianzanhou:before {
content: "\eca0";
}
.icon-zhankai7:before {
content: "\ec9e";
}
.icon-shouqi7:before {
content: "\ec9f";
}
.icon-xueshi:before {
content: "\ec9c";
}
.icon-zhishidian:before {
content: "\ec9d";
}
.icon-piliangkaiji:before {
content: "\ec9a";
}
.icon-piliangguanji:before {
content: "\ec9b";
}
.icon-wulianwangshebei:before {
content: "\ec99";
}
.icon-dingweitubiao:before {
content: "\ec98";
}
.icon-zhongzhijilu:before {
content: "\ec97";
}
.icon-yunhang:before {
content: "\ec95";
}
.icon-tingzhiyunhang:before {
content: "\ec96";
}
.icon-chakanyuanti:before {
content: "\ec94";
}
.icon-jiarushitiku:before {
content: "\ec93";
}
.icon-jiazai:before {
content: "\ec92";
}
.icon-pizhuwenjian:before {
content: "\ec91";
}
.icon-wenjian8:before {
content: "\ec90";
}
.icon-xinjianwenjian:before {
content: "\ec8f";
}
.icon-shebeiyunhangjiankong:before {
content: "\ec8d";
}
.icon-shebeibaofei-2:before {
content: "\ec8e";
}
.icon-xinxi:before {
content: "\ec8a";
}
.icon-shebeiweixiujilu:before {
content: "\ec8b";
}
.icon-shebeixinxiguanli:before {
content: "\ec8c";
}
.icon-buchongchengji:before {
content: "\ec89";
}
.icon-zhuanyeguanli:before {
content: "\ec88";
}
.icon-tuichu2:before {
content: "\ec87";
}
.icon-lianxi1:before {
content: "\ec86";
}
.icon-shangwulianxi:before {
content: "\ec83";
}
.icon-ziyuanxianzhikehu:before {
content: "\ec84";
}
.icon-ziyuanbaozhangkehu:before {
content: "\ec85";
}
.icon-Ukoukaijibang:before {
content: "\ec82";
}
.icon-lianxianguize:before {
content: "\ec81";
}
.icon-shuru:before {
content: "\ec80";
}
.icon-USBkou:before {
content: "\ec7e";
}
.icon-a-4zuwangkou:before {
content: "\ec7f";
}
.icon-zhishideng:before {
content: "\ec79";
}
.icon-baocun:before {
content: "\ec7a";
}
.icon-wangkou:before {
content: "\ec7b";
}
.icon-shangyibu:before {
content: "\ec7c";
}
.icon-shangchuan5:before {
content: "\ec7d";
}
.icon-xiayibu:before {
content: "\ec77";
}
.icon-xiazai7:before {
content: "\ec78";
}
.icon-liulan2:before {
content: "\ec76";
}
.icon-dianzan6:before {
content: "\ec6a";
}
.icon-pinglun3:before {
content: "\ec6c";
}
.icon-wenjianjiadaka:before {
content: "\ec67";
}
.icon-wenjianjiaweidakai:before {
content: "\ec68";
}
.icon-jiemianshouqi:before {
content: "\ec75";
}
.icon-tianjiatixing:before {
content: "\ec6e";
}
.icon-danceng-guanbijichushezhidanceng:before {
content: "\ec6f";
}
.icon-danceng-gaojishezhi:before {
content: "\ec70";
}
.icon-tianjiahezuozhe:before {
content: "\ec71";
}
.icon-duoxuan-weigouxuan:before {
content: "\ec72";
}
.icon-jiemianzhankai:before {
content: "\ec73";
}
.icon-duoxuan-gouxuan:before {
content: "\ec74";
}
.icon-genghuanguanliyuan1:before {
content: "\ec69";
}
.icon-tianjiachengyuan1:before {
content: "\ec6b";
}
.icon-timu1:before {
content: "\ec66";
}
.icon-gengduo6:before {
content: "\ec65";
}
.icon-zuoce-jinengbiaoqianshanchu:before {
content: "\ec64";
}
.icon-dingbu-bianji:before {
content: "\ec63";
}
.icon-shezhi8:before {
content: "\ec62";
}
.icon-tishi12:before {
content: "\ec61";
}
.icon-danceng-shangchuanwenjian:before {
content: "\ec5f";
}
.icon-danceng-daimawenjian:before {
content: "\ec60";
}
.icon-danceng-xinjianwenjian:before {
content: "\ec59";
}
.icon-danceng-xinzeng:before {
content: "\ec5a";
}
.icon-daimabianjiqi2:before {
content: "\ec5b";
}
.icon-danceng-shiyanhuanjing:before {
content: "\ec5c";
}
.icon-danceng-xinjianwenjianjia:before {
content: "\ec5d";
}
.icon-danceng-guankaxiaoyan:before {
content: "\ec5e";
}
.icon-dingbu-qiehuanbanben:before {
content: "\ec53";
}
.icon-dingbu-tuichu:before {
content: "\ec54";
}
.icon-dingbu-yulan:before {
content: "\ec55";
}
.icon-dingbu-fabu:before {
content: "\ec56";
}
.icon-dingbu-shiyanhuanjingdaojishi:before {
content: "\ec57";
}
.icon-danceng-shujuji:before {
content: "\ec58";
}
.icon-zuoce-bianzu:before {
content: "\ec4d";
}
.icon-shouqi6:before {
content: "\ec4e";
}
.icon-minglinghang1:before {
content: "\ec4f";
}
.icon-tuxinghuazhuomian1:before {
content: "\ec50";
}
.icon-fujian3:before {
content: "\ec51";
}
.icon-fuzhilujing:before {
content: "\ec52";
}
.icon-zuoce-guanka:before {
content: "\ec48";
}
.icon-shanjian1:before {
content: "\ec49";
}
.icon-webyingyongfuwu:before {
content: "\ec4a";
}
.icon-zengjia1:before {
content: "\ec4b";
}
.icon-zhankai6:before {
content: "\ec4c";
}
.icon-suoxiao5:before {
content: "\ec42";
}
.icon-pingcewenjian:before {
content: "\ec43";
}
.icon-wenjiangeshi:before {
content: "\ec44";
}
.icon-shangchuanwenjian2:before {
content: "\ec45";
}
.icon-shanchu15:before {
content: "\ec46";
}
.icon-renwuwenjian:before {
content: "\ec47";
}
.icon-fangda5:before {
content: "\ec41";
}
.icon-tuodong2:before {
content: "\ec40";
}
.icon-quxiaofabu:before {
content: "\ec3f";
}
.icon-wuzi:before {
content: "\ec3d";
}
.icon-wodecaigoushenqing:before {
content: "\ec3e";
}
.icon-wodelingyongshenqing:before {
content: "\ec3c";
}
.icon-zidingyiceshiyongli:before {
content: "\ec3b";
}
.icon-daimazhihangjieguo:before {
content: "\ec3a";
}
.icon-bianchengzuoye1:before {
content: "\ec39";
}
.icon-xiazaicishu:before {
content: "\ec36";
}
.icon-shiyonggaiziyuankechengshu:before {
content: "\ec37";
}
.icon-fangwencishu:before {
content: "\ec38";
}
.icon-chakanrenshu:before {
content: "\ec35";
}
.icon-fasongzhiketang1:before {
content: "\ec34";
}
.icon-renyuanguanli:before {
content: "\ec31";
}
.icon-a-bianzu21:before {
content: "\ec32";
}
.icon-a-bianzu111:before {
content: "\ec33";
}
.icon-fuzhizhong:before {
content: "\ec30";
}
.icon-suoxiao4:before {
content: "\ec2a";
}
.icon-wodeyuyue:before {
content: "\ec2d";
}
.icon-shiyanshiyuyue:before {
content: "\ec2e";
}
.icon-fangda4:before {
content: "\ec2f";
}
.icon-shuxuetuxiang2:before {
content: "\ec2c";
}
.icon-jisuan1:before {
content: "\ec2b";
}
.icon-piliangchexiaogongkai:before {
content: "\ec27";
}
Loading…
Cancel
Save