parent
37b1c610da
commit
c2dd922cd2
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
"use strict";
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[7229,84360,21321,93826,35019,38660,1024,14882,27155,44407,11021],{
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[72644,84360,21321,93826,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,27155,44407,11021],{
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[95740,72644,84360,21321,93826,35019,38660,1024,14882,27155,44407,11021],{
|
||||
|
||||
/***/ 50382:
|
||||
/*!*****************************************************************************************************!*\
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,161 @@
|
||||
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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.34@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/Lists/Settings/components/Member/index.less?modules ***!
|
||||
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.flex_box_center____FAUe {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_space_between___JShCL {
|
||||
justify-content: space-between;
|
||||
-webkit-box-pack: justify;
|
||||
}
|
||||
.flex_box_vertical_center___YhLcd {
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_box_center_end___yfXIw {
|
||||
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___zPH_W {
|
||||
flex-direction: column;
|
||||
box-orient: block-axis;
|
||||
}
|
||||
.warp____XM76 .Content___dD_y0 {
|
||||
margin-top: 26px;
|
||||
}
|
||||
.warp____XM76 .imgstyle___d5fnu {
|
||||
height: 177px;
|
||||
width: 291px;
|
||||
border-radius: 4px 4px 0px 0px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.warp____XM76 .imgstyle___d5fnu img {
|
||||
width: 100%;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
.warp____XM76 .cardstyle___uUh0g {
|
||||
width: 291px;
|
||||
height: 277px;
|
||||
box-shadow: 0px 2px 4px 0px #d6dae1;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.warp____XM76 .paddingcard___uEvZt .titlefont___HssVh {
|
||||
font-size: 16px;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #000000;
|
||||
}
|
||||
.warp____XM76 .flexEnd___Hl39R {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-end;
|
||||
}
|
||||
.warp____XM76 .flexEnd___Hl39R > span {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.warp____XM76 .modalinput___Vs9yI {
|
||||
width: 342px;
|
||||
height: 38px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
.warp____XM76 .items___Gh25j {
|
||||
width: calc(50% - 13px);
|
||||
height: 90px;
|
||||
background: #ffffff;
|
||||
display: inline-flex;
|
||||
padding: 20px;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 26px;
|
||||
box-shadow: 0px 2px 4px 0px #E0DFE1;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #F5F5F5;
|
||||
}
|
||||
.warp____XM76 .items___Gh25j img {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 50%;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.warp____XM76 .items___Gh25j:nth-child(odd) {
|
||||
margin-right: 26px;
|
||||
}
|
||||
.warp____XM76 .adminsstyle___dby7X {
|
||||
width: 48px;
|
||||
height: 17px;
|
||||
background: #FFBF95;
|
||||
border-radius: 2px;
|
||||
border: 1px solid;
|
||||
border-image: linear-gradient(310deg, #f5970b, #f98300) 1 1;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
color: #B34800;
|
||||
margin-left: 6px;
|
||||
margin-top: 4px;
|
||||
text-align: center;
|
||||
line-height: 15px;
|
||||
}
|
||||
.warp____XM76 .upadmin___JBDfN {
|
||||
font-size: 14px;
|
||||
color: #3061D0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.warp____XM76 .yes___VIGe0 {
|
||||
font-size: 14px;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #196efd;
|
||||
line-height: 20px;
|
||||
}
|
||||
.warp____XM76 .no___e0VYU {
|
||||
font-size: 14px;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #e30000;
|
||||
line-height: 20px;
|
||||
margin-left: 30px;
|
||||
}
|
||||
.tabs___vHdEw {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.tabs___vHdEw .item_tab___gHOXT,
|
||||
.tabs___vHdEw .active_tab___Th9Td {
|
||||
font-size: 14px;
|
||||
margin-right: 10px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.tabs___vHdEw .item_tab___gHOXT {
|
||||
color: #666666;
|
||||
width: 80px;
|
||||
text-align: center;
|
||||
}
|
||||
.tabs___vHdEw .active_tab___Th9Td {
|
||||
color: #165DFF;
|
||||
width: 80px;
|
||||
height: 22px;
|
||||
background: #F6F7F9;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.tabs___vHdEw .active_line___dOPXK {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background: #2A6CB3;
|
||||
top: 40px;
|
||||
}
|
||||
|
||||
@ -0,0 +1,518 @@
|
||||
"use strict";
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[85841],{
|
||||
|
||||
/***/ 39096:
|
||||
/*!************************************************************************************************!*\
|
||||
!*** ./src/pages/virtualSpaces/Lists/Settings/components/ModuleSettings/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 */ ModuleSettings; }
|
||||
});
|
||||
|
||||
// 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: ./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/message/index.js + 4 modules
|
||||
var message = __webpack_require__(8591);
|
||||
// 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/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);
|
||||
// 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/checkbox/index.js + 3 modules
|
||||
var es_checkbox = __webpack_require__(24905);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
|
||||
var es_button = __webpack_require__(3113);
|
||||
// EXTERNAL MODULE: ./src/utils/fetch.ts
|
||||
var fetch = __webpack_require__(18030);
|
||||
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Settings/components/ModuleSettings/index.less?modules
|
||||
// extracted by mini-css-extract-plugin
|
||||
/* harmony default export */ var ModuleSettingsmodules = ({"flex_box_center":"flex_box_center___y1YZJ","flex_space_between":"flex_space_between___wTOwl","flex_box_vertical_center":"flex_box_vertical_center___XmLwW","flex_box_center_end":"flex_box_center_end___gWVqd","flex_box_column":"flex_box_column___PjZDS","form":"form___JA0Ze","text":"text___cCcOQ","img":"img___ht1lh","title":"title___mljGY","list":"list___isVFT","btn":"btn___IUjb1"});
|
||||
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
|
||||
var env = __webpack_require__(92723);
|
||||
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules
|
||||
var CloseCircleFilled = __webpack_require__(58670);
|
||||
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
|
||||
var _umi_production_exports = __webpack_require__(97091);
|
||||
// EXTERNAL MODULE: ./src/components/ui-customization/index.tsx + 32 modules
|
||||
var ui_customization = __webpack_require__(52126);
|
||||
// EXTERNAL MODULE: ./src/service/paths.ts
|
||||
var paths = __webpack_require__(20437);
|
||||
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
|
||||
var jsx_runtime = __webpack_require__(37712);
|
||||
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Settings/components/ModuleSettings/index.tsx
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var _excluded = ["globalSetting", "virtualSpaces", "dispatch"],
|
||||
_excluded2 = ["key", "name"];
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var Page = function Page(_ref) {
|
||||
var _fileList$3, _fileOtherList$3, _virtualSpaces$virtua;
|
||||
var globalSetting = _ref.globalSetting,
|
||||
virtualSpaces = _ref.virtualSpaces,
|
||||
dispatch = _ref.dispatch,
|
||||
props = objectWithoutProperties_default()(_ref, _excluded);
|
||||
var query = (0,_umi_production_exports.useParams)();
|
||||
var virtualSpacesDetails = virtualSpaces.virtualSpacesDetails,
|
||||
menus = virtualSpaces.menus;
|
||||
var _useState = (0,_react_17_0_2_react.useState)(false),
|
||||
_useState2 = slicedToArray_default()(_useState, 2),
|
||||
btnLoading = _useState2[0],
|
||||
setBtnLoading = _useState2[1];
|
||||
var _useState3 = (0,_react_17_0_2_react.useState)(true),
|
||||
_useState4 = slicedToArray_default()(_useState3, 2),
|
||||
loading = _useState4[0],
|
||||
setLoading = _useState4[1];
|
||||
var _Form$useForm = es_form/* default */.Z.useForm(),
|
||||
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
|
||||
form = _Form$useForm2[0];
|
||||
var _useState5 = (0,_react_17_0_2_react.useState)([]),
|
||||
_useState6 = slicedToArray_default()(_useState5, 2),
|
||||
fileList = _useState6[0],
|
||||
setFileList = _useState6[1];
|
||||
var _useState7 = (0,_react_17_0_2_react.useState)([]),
|
||||
_useState8 = slicedToArray_default()(_useState7, 2),
|
||||
fileOtherList = _useState8[0],
|
||||
setFileOtherList = _useState8[1];
|
||||
var _useState9 = (0,_react_17_0_2_react.useState)(false),
|
||||
_useState10 = slicedToArray_default()(_useState9, 2),
|
||||
imgLoading = _useState10[0],
|
||||
setImgLoading = _useState10[1];
|
||||
var _useState11 = (0,_react_17_0_2_react.useState)([]),
|
||||
_useState12 = slicedToArray_default()(_useState11, 2),
|
||||
schoolList = _useState12[0],
|
||||
setSchoolList = _useState12[1];
|
||||
(0,_react_17_0_2_react.useEffect)(function () {
|
||||
if (virtualSpacesDetails !== null && virtualSpacesDetails !== void 0 && virtualSpacesDetails.id && menus !== null && menus !== void 0 && menus.length) {
|
||||
var _virtualSpacesDetails, _virtualSpacesDetails2, _virtualSpacesDetails3, _virtualSpacesDetails4;
|
||||
form.setFieldsValue({
|
||||
name: virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.name,
|
||||
vs_type: virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.vs_type,
|
||||
school_id: virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.school_id,
|
||||
// identifier: virtualSpacesDetails?.identifier,
|
||||
settings: menus.map(function (e) {
|
||||
return objectSpread2_default()(objectSpread2_default()({}, e), {}, {
|
||||
checked: !e.hidden
|
||||
});
|
||||
})
|
||||
});
|
||||
var newFileList = virtualSpacesDetails !== null && virtualSpacesDetails !== void 0 && (_virtualSpacesDetails = virtualSpacesDetails.cover_url) !== null && _virtualSpacesDetails !== void 0 && _virtualSpacesDetails.includes('attachments') ? [{
|
||||
response: {
|
||||
id: virtualSpacesDetails === null || virtualSpacesDetails === void 0 || (_virtualSpacesDetails2 = virtualSpacesDetails.cover_url) === null || _virtualSpacesDetails2 === void 0 ? void 0 : _virtualSpacesDetails2.split('/')[3]
|
||||
}
|
||||
}] : [];
|
||||
var newFileOtherList = virtualSpacesDetails !== null && virtualSpacesDetails !== void 0 && (_virtualSpacesDetails3 = virtualSpacesDetails.backbground_image_url) !== null && _virtualSpacesDetails3 !== void 0 && _virtualSpacesDetails3.includes('attachments') ? [{
|
||||
response: {
|
||||
id: virtualSpacesDetails === null || virtualSpacesDetails === void 0 || (_virtualSpacesDetails4 = virtualSpacesDetails.backbground_image_url) === null || _virtualSpacesDetails4 === void 0 ? void 0 : _virtualSpacesDetails4.split('/')[3]
|
||||
}
|
||||
}] : [];
|
||||
setFileList(newFileList);
|
||||
setFileOtherList(newFileOtherList);
|
||||
}
|
||||
}, [virtualSpacesDetails, menus]);
|
||||
(0,_react_17_0_2_react.useEffect)(function () {
|
||||
(0,paths/* getSchoolOption */.GY)({}).then(function (res) {
|
||||
setSchoolList(res === null || res === void 0 ? void 0 : res.schools);
|
||||
});
|
||||
}, []);
|
||||
var handleOk = function handleOk() {
|
||||
form.submit();
|
||||
};
|
||||
var handleSubmit = /*#__PURE__*/function () {
|
||||
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(values) {
|
||||
var _fileList$, _fileOtherList$, _values$settings;
|
||||
var body, res;
|
||||
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
|
||||
while (1) switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
setBtnLoading(true);
|
||||
body = {
|
||||
name: values === null || values === void 0 ? void 0 : values.name,
|
||||
vs_type: values === null || values === void 0 ? void 0 : values.vs_type,
|
||||
school_id: values === null || values === void 0 ? void 0 : values.school_id,
|
||||
// identifier: values?.identifier,
|
||||
cover_id: (fileList === null || fileList === void 0 || (_fileList$ = fileList[0]) === null || _fileList$ === void 0 || (_fileList$ = _fileList$.response) === null || _fileList$ === void 0 ? void 0 : _fileList$.id) || '',
|
||||
backbground_image_id: (fileOtherList === null || fileOtherList === void 0 || (_fileOtherList$ = fileOtherList[0]) === null || _fileOtherList$ === void 0 || (_fileOtherList$ = _fileOtherList$.response) === null || _fileOtherList$ === void 0 ? void 0 : _fileOtherList$.id) || '',
|
||||
modules_list: values === null || values === void 0 || (_values$settings = values.settings) === null || _values$settings === void 0 ? void 0 : _values$settings.map(function (e) {
|
||||
return objectSpread2_default()(objectSpread2_default()({}, e), {}, {
|
||||
hidden: !e.checked
|
||||
});
|
||||
})
|
||||
};
|
||||
_context.next = 4;
|
||||
return (0,fetch/* default */.ZP)("/api/virtual_classrooms/".concat(query.virtual_spacesId, ".json"), {
|
||||
method: 'put',
|
||||
body: body
|
||||
});
|
||||
case 4:
|
||||
res = _context.sent;
|
||||
if ((res === null || res === void 0 ? void 0 : res.status) !== -1) {
|
||||
message/* default */.ZP.success('修改成功');
|
||||
dispatch({
|
||||
type: 'virtualSpaces/getVirtualSpacesMenus',
|
||||
payload: {
|
||||
id: query.virtual_spacesId
|
||||
}
|
||||
});
|
||||
dispatch({
|
||||
type: 'virtualSpaces/getVirtualSpacesDetails',
|
||||
payload: {
|
||||
id: query.virtual_spacesId
|
||||
}
|
||||
});
|
||||
// window.location.href = `/${values?.vs_type === 'classroom' ? 'vtrs' : '101'}/${values?.identifier}/settings`
|
||||
_umi_production_exports.history.replace("/".concat((values === null || values === void 0 ? void 0 : values.vs_type) === 'classroom' ? 'vtrs' : '101', "/").concat(query.virtual_spacesId, "/settings"));
|
||||
}
|
||||
// if (res?.status === -3) {
|
||||
// form.setFields([{
|
||||
// name: 'identifier',
|
||||
// errors: ['该标识已存在,请更换'],
|
||||
// }])
|
||||
// }
|
||||
setBtnLoading(false);
|
||||
case 7:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}));
|
||||
return function handleSubmit(_x) {
|
||||
return _ref2.apply(this, arguments);
|
||||
};
|
||||
}();
|
||||
var handleFileChange = function handleFileChange(info, type) {
|
||||
var statusList = ["uploading", "done", "removed"];
|
||||
if (statusList.includes(info.file.status)) {
|
||||
if (info.file.status === 'uploading') {
|
||||
setImgLoading(true);
|
||||
}
|
||||
if (info.file.status === 'done') {
|
||||
setImgLoading(false);
|
||||
}
|
||||
if (type === 1) {
|
||||
setFileList(info.fileList);
|
||||
} else {
|
||||
setFileOtherList(info.fileList);
|
||||
}
|
||||
}
|
||||
};
|
||||
var handleFileRemove = function handleFileRemove(file, type) {
|
||||
if (type === 1) {
|
||||
setFileList([]);
|
||||
} else {
|
||||
setFileOtherList([]);
|
||||
}
|
||||
};
|
||||
var handleFileBeforeUpload = function handleFileBeforeUpload(file, type) {
|
||||
var isJpgOrPng = file.type === 'image/jpeg' || file.type === 'image/png';
|
||||
if (!isJpgOrPng) {
|
||||
message/* default */.ZP.warning('请上传jpg或png的图片!');
|
||||
return false;
|
||||
}
|
||||
var is200K = file.size / 1024 > 200;
|
||||
var is1M = file.size / 1024 / 1024 > 1;
|
||||
if (is200K && type === 1) {
|
||||
message/* default */.ZP.warning('文件大小必须小于200KB');
|
||||
return false;
|
||||
}
|
||||
if (is1M && type === 2) {
|
||||
message/* default */.ZP.warning('文件大小必须小于1MB');
|
||||
return false;
|
||||
}
|
||||
if (type === 1) {
|
||||
setFileList([]);
|
||||
} else {
|
||||
setFileOtherList([]);
|
||||
}
|
||||
return true;
|
||||
};
|
||||
var renderImg = function renderImg(type) {
|
||||
var _fileList$2, _fileOtherList$2;
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: ModuleSettingsmodules.img,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
||||
src: env/* default */.Z.API_SERVER + "/api/attachments/" + (type === 1 ? fileList === null || fileList === void 0 || (_fileList$2 = fileList[0]) === null || _fileList$2 === void 0 || (_fileList$2 = _fileList$2.response) === null || _fileList$2 === void 0 ? void 0 : _fileList$2.id : fileOtherList === null || fileOtherList === void 0 || (_fileOtherList$2 = fileOtherList[0]) === null || _fileOtherList$2 === void 0 || (_fileOtherList$2 = _fileOtherList$2.response) === null || _fileOtherList$2 === void 0 ? void 0 : _fileOtherList$2.id),
|
||||
alt: "avatar",
|
||||
style: {
|
||||
width: '100%'
|
||||
}
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(CloseCircleFilled/* default */.Z, {
|
||||
onClick: function onClick() {
|
||||
if (type === 1) {
|
||||
setFileList([]);
|
||||
} else {
|
||||
setFileOtherList([]);
|
||||
}
|
||||
},
|
||||
style: {
|
||||
fontSize: '16px',
|
||||
color: 'red'
|
||||
}
|
||||
})
|
||||
})]
|
||||
});
|
||||
};
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
style: {
|
||||
padding: '0 45px'
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomTabs */.YG, {
|
||||
value: 'all',
|
||||
onChange: function onChange() {},
|
||||
dataSource: [{
|
||||
id: 'all',
|
||||
name: '模块设置'
|
||||
}]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
|
||||
form: form,
|
||||
colon: false,
|
||||
onFinish: handleSubmit,
|
||||
className: ModuleSettingsmodules.form,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
||||
label: "\u793E\u533A\u540D\u79F0",
|
||||
name: "name",
|
||||
rules: [{
|
||||
required: true,
|
||||
message: '请输入社区名称'
|
||||
}, {
|
||||
whitespace: true,
|
||||
message: '请输入社区名称'
|
||||
}, {
|
||||
max: 60,
|
||||
message: '只能输入60个字符'
|
||||
}],
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
|
||||
style: {
|
||||
width: 516
|
||||
},
|
||||
maxLength: 60,
|
||||
placeholder: "\u8BF7\u8F93\u5165\u793E\u533A\u540D\u79F0"
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
||||
label: "\u6240\u5C5E\u5B66\u9662",
|
||||
name: "school_id",
|
||||
rules: [{
|
||||
required: true,
|
||||
message: '请选择所属学院'
|
||||
}],
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
|
||||
style: {
|
||||
width: 516
|
||||
},
|
||||
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, {
|
||||
name: "cover_id",
|
||||
label: "\u5C01\u9762\u56FE",
|
||||
className: "mt30",
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: ModuleSettingsmodules.upload,
|
||||
children: [fileList !== null && fileList !== void 0 && (_fileList$3 = fileList[0]) !== null && _fileList$3 !== void 0 && (_fileList$3 = _fileList$3.response) !== null && _fileList$3 !== void 0 && _fileList$3.id ? renderImg(1) : /*#__PURE__*/(0,jsx_runtime.jsx)(upload/* default */.Z, {
|
||||
fileList: fileList,
|
||||
action: "".concat(env/* default */.Z.API_SERVER, "/api/attachments.json"),
|
||||
onChange: function onChange(e) {
|
||||
return handleFileChange(e, 1);
|
||||
},
|
||||
onRemove: function onRemove(e) {
|
||||
return handleFileRemove(e, 1);
|
||||
},
|
||||
beforeUpload: function beforeUpload(e) {
|
||||
return handleFileBeforeUpload(e, 1);
|
||||
},
|
||||
withCredentials: true,
|
||||
accept: "image/*",
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
|
||||
className: "radius2",
|
||||
children: "\u4E0A\u4F20\u56FE\u7247"
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
||||
className: ModuleSettingsmodules.text,
|
||||
children: "\u4EC5\u652F\u6301\u4E0A\u4F20jpg/png\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7200KB\uFF0C\u5EFA\u8BAE\u4F7F\u7528282*228\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"
|
||||
})]
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
||||
name: "backbground_image_id",
|
||||
label: "\u8BE6\u60C5\u9876\u90E8\u80CC\u666F",
|
||||
className: "mt30",
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: ModuleSettingsmodules.upload,
|
||||
children: [fileOtherList !== null && fileOtherList !== void 0 && (_fileOtherList$3 = fileOtherList[0]) !== null && _fileOtherList$3 !== void 0 && (_fileOtherList$3 = _fileOtherList$3.response) !== null && _fileOtherList$3 !== void 0 && _fileOtherList$3.id ? renderImg(2) : /*#__PURE__*/(0,jsx_runtime.jsx)(upload/* default */.Z, {
|
||||
fileList: fileOtherList,
|
||||
action: "".concat(env/* default */.Z.API_SERVER, "/api/attachments.json"),
|
||||
onChange: function onChange(e) {
|
||||
return handleFileChange(e, 2);
|
||||
},
|
||||
onRemove: function onRemove(e) {
|
||||
return handleFileRemove(e, 2);
|
||||
},
|
||||
beforeUpload: function beforeUpload(e) {
|
||||
return handleFileBeforeUpload(e, 2);
|
||||
},
|
||||
withCredentials: true,
|
||||
accept: "image/*",
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
|
||||
className: "radius2",
|
||||
children: "\u4E0A\u4F20\u56FE\u7247"
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
||||
className: ModuleSettingsmodules.text,
|
||||
children: "\u4EC5\u652F\u6301\u4E0A\u4F20jpg/png\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC71MB\uFF0C\u5EFA\u8BAE\u4F7F\u75283840*148\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"
|
||||
})]
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: ModuleSettingsmodules.title,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
children: "\u6A21\u5757\u5C55\u793A\u63A7\u5236"
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
className: ModuleSettingsmodules.list,
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.List, {
|
||||
name: "settings",
|
||||
children: function children(fields, _ref3) {
|
||||
var add = _ref3.add,
|
||||
remove = _ref3.remove,
|
||||
move = _ref3.move;
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
|
||||
children: fields.map(function (field, index) {
|
||||
var key = field.key,
|
||||
name = field.name,
|
||||
restField = objectWithoutProperties_default()(field, _excluded2);
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
||||
align: "top",
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, objectSpread2_default()(objectSpread2_default()({}, restField), {}, {
|
||||
className: "mr20",
|
||||
valuePropName: "checked",
|
||||
name: [name, 'checked'],
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
|
||||
disabled: menus[key].disabled
|
||||
})
|
||||
})), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, objectSpread2_default()(objectSpread2_default()({}, restField), {}, {
|
||||
style: {
|
||||
flex: 1
|
||||
},
|
||||
name: [name, 'name'],
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {})
|
||||
})), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: "ml20",
|
||||
style: {
|
||||
width: 60,
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: 'left',
|
||||
paddingTop: 6
|
||||
},
|
||||
children: [index !== 0 && index <= fields.length - 2 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
onClick: function onClick() {
|
||||
var _form$getFieldValue;
|
||||
move(index, index - 1);
|
||||
var formSetting = (_form$getFieldValue = form.getFieldValue('settings')) === null || _form$getFieldValue === void 0 ? void 0 : _form$getFieldValue.map(function (e, i) {
|
||||
fields.map(function (fe, fi) {
|
||||
if (i === fi) e.position = Number(fe.name) + 1;
|
||||
});
|
||||
return e;
|
||||
});
|
||||
form.setFieldValue('settings', formSetting);
|
||||
},
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-shangyi3",
|
||||
style: {
|
||||
transform: 'translateY(2px)'
|
||||
}
|
||||
})
|
||||
}), index < fields.length - 2 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
onClick: function onClick() {
|
||||
var _form$getFieldValue2;
|
||||
move(index, index + 1);
|
||||
var formSetting = (_form$getFieldValue2 = form.getFieldValue('settings')) === null || _form$getFieldValue2 === void 0 ? void 0 : _form$getFieldValue2.map(function (e, i) {
|
||||
fields.map(function (fe, fi) {
|
||||
if (i === fi) e.position = Number(fe.name) + 1;
|
||||
});
|
||||
return e;
|
||||
});
|
||||
form.setFieldValue('settings', formSetting);
|
||||
},
|
||||
className: index === 0 ? '' : "ml10",
|
||||
style: {
|
||||
transform: 'rotate(180deg) translateY(1px)'
|
||||
},
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-shangyi3"
|
||||
})
|
||||
})]
|
||||
})]
|
||||
})
|
||||
}, key);
|
||||
})
|
||||
});
|
||||
}
|
||||
})
|
||||
}), (virtualSpaces === null || virtualSpaces === void 0 || (_virtualSpaces$virtua = virtualSpaces.virtualSpacesDetails) === null || _virtualSpaces$virtua === void 0 ? void 0 : _virtualSpaces$virtua.is_admin) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
||||
disabled: imgLoading,
|
||||
loading: btnLoading,
|
||||
type: "primary",
|
||||
className: ModuleSettingsmodules.btn,
|
||||
onClick: handleOk,
|
||||
children: "\u786E\u8BA4\u4FEE\u6539"
|
||||
})]
|
||||
})]
|
||||
});
|
||||
};
|
||||
/* harmony default export */ var ModuleSettings = ((0,_umi_production_exports.connect)(function (_ref4) {
|
||||
var globalSetting = _ref4.globalSetting,
|
||||
virtualSpaces = _ref4.virtualSpaces;
|
||||
return {
|
||||
globalSetting: globalSetting,
|
||||
virtualSpaces: virtualSpaces
|
||||
};
|
||||
})(Page));
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@ -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.34@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/Lists/Settings/components/ModuleSettings/index.less?modules ***!
|
||||
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.flex_box_center___y1YZJ {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_space_between___wTOwl {
|
||||
justify-content: space-between;
|
||||
-webkit-box-pack: justify;
|
||||
}
|
||||
.flex_box_vertical_center___XmLwW {
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_box_center_end___gWVqd {
|
||||
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___PjZDS {
|
||||
flex-direction: column;
|
||||
box-orient: block-axis;
|
||||
}
|
||||
.form___JA0Ze {
|
||||
margin-top: 25px !important;
|
||||
}
|
||||
.form___JA0Ze .text___cCcOQ {
|
||||
font-size: 12px;
|
||||
color: #5f6367;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.form___JA0Ze input {
|
||||
border-radius: 2px;
|
||||
border: 1px solid #e1e1e1;
|
||||
}
|
||||
.form___JA0Ze .ant-form-item-label {
|
||||
width: 100px;
|
||||
}
|
||||
.form___JA0Ze label {
|
||||
height: 32px;
|
||||
color: #666666 !important;
|
||||
line-height: 32px;
|
||||
}
|
||||
.form___JA0Ze label::before {
|
||||
margin-top: 2px;
|
||||
}
|
||||
.form___JA0Ze .img___ht1lh {
|
||||
position: relative;
|
||||
width: 200px;
|
||||
height: auto;
|
||||
background-color: #f4f3f4;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.form___JA0Ze .img___ht1lh > div {
|
||||
position: absolute;
|
||||
right: -6px;
|
||||
top: -6px;
|
||||
cursor: pointer;
|
||||
background-color: #fff;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.form___JA0Ze .title___mljGY {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 40px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.form___JA0Ze .title___mljGY b {
|
||||
width: 4px;
|
||||
height: 14px;
|
||||
background: #666666;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.form___JA0Ze .title___mljGY span {
|
||||
color: #666666;
|
||||
font-size: 14px;
|
||||
}
|
||||
.form___JA0Ze .list___isVFT {
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 2px 4px 0px #E0DFE1;
|
||||
border-radius: 4px;
|
||||
padding: 30px 91px 30px 45px;
|
||||
}
|
||||
.form___JA0Ze .btn___IUjb1 {
|
||||
background: #3061D0;
|
||||
box-shadow: 0px 2px 4px 0px #E0DFE1;
|
||||
border-radius: 2px;
|
||||
padding: 0 36px;
|
||||
margin-top: 40px;
|
||||
height: 38px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
@ -1,346 +0,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.34@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/Lists/Settings/index.less?modules ***!
|
||||
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.flex_box_center___kBXL_ {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_space_between___OazEq {
|
||||
justify-content: space-between;
|
||||
-webkit-box-pack: justify;
|
||||
}
|
||||
.flex_box_vertical_center___wrPiJ {
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_box_center_end___cNbBK {
|
||||
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___VfVx_ {
|
||||
flex-direction: column;
|
||||
box-orient: block-axis;
|
||||
}
|
||||
.wrap___dX7Vx {
|
||||
padding: 0 45px;
|
||||
}
|
||||
.wrap___dX7Vx .title___rON5Q {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
color: #000000;
|
||||
margin-top: 25px;
|
||||
text-align: center;
|
||||
}
|
||||
.wrap___dX7Vx .tags___ykLgw {
|
||||
height: 42px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-left: 30px;
|
||||
padding-right: 20px;
|
||||
justify-content: center;
|
||||
}
|
||||
.wrap___dX7Vx .tags___ykLgw .tag___dcw2w {
|
||||
margin-right: 30px;
|
||||
}
|
||||
.wrap___dX7Vx .tags___ykLgw .tag___dcw2w span {
|
||||
font-size: 14px;
|
||||
color: #5F6368;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.wrap___dX7Vx .tags___ykLgw .tag___dcw2w b {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
}
|
||||
.wrap___dX7Vx .btns___X0ko6 {
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.wrap___dX7Vx .btns___X0ko6 > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 30px;
|
||||
}
|
||||
.wrap___dX7Vx .btns___X0ko6 > div span {
|
||||
cursor: pointer;
|
||||
font-weight: 400;
|
||||
color: #5F6368;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/Lists/Settings/components/ModuleSettings/index.less?modules ***!
|
||||
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.flex_box_center___y1YZJ {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_space_between___wTOwl {
|
||||
justify-content: space-between;
|
||||
-webkit-box-pack: justify;
|
||||
}
|
||||
.flex_box_vertical_center___XmLwW {
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_box_center_end___gWVqd {
|
||||
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___PjZDS {
|
||||
flex-direction: column;
|
||||
box-orient: block-axis;
|
||||
}
|
||||
.form___JA0Ze {
|
||||
margin-top: 25px !important;
|
||||
}
|
||||
.form___JA0Ze .text___cCcOQ {
|
||||
font-size: 12px;
|
||||
color: #5f6367;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.form___JA0Ze input {
|
||||
border-radius: 2px;
|
||||
border: 1px solid #e1e1e1;
|
||||
}
|
||||
.form___JA0Ze .ant-form-item-label {
|
||||
width: 100px;
|
||||
}
|
||||
.form___JA0Ze label {
|
||||
height: 32px;
|
||||
color: #666666 !important;
|
||||
line-height: 32px;
|
||||
}
|
||||
.form___JA0Ze label::before {
|
||||
margin-top: 2px;
|
||||
}
|
||||
.form___JA0Ze .img___ht1lh {
|
||||
position: relative;
|
||||
width: 200px;
|
||||
height: auto;
|
||||
background-color: #f4f3f4;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.form___JA0Ze .img___ht1lh > div {
|
||||
position: absolute;
|
||||
right: -6px;
|
||||
top: -6px;
|
||||
cursor: pointer;
|
||||
background-color: #fff;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.form___JA0Ze .title___mljGY {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 40px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.form___JA0Ze .title___mljGY b {
|
||||
width: 4px;
|
||||
height: 14px;
|
||||
background: #666666;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.form___JA0Ze .title___mljGY span {
|
||||
color: #666666;
|
||||
font-size: 14px;
|
||||
}
|
||||
.form___JA0Ze .list___isVFT {
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 2px 4px 0px #E0DFE1;
|
||||
border-radius: 4px;
|
||||
padding: 30px 91px 30px 45px;
|
||||
}
|
||||
.form___JA0Ze .btn___IUjb1 {
|
||||
background: #3061D0;
|
||||
box-shadow: 0px 2px 4px 0px #E0DFE1;
|
||||
border-radius: 2px;
|
||||
padding: 0 36px;
|
||||
margin-top: 40px;
|
||||
height: 38px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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.34@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/Lists/Settings/components/Member/index.less?modules ***!
|
||||
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.flex_box_center____FAUe {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_space_between___JShCL {
|
||||
justify-content: space-between;
|
||||
-webkit-box-pack: justify;
|
||||
}
|
||||
.flex_box_vertical_center___YhLcd {
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_box_center_end___yfXIw {
|
||||
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___zPH_W {
|
||||
flex-direction: column;
|
||||
box-orient: block-axis;
|
||||
}
|
||||
.warp____XM76 .Content___dD_y0 {
|
||||
margin-top: 26px;
|
||||
}
|
||||
.warp____XM76 .imgstyle___d5fnu {
|
||||
height: 177px;
|
||||
width: 291px;
|
||||
border-radius: 4px 4px 0px 0px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.warp____XM76 .imgstyle___d5fnu img {
|
||||
width: 100%;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
.warp____XM76 .cardstyle___uUh0g {
|
||||
width: 291px;
|
||||
height: 277px;
|
||||
box-shadow: 0px 2px 4px 0px #d6dae1;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.warp____XM76 .paddingcard___uEvZt .titlefont___HssVh {
|
||||
font-size: 16px;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #000000;
|
||||
}
|
||||
.warp____XM76 .flexEnd___Hl39R {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-end;
|
||||
}
|
||||
.warp____XM76 .flexEnd___Hl39R > span {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.warp____XM76 .modalinput___Vs9yI {
|
||||
width: 342px;
|
||||
height: 38px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
.warp____XM76 .items___Gh25j {
|
||||
width: calc(50% - 13px);
|
||||
height: 90px;
|
||||
background: #ffffff;
|
||||
display: inline-flex;
|
||||
padding: 20px;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 26px;
|
||||
box-shadow: 0px 2px 4px 0px #E0DFE1;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #F5F5F5;
|
||||
}
|
||||
.warp____XM76 .items___Gh25j img {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 50%;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.warp____XM76 .items___Gh25j:nth-child(odd) {
|
||||
margin-right: 26px;
|
||||
}
|
||||
.warp____XM76 .adminsstyle___dby7X {
|
||||
width: 48px;
|
||||
height: 17px;
|
||||
background: #FFBF95;
|
||||
border-radius: 2px;
|
||||
border: 1px solid;
|
||||
border-image: linear-gradient(310deg, #f5970b, #f98300) 1 1;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
color: #B34800;
|
||||
margin-left: 6px;
|
||||
margin-top: 4px;
|
||||
text-align: center;
|
||||
line-height: 15px;
|
||||
}
|
||||
.warp____XM76 .upadmin___JBDfN {
|
||||
font-size: 14px;
|
||||
color: #3061D0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.warp____XM76 .yes___VIGe0 {
|
||||
font-size: 14px;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #196efd;
|
||||
line-height: 20px;
|
||||
}
|
||||
.warp____XM76 .no___e0VYU {
|
||||
font-size: 14px;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #e30000;
|
||||
line-height: 20px;
|
||||
margin-left: 30px;
|
||||
}
|
||||
.tabs___vHdEw {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.tabs___vHdEw .item_tab___gHOXT,
|
||||
.tabs___vHdEw .active_tab___Th9Td {
|
||||
font-size: 14px;
|
||||
margin-right: 10px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.tabs___vHdEw .item_tab___gHOXT {
|
||||
color: #666666;
|
||||
width: 80px;
|
||||
text-align: center;
|
||||
}
|
||||
.tabs___vHdEw .active_tab___Th9Td {
|
||||
color: #165DFF;
|
||||
width: 80px;
|
||||
height: 22px;
|
||||
background: #F6F7F9;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.tabs___vHdEw .active_line___dOPXK {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background: #2A6CB3;
|
||||
top: 40px;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue