From 4c1e2b23a227f3929eda2f1c149bbe216a80e004 Mon Sep 17 00:00:00 2001 From: autosubmit Date: Tue, 27 Jun 2023 19:09:37 +0800 Subject: [PATCH] Auto Submit --- 67570.async.js | 9 + color.less | 34 +- ...ts__CommonHomework__Detail__index.async.js | 9 + ...ooms__Lists__Exercise__Add__index.async.js | 9 + ...s__Lists__Exercise__Answer__index.async.js | 9 + ...s__Lists__Exercise__Detail__index.async.js | 9 + ...s__Lists__Exercise__Export__index.async.js | 9 + ...s__Lists__Exercise__Review__index.async.js | 118 +- ...__Lists__Exercise__Review__index.chunk.css | 1244 ++++++++--------- ...sts__GroupHomework__Detail__index.async.js | 9 + ...oms__Lists__OnlineLearning__index.async.js | 9 + p__Competitions__Detail__index.async.js | 9 + p__Paperlibrary__Add__index.async.js | 9 + p__Paths__Detail__id.async.js | 9 + p__Question__AddOrEdit__index.async.js | 9 + p__Question__OjProblem__index.async.js | 9 + p__Shixuns__Edit__index.async.js | 9 + p__tasks__index.async.js | 9 + umi.css | 3 + 19 files changed, 876 insertions(+), 658 deletions(-) diff --git a/67570.async.js b/67570.async.js index 39e0808d65..e9bcd6838e 100644 --- a/67570.async.js +++ b/67570.async.js @@ -974,6 +974,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -1091,6 +1093,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); diff --git a/color.less b/color.less index b8422a3fdc..c6acc75c77 100644 --- a/color.less +++ b/color.less @@ -563,10 +563,10 @@ a.ant-btn-disabled:active > a:only-child::after {background: transparent;} .ant-comment-actions > li > span {color: @text-color-secondary;} .ant-comment-actions > li > span:hover {color: #595959;} .ant-picker-status-error.ant-picker, .ant-picker-status-error.ant-picker:not([disabled]):hover {background-color: #fff;border-color: @error-color;} -.ant-picker-status-error.ant-picker-focused, .ant-picker-status-error.ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(180, 202, 204, 0.2);border-right-width: 1px;} +.ant-picker-status-error.ant-picker-focused, .ant-picker-status-error.ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;} .ant-picker-status-error.ant-picker .ant-picker-active-bar {background: color(~`colorPalette("@{error-color}", 5)`);} .ant-picker-status-warning.ant-picker, .ant-picker-status-warning.ant-picker:not([disabled]):hover {background-color: #fff;border-color: @warning-color;} -.ant-picker-status-warning.ant-picker-focused, .ant-picker-status-warning.ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 14, 135, 0.2);border-right-width: 1px;} +.ant-picker-status-warning.ant-picker-focused, .ant-picker-status-warning.ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;} .ant-picker-status-warning.ant-picker .ant-picker-active-bar {background: color(~`colorPalette("@{warning-color}", 5)`);} .ant-picker {color: @text-color;background: #fff;border: 1px solid @border-color-base;border-radius: 2px;} .ant-picker:hover, .ant-picker-focused {border-color: color(~`colorPalette("@{primary-color}", 5)`);border-right-width: 1px;} @@ -788,16 +788,16 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte .anticon.ant-input-clear-icon:hover, .ant-input-clear-icon:hover {color: @text-color-secondary;} .anticon.ant-input-clear-icon:active, .ant-input-clear-icon:active {color: @text-color;} .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {background: #fff;border-color: @error-color;} -.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(180, 202, 204, 0.2);border-right-width: 1px;} +.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;} .ant-input-status-error .ant-input-prefix {color: @error-color;} .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {background: #fff;border-color: @warning-color;} -.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 14, 135, 0.2);border-right-width: 1px;} +.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;} .ant-input-status-warning .ant-input-prefix {color: @warning-color;} .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {background: #fff;border-color: @error-color;} -.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(180, 202, 204, 0.2);border-right-width: 1px;} +.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;} .ant-input-affix-wrapper-status-error .ant-input-prefix {color: @error-color;} .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {background: #fff;border-color: @warning-color;} -.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 14, 135, 0.2);border-right-width: 1px;} +.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;} .ant-input-affix-wrapper-status-warning .ant-input-prefix {color: @warning-color;} .ant-input-group-wrapper-status-error .ant-input-group-addon {color: @error-color;border-color: @error-color;} .ant-input-group-wrapper-status-warning .ant-input-group-addon {color: @warning-color;border-color: @warning-color;} @@ -894,16 +894,16 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte .ant-input-number-affix-wrapper > div.ant-input-number {border: none;} .ant-input-number-affix-wrapper > div.ant-input-number.ant-input-number-focused {box-shadow: none !important;} .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {background: #fff;border-color: @error-color;} -.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(180, 202, 204, 0.2);border-right-width: 1px;} +.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;} .ant-input-number-status-error .ant-input-number-prefix {color: @error-color;} .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {background: #fff;border-color: @warning-color;} -.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 14, 135, 0.2);border-right-width: 1px;} +.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;} .ant-input-number-status-warning .ant-input-number-prefix {color: @warning-color;} .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {background: #fff;border-color: @error-color;} -.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(180, 202, 204, 0.2);border-right-width: 1px;} +.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;} .ant-input-number-affix-wrapper-status-error .ant-input-number-prefix {color: @error-color;} .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {background: #fff;border-color: @warning-color;} -.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 14, 135, 0.2);border-right-width: 1px;} +.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;} .ant-input-number-affix-wrapper-status-warning .ant-input-number-prefix {color: @warning-color;} .ant-input-number-group-wrapper-status-error .ant-input-number-group-addon {color: @error-color;border-color: @error-color;} .ant-input-number-group-wrapper-status-warning .ant-input-number-group-addon {color: @warning-color;border-color: @warning-color;} @@ -1024,10 +1024,10 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte .ant-list-grid .ant-col > .ant-list-item {border-bottom: none;} .ant-list-bordered {border: 1px solid @border-color-base;border-radius: 2px;} .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {background: #fff;border-color: @error-color;} -.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(180, 202, 204, 0.2);border-right-width: 1px;} +.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;} .ant-mentions-status-error .ant-input-prefix {color: @error-color;} .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {background: #fff;border-color: @warning-color;} -.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 14, 135, 0.2);border-right-width: 1px;} +.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;} .ant-mentions-status-warning .ant-input-prefix {color: @warning-color;} .ant-mentions {color: @text-color;background-color: #fff;background-image: none;border: 1px solid @border-color-base;border-radius: 2px;} .ant-mentions::placeholder {color: #bfbfbf;} @@ -1058,10 +1058,10 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte .ant-mentions-dropdown-menu-item-active {background-color: #f5f5f5;} .ant-menu-item-danger.ant-menu-item {color: @error-color;} .ant-menu-item-danger.ant-menu-item:hover, .ant-menu-item-danger.ant-menu-item-active {color: @error-color;} -.ant-menu-item-danger.ant-menu-item:active {background: #fff1f0;} +.ant-menu-item-danger.ant-menu-item:active {background: color(~`colorPalette("@{modal-header-border-color-split}", 1)`);} .ant-menu-item-danger.ant-menu-item-selected {color: @error-color;} .ant-menu-item-danger.ant-menu-item-selected > a, .ant-menu-item-danger.ant-menu-item-selected > a:hover {color: @error-color;} -.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {background-color: #fff1f0;} +.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {background-color: color(~`colorPalette("@{modal-header-border-color-split}", 1)`);} .ant-menu-inline .ant-menu-item-danger.ant-menu-item::after {border-right-color: @error-color;} .ant-menu-dark .ant-menu-item-danger.ant-menu-item, .ant-menu-dark .ant-menu-item-danger.ant-menu-item:hover, .ant-menu-dark .ant-menu-item-danger.ant-menu-item > a {color: @error-color;} .ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {color: #fff;background-color: @error-color;} @@ -1360,9 +1360,9 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte .ant-select-multiple .ant-select-selection-item-remove {color: inherit;color: @text-color-secondary;} .ant-select-multiple .ant-select-selection-item-remove:hover {color: rgba(0, 0, 0, 0.75);} .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {background-color: #fff;border-color: @error-color !important;} -.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(180, 202, 204, 0.2);border-right-width: 1px;} +.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;} .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {background-color: #fff;border-color: @warning-color !important;} -.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 14, 135, 0.2);border-right-width: 1px;} +.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;} .ant-select {color: @text-color;} .ant-select:not(.ant-select-customize-input) .ant-select-selector {background-color: #fff;border: 1px solid @border-color-base;border-radius: 2px;} .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {border-color: color(~`colorPalette("@{primary-color}", 5)`);box-shadow: 0 0 0 2px fade(@primary-color, 20%);border-right-width: 1px;} @@ -1640,7 +1640,7 @@ tr.ant-table-expanded-row:hover > td {background: #fbfbfb;} .ant-tag-pink-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;} .ant-tag-magenta {color: #c41d7f;background: #fff0f6;border-color: #ffadd2;} .ant-tag-magenta-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;} -.ant-tag-red {color: #cf1322;background: #fff1f0;border-color: #ffa39e;} +.ant-tag-red {color: #cf1322;background: color(~`colorPalette("@{modal-header-border-color-split}", 1)`);border-color: #ffa39e;} .ant-tag-red-inverse {color: #fff;background: #f5222d;border-color: #f5222d;} .ant-tag-volcano {color: #d4380d;background: #fff2e8;border-color: #ffbb96;} .ant-tag-volcano-inverse {color: #fff;background: #fa541c;border-color: #fa541c;} diff --git a/p__Classrooms__Lists__CommonHomework__Detail__index.async.js b/p__Classrooms__Lists__CommonHomework__Detail__index.async.js index 07998b829b..6be1219ab3 100644 --- a/p__Classrooms__Lists__CommonHomework__Detail__index.async.js +++ b/p__Classrooms__Lists__CommonHomework__Detail__index.async.js @@ -2434,6 +2434,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -2551,6 +2553,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); diff --git a/p__Classrooms__Lists__Exercise__Add__index.async.js b/p__Classrooms__Lists__Exercise__Add__index.async.js index 7bb645dd44..d95440e45c 100644 --- a/p__Classrooms__Lists__Exercise__Add__index.async.js +++ b/p__Classrooms__Lists__Exercise__Add__index.async.js @@ -4490,6 +4490,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -4607,6 +4609,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); diff --git a/p__Classrooms__Lists__Exercise__Answer__index.async.js b/p__Classrooms__Lists__Exercise__Answer__index.async.js index 5de558cdb1..2da5adeed6 100644 --- a/p__Classrooms__Lists__Exercise__Answer__index.async.js +++ b/p__Classrooms__Lists__Exercise__Answer__index.async.js @@ -2377,6 +2377,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -2494,6 +2496,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); diff --git a/p__Classrooms__Lists__Exercise__Detail__index.async.js b/p__Classrooms__Lists__Exercise__Detail__index.async.js index b2869e7e19..d6f738fca4 100644 --- a/p__Classrooms__Lists__Exercise__Detail__index.async.js +++ b/p__Classrooms__Lists__Exercise__Detail__index.async.js @@ -2013,6 +2013,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -2130,6 +2132,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); diff --git a/p__Classrooms__Lists__Exercise__Export__index.async.js b/p__Classrooms__Lists__Exercise__Export__index.async.js index f7051aa459..82af648349 100644 --- a/p__Classrooms__Lists__Exercise__Export__index.async.js +++ b/p__Classrooms__Lists__Exercise__Export__index.async.js @@ -1103,6 +1103,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -1220,6 +1222,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); diff --git a/p__Classrooms__Lists__Exercise__Review__index.async.js b/p__Classrooms__Lists__Exercise__Review__index.async.js index 12d9e96908..59d73bfcf7 100644 --- a/p__Classrooms__Lists__Exercise__Review__index.async.js +++ b/p__Classrooms__Lists__Exercise__Review__index.async.js @@ -1792,6 +1792,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -1909,6 +1911,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); @@ -4351,7 +4360,7 @@ var es_button = __webpack_require__(71577); // EXTERNAL MODULE: ./node_modules/antd/es/modal/style/index.js + 1 modules var modal_style = __webpack_require__(35611); // EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules -var modal = __webpack_require__(85402); +var es_modal = __webpack_require__(85402); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js var objectSpread2 = __webpack_require__(42122); var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); @@ -4731,7 +4740,7 @@ var Shixun = function Shixun(_ref) { case 2: res = _context2.sent; if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - modal/* default.info */.Z.info({ + es_modal/* default.info */.Z.info({ title: "代码内容", width: 900, centered: true, @@ -4864,7 +4873,7 @@ var Shixun = function Shixun(_ref) { }); }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: "mb15" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, { centered: true, destroyOnClose: true, open: !!visible, @@ -4890,6 +4899,8 @@ var Shixun = function Shixun(_ref) { var input_style = __webpack_require__(69463); // EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules var input = __webpack_require__(75008); +// EXTERNAL MODULE: ./src/components/markdown-editor/index.tsx + 10 modules +var markdown_editor = __webpack_require__(55373); // EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/Review/component/SeeAnswer.tsx var SeeAnswer = __webpack_require__(18707); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Review/component/Simple.tsx @@ -4902,13 +4913,24 @@ var SeeAnswer = __webpack_require__(18707); + + + + + + + + + + + var TextArea = input/* default.TextArea */.Z.TextArea; var Simple = function Simple(_ref) { - var _item$user_answer, _item$user_answer2; + var _item$user_answer, _item$user_answer3; var item = _ref.item, answerData = _ref.answerData, changeScoreData = _ref.changeScoreData, @@ -4926,6 +4948,47 @@ var Simple = function Simple(_ref) { showEdit && setShowEdit(false); } }, [changeScoreData === null || changeScoreData === void 0 ? void 0 : changeScoreData[item === null || item === void 0 ? void 0 : item.q_position]]); + var handleSee = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(code) { + var modal; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + modal = es_modal/* default.confirm */.Z.confirm({ + width: 1000, + icon: null, + className: "custom-modal-divider ant-modal-confirm-btns-hidden", + title: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: "1", + children: "\u539F\u59CB\u5185\u5BB9" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "iconfont icon-yiguanbi1 current c-grey-c", + onClick: function onClick() { + return modal.destroy(); + } + }) + })] + }), + // okText:"关闭", + content: /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + height: "70vh", + defaultValue: code || "", + hidetoolBar: true, + disabled: true + }) + }); + case 1: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function handleSee(_x) { + return _ref2.apply(this, arguments); + }; + }(); return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: [document.domain === "kepukehuan.educoder.net" && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -4959,12 +5022,29 @@ var Simple = function Simple(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})] }), document.domain !== "kepukehuan.educoder.net" && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: componentmodules/* default.simpleBg */.Z.simpleBg, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("aside", { - className: "font14 c-light-primary mb5", - children: "\u5B66\u751F\u7B54\u9898" + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: 1, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + className: "font14 c-light-primary mb5", + children: "\u5B66\u751F\u7B54\u9898" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + style: { + marginRight: -12 + }, + type: "link", + onClick: function onClick() { + var _item$user_answer2; + return handleSee(item === null || item === void 0 ? void 0 : (_item$user_answer2 = item.user_answer) === null || _item$user_answer2 === void 0 ? void 0 : _item$user_answer2[0]); + }, + children: "\u67E5\u770B\u539F\u59CB\u5185\u5BB9" + }) + })] }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: (item === null || item === void 0 ? void 0 : (_item$user_answer2 = item.user_answer) === null || _item$user_answer2 === void 0 ? void 0 : _item$user_answer2[0]) || '' + value: (item === null || item === void 0 ? void 0 : (_item$user_answer3 = item.user_answer) === null || _item$user_answer3 === void 0 ? void 0 : _item$user_answer3[0]) || '' }) }), (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(SeeAnswer/* SeeAnswer */.u, { data: item @@ -5230,7 +5310,7 @@ var Program = function Program(_ref) { pagination: false }) }, "2")] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, { centered: true, destroyOnClose: true, open: visible, @@ -6780,7 +6860,7 @@ var ExeriseReview = function ExeriseReview(_ref) { return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { onClick: function onClick() { checkAssistant().then(function () { - modal/* default.confirm */.Z.confirm({ + es_modal/* default.confirm */.Z.confirm({ title: "调分", icon: null, onOk: function () { @@ -6985,7 +7065,7 @@ var ExeriseReview = function ExeriseReview(_ref) { _context5.next = 3; break; } - modal/* default.info */.Z.info({ + es_modal/* default.info */.Z.info({ centered: true, width: 470, okText: '确定', @@ -7007,7 +7087,7 @@ var ExeriseReview = function ExeriseReview(_ref) { toSkipUrl = function toSkipUrl() { _umi_production_exports.history.replace("/classrooms/".concat(params.coursesId, "/exercise/").concat(params.exerciseId, "/centralizeReview/").concat(res === null || res === void 0 ? void 0 : res.login)); }; - modal/* default.confirm */.Z.confirm({ + es_modal/* default.confirm */.Z.confirm({ centered: true, width: 470, okText: '确定', @@ -7040,7 +7120,7 @@ var ExeriseReview = function ExeriseReview(_ref) { _toSkipUrl = function _toSkipUrl() { window.location.href = "/classrooms/".concat(params.coursesId, "/exercise/").concat(params.exerciseId, "/centralizeReview/").concat(res === null || res === void 0 ? void 0 : res.login); }; - modal/* default.confirm */.Z.confirm({ + es_modal/* default.confirm */.Z.confirm({ centered: true, width: 496, okText: '确定', @@ -7061,7 +7141,7 @@ var ExeriseReview = function ExeriseReview(_ref) { _context5.next = 14; break; } - modal/* default.info */.Z.info({ + es_modal/* default.info */.Z.info({ centered: true, width: 470, okText: '确定', @@ -7076,7 +7156,7 @@ var ExeriseReview = function ExeriseReview(_ref) { return _context5.abrupt("return", Promise.reject()); case 14: if (res !== null && res !== void 0 && (_res$review_progress2 = res.review_progress) !== null && _res$review_progress2 !== void 0 && _res$review_progress2.message) { - modal/* default.info */.Z.info({ + es_modal/* default.info */.Z.info({ centered: true, width: 470, okText: '确定', @@ -7087,7 +7167,7 @@ var ExeriseReview = function ExeriseReview(_ref) { }); } if ((res === null || res === void 0 ? void 0 : res.type) === 8 && !(reviewExercise !== null && reviewExercise !== void 0 && (_reviewExercise$revie2 = reviewExercise.review_progress) !== null && _reviewExercise$revie2 !== void 0 && _reviewExercise$revie2.next_login)) { - modal/* default.success */.Z.success({ + es_modal/* default.success */.Z.success({ centered: true, width: 470, okText: '确定', @@ -7588,7 +7668,7 @@ var ExeriseReview = function ExeriseReview(_ref) { if ((0,authority/* isAssistant */.Rm)() && !(classroomList !== null && classroomList !== void 0 && (_classroomList$Assist3 = classroomList.AssistantObject) !== null && _classroomList$Assist3 !== void 0 && (_classroomList$Assist4 = _classroomList$Assist3.exercise) !== null && _classroomList$Assist4 !== void 0 && _classroomList$Assist4.can_redo)) { message/* default.warn */.ZP.warn('您未获取此权限,需向管理员申请权限才能使用此功能'); } - modal/* default.confirm */.Z.confirm({ + es_modal/* default.confirm */.Z.confirm({ width: 500, title: "提示", content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -8046,7 +8126,7 @@ var ExeriseReview = function ExeriseReview(_ref) { data: saveData.current, sealedReview: reviewExercise === null || reviewExercise === void 0 ? void 0 : (_reviewExercise$revie23 = reviewExercise.review_progress) === null || _reviewExercise$revie23 === void 0 ? void 0 : _reviewExercise$revie23.sealed_review }), /*#__PURE__*/(0,jsx_runtime.jsx)(image_preview/* default */.Z, {})] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(ExportSetting/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + }), /*#__PURE__*/(0,jsx_runtime.jsx)(ExportSetting/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, { title: '导出试卷选择', open: isReviewOpen, footer: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -8079,7 +8159,7 @@ var ExeriseReview = function ExeriseReview(_ref) { return setIsReviewOpen(false); }, children: "\u662F\u5426\u8FDE\u540C\u8BC4\u9605\u6559\u5E08\u3001\u6559\u5E08\u8BC4\u8BED\u4E00\u8D77\u5BFC\u51FA\uFF1F" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, { centered: true, destroyOnClose: true, title: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { diff --git a/p__Classrooms__Lists__Exercise__Review__index.chunk.css b/p__Classrooms__Lists__Exercise__Review__index.chunk.css index d51322d2de..bbc880f26e 100644 --- a/p__Classrooms__Lists__Exercise__Review__index.chunk.css +++ b/p__Classrooms__Lists__Exercise__Review__index.chunk.css @@ -602,562 +602,271 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/image-preview/index.less ***! - \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.image-preview-container { - display: flex; - flex-flow: column nowrap; - position: fixed; - align-items: center; - justify-content: center; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: 99999; - background: rgba(0, 0, 0, 0.8); -} -.image-preview-container .image-preview { - transition: transform 0.4s linear; - max-width: 86%; -} -.image-preview-container .button-group { - display: flex; - flex-flow: row nowrap; - align-items: center; - justify-content: flex-end; - position: absolute; - z-index: 101; - right: 10px; - top: 10px; +/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/index.less ***! + \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.markdown-editor-wrapper { + position: relative; } -.image-preview-container .button-group a, -.image-preview-container .button-group button { - color: rgba(0, 0, 0, 0.65); - margin-right: 10px; +.markdown-editor-body { display: flex; flex-flow: row nowrap; + width: 100%; + height: calc(100% - 38px); align-items: center; } -.preview-wrp-group { - overflow: auto; +.markdown-editor-body .codemirror-container { + flex: 1 0; + height: 100%; width: 100%; - text-align: center; + overflow: hidden; } -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Review/component/Intelligent/index.less?modules ***! - \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.wrap___kSYmZ { - padding: 0 20px; - background: #ffffff; +.markdown-editor-body .CodeMirror-wrap { + padding-bottom: 15px; } -.wrap___kSYmZ .head___qjsyz { - height: 57px; - display: flex; - align-items: center; +.markdown-editor-body .preview-container { + flex: 1 0; + height: 100%; + margin: 10px 0px; + padding: 8px 8px 50px 8px; + background: #fff; + overflow-y: auto; + box-sizing: border-box; + border-left: 1px solid #ccc; + word-wrap: break-word; + word-break: break-word; + white-space: normal; + font-size: 16px; } -.wrap___kSYmZ .head___qjsyz > aside { +.markdown-editor-container { + border: 1px solid #ccc; + overflow: hidden; + border-radius: 4px; + margin-bottom: 12px; font-size: 16px; - font-weight: 500; - color: #333333; - margin-left: 10px; - margin-right: 18px; } -.wrap___kSYmZ .head___qjsyz > div { - font-size: 14px; - color: #b1bacd; +.markdown-editor-container.full-screen { + position: fixed; + left: 0; + right: 0; + top: 0; + bottom: 0; + height: 100vh !important; + z-index: 100; } -.wrap___kSYmZ .head___qjsyz > div span { - color: #ff9d18; +.markdown-editor-container.full-screen .preview-container > div { + padding-bottom: 180px !important; } -.wrap___kSYmZ > aside .li___tS92x { - display: inline-block; - width: 209px; - background: #f8f8f8; - border-radius: 2px; - border: 1px solid #d2dffb; - margin-left: 12px; - margin-bottom: 12px; - padding: 14px 19px; +.markdown-editor-container.full-screen .CodeMirror-sizer > div { + margin-bottom: 90px; } -.wrap___kSYmZ > aside .li___tS92x .img___P2oRq { - position: relative; - margin-bottom: 13px; +.markdown-editor-container.on-preview .codemirror-container, +.markdown-editor-container.on-preview .preview-container { + width: 50%; } -.wrap___kSYmZ > aside .li___tS92x .img___P2oRq .big___qU4PE { - position: absolute; - z-index: 7; - right: 10px; - top: 10px; - cursor: pointer; +.mini .markdown-editor-body { + height: calc(100% - 28px); } -.wrap___kSYmZ > aside .li___tS92x .s___XrQiz { - display: flex; - color: #6b758b; - font-size: 12px; - margin-bottom: 4px; +.flex-end { + justify-content: flex-end; } -.wrap___kSYmZ > aside .li___tS92x .s___XrQiz span { - flex: 1 1; +.my-codemirror-container { + border: 1px solid #ccc; + width: 100%; + margin-bottom: 24px; } -.wrap___kSYmZ > aside .li___tS92x .s___XrQiz span:last-child { - color: #232b40; +.markdown-tip { + color: #cdcdcd; + font-size: 12px; + position: absolute; + right: 0; + bottom: -28px; + margin-bottom: 7px; } -.wrap___kSYmZ > aside .li___tS92x:nth-child(4n + 1), -.wrap___kSYmZ > aside .li___tS92x:first-child { - margin-left: 0; +/* PADDING */ +.CodeMirror-lines { + padding: 4px 0; + /* Vertical padding around content */ } -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Review/component/Drawer/index.less?modules ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___yX3vI { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; +.CodeMirror pre.CodeMirror-line, +.CodeMirror pre.CodeMirror-line-like { + padding: 0 4px; + /* Horizontal padding of content */ } -.flex_space_between___dEeVD { - justify-content: space-between; - -webkit-box-pack: justify; +.CodeMirror-scrollbar-filler, +.CodeMirror-gutter-filler { + background-color: white; + /* The little square between H and V scrollbars */ } -.flex_box_vertical_center___XEpaz { - align-items: center; - box-align: center; +/* GUTTER */ +.CodeMirror-gutters { + border-right: 1px solid #ddd; + background-color: #f7f7f7; + white-space: nowrap; } -.flex_box_center_end___llMFv { - 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; +.CodeMirror-linenumber { + padding: 0 3px 0 5px; + min-width: 20px; + text-align: right; + color: #999; + white-space: nowrap; } -.flex_box_column___bSySo { - flex-direction: column; - box-orient: block-axis; +.CodeMirror-guttermarker { + color: black; } -.head___Yd8zt { - display: flex; - align-items: center; +.CodeMirror-guttermarker-subtle { + color: #999; } -.head___Yd8zt .title___gCeYN { - font-size: 18px; - font-weight: 500; +/* CURSOR */ +.CodeMirror-cursor { + border-left: 1px solid black; + border-right: none; + width: 0; } -.head___Yd8zt .ant-input-search input { - height: 28px; +/* Shown when moving in bi-directional text */ +.CodeMirror div.CodeMirror-secondarycursor { + border-left: 1px solid silver; } -.content___VUVSk { - max-height: calc(100vh - 140px); - overflow-y: auto; - flex: 1 1; +.cm-fat-cursor .CodeMirror-cursor { + width: auto; + border: 0 !important; + background: #7e7; } -.content___VUVSk .ant-spin-nested-loading { - min-height: 400px; +.cm-fat-cursor div.CodeMirror-cursors { + z-index: 1; } -.content___VUVSk .list___IyMCb { - padding: 0 40px 0 14px; - display: flex; - height: 40px; - align-items: center; - justify-content: space-between; - cursor: pointer; +.cm-fat-cursor-mark { + background-color: rgba(20, 255, 20, 0.5); + animation: blink 1.06s steps(1) infinite; } -.content___VUVSk .list___IyMCb:hover { - background-color: #f2f2f2; +.cm-animate-fat-cursor { + width: auto; + border: 0; + animation: blink 1.06s steps(1) infinite; + background-color: #7e7; } -.content___VUVSk .list___IyMCb span { - display: inline-block; - font-size: 14px; - font-weight: 400; - flex: 1 1; +@keyframes blink { + 50% { + background-color: transparent; + } } -.content___VUVSk .list___IyMCb div { - font-size: 14px; - white-space: nowrap; +.cm-tab { + display: inline-block; + text-decoration: inherit; +} +.CodeMirror-rulers { + position: absolute; + left: 0; + right: 0; + top: -50px; + bottom: 0; overflow: hidden; - text-overflow: ellipsis; - width: 222px; - margin-right: 24px; } -.content___VUVSk .list___IyMCb b { - font-size: 14px; - font-weight: 400; - flex-shrink: 0; +.CodeMirror-ruler { + border-left: 1px solid #ccc; + top: 0; + bottom: 0; + position: absolute; } -.content___VUVSk .active___pzGHU { - background-color: #f2f2f2 !important; +/* DEFAULT THEME */ +.cm-s-default .cm-header { + color: blue; } -.footer___sbrEe { - margin-top: 20px; - display: flex; - align-items: center; - justify-content: center; +.cm-s-default .cm-quote { + color: #090; } -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/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; +.cm-negative { + color: #d44; } -.flex_space_between___Mscip { - justify-content: space-between; - -webkit-box-pack: justify; +.cm-positive { + color: #292; } -.flex_box_vertical_center___Uckau { - align-items: center; - box-align: center; +.cm-header, +.cm-strong { + font-weight: bold; } -.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; +.cm-em { + font-style: italic; } -.flex_box_column___udgQE { - flex-direction: column; - box-orient: block-axis; +.cm-link { + text-decoration: underline; } -.comments___He0El { - background-color: #f2f2f2; - padding: 10px 14px; - border-radius: 2px; - margin-top: 11px; +.cm-strikethrough { + text-decoration: line-through; } -.comments___He0El .line___P3zVB { - height: 1px; - border-bottom: 1px dashed #d3d1d1; - margin: 7px 0; +.cm-s-default .cm-keyword { + color: #708; } -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Export/components/ExportSetting/index.less?modules ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.modalWrapper___rWDvO div[class~='ant-modal-body'] { - padding: 16px 46px; +.cm-s-default .cm-atom { + color: #219; } -.exportSettingWrapper___pCClH { - font-size: 14px; - font-weight: 400; - color: #000000; +.cm-s-default .cm-number { + color: #164; } -.exportSettingWrapper___pCClH label[class~='ant-checkbox-wrapper'] { - font-size: 14px; - font-weight: 400; - color: #000000; +.cm-s-default .cm-def { + color: #00f; } -.exportSettingWrapper___pCClH .imgPreviewPart___PCv0Y img { - height: 338px; +.cm-s-default .cm-variable-2 { + color: #05a; } -.exportSettingWrapper___pCClH .tips___EVeBl { - font-size: 12px; - font-weight: 400; - color: #5F6367; - margin-left: 10px; +.cm-s-default .cm-variable-3, +.cm-s-default .cm-type { + color: #085; } -.exportSettingWrapper___pCClH .pottedLine___AaY68 img { - width: 100px; +.cm-s-default .cm-comment { + color: #a50; } -.exportSettingWrapper___pCClH .pottedLine___AaY68 .text___ho3u_ { - font-size: 14px; - font-weight: 400; - color: #666666; - margin: 0 10px; +.cm-s-default .cm-string { + color: #a11; } -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/index.less ***! - \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.markdown-editor-wrapper { - position: relative; +.cm-s-default .cm-string-2 { + color: #f50; } -.markdown-editor-body { - display: flex; - flex-flow: row nowrap; - width: 100%; - height: calc(100% - 38px); - align-items: center; +.cm-s-default .cm-meta { + color: #555; } -.markdown-editor-body .codemirror-container { - flex: 1 0; - height: 100%; - width: 100%; - overflow: hidden; +.cm-s-default .cm-qualifier { + color: #555; } -.markdown-editor-body .CodeMirror-wrap { - padding-bottom: 15px; +.cm-s-default .cm-builtin { + color: #30a; } -.markdown-editor-body .preview-container { - flex: 1 0; - height: 100%; - margin: 10px 0px; - padding: 8px 8px 50px 8px; - background: #fff; - overflow-y: auto; - box-sizing: border-box; - border-left: 1px solid #ccc; - word-wrap: break-word; - word-break: break-word; - white-space: normal; - font-size: 16px; +.cm-s-default .cm-bracket { + color: #997; } -.markdown-editor-container { - border: 1px solid #ccc; - overflow: hidden; - border-radius: 4px; - margin-bottom: 12px; - font-size: 16px; +.cm-s-default .cm-tag { + color: #170; } -.markdown-editor-container.full-screen { - position: fixed; - left: 0; - right: 0; - top: 0; - bottom: 0; - height: 100vh !important; - z-index: 100; +.cm-s-default .cm-attribute { + color: #00c; } -.markdown-editor-container.full-screen .preview-container > div { - padding-bottom: 180px !important; +.cm-s-default .cm-hr { + color: #999; } -.markdown-editor-container.full-screen .CodeMirror-sizer > div { - margin-bottom: 90px; +.cm-s-default .cm-link { + color: #00c; } -.markdown-editor-container.on-preview .codemirror-container, -.markdown-editor-container.on-preview .preview-container { - width: 50%; +.cm-s-default .cm-error { + color: #f00; } -.mini .markdown-editor-body { - height: calc(100% - 28px); +.cm-invalidchar { + color: #f00; } -.flex-end { - justify-content: flex-end; +.CodeMirror-composing { + border-bottom: 2px solid; } -.my-codemirror-container { - border: 1px solid #ccc; - width: 100%; - margin-bottom: 24px; +/* Default styles for common addons */ +div.CodeMirror span.CodeMirror-matchingbracket { + color: #0b0; } -.markdown-tip { - color: #cdcdcd; - font-size: 12px; - position: absolute; - right: 0; - bottom: -28px; - margin-bottom: 7px; +div.CodeMirror span.CodeMirror-nonmatchingbracket { + color: #a22; } -/* PADDING */ -.CodeMirror-lines { - padding: 4px 0; - /* Vertical padding around content */ +.CodeMirror-matchingtag { + background: rgba(255, 150, 0, 0.3); } -.CodeMirror pre.CodeMirror-line, -.CodeMirror pre.CodeMirror-line-like { - padding: 0 4px; - /* Horizontal padding of content */ -} -.CodeMirror-scrollbar-filler, -.CodeMirror-gutter-filler { - background-color: white; - /* The little square between H and V scrollbars */ -} -/* GUTTER */ -.CodeMirror-gutters { - border-right: 1px solid #ddd; - background-color: #f7f7f7; - white-space: nowrap; -} -.CodeMirror-linenumber { - padding: 0 3px 0 5px; - min-width: 20px; - text-align: right; - color: #999; - white-space: nowrap; -} -.CodeMirror-guttermarker { - color: black; -} -.CodeMirror-guttermarker-subtle { - color: #999; -} -/* CURSOR */ -.CodeMirror-cursor { - border-left: 1px solid black; - border-right: none; - width: 0; -} -/* Shown when moving in bi-directional text */ -.CodeMirror div.CodeMirror-secondarycursor { - border-left: 1px solid silver; -} -.cm-fat-cursor .CodeMirror-cursor { - width: auto; - border: 0 !important; - background: #7e7; -} -.cm-fat-cursor div.CodeMirror-cursors { - z-index: 1; -} -.cm-fat-cursor-mark { - background-color: rgba(20, 255, 20, 0.5); - animation: blink 1.06s steps(1) infinite; -} -.cm-animate-fat-cursor { - width: auto; - border: 0; - animation: blink 1.06s steps(1) infinite; - background-color: #7e7; -} -@keyframes blink { - 50% { - background-color: transparent; - } -} -.cm-tab { - display: inline-block; - text-decoration: inherit; -} -.CodeMirror-rulers { - position: absolute; - left: 0; - right: 0; - top: -50px; - bottom: 0; - overflow: hidden; -} -.CodeMirror-ruler { - border-left: 1px solid #ccc; - top: 0; - bottom: 0; - position: absolute; -} -/* DEFAULT THEME */ -.cm-s-default .cm-header { - color: blue; -} -.cm-s-default .cm-quote { - color: #090; -} -.cm-negative { - color: #d44; -} -.cm-positive { - color: #292; -} -.cm-header, -.cm-strong { - font-weight: bold; -} -.cm-em { - font-style: italic; -} -.cm-link { - text-decoration: underline; -} -.cm-strikethrough { - text-decoration: line-through; -} -.cm-s-default .cm-keyword { - color: #708; -} -.cm-s-default .cm-atom { - color: #219; -} -.cm-s-default .cm-number { - color: #164; -} -.cm-s-default .cm-def { - color: #00f; -} -.cm-s-default .cm-variable-2 { - color: #05a; -} -.cm-s-default .cm-variable-3, -.cm-s-default .cm-type { - color: #085; -} -.cm-s-default .cm-comment { - color: #a50; -} -.cm-s-default .cm-string { - color: #a11; -} -.cm-s-default .cm-string-2 { - color: #f50; -} -.cm-s-default .cm-meta { - color: #555; -} -.cm-s-default .cm-qualifier { - color: #555; -} -.cm-s-default .cm-builtin { - color: #30a; -} -.cm-s-default .cm-bracket { - color: #997; -} -.cm-s-default .cm-tag { - color: #170; -} -.cm-s-default .cm-attribute { - color: #00c; -} -.cm-s-default .cm-hr { - color: #999; -} -.cm-s-default .cm-link { - color: #00c; -} -.cm-s-default .cm-error { - color: #f00; -} -.cm-invalidchar { - color: #f00; -} -.CodeMirror-composing { - border-bottom: 2px solid; -} -/* Default styles for common addons */ -div.CodeMirror span.CodeMirror-matchingbracket { - color: #0b0; -} -div.CodeMirror span.CodeMirror-nonmatchingbracket { - color: #a22; -} -.CodeMirror-matchingtag { - background: rgba(255, 150, 0, 0.3); -} -.CodeMirror-activeline-background { - background: #e8f2ff; +.CodeMirror-activeline-background { + background: #e8f2ff; } /* STOP */ /* The rest of this file contains styles related to the mechanics of @@ -1470,172 +1179,463 @@ span.CodeMirror-selectedtext { flex-flow: column nowrap; justify-content: center; } -.markdown-toolbar-container a, -.markdown-toolbar-container span { - display: block; +.markdown-toolbar-container a, +.markdown-toolbar-container span { + display: block; +} +.markdown-toolbar-container a { + width: 28px; + color: #666; + cursor: pointer; + text-align: center; + font-size: 18px; +} +.markdown-toolbar-container .btn-null { + width: auto; + display: flex; + flex-flow: row nowrap; + align-items: center; +} +.markdown-toolbar-container .insert-blank { + color: #E99237; + font-size: 18px; +} +.markdown-toolbar-container span.v-line { + margin: 0 5px; + height: 65%; + border-right: 1px solid #ccc; +} +.mini .markdown-toolbar-container li { + height: 28px; +} +.editor-resize { + display: block; + width: 120px; + height: 4px; + left: 54%; + margin-top: 2px; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; + cursor: row-resize; + white-space: nowrap; + overflow: hidden; + text-transform: capitalize; + box-sizing: border-box; + margin: 0 auto; +} +.btn-full-screen { + position: absolute; + right: 5px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!****************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./src/components/markdown-editor/css/iconfont.css ***! + \****************************************************************************************************************************************************************************************************************************************************/ +@font-face { + font-family: "md-iconfont"; + src: url(./static/iconfont.498a2e20.eot); + /* IE9 */ + src: url(./static/iconfont.498a2e20.eot#iefix) format('embedded-opentype'), + /* IE6-IE8 */ + url(data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAArkAAsAAAAAFGQAAAqUAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCFTgqYEJMCATYCJANMC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WXZiRdYOkDF1DusCscZNJ3EzT5bVl+uHggkgxb7q/AKs5HJvDLLf4E9RkkH6Wm1P6DiMYuubr8FL5CBytignOyW2QhDmMQzWwdiRNETHkBx7ZDf75rG3DasFabByiECJDYCa0Kja/SeFJSZ6dkq8PlfgHUUSRTT7Cv6H0AKP3chUriIFOgLmVM125aqg51YW0MOCkNo2QQli845KkAUuUgYoF7qACisps+R3dvpceiuNS1Z10+n5U9afC3yrUdT5ChRiWrUoh6Nv2UXakcnutGL/sHh0THarSOfwxzy5D2yhYlCDTPPMno12WPU894rPhJMk8/HskLSQFX0hScxi8EgpWmfvDlm5UFAe56y3EcYl2MawxWWGrMqURY3m3qsoNjS+AhVRfGDAQAAAA==) format('woff2'), + url(./static/iconfont.09806494.woff) format('woff'), + url(./static/iconfont.f5a4e17c.ttf) format('truetype'), + /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url(./static/iconfont.c0c6fa27.svg#iconfont) format('svg'); + /* iOS 4.1- */ +} + +.md-iconfont { + font-family: "md-iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-shrink:before { + content: "\e728"; +} + +.icon-enlarge:before { + content: "\e623"; +} + +.icon-code:before { + content: "\e602"; +} + +.icon-italic:before { + content: "\e718"; +} + +.icon-bold:before { + content: "\e644"; +} + +.icon-picture:before { + content: "\e606"; +} + +.icon-minus:before { + content: "\e62c"; +} + +.icon-order-list:before { + content: "\e655"; +} + +.icon-link:before { + content: "\e7d4"; +} + +.icon-formula:before { + content: "\e633"; +} + +.icon-unorder-list:before { + content: "\e668"; +} + +.icon-edit:before { + content: "\e603"; +} + +.icon-table:before { + content: "\e7db"; +} + +.icon-sum:before { + content: "\e667"; +} + +.icon-eye:before { + content: "\e69f"; +} + +.icon-eye-slash:before { + content: "\e601"; +} + +.icon-eraser:before { + content: "\e8cd"; +} + +.icon-file-code:before { + content: "\e9ec"; +} +/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/upload-image/index.less ***! + \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.upload-button { + width: 120px; + height: 32px; + display: block; + position: relative; + color: #0152d9; +} +.upload-button input { + opacity: 0; + width: 160px; + height: 32px; + position: absolute; + top: 0; + left: 0; + z-index: 1; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/image-preview/index.less ***! + \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.image-preview-container { + display: flex; + flex-flow: column nowrap; + position: fixed; + align-items: center; + justify-content: center; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: 99999; + background: rgba(0, 0, 0, 0.8); +} +.image-preview-container .image-preview { + transition: transform 0.4s linear; + max-width: 86%; +} +.image-preview-container .button-group { + display: flex; + flex-flow: row nowrap; + align-items: center; + justify-content: flex-end; + position: absolute; + z-index: 101; + right: 10px; + top: 10px; +} +.image-preview-container .button-group a, +.image-preview-container .button-group button { + color: rgba(0, 0, 0, 0.65); + margin-right: 10px; + display: flex; + flex-flow: row nowrap; + align-items: center; +} +.preview-wrp-group { + overflow: auto; + width: 100%; + text-align: center; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Review/component/Intelligent/index.less?modules ***! + \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.wrap___kSYmZ { + padding: 0 20px; + background: #ffffff; +} +.wrap___kSYmZ .head___qjsyz { + height: 57px; + display: flex; + align-items: center; +} +.wrap___kSYmZ .head___qjsyz > aside { + font-size: 16px; + font-weight: 500; + color: #333333; + margin-left: 10px; + margin-right: 18px; +} +.wrap___kSYmZ .head___qjsyz > div { + font-size: 14px; + color: #b1bacd; +} +.wrap___kSYmZ .head___qjsyz > div span { + color: #ff9d18; +} +.wrap___kSYmZ > aside .li___tS92x { + display: inline-block; + width: 209px; + background: #f8f8f8; + border-radius: 2px; + border: 1px solid #d2dffb; + margin-left: 12px; + margin-bottom: 12px; + padding: 14px 19px; +} +.wrap___kSYmZ > aside .li___tS92x .img___P2oRq { + position: relative; + margin-bottom: 13px; +} +.wrap___kSYmZ > aside .li___tS92x .img___P2oRq .big___qU4PE { + position: absolute; + z-index: 7; + right: 10px; + top: 10px; + cursor: pointer; +} +.wrap___kSYmZ > aside .li___tS92x .s___XrQiz { + display: flex; + color: #6b758b; + font-size: 12px; + margin-bottom: 4px; +} +.wrap___kSYmZ > aside .li___tS92x .s___XrQiz span { + flex: 1 1; +} +.wrap___kSYmZ > aside .li___tS92x .s___XrQiz span:last-child { + color: #232b40; +} +.wrap___kSYmZ > aside .li___tS92x:nth-child(4n + 1), +.wrap___kSYmZ > aside .li___tS92x:first-child { + margin-left: 0; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Review/component/Drawer/index.less?modules ***! + \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___yX3vI { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___dEeVD { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___XEpaz { + align-items: center; + box-align: center; +} +.flex_box_center_end___llMFv { + 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; } -.markdown-toolbar-container a { - width: 28px; - color: #666; - cursor: pointer; - text-align: center; - font-size: 18px; +.flex_box_column___bSySo { + flex-direction: column; + box-orient: block-axis; } -.markdown-toolbar-container .btn-null { - width: auto; +.head___Yd8zt { display: flex; - flex-flow: row nowrap; align-items: center; } -.markdown-toolbar-container .insert-blank { - color: #E99237; +.head___Yd8zt .title___gCeYN { font-size: 18px; + font-weight: 500; } -.markdown-toolbar-container span.v-line { - margin: 0 5px; - height: 65%; - border-right: 1px solid #ccc; -} -.mini .markdown-toolbar-container li { +.head___Yd8zt .ant-input-search input { height: 28px; } -.editor-resize { - display: block; - width: 120px; - height: 4px; - left: 54%; - margin-top: 2px; - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; - cursor: row-resize; - white-space: nowrap; - overflow: hidden; - text-transform: capitalize; - box-sizing: border-box; - margin: 0 auto; -} -.btn-full-screen { - position: absolute; - right: 5px; +.content___VUVSk { + max-height: calc(100vh - 140px); + overflow-y: auto; + flex: 1 1; } -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!****************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./src/components/markdown-editor/css/iconfont.css ***! - \****************************************************************************************************************************************************************************************************************************************************/ -@font-face { - font-family: "md-iconfont"; - src: url(./static/iconfont.498a2e20.eot); - /* IE9 */ - src: url(./static/iconfont.498a2e20.eot#iefix) format('embedded-opentype'), - /* IE6-IE8 */ - url(data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAArkAAsAAAAAFGQAAAqUAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCFTgqYEJMCATYCJANMCygABCAFhG0HgUwb5hCjooZyUthkf4mpyEh3pV0O3eNzjDeMPcxWAACWBR8hkIIUVSIBAABgBAAACrx/wAkAfPHw39iv+2bmqzZUIt1PJ5FJeCMRibbSgsVNdRP+A23z391RKZiNY99ZzVmNklbCKpCtz0WxCnCVhUtkySLj37772YjcCVNhPk1OHZFC37UprJD/0ozsDfr3lrQ9Ja2fjpzpmcEJypq3QpVe3mEqOf/v+doc8Dx9AQTUAMH8r7l6h4jEycc0pD1SorTNT/f4+MQxO0wsRBKPkEy8VKiUQkiNRAgFe/ZbMVsJqPuMwq6/O48n0DSrO+To+fNnsFBwIlDuxls5WHgSlBjXUJdXFduW9T9hiXp6QK0GftDXx6ftOkkl4yc6PnvSg9sX5F9YZK7lf7DLU+CyExnbQCFelKr/MLbwbSKbKubEL8C8+KkUXjBVS7qLlkVFb9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X6GjwSWYVeVOG9O6N6FjZWYBGzmKp8rw8KlFR4XTdw8Ko2tvAmLrB6NJ5rIHXVsx509enr2J52LGDiBwKRLrSeRWD721sVqUYVNuXzAvODPp3at2cYY3DJeb8udMPDz4sqDhlkW94SGlunIZ/WOLLCpszsK7GPypJL5XLpfokwCEtvfpI0RGZ7G7RXZJkVY8dOzjgPMvBkh/W9cPNQuGEic+XLYO4jMPr1ik7mxf//sz0Vl+z2QNLwPGr2MaIq/iQZ3iiyFLysoJUx7hBvXVEhWRhQai0ksJtOOvSxyixBtNubwhcuzfC9qpSrsxhzHqYBeeFYRT5EADZ7n9sNLGWuoapWKMrCDaWYcjB6BPgRuweJZFFgSKxcBGMACAn+o0NB8ueN2FS1vKAnbLu5AIskPURO4ahfGPhPAwn/wJKQY+T/5dtjuLHy0DTIUFI9i7LQeme1K11/JRvDPZ/nIy7ezlLKI38Sxry5QADiqsRsC+BVIhB/sre0mOiiPIUaT1TnSEkGd8MBOVpgfzfKyqZI+rKVDg7oSkGsR/RDd2vn56kFu/G6IkDkpoZkNUto8VyG1S07ICqul3QtCV355aRQcaiNLBpAgOhbxtIuv7hWWXZiRdYOkDF1DusCscZNJ3EzT5bVl+uHggkgxb7q/AKs5HJvDLLf4E9RkkH6Wm1P6DiMYuubr8FL5CBytignOyW2QhDmMQzWwdiRNETHkBx7ZDf75rG3DasFabByiECJDYCa0Kja/SeFJSZ6dkq8PlfgHUUSRTT7Cv6H0AKP3chUriIFOgLmVM125aqg51YW0MOCkNo2QQli845KkAUuUgYoF7qACisps+R3dvpceiuNS1Z10+n5U9afC3yrUdT5ChRiWrUoh6Nv2UXakcnutGL/sHh0THarSOfwxzy5D2yhYlCDTPPMno12WPU894rPhJMk8/HskLSQFX0hScxi8EgpWmfvDlm5UFAe56y3EcYl2MawxWWGrMqURY3m3qsoNjS+AhVRfGDAQAAAA==) format('woff2'), - url(./static/iconfont.09806494.woff) format('woff'), - url(./static/iconfont.f5a4e17c.ttf) format('truetype'), - /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ - url(./static/iconfont.c0c6fa27.svg#iconfont) format('svg'); - /* iOS 4.1- */ +.content___VUVSk .ant-spin-nested-loading { + min-height: 400px; } - -.md-iconfont { - font-family: "md-iconfont" !important; - font-size: 16px; - font-style: normal; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; +.content___VUVSk .list___IyMCb { + padding: 0 40px 0 14px; + display: flex; + height: 40px; + align-items: center; + justify-content: space-between; + cursor: pointer; } - -.icon-shrink:before { - content: "\e728"; +.content___VUVSk .list___IyMCb:hover { + background-color: #f2f2f2; } - -.icon-enlarge:before { - content: "\e623"; +.content___VUVSk .list___IyMCb span { + display: inline-block; + font-size: 14px; + font-weight: 400; + flex: 1 1; } - -.icon-code:before { - content: "\e602"; +.content___VUVSk .list___IyMCb div { + font-size: 14px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + width: 222px; + margin-right: 24px; } - -.icon-italic:before { - content: "\e718"; +.content___VUVSk .list___IyMCb b { + font-size: 14px; + font-weight: 400; + flex-shrink: 0; } - -.icon-bold:before { - content: "\e644"; +.content___VUVSk .active___pzGHU { + background-color: #f2f2f2 !important; } - -.icon-picture:before { - content: "\e606"; +.footer___sbrEe { + margin-top: 20px; + display: flex; + align-items: center; + justify-content: center; } +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.icon-minus:before { - content: "\e62c"; +/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/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; } - -.icon-order-list:before { - content: "\e655"; +.flex_space_between___Mscip { + justify-content: space-between; + -webkit-box-pack: justify; } - -.icon-link:before { - content: "\e7d4"; +.flex_box_vertical_center___Uckau { + align-items: center; + box-align: center; } - -.icon-formula:before { - content: "\e633"; +.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; } - -.icon-unorder-list:before { - content: "\e668"; +.flex_box_column___udgQE { + flex-direction: column; + box-orient: block-axis; } - -.icon-edit:before { - content: "\e603"; +.comments___He0El { + background-color: #f2f2f2; + padding: 10px 14px; + border-radius: 2px; + margin-top: 11px; } - -.icon-table:before { - content: "\e7db"; +.comments___He0El .line___P3zVB { + height: 1px; + border-bottom: 1px dashed #d3d1d1; + margin: 7px 0; } +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.icon-sum:before { - content: "\e667"; +/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Export/components/ExportSetting/index.less?modules ***! + \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.modalWrapper___rWDvO div[class~='ant-modal-body'] { + padding: 16px 46px; } - -.icon-eye:before { - content: "\e69f"; +.exportSettingWrapper___pCClH { + font-size: 14px; + font-weight: 400; + color: #000000; } - -.icon-eye-slash:before { - content: "\e601"; +.exportSettingWrapper___pCClH label[class~='ant-checkbox-wrapper'] { + font-size: 14px; + font-weight: 400; + color: #000000; } - -.icon-eraser:before { - content: "\e8cd"; +.exportSettingWrapper___pCClH .imgPreviewPart___PCv0Y img { + height: 338px; } - -.icon-file-code:before { - content: "\e9ec"; +.exportSettingWrapper___pCClH .tips___EVeBl { + font-size: 12px; + font-weight: 400; + color: #5F6367; + margin-left: 10px; } -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/upload-image/index.less ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.upload-button { - width: 120px; - height: 32px; - display: block; - position: relative; - color: #0152d9; +.exportSettingWrapper___pCClH .pottedLine___AaY68 img { + width: 100px; } -.upload-button input { - opacity: 0; - width: 160px; - height: 32px; - position: absolute; - top: 0; - left: 0; - z-index: 1; +.exportSettingWrapper___pCClH .pottedLine___AaY68 .text___ho3u_ { + font-size: 14px; + font-weight: 400; + color: #666666; + margin: 0 10px; } /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ diff --git a/p__Classrooms__Lists__GroupHomework__Detail__index.async.js b/p__Classrooms__Lists__GroupHomework__Detail__index.async.js index 510e83c212..9778a70d77 100644 --- a/p__Classrooms__Lists__GroupHomework__Detail__index.async.js +++ b/p__Classrooms__Lists__GroupHomework__Detail__index.async.js @@ -3363,6 +3363,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -3480,6 +3482,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); diff --git a/p__Classrooms__Lists__OnlineLearning__index.async.js b/p__Classrooms__Lists__OnlineLearning__index.async.js index 6742d17582..dae572d9b0 100644 --- a/p__Classrooms__Lists__OnlineLearning__index.async.js +++ b/p__Classrooms__Lists__OnlineLearning__index.async.js @@ -2013,6 +2013,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -2130,6 +2132,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); diff --git a/p__Competitions__Detail__index.async.js b/p__Competitions__Detail__index.async.js index 313b853247..c5bf8b6ec1 100644 --- a/p__Competitions__Detail__index.async.js +++ b/p__Competitions__Detail__index.async.js @@ -2125,6 +2125,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -2242,6 +2244,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); diff --git a/p__Paperlibrary__Add__index.async.js b/p__Paperlibrary__Add__index.async.js index 4a2a138517..6551a839fb 100644 --- a/p__Paperlibrary__Add__index.async.js +++ b/p__Paperlibrary__Add__index.async.js @@ -3202,6 +3202,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -3319,6 +3321,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); diff --git a/p__Paths__Detail__id.async.js b/p__Paths__Detail__id.async.js index ca725b3e6d..6b0c8a14c2 100644 --- a/p__Paths__Detail__id.async.js +++ b/p__Paths__Detail__id.async.js @@ -3935,6 +3935,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -4052,6 +4054,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); diff --git a/p__Question__AddOrEdit__index.async.js b/p__Question__AddOrEdit__index.async.js index 1012500b85..ca07ff5be7 100644 --- a/p__Question__AddOrEdit__index.async.js +++ b/p__Question__AddOrEdit__index.async.js @@ -1778,6 +1778,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -1895,6 +1897,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); diff --git a/p__Question__OjProblem__index.async.js b/p__Question__OjProblem__index.async.js index dc7c79baa5..6a442f3745 100644 --- a/p__Question__OjProblem__index.async.js +++ b/p__Question__OjProblem__index.async.js @@ -2319,6 +2319,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -2436,6 +2438,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); diff --git a/p__Shixuns__Edit__index.async.js b/p__Shixuns__Edit__index.async.js index 5a0ea8cce6..b1775ea662 100644 --- a/p__Shixuns__Edit__index.async.js +++ b/p__Shixuns__Edit__index.async.js @@ -2243,6 +2243,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -2360,6 +2362,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); diff --git a/p__tasks__index.async.js b/p__tasks__index.async.js index 8ff76a0a13..b67f016273 100644 --- a/p__tasks__index.async.js +++ b/p__tasks__index.async.js @@ -2317,6 +2317,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' className = _ref$className === void 0 ? '' : _ref$className, _ref$disablePaste = _ref.disablePaste, disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$placeholder = _ref.placeholder, placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, _ref$values = _ref.values, @@ -2434,6 +2436,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' }); isFocus && instance.focus(); instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } setCm(instance); return function () { instance.off('paste', onPaste); diff --git a/umi.css b/umi.css index 3c8be9ea33..738602b130 100644 --- a/umi.css +++ b/umi.css @@ -12180,6 +12180,9 @@ body .mask-tips { padding: 8px 16px; margin-top: 0 !important; } +.custom-modal-divider.ant-modal-confirm-btns-hidden .ant-modal-confirm-btns { + display: none; +} body { width: 100% !important; }