diff --git a/src/styles/components/ant-drawer.scss b/src/styles/components/ant-drawer.scss
new file mode 100644
index 0000000..9d98490
--- /dev/null
+++ b/src/styles/components/ant-drawer.scss
@@ -0,0 +1,20 @@
+.ant-drawer {
+ .ant-drawer-header {
+ .ant-drawer-header-title {
+ justify-content: space-between;
+
+ .ant-drawer-close {
+ order: 2;
+ }
+
+ .ant-drawer-title {
+ color: #211f24;
+ font-family: $font-family-medium;
+ font-size: 18px;
+ font-style: normal;
+ font-weight: 500;
+ line-height: 26px;
+ }
+ }
+ }
+}
diff --git a/src/styles/components/ant-select.scss b/src/styles/components/ant-select.scss
index b459794..c66e615 100644
--- a/src/styles/components/ant-select.scss
+++ b/src/styles/components/ant-select.scss
@@ -36,7 +36,6 @@
border-color: $color-error !important;
}
-
}
.ant-select {
@@ -103,20 +102,69 @@
}
}
+ &.ant-select-single {
+ .ant-select-selector {
+ height: 32px !important;
+ }
+
+ &.ant-select-lg {
+ .ant-select-selector {
+ height: 36px !important;
+ }
+ }
+
+ &.ant-select-sm {
+ .ant-select-selector {
+ height: 28px !important;
+ }
+ }
+ }
}
-.ant-select.ant-select-single {
- .ant-select-selector {
- height: 32px !important;
- }
- &.ant-select-lg {
- .ant-select-selector {
- height: 36px !important;
+.ant-select-dropdown {
+ padding: 4px 0;
+
+ .ant-select-item-option {
+ padding: 0 12px;
+ height: 36px;
+ align-items: center;
+
+ .ant-select-item-option-state {
+ display: none;
}
- }
- &.ant-select-sm {
- .ant-select-selector {
- height: 28px !important;
+
+ &:not(.ant-select-item-option-disabled) {
+ &:hover {
+ background-color: #F2F3F5 !important;
+ }
+
+ .ant-select-item-option-content {
+ color: #211F24;
+ font-family: $font-family-regular;
+ font-size: 14px;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 22px;
+ }
+
+ &.ant-select-item-option-selected {
+ background-color: transparent !important;
+ color: #6D4CFE !important;
+
+ &:hover {
+ background-color: #F2F3F5 !important;
+ }
+
+ .ant-select-item-option-content {
+ color: #6D4CFE;
+ font-weight: 500;
+ font-family: $font-family-medium;
+ }
+
+ }
+
+ &.ant-select-item-option-active {
+ }
}
}
}
diff --git a/src/styles/components/ant-textarea.scss b/src/styles/components/ant-textarea.scss
index 42cd057..5c46dae 100644
--- a/src/styles/components/ant-textarea.scss
+++ b/src/styles/components/ant-textarea.scss
@@ -2,4 +2,18 @@
.ant-input {
padding: 8px 12px 4px 12px;
}
+
+ &.ant-input-textarea-show-count {
+ &::after {
+ position: absolute;
+ right: 8px;
+ bottom: 4px;
+ font-family: $font-family-regular;
+ color: #939499;
+ font-size: 12px;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 20px;
+ }
+ }
}
diff --git a/src/styles/components/index.scss b/src/styles/components/index.scss
index 471d603..7ad1b65 100644
--- a/src/styles/components/index.scss
+++ b/src/styles/components/index.scss
@@ -26,4 +26,5 @@
@import "./ant-tag.scss";
@import "./ant-switch.scss";
@import "./ant-step.scss";
-@import "./ant-spin.scss";
\ No newline at end of file
+@import "./ant-spin.scss";
+@import "./ant-drawer.scss";
diff --git a/src/utils/tools.ts b/src/utils/tools.ts
index da345bb..5df5a36 100644
--- a/src/utils/tools.ts
+++ b/src/utils/tools.ts
@@ -4,6 +4,7 @@
*/
import dayjs from 'dayjs';
+
export function toFixed(num: number | string, n: number): number {
return parseFloat(parseFloat(num.toString()).toFixed(n));
}
diff --git a/src/views/login/components/login-form/index.vue b/src/views/login/components/login-form/index.vue
index 3630f5a..488bdf5 100644
--- a/src/views/login/components/login-form/index.vue
+++ b/src/views/login/components/login-form/index.vue
@@ -43,12 +43,12 @@
-
+
{{ errMsg }}
-