parent
a944409272
commit
600273816c
@ -0,0 +1,742 @@
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[11862],{
|
||||
|
||||
/***/ 78673:
|
||||
/*!**********************************************************************!*\
|
||||
!*** ./node_modules/_antd@5.9.0@antd/es/switch/index.js + 2 modules ***!
|
||||
\**********************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// EXPORTS
|
||||
__webpack_require__.d(__webpack_exports__, {
|
||||
Z: function() { return /* binding */ es_switch; }
|
||||
});
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.3.6@@ant-design/icons/es/icons/LoadingOutlined.js + 1 modules
|
||||
var LoadingOutlined = __webpack_require__(93739);
|
||||
// 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/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/extends.js
|
||||
var esm_extends = __webpack_require__(24931);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/defineProperty.js
|
||||
var defineProperty = __webpack_require__(84957);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
|
||||
var slicedToArray = __webpack_require__(69553);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/objectWithoutProperties.js
|
||||
var objectWithoutProperties = __webpack_require__(46012);
|
||||
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
|
||||
var _react_17_0_2_react = __webpack_require__(59301);
|
||||
// EXTERNAL MODULE: ./node_modules/_rc-util@5.39.1@rc-util/es/hooks/useMergedState.js
|
||||
var useMergedState = __webpack_require__(290);
|
||||
// EXTERNAL MODULE: ./node_modules/_rc-util@5.39.1@rc-util/es/KeyCode.js
|
||||
var KeyCode = __webpack_require__(81331);
|
||||
;// CONCATENATED MODULE: ./node_modules/_rc-switch@4.1.0@rc-switch/es/index.js
|
||||
|
||||
|
||||
|
||||
|
||||
var _excluded = ["prefixCls", "className", "checked", "defaultChecked", "disabled", "loadingIcon", "checkedChildren", "unCheckedChildren", "onClick", "onChange", "onKeyDown"];
|
||||
|
||||
|
||||
|
||||
|
||||
var Switch = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (_ref, ref) {
|
||||
var _classNames;
|
||||
var _ref$prefixCls = _ref.prefixCls,
|
||||
prefixCls = _ref$prefixCls === void 0 ? 'rc-switch' : _ref$prefixCls,
|
||||
className = _ref.className,
|
||||
checked = _ref.checked,
|
||||
defaultChecked = _ref.defaultChecked,
|
||||
disabled = _ref.disabled,
|
||||
loadingIcon = _ref.loadingIcon,
|
||||
checkedChildren = _ref.checkedChildren,
|
||||
unCheckedChildren = _ref.unCheckedChildren,
|
||||
onClick = _ref.onClick,
|
||||
onChange = _ref.onChange,
|
||||
onKeyDown = _ref.onKeyDown,
|
||||
restProps = (0,objectWithoutProperties/* default */.Z)(_ref, _excluded);
|
||||
var _useMergedState = (0,useMergedState/* default */.Z)(false, {
|
||||
value: checked,
|
||||
defaultValue: defaultChecked
|
||||
}),
|
||||
_useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2),
|
||||
innerChecked = _useMergedState2[0],
|
||||
setInnerChecked = _useMergedState2[1];
|
||||
function triggerChange(newChecked, event) {
|
||||
var mergedChecked = innerChecked;
|
||||
if (!disabled) {
|
||||
mergedChecked = newChecked;
|
||||
setInnerChecked(mergedChecked);
|
||||
onChange === null || onChange === void 0 ? void 0 : onChange(mergedChecked, event);
|
||||
}
|
||||
return mergedChecked;
|
||||
}
|
||||
function onInternalKeyDown(e) {
|
||||
if (e.which === KeyCode/* default */.Z.LEFT) {
|
||||
triggerChange(false, e);
|
||||
} else if (e.which === KeyCode/* default */.Z.RIGHT) {
|
||||
triggerChange(true, e);
|
||||
}
|
||||
onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
|
||||
}
|
||||
function onInternalClick(e) {
|
||||
var ret = triggerChange(!innerChecked, e);
|
||||
// [Legacy] trigger onClick with value
|
||||
onClick === null || onClick === void 0 ? void 0 : onClick(ret, e);
|
||||
}
|
||||
var switchClassName = _classnames_2_5_1_classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-checked"), innerChecked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames));
|
||||
return /*#__PURE__*/_react_17_0_2_react.createElement("button", (0,esm_extends/* default */.Z)({}, restProps, {
|
||||
type: "button",
|
||||
role: "switch",
|
||||
"aria-checked": innerChecked,
|
||||
disabled: disabled,
|
||||
className: switchClassName,
|
||||
ref: ref,
|
||||
onKeyDown: onInternalKeyDown,
|
||||
onClick: onInternalClick
|
||||
}), loadingIcon, /*#__PURE__*/_react_17_0_2_react.createElement("span", {
|
||||
className: "".concat(prefixCls, "-inner")
|
||||
}, /*#__PURE__*/_react_17_0_2_react.createElement("span", {
|
||||
className: "".concat(prefixCls, "-inner-checked")
|
||||
}, checkedChildren), /*#__PURE__*/_react_17_0_2_react.createElement("span", {
|
||||
className: "".concat(prefixCls, "-inner-unchecked")
|
||||
}, unCheckedChildren)));
|
||||
});
|
||||
Switch.displayName = 'Switch';
|
||||
/* harmony default export */ var es = (Switch);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/index.js + 4 modules
|
||||
var wave = __webpack_require__(14088);
|
||||
// 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/config-provider/DisabledContext.js
|
||||
var DisabledContext = __webpack_require__(1684);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useSize.js
|
||||
var useSize = __webpack_require__(19716);
|
||||
// EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js
|
||||
var dist_module = __webpack_require__(64993);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
|
||||
var style = __webpack_require__(17313);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js
|
||||
var genComponentStyleHook = __webpack_require__(83116);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js
|
||||
var statistic = __webpack_require__(37613);
|
||||
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/switch/style/index.js
|
||||
|
||||
|
||||
|
||||
const genSwitchSmallStyle = token => {
|
||||
const {
|
||||
componentCls,
|
||||
trackHeightSM,
|
||||
trackPadding,
|
||||
trackMinWidthSM,
|
||||
innerMinMarginSM,
|
||||
innerMaxMarginSM,
|
||||
handleSizeSM
|
||||
} = token;
|
||||
const switchInnerCls = `${componentCls}-inner`;
|
||||
return {
|
||||
[componentCls]: {
|
||||
[`&${componentCls}-small`]: {
|
||||
minWidth: trackMinWidthSM,
|
||||
height: trackHeightSM,
|
||||
lineHeight: `${trackHeightSM}px`,
|
||||
[`${componentCls}-inner`]: {
|
||||
paddingInlineStart: innerMaxMarginSM,
|
||||
paddingInlineEnd: innerMinMarginSM,
|
||||
[`${switchInnerCls}-checked`]: {
|
||||
marginInlineStart: `calc(-100% + ${handleSizeSM + trackPadding * 2}px - ${innerMaxMarginSM * 2}px)`,
|
||||
marginInlineEnd: `calc(100% - ${handleSizeSM + trackPadding * 2}px + ${innerMaxMarginSM * 2}px)`
|
||||
},
|
||||
[`${switchInnerCls}-unchecked`]: {
|
||||
marginTop: -trackHeightSM,
|
||||
marginInlineStart: 0,
|
||||
marginInlineEnd: 0
|
||||
}
|
||||
},
|
||||
[`${componentCls}-handle`]: {
|
||||
width: handleSizeSM,
|
||||
height: handleSizeSM
|
||||
},
|
||||
[`${componentCls}-loading-icon`]: {
|
||||
top: (handleSizeSM - token.switchLoadingIconSize) / 2,
|
||||
fontSize: token.switchLoadingIconSize
|
||||
},
|
||||
[`&${componentCls}-checked`]: {
|
||||
[`${componentCls}-inner`]: {
|
||||
paddingInlineStart: innerMinMarginSM,
|
||||
paddingInlineEnd: innerMaxMarginSM,
|
||||
[`${switchInnerCls}-checked`]: {
|
||||
marginInlineStart: 0,
|
||||
marginInlineEnd: 0
|
||||
},
|
||||
[`${switchInnerCls}-unchecked`]: {
|
||||
marginInlineStart: `calc(100% - ${handleSizeSM + trackPadding * 2}px + ${innerMaxMarginSM * 2}px)`,
|
||||
marginInlineEnd: `calc(-100% + ${handleSizeSM + trackPadding * 2}px - ${innerMaxMarginSM * 2}px)`
|
||||
}
|
||||
},
|
||||
[`${componentCls}-handle`]: {
|
||||
insetInlineStart: `calc(100% - ${handleSizeSM + trackPadding}px)`
|
||||
}
|
||||
},
|
||||
[`&:not(${componentCls}-disabled):active`]: {
|
||||
[`&:not(${componentCls}-checked) ${switchInnerCls}`]: {
|
||||
[`${switchInnerCls}-unchecked`]: {
|
||||
marginInlineStart: token.marginXXS / 2,
|
||||
marginInlineEnd: -token.marginXXS / 2
|
||||
}
|
||||
},
|
||||
[`&${componentCls}-checked ${switchInnerCls}`]: {
|
||||
[`${switchInnerCls}-checked`]: {
|
||||
marginInlineStart: -token.marginXXS / 2,
|
||||
marginInlineEnd: token.marginXXS / 2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
const genSwitchLoadingStyle = token => {
|
||||
const {
|
||||
componentCls,
|
||||
handleSize
|
||||
} = token;
|
||||
return {
|
||||
[componentCls]: {
|
||||
[`${componentCls}-loading-icon${token.iconCls}`]: {
|
||||
position: 'relative',
|
||||
top: (handleSize - token.fontSize) / 2,
|
||||
color: token.switchLoadingIconColor,
|
||||
verticalAlign: 'top'
|
||||
},
|
||||
[`&${componentCls}-checked ${componentCls}-loading-icon`]: {
|
||||
color: token.switchColor
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
const genSwitchHandleStyle = token => {
|
||||
const {
|
||||
componentCls,
|
||||
motion,
|
||||
trackPadding,
|
||||
handleBg,
|
||||
handleShadow,
|
||||
handleSize
|
||||
} = token;
|
||||
const switchHandleCls = `${componentCls}-handle`;
|
||||
return {
|
||||
[componentCls]: {
|
||||
[switchHandleCls]: {
|
||||
position: 'absolute',
|
||||
top: trackPadding,
|
||||
insetInlineStart: trackPadding,
|
||||
width: handleSize,
|
||||
height: handleSize,
|
||||
transition: `all ${token.switchDuration} ease-in-out`,
|
||||
'&::before': {
|
||||
position: 'absolute',
|
||||
top: 0,
|
||||
insetInlineEnd: 0,
|
||||
bottom: 0,
|
||||
insetInlineStart: 0,
|
||||
backgroundColor: handleBg,
|
||||
borderRadius: handleSize / 2,
|
||||
boxShadow: handleShadow,
|
||||
transition: `all ${token.switchDuration} ease-in-out`,
|
||||
content: '""'
|
||||
}
|
||||
},
|
||||
[`&${componentCls}-checked ${switchHandleCls}`]: {
|
||||
insetInlineStart: `calc(100% - ${handleSize + trackPadding}px)`
|
||||
},
|
||||
[`&:not(${componentCls}-disabled):active`]: motion ? {
|
||||
[`${switchHandleCls}::before`]: {
|
||||
insetInlineEnd: token.switchHandleActiveInset,
|
||||
insetInlineStart: 0
|
||||
},
|
||||
[`&${componentCls}-checked ${switchHandleCls}::before`]: {
|
||||
insetInlineEnd: 0,
|
||||
insetInlineStart: token.switchHandleActiveInset
|
||||
}
|
||||
} : /* istanbul ignore next */
|
||||
{}
|
||||
}
|
||||
};
|
||||
};
|
||||
const genSwitchInnerStyle = token => {
|
||||
const {
|
||||
componentCls,
|
||||
trackHeight,
|
||||
trackPadding,
|
||||
innerMinMargin,
|
||||
innerMaxMargin,
|
||||
handleSize
|
||||
} = token;
|
||||
const switchInnerCls = `${componentCls}-inner`;
|
||||
return {
|
||||
[componentCls]: {
|
||||
[switchInnerCls]: {
|
||||
display: 'block',
|
||||
overflow: 'hidden',
|
||||
borderRadius: 100,
|
||||
height: '100%',
|
||||
paddingInlineStart: innerMaxMargin,
|
||||
paddingInlineEnd: innerMinMargin,
|
||||
transition: `padding-inline-start ${token.switchDuration} ease-in-out, padding-inline-end ${token.switchDuration} ease-in-out`,
|
||||
[`${switchInnerCls}-checked, ${switchInnerCls}-unchecked`]: {
|
||||
display: 'block',
|
||||
color: token.colorTextLightSolid,
|
||||
fontSize: token.fontSizeSM,
|
||||
transition: `margin-inline-start ${token.switchDuration} ease-in-out, margin-inline-end ${token.switchDuration} ease-in-out`,
|
||||
pointerEvents: 'none'
|
||||
},
|
||||
[`${switchInnerCls}-checked`]: {
|
||||
marginInlineStart: `calc(-100% + ${handleSize + trackPadding * 2}px - ${innerMaxMargin * 2}px)`,
|
||||
marginInlineEnd: `calc(100% - ${handleSize + trackPadding * 2}px + ${innerMaxMargin * 2}px)`
|
||||
},
|
||||
[`${switchInnerCls}-unchecked`]: {
|
||||
marginTop: -trackHeight,
|
||||
marginInlineStart: 0,
|
||||
marginInlineEnd: 0
|
||||
}
|
||||
},
|
||||
[`&${componentCls}-checked ${switchInnerCls}`]: {
|
||||
paddingInlineStart: innerMinMargin,
|
||||
paddingInlineEnd: innerMaxMargin,
|
||||
[`${switchInnerCls}-checked`]: {
|
||||
marginInlineStart: 0,
|
||||
marginInlineEnd: 0
|
||||
},
|
||||
[`${switchInnerCls}-unchecked`]: {
|
||||
marginInlineStart: `calc(100% - ${handleSize + trackPadding * 2}px + ${innerMaxMargin * 2}px)`,
|
||||
marginInlineEnd: `calc(-100% + ${handleSize + trackPadding * 2}px - ${innerMaxMargin * 2}px)`
|
||||
}
|
||||
},
|
||||
[`&:not(${componentCls}-disabled):active`]: {
|
||||
[`&:not(${componentCls}-checked) ${switchInnerCls}`]: {
|
||||
[`${switchInnerCls}-unchecked`]: {
|
||||
marginInlineStart: trackPadding * 2,
|
||||
marginInlineEnd: -trackPadding * 2
|
||||
}
|
||||
},
|
||||
[`&${componentCls}-checked ${switchInnerCls}`]: {
|
||||
[`${switchInnerCls}-checked`]: {
|
||||
marginInlineStart: -trackPadding * 2,
|
||||
marginInlineEnd: trackPadding * 2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
const genSwitchStyle = token => {
|
||||
const {
|
||||
componentCls,
|
||||
trackHeight,
|
||||
trackMinWidth
|
||||
} = token;
|
||||
return {
|
||||
[componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
|
||||
position: 'relative',
|
||||
display: 'inline-block',
|
||||
boxSizing: 'border-box',
|
||||
minWidth: trackMinWidth,
|
||||
height: trackHeight,
|
||||
lineHeight: `${trackHeight}px`,
|
||||
verticalAlign: 'middle',
|
||||
background: token.colorTextQuaternary,
|
||||
border: '0',
|
||||
borderRadius: 100,
|
||||
cursor: 'pointer',
|
||||
transition: `all ${token.motionDurationMid}`,
|
||||
userSelect: 'none',
|
||||
[`&:hover:not(${componentCls}-disabled)`]: {
|
||||
background: token.colorTextTertiary
|
||||
}
|
||||
}), (0,style/* genFocusStyle */.Qy)(token)), {
|
||||
[`&${componentCls}-checked`]: {
|
||||
background: token.switchColor,
|
||||
[`&:hover:not(${componentCls}-disabled)`]: {
|
||||
background: token.colorPrimaryHover
|
||||
}
|
||||
},
|
||||
[`&${componentCls}-loading, &${componentCls}-disabled`]: {
|
||||
cursor: 'not-allowed',
|
||||
opacity: token.switchDisabledOpacity,
|
||||
'*': {
|
||||
boxShadow: 'none',
|
||||
cursor: 'not-allowed'
|
||||
}
|
||||
},
|
||||
// rtl style
|
||||
[`&${componentCls}-rtl`]: {
|
||||
direction: 'rtl'
|
||||
}
|
||||
})
|
||||
};
|
||||
};
|
||||
// ============================== Export ==============================
|
||||
/* harmony default export */ var switch_style = ((0,genComponentStyleHook/* default */.Z)('Switch', token => {
|
||||
const switchToken = (0,statistic/* merge */.TS)(token, {
|
||||
switchDuration: token.motionDurationMid,
|
||||
switchColor: token.colorPrimary,
|
||||
switchDisabledOpacity: token.opacityLoading,
|
||||
switchLoadingIconSize: token.fontSizeIcon * 0.75,
|
||||
switchLoadingIconColor: `rgba(0, 0, 0, ${token.opacityLoading})`,
|
||||
switchHandleActiveInset: '-30%'
|
||||
});
|
||||
return [genSwitchStyle(switchToken),
|
||||
// inner style
|
||||
genSwitchInnerStyle(switchToken),
|
||||
// handle style
|
||||
genSwitchHandleStyle(switchToken),
|
||||
// loading style
|
||||
genSwitchLoadingStyle(switchToken),
|
||||
// small style
|
||||
genSwitchSmallStyle(switchToken)];
|
||||
}, token => {
|
||||
const {
|
||||
fontSize,
|
||||
lineHeight,
|
||||
controlHeight,
|
||||
colorWhite
|
||||
} = token;
|
||||
const height = fontSize * lineHeight;
|
||||
const heightSM = controlHeight / 2;
|
||||
const padding = 2; // Fixed value
|
||||
const handleSize = height - padding * 2;
|
||||
const handleSizeSM = heightSM - padding * 2;
|
||||
return {
|
||||
trackHeight: height,
|
||||
trackHeightSM: heightSM,
|
||||
trackMinWidth: handleSize * 2 + padding * 4,
|
||||
trackMinWidthSM: handleSizeSM * 2 + padding * 2,
|
||||
trackPadding: padding,
|
||||
handleBg: colorWhite,
|
||||
handleSize,
|
||||
handleSizeSM,
|
||||
handleShadow: `0 2px 4px 0 ${new dist_module/* TinyColor */.C('#00230b').setAlpha(0.2).toRgbString()}`,
|
||||
innerMinMargin: handleSize / 2,
|
||||
innerMaxMargin: handleSize + padding + padding * 2,
|
||||
innerMinMarginSM: handleSizeSM / 2,
|
||||
innerMaxMarginSM: handleSizeSM + padding + padding * 2
|
||||
};
|
||||
}));
|
||||
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/switch/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 switch_Switch = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
|
||||
const {
|
||||
prefixCls: customizePrefixCls,
|
||||
size: customizeSize,
|
||||
disabled: customDisabled,
|
||||
loading,
|
||||
className,
|
||||
rootClassName,
|
||||
style
|
||||
} = props,
|
||||
restProps = __rest(props, ["prefixCls", "size", "disabled", "loading", "className", "rootClassName", "style"]);
|
||||
false ? 0 : void 0;
|
||||
const {
|
||||
getPrefixCls,
|
||||
direction,
|
||||
switch: SWITCH
|
||||
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
|
||||
// ===================== Disabled =====================
|
||||
const disabled = _react_17_0_2_react.useContext(DisabledContext/* default */.Z);
|
||||
const mergedDisabled = (customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled) || loading;
|
||||
const prefixCls = getPrefixCls('switch', customizePrefixCls);
|
||||
const loadingIcon = /*#__PURE__*/_react_17_0_2_react.createElement("div", {
|
||||
className: `${prefixCls}-handle`
|
||||
}, loading && /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, {
|
||||
className: `${prefixCls}-loading-icon`
|
||||
}));
|
||||
// Style
|
||||
const [wrapSSR, hashId] = switch_style(prefixCls);
|
||||
const mergedSize = (0,useSize/* default */.Z)(customizeSize);
|
||||
const classes = _classnames_2_5_1_classnames_default()(SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.className, {
|
||||
[`${prefixCls}-small`]: mergedSize === 'small',
|
||||
[`${prefixCls}-loading`]: loading,
|
||||
[`${prefixCls}-rtl`]: direction === 'rtl'
|
||||
}, className, rootClassName, hashId);
|
||||
const mergedStyle = Object.assign(Object.assign({}, SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.style), style);
|
||||
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(wave/* default */.Z, {
|
||||
component: "Switch"
|
||||
}, /*#__PURE__*/_react_17_0_2_react.createElement(es, Object.assign({}, restProps, {
|
||||
prefixCls: prefixCls,
|
||||
className: classes,
|
||||
style: mergedStyle,
|
||||
disabled: mergedDisabled,
|
||||
ref: ref,
|
||||
loadingIcon: loadingIcon
|
||||
}))));
|
||||
});
|
||||
switch_Switch.__ANT_SWITCH = true;
|
||||
if (false) {}
|
||||
/* harmony default export */ var es_switch = (switch_Switch);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 24334:
|
||||
/*!***********************************************************!*\
|
||||
!*** ./node_modules/_js-base64@2.6.4@js-base64/base64.js ***!
|
||||
\***********************************************************/
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
||||
* base64.js
|
||||
*
|
||||
* Licensed under the BSD 3-Clause License.
|
||||
* http://opensource.org/licenses/BSD-3-Clause
|
||||
*
|
||||
* References:
|
||||
* http://en.wikipedia.org/wiki/Base64
|
||||
*/
|
||||
;(function (global, factory) {
|
||||
true
|
||||
? module.exports = factory(global)
|
||||
: 0
|
||||
}((
|
||||
typeof self !== 'undefined' ? self
|
||||
: typeof window !== 'undefined' ? window
|
||||
: typeof __webpack_require__.g !== 'undefined' ? __webpack_require__.g
|
||||
: this
|
||||
), function(global) {
|
||||
'use strict';
|
||||
// existing version for noConflict()
|
||||
global = global || {};
|
||||
var _Base64 = global.Base64;
|
||||
var version = "2.6.4";
|
||||
// constants
|
||||
var b64chars
|
||||
= 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
||||
var b64tab = function(bin) {
|
||||
var t = {};
|
||||
for (var i = 0, l = bin.length; i < l; i++) t[bin.charAt(i)] = i;
|
||||
return t;
|
||||
}(b64chars);
|
||||
var fromCharCode = String.fromCharCode;
|
||||
// encoder stuff
|
||||
var cb_utob = function(c) {
|
||||
if (c.length < 2) {
|
||||
var cc = c.charCodeAt(0);
|
||||
return cc < 0x80 ? c
|
||||
: cc < 0x800 ? (fromCharCode(0xc0 | (cc >>> 6))
|
||||
+ fromCharCode(0x80 | (cc & 0x3f)))
|
||||
: (fromCharCode(0xe0 | ((cc >>> 12) & 0x0f))
|
||||
+ fromCharCode(0x80 | ((cc >>> 6) & 0x3f))
|
||||
+ fromCharCode(0x80 | ( cc & 0x3f)));
|
||||
} else {
|
||||
var cc = 0x10000
|
||||
+ (c.charCodeAt(0) - 0xD800) * 0x400
|
||||
+ (c.charCodeAt(1) - 0xDC00);
|
||||
return (fromCharCode(0xf0 | ((cc >>> 18) & 0x07))
|
||||
+ fromCharCode(0x80 | ((cc >>> 12) & 0x3f))
|
||||
+ fromCharCode(0x80 | ((cc >>> 6) & 0x3f))
|
||||
+ fromCharCode(0x80 | ( cc & 0x3f)));
|
||||
}
|
||||
};
|
||||
var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g;
|
||||
var utob = function(u) {
|
||||
return u.replace(re_utob, cb_utob);
|
||||
};
|
||||
var cb_encode = function(ccc) {
|
||||
var padlen = [0, 2, 1][ccc.length % 3],
|
||||
ord = ccc.charCodeAt(0) << 16
|
||||
| ((ccc.length > 1 ? ccc.charCodeAt(1) : 0) << 8)
|
||||
| ((ccc.length > 2 ? ccc.charCodeAt(2) : 0)),
|
||||
chars = [
|
||||
b64chars.charAt( ord >>> 18),
|
||||
b64chars.charAt((ord >>> 12) & 63),
|
||||
padlen >= 2 ? '=' : b64chars.charAt((ord >>> 6) & 63),
|
||||
padlen >= 1 ? '=' : b64chars.charAt(ord & 63)
|
||||
];
|
||||
return chars.join('');
|
||||
};
|
||||
var btoa = global.btoa && typeof global.btoa == 'function'
|
||||
? function(b){ return global.btoa(b) } : function(b) {
|
||||
if (b.match(/[^\x00-\xFF]/)) throw new RangeError(
|
||||
'The string contains invalid characters.'
|
||||
);
|
||||
return b.replace(/[\s\S]{1,3}/g, cb_encode);
|
||||
};
|
||||
var _encode = function(u) {
|
||||
return btoa(utob(String(u)));
|
||||
};
|
||||
var mkUriSafe = function (b64) {
|
||||
return b64.replace(/[+\/]/g, function(m0) {
|
||||
return m0 == '+' ? '-' : '_';
|
||||
}).replace(/=/g, '');
|
||||
};
|
||||
var encode = function(u, urisafe) {
|
||||
return urisafe ? mkUriSafe(_encode(u)) : _encode(u);
|
||||
};
|
||||
var encodeURI = function(u) { return encode(u, true) };
|
||||
var fromUint8Array;
|
||||
if (global.Uint8Array) fromUint8Array = function(a, urisafe) {
|
||||
// return btoa(fromCharCode.apply(null, a));
|
||||
var b64 = '';
|
||||
for (var i = 0, l = a.length; i < l; i += 3) {
|
||||
var a0 = a[i], a1 = a[i+1], a2 = a[i+2];
|
||||
var ord = a0 << 16 | a1 << 8 | a2;
|
||||
b64 += b64chars.charAt( ord >>> 18)
|
||||
+ b64chars.charAt((ord >>> 12) & 63)
|
||||
+ ( typeof a1 != 'undefined'
|
||||
? b64chars.charAt((ord >>> 6) & 63) : '=')
|
||||
+ ( typeof a2 != 'undefined'
|
||||
? b64chars.charAt( ord & 63) : '=');
|
||||
}
|
||||
return urisafe ? mkUriSafe(b64) : b64;
|
||||
};
|
||||
// decoder stuff
|
||||
var re_btou = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g;
|
||||
var cb_btou = function(cccc) {
|
||||
switch(cccc.length) {
|
||||
case 4:
|
||||
var cp = ((0x07 & cccc.charCodeAt(0)) << 18)
|
||||
| ((0x3f & cccc.charCodeAt(1)) << 12)
|
||||
| ((0x3f & cccc.charCodeAt(2)) << 6)
|
||||
| (0x3f & cccc.charCodeAt(3)),
|
||||
offset = cp - 0x10000;
|
||||
return (fromCharCode((offset >>> 10) + 0xD800)
|
||||
+ fromCharCode((offset & 0x3FF) + 0xDC00));
|
||||
case 3:
|
||||
return fromCharCode(
|
||||
((0x0f & cccc.charCodeAt(0)) << 12)
|
||||
| ((0x3f & cccc.charCodeAt(1)) << 6)
|
||||
| (0x3f & cccc.charCodeAt(2))
|
||||
);
|
||||
default:
|
||||
return fromCharCode(
|
||||
((0x1f & cccc.charCodeAt(0)) << 6)
|
||||
| (0x3f & cccc.charCodeAt(1))
|
||||
);
|
||||
}
|
||||
};
|
||||
var btou = function(b) {
|
||||
return b.replace(re_btou, cb_btou);
|
||||
};
|
||||
var cb_decode = function(cccc) {
|
||||
var len = cccc.length,
|
||||
padlen = len % 4,
|
||||
n = (len > 0 ? b64tab[cccc.charAt(0)] << 18 : 0)
|
||||
| (len > 1 ? b64tab[cccc.charAt(1)] << 12 : 0)
|
||||
| (len > 2 ? b64tab[cccc.charAt(2)] << 6 : 0)
|
||||
| (len > 3 ? b64tab[cccc.charAt(3)] : 0),
|
||||
chars = [
|
||||
fromCharCode( n >>> 16),
|
||||
fromCharCode((n >>> 8) & 0xff),
|
||||
fromCharCode( n & 0xff)
|
||||
];
|
||||
chars.length -= [0, 0, 2, 1][padlen];
|
||||
return chars.join('');
|
||||
};
|
||||
var _atob = global.atob && typeof global.atob == 'function'
|
||||
? function(a){ return global.atob(a) } : function(a){
|
||||
return a.replace(/\S{1,4}/g, cb_decode);
|
||||
};
|
||||
var atob = function(a) {
|
||||
return _atob(String(a).replace(/[^A-Za-z0-9\+\/]/g, ''));
|
||||
};
|
||||
var _decode = function(a) { return btou(_atob(a)) };
|
||||
var _fromURI = function(a) {
|
||||
return String(a).replace(/[-_]/g, function(m0) {
|
||||
return m0 == '-' ? '+' : '/'
|
||||
}).replace(/[^A-Za-z0-9\+\/]/g, '');
|
||||
};
|
||||
var decode = function(a){
|
||||
return _decode(_fromURI(a));
|
||||
};
|
||||
var toUint8Array;
|
||||
if (global.Uint8Array) toUint8Array = function(a) {
|
||||
return Uint8Array.from(atob(_fromURI(a)), function(c) {
|
||||
return c.charCodeAt(0);
|
||||
});
|
||||
};
|
||||
var noConflict = function() {
|
||||
var Base64 = global.Base64;
|
||||
global.Base64 = _Base64;
|
||||
return Base64;
|
||||
};
|
||||
// export Base64
|
||||
global.Base64 = {
|
||||
VERSION: version,
|
||||
atob: atob,
|
||||
btoa: btoa,
|
||||
fromBase64: decode,
|
||||
toBase64: encode,
|
||||
utob: utob,
|
||||
encode: encode,
|
||||
encodeURI: encodeURI,
|
||||
btou: btou,
|
||||
decode: decode,
|
||||
noConflict: noConflict,
|
||||
fromUint8Array: fromUint8Array,
|
||||
toUint8Array: toUint8Array
|
||||
};
|
||||
// if ES5 is available, make Base64.extendString() available
|
||||
if (typeof Object.defineProperty === 'function') {
|
||||
var noEnum = function(v){
|
||||
return {value:v,enumerable:false,writable:true,configurable:true};
|
||||
};
|
||||
global.Base64.extendString = function () {
|
||||
Object.defineProperty(
|
||||
String.prototype, 'fromBase64', noEnum(function () {
|
||||
return decode(this)
|
||||
}));
|
||||
Object.defineProperty(
|
||||
String.prototype, 'toBase64', noEnum(function (urisafe) {
|
||||
return encode(this, urisafe)
|
||||
}));
|
||||
Object.defineProperty(
|
||||
String.prototype, 'toBase64URI', noEnum(function () {
|
||||
return encode(this, true)
|
||||
}));
|
||||
};
|
||||
}
|
||||
//
|
||||
// export Base64 to the namespace
|
||||
//
|
||||
if (global['Meteor']) { // Meteor.js
|
||||
Base64 = global.Base64;
|
||||
}
|
||||
// module.exports and AMD are mutually exclusive.
|
||||
// module.exports has precedence.
|
||||
if ( true && module.exports) {
|
||||
module.exports.Base64 = global.Base64;
|
||||
}
|
||||
else if (true) {
|
||||
// AMD. Register as an anonymous module.
|
||||
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function(){ return global.Base64 }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
|
||||
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
||||
}
|
||||
// that's it!
|
||||
return {Base64: global.Base64}
|
||||
}));
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@ -1,4 +1,4 @@
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[28278,84742],{
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[28278,11862,84742],{
|
||||
|
||||
/***/ 23174:
|
||||
/*!************************************************************************************************************!*\
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,786 @@
|
||||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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.1.8@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.8@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Paths/Detail/Statistics/PracticeDetail/index.less?modules ***!
|
||||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.flex_box_center___ispni {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_space_between___oFahK {
|
||||
justify-content: space-between;
|
||||
-webkit-box-pack: justify;
|
||||
}
|
||||
.flex_box_vertical_center___Gvv9d {
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_box_center_end___74s4S {
|
||||
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___bEXcH {
|
||||
flex-direction: column;
|
||||
box-orient: block-axis;
|
||||
}
|
||||
.Onerow___wpdQ9 {
|
||||
word-break: break-all;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.bg___cMcut {
|
||||
width: 1200px;
|
||||
margin: auto;
|
||||
}
|
||||
.circularBlue___ZqUpd,
|
||||
.circularRed____yIMw,
|
||||
.circularOrange___rnEuo,
|
||||
.circularGreen___MgPXy,
|
||||
.circularGrey___TZspz {
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
margin-right: 6px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
.circularBlue___ZqUpd {
|
||||
background: #0152d9;
|
||||
}
|
||||
.circularRed____yIMw {
|
||||
background: #ee4a1f;
|
||||
}
|
||||
.circularOrange___rnEuo {
|
||||
background: #ff6800;
|
||||
}
|
||||
.circularGreen___MgPXy {
|
||||
background: #028d01;
|
||||
}
|
||||
.circularGrey___TZspz {
|
||||
background: #9b9b9b;
|
||||
}
|
||||
.typeTitle___oONVp {
|
||||
height: 46px;
|
||||
margin: 14px 14px 0 14px;
|
||||
padding-left: 30px;
|
||||
padding-right: 30px;
|
||||
background: #f5f7fd;
|
||||
}
|
||||
#educoder .answerError___rqa4N [class^="ant-radio-inner"] {
|
||||
border-color: #fb3226;
|
||||
background: #fb3226;
|
||||
}
|
||||
#educoder .answerError___rqa4N [class^="ant-radio-inner"]::after {
|
||||
background: #fff;
|
||||
}
|
||||
#educoder .answerError___rqa4N [class^="ant-checkbox-inner"] {
|
||||
border-color: #fb3226;
|
||||
background: #fb3226;
|
||||
}
|
||||
#educoder .answerError___rqa4N [class^="ant-checkbox-inner"]::after {
|
||||
background: #fb3226;
|
||||
}
|
||||
.greenBg___a0AHR {
|
||||
background: #ecfff8;
|
||||
}
|
||||
.blueBg___oqrFa {
|
||||
background: #f1f8ff;
|
||||
}
|
||||
.redBg___txmVB {
|
||||
background: #fff5f4;
|
||||
}
|
||||
.orangeBg___DkHDf {
|
||||
background: #fff8f4;
|
||||
}
|
||||
.greyBg___xwEBl {
|
||||
background: #f5f4f4;
|
||||
}
|
||||
.questionsInfo___ckmSf {
|
||||
padding-top: 40px;
|
||||
padding-bottom: 10px;
|
||||
line-height: 2;
|
||||
width: 120px;
|
||||
background: #f1f8ff;
|
||||
border-radius: 2px;
|
||||
text-align: center;
|
||||
}
|
||||
.questionsInfo___ckmSf img {
|
||||
width: 140px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -10px;
|
||||
}
|
||||
|
||||
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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.1.8@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.8@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Review/component/index.less?modules ***!
|
||||
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.flex_box_center___VAUts {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_space_between___gx5ZV {
|
||||
justify-content: space-between;
|
||||
-webkit-box-pack: justify;
|
||||
}
|
||||
.flex_box_vertical_center___HV_tL {
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_box_center_end___fVsIw {
|
||||
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___F5DHk {
|
||||
flex-direction: column;
|
||||
box-orient: block-axis;
|
||||
}
|
||||
.shixunWrp___pinaF {
|
||||
border: 1px solid #eee;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.shixunWrp___pinaF h2 {
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
padding: 6px 20px;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
.shixunWrp___pinaF h2 .s___mtpV4 {
|
||||
float: right;
|
||||
color: #007aff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.shixunWrp___pinaF h2 .s___mtpV4 i {
|
||||
margin-right: 6px;
|
||||
}
|
||||
.fillComment___WEgkI {
|
||||
margin-top: 10px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.fillComment___WEgkI img {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border-radius: 50%;
|
||||
display: block;
|
||||
}
|
||||
.commentContent___v_Ebo {
|
||||
flex: 1 1;
|
||||
margin-left: 10px;
|
||||
}
|
||||
.commentText___fyDle {
|
||||
font-size: 14px;
|
||||
background: #fafafa;
|
||||
font-weight: 500;
|
||||
border-radius: 2px;
|
||||
width: 100%;
|
||||
padding: 16px 16px;
|
||||
color: #666666;
|
||||
}
|
||||
.simpleWrap___uwIie {
|
||||
background: #ffffff;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #f9f9f9;
|
||||
font-weight: 300;
|
||||
padding: 12px 12px;
|
||||
}
|
||||
.fillBg___iyMsm {
|
||||
background: #fafafa;
|
||||
padding: 10px 17px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.simpleBg___UqElF {
|
||||
background: #fafafa;
|
||||
padding: 10px 17px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.lookCode___xKifS [class~='ant-modal-confirm-content'] {
|
||||
margin: 10px 0 0 !important;
|
||||
}
|
||||
|
||||
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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.1.8@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.8@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Review/index.less?modules ***!
|
||||
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.flex_box_center___D6Qly {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_space_between___ZA98O {
|
||||
justify-content: space-between;
|
||||
-webkit-box-pack: justify;
|
||||
}
|
||||
.flex_box_vertical_center___aST6E {
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_box_center_end___kJ_eQ {
|
||||
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___ZOkyZ {
|
||||
flex-direction: column;
|
||||
box-orient: block-axis;
|
||||
}
|
||||
.bg___rbSyL {
|
||||
background: white;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.circularBlue___qvnla,
|
||||
.circularRed___jo0FU,
|
||||
.circularOrange___GteY7,
|
||||
.circularGreen___PW_tz,
|
||||
.circularGrey___Nt7Wc {
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
margin-right: 6px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
.circularBlue___qvnla {
|
||||
background: #0152d9;
|
||||
}
|
||||
.circularRed___jo0FU {
|
||||
background: #ee4a1f;
|
||||
}
|
||||
.circularOrange___GteY7 {
|
||||
background: #ff6800;
|
||||
}
|
||||
.circularGreen___PW_tz {
|
||||
background: #028d01;
|
||||
}
|
||||
.circularGrey___Nt7Wc {
|
||||
background: #9b9b9b;
|
||||
}
|
||||
.title___Volf5 {
|
||||
display: box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.title___Volf5 strong {
|
||||
color: #333;
|
||||
}
|
||||
.questionIcons___MIxzq [class~='ant-anchor-link'] {
|
||||
display: inline;
|
||||
}
|
||||
.questionIcons___MIxzq [class~='ant-anchor-wrapper'] {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.questionIcons___MIxzq span,
|
||||
.questionIcons___MIxzq a {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
color: #0152d9;
|
||||
background: #deefff;
|
||||
display: inline-block;
|
||||
margin-right: 9px;
|
||||
margin-bottom: 6px;
|
||||
border-radius: 4px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
}
|
||||
.questionIcons___MIxzq span:hover,
|
||||
.questionIcons___MIxzq a:hover {
|
||||
background-color: #cae5ff;
|
||||
}
|
||||
.questionIcons___MIxzq .grey___XquYB {
|
||||
color: #666;
|
||||
background-color: #e4e4e4;
|
||||
}
|
||||
.questionIcons___MIxzq .grey___XquYB:hover {
|
||||
background-color: #d6d6d6;
|
||||
}
|
||||
.questionIcons___MIxzq .green___sjsXt {
|
||||
color: #028d01;
|
||||
background-color: #e0f4e4;
|
||||
}
|
||||
.questionIcons___MIxzq .green___sjsXt:hover {
|
||||
background-color: #c5e9cc;
|
||||
}
|
||||
.questionIcons___MIxzq .blue___Jwa9H {
|
||||
color: #0152d9;
|
||||
background-color: #deefff;
|
||||
}
|
||||
.questionIcons___MIxzq .blue___Jwa9H:hover {
|
||||
background-color: #cae5ff;
|
||||
}
|
||||
.questionIcons___MIxzq .orange___cGfa7 {
|
||||
color: #ff6800;
|
||||
background-color: #ffe9c9;
|
||||
}
|
||||
.questionIcons___MIxzq .orange___cGfa7:hover {
|
||||
background-color: #fddfb1;
|
||||
}
|
||||
.questionIcons___MIxzq .red___NensB {
|
||||
color: #fb3226;
|
||||
background-color: #ffd5d0;
|
||||
}
|
||||
.questionIcons___MIxzq .red___NensB:hover {
|
||||
background-color: #ffbdb6;
|
||||
}
|
||||
.greenTip___lDmky {
|
||||
color: #2abd8c;
|
||||
margin-left: 15px;
|
||||
}
|
||||
.greenTip___lDmky:before {
|
||||
content: '';
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: #2abd8c;
|
||||
border-radius: 12px;
|
||||
display: inline-block;
|
||||
margin-right: 4px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
.redTip___Yp9nM {
|
||||
color: #fb3226;
|
||||
margin-left: 15px;
|
||||
}
|
||||
.redTip___Yp9nM:before {
|
||||
content: '';
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: #fb3226;
|
||||
border-radius: 12px;
|
||||
display: inline-block;
|
||||
margin-right: 4px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
.cccTip___Uzudc {
|
||||
color: #cccccc;
|
||||
margin-left: 15px;
|
||||
}
|
||||
.cccTip___Uzudc:before {
|
||||
content: '';
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: #cccccc;
|
||||
border-radius: 12px;
|
||||
display: inline-block;
|
||||
margin-right: 4px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
.orangeTip___gA104 {
|
||||
color: #fd8001;
|
||||
margin-left: 15px;
|
||||
}
|
||||
.orangeTip___gA104:before {
|
||||
content: '';
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: #fd8001;
|
||||
border-radius: 12px;
|
||||
display: inline-block;
|
||||
margin-right: 4px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
.flexRow___GsOMs {
|
||||
display: flex;
|
||||
}
|
||||
.simpleWrap___jppmP {
|
||||
background: #ffffff;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #f9f9f9;
|
||||
font-weight: 300;
|
||||
padding: 12px 12px;
|
||||
}
|
||||
.userPhoto___LUsoO {
|
||||
font-size: 0;
|
||||
vertical-align: top;
|
||||
margin: 20px 0 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
.userPhoto___LUsoO li {
|
||||
width: 100px;
|
||||
margin-right: 10px;
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
position: relative;
|
||||
}
|
||||
.userPhoto___LUsoO li [class~='icon-fangda2'] {
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: 5px;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
}
|
||||
.userPhoto___LUsoO li img {
|
||||
width: 100px;
|
||||
height: 70px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.CCCIcons___STbxr [class~='ant-anchor-link'] {
|
||||
display: inline;
|
||||
}
|
||||
.CCCIcons___STbxr [class~='ant-anchor-wrapper'] {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.CCCIcons___STbxr span,
|
||||
.CCCIcons___STbxr a {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
background: #cccccc;
|
||||
display: inline-block;
|
||||
margin-right: 8px;
|
||||
margin-bottom: 20px;
|
||||
border-radius: 40px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
}
|
||||
.CCCIcons___STbxr span:hover,
|
||||
.CCCIcons___STbxr a:hover {
|
||||
background-color: #dedede;
|
||||
}
|
||||
.CCCIcons___STbxr span:nth-child(5n),
|
||||
.CCCIcons___STbxr a:nth-child(5n) {
|
||||
margin-right: 25px;
|
||||
}
|
||||
.CCCIcons___STbxr .green___sjsXt {
|
||||
background-color: #2abd8c;
|
||||
}
|
||||
.CCCIcons___STbxr .green___sjsXt:hover {
|
||||
background-color: #88d19e;
|
||||
}
|
||||
.CCCIcons___STbxr .orange___cGfa7 {
|
||||
background-color: #fd8001;
|
||||
}
|
||||
.CCCIcons___STbxr .orange___cGfa7:hover {
|
||||
background-color: #fb9f42;
|
||||
}
|
||||
.buttonFixed___aUnd3 {
|
||||
position: fixed;
|
||||
z-index: 1000;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 70px;
|
||||
background: #fff;
|
||||
box-shadow: 0px -2px 8px 0px #F1F1F1;
|
||||
align-items: center;
|
||||
}
|
||||
.buttonFixed___aUnd3 [class^="ant-btn"] {
|
||||
border-radius: 2px;
|
||||
height: 40px;
|
||||
}
|
||||
.buttonFixed___aUnd3 .progress___w_inO {
|
||||
padding: 8px 16px;
|
||||
background: #F5F7FD;
|
||||
opacity: 0.9;
|
||||
width: 261px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
.buttonFixed___aUnd3 .progress___w_inO [class^="ant-progress-bg"] {
|
||||
height: 6px;
|
||||
}
|
||||
.typeTitle___i1hJu {
|
||||
height: 46px;
|
||||
margin: 14px 14px 0 14px;
|
||||
padding-left: 30px;
|
||||
padding-right: 30px;
|
||||
background: #f5f7fd;
|
||||
}
|
||||
.answerResult___kLknn {
|
||||
background: #fafafa;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.questionsInfo___spnx1 {
|
||||
padding-top: 40px;
|
||||
padding-bottom: 10px;
|
||||
line-height: 2;
|
||||
width: 120px;
|
||||
background: #f1f8ff;
|
||||
border-radius: 2px;
|
||||
text-align: center;
|
||||
}
|
||||
.questionsInfo___spnx1 img {
|
||||
width: 140px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -10px;
|
||||
}
|
||||
.leftBar___AjrjB {
|
||||
padding-bottom: 70px;
|
||||
}
|
||||
.leftBar___AjrjB [class~='ant-affix'] {
|
||||
height: 100% !important;
|
||||
padding-bottom: 80px;
|
||||
overflow: auto;
|
||||
}
|
||||
.greenBg___nlTOV {
|
||||
background: #ecfff8;
|
||||
}
|
||||
.blueBg___nYACT {
|
||||
background: #f1f8ff;
|
||||
}
|
||||
.redBg___WTgtT {
|
||||
background: #fff5f4;
|
||||
}
|
||||
.orangeBg___mMAXu {
|
||||
background: #fff8f4;
|
||||
}
|
||||
.greyBg___eAdgQ {
|
||||
background: #f5f4f4;
|
||||
}
|
||||
.commentText___smAVm {
|
||||
font-size: 14px;
|
||||
background: #fafafa;
|
||||
font-weight: 500;
|
||||
border-radius: 2px;
|
||||
width: 100%;
|
||||
padding: 16px 16px;
|
||||
color: #666666;
|
||||
}
|
||||
.full____Rgkm {
|
||||
height: 36px;
|
||||
border: 1px solid #cccccc;
|
||||
border-bottom-width: 0px;
|
||||
color: #007aff;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
}
|
||||
.full____Rgkm > span {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.full____Rgkm > span span {
|
||||
margin: 0 9px;
|
||||
}
|
||||
.answerInfo___iSSvg {
|
||||
background: rgba(230, 247, 255, 0.6);
|
||||
border-radius: 2px;
|
||||
border: 1px solid rgba(145, 213, 255, 0.6);
|
||||
padding: 8px;
|
||||
font-size: 12px;
|
||||
margin-bottom: 17px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
.listType___fUHyn {
|
||||
padding: 3px;
|
||||
}
|
||||
.listType___fUHyn span {
|
||||
margin: 3px 0 3px 3px;
|
||||
display: inline-block;
|
||||
}
|
||||
.userInfo___sc77e {
|
||||
padding: 20px 14px;
|
||||
position: relative;
|
||||
}
|
||||
.userInfo___sc77e .userImg___mL2tk {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.userInfoTitle___U2d5B {
|
||||
color: #6F7378;
|
||||
width: 30px;
|
||||
}
|
||||
.userInfoValue___DBOCD {
|
||||
margin-left: 8px;
|
||||
font-weight: 600;
|
||||
color: #171717;
|
||||
word-break: break-all;
|
||||
/* 强制不换行 */
|
||||
white-space: nowrap;
|
||||
/* 文字用省略号代替超出的部分 */
|
||||
text-overflow: ellipsis;
|
||||
/* 匀速溢出内容,隐藏 */
|
||||
overflow: hidden;
|
||||
width: 115px;
|
||||
}
|
||||
.userInfo___sc77e .status___yZSrO {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 76px;
|
||||
height: 76px;
|
||||
}
|
||||
.result___TOeTF {
|
||||
padding: 14px;
|
||||
}
|
||||
.result___TOeTF .evaluate___CJGFj {
|
||||
margin-top: 30px;
|
||||
}
|
||||
.result___TOeTF .evaluate___CJGFj .analysis___NuY61 {
|
||||
margin-top: 10px;
|
||||
padding: 12px;
|
||||
background: #F6F7F9;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #A5A9B3;
|
||||
line-height: 22px;
|
||||
}
|
||||
.userInfoModel___jHeA_ {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
line-height: 14px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.userInfoModel___jHeA_ [class^="ant-input"] {
|
||||
padding: 0;
|
||||
}
|
||||
.userInfoModel___jHeA_ .width___UtVF4 {
|
||||
width: calc((760px - 16px) / 3);
|
||||
margin-top: 22px;
|
||||
}
|
||||
.userInfoModel___jHeA_ .width___UtVF4:nth-child(1),
|
||||
.userInfoModel___jHeA_ .width___UtVF4:nth-child(2),
|
||||
.userInfoModel___jHeA_ .width___UtVF4:nth-child(3) {
|
||||
margin-top: 0;
|
||||
}
|
||||
.userInfoModel___jHeA_ .width___UtVF4:last-child {
|
||||
margin-right: auto;
|
||||
}
|
||||
.userInfoModel___jHeA_ .Title___BfkeS {
|
||||
color: #5F6367;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.userInfoModel___jHeA_ .Value___sj9SB {
|
||||
margin: 0 16px;
|
||||
color: #000;
|
||||
word-break: break-all;
|
||||
/* 强制不换行 */
|
||||
white-space: nowrap;
|
||||
/* 文字用省略号代替超出的部分 */
|
||||
text-overflow: ellipsis;
|
||||
/* 匀速溢出内容,隐藏 */
|
||||
overflow: hidden;
|
||||
}
|
||||
.userInfoModelbody___nQNbP [class^="ant-modal-header"] {
|
||||
padding: 25px;
|
||||
}
|
||||
.userInfoModelbody___nQNbP [class^="ant-modal-body"] {
|
||||
padding: 5px 25px 25px 25px;
|
||||
}
|
||||
#educoder .answerError___kJTJu [class^="ant-radio-inner"] {
|
||||
border-color: #fb3226;
|
||||
background: #fb3226;
|
||||
}
|
||||
#educoder .answerError___kJTJu [class^="ant-radio-inner"]::after {
|
||||
background: #fff;
|
||||
}
|
||||
#educoder .answerError___kJTJu [class^="ant-checkbox-inner"] {
|
||||
border-color: #fb3226;
|
||||
background: #fb3226;
|
||||
}
|
||||
#educoder .answerError___kJTJu [class^="ant-checkbox-inner"]::after {
|
||||
background: #fb3226;
|
||||
}
|
||||
.export_type_modal___UwY7W {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: right;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.export_type_modal___UwY7W .export_type_modal_con___iD92j {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.export_type_modal___UwY7W .export_type_modal_con___iD92j .type_item___hBzOc {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
margin: 0 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.export_type_modal___UwY7W .export_type_modal_con___iD92j .img_warp___ijcxd {
|
||||
padding: 15px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #d9d9d9;
|
||||
cursor: pointer;
|
||||
margin-bottom: 3px;
|
||||
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
|
||||
}
|
||||
.export_type_modal___UwY7W .export_type_modal_con___iD92j .img_warp___ijcxd:hover {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
.export_type_modal___UwY7W .export_type_modal_con___iD92j .img_warp_active___VUIa8 {
|
||||
background-color: #fafafa;
|
||||
border-color: #5784de;
|
||||
}
|
||||
|
||||
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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.1.8@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.8@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Review/component/AnswerComments/index.less?modules ***!
|
||||
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.flex_box_center___hzSR8 {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_space_between___Mscip {
|
||||
justify-content: space-between;
|
||||
-webkit-box-pack: justify;
|
||||
}
|
||||
.flex_box_vertical_center___Uckau {
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_box_center_end___Kw1tf {
|
||||
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___udgQE {
|
||||
flex-direction: column;
|
||||
box-orient: block-axis;
|
||||
}
|
||||
.comments___He0El {
|
||||
background-color: #f2f2f2;
|
||||
padding: 10px 14px;
|
||||
border-radius: 2px;
|
||||
margin-top: 11px;
|
||||
}
|
||||
.comments___He0El .line___P3zVB {
|
||||
height: 1px;
|
||||
border-bottom: 1px dashed #d3d1d1;
|
||||
margin: 7px 0;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue