From aebea9e47f9da0a11b581e2e48aec1ebe04e6e32 Mon Sep 17 00:00:00 2001 From: rd <1344903914@qq.com> Date: Fri, 26 Sep 2025 14:35:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E4=B8=8B=E6=8B=89?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E7=BB=84=E4=BB=B6=E6=A0=B7=E5=BC=8F=E5=B9=B6?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=97=A5=E6=9C=9F=E9=80=89=E6=8B=A9=E5=99=A8?= =?UTF-8?q?=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/components/ant-dropdown.scss | 28 ++++++++ src/styles/components/index.scss | 1 + .../components/date-selector.vue | 70 +++++++++++++------ 3 files changed, 77 insertions(+), 22 deletions(-) create mode 100644 src/styles/components/ant-dropdown.scss diff --git a/src/styles/components/ant-dropdown.scss b/src/styles/components/ant-dropdown.scss new file mode 100644 index 0000000..7726044 --- /dev/null +++ b/src/styles/components/ant-dropdown.scss @@ -0,0 +1,28 @@ +.ant-dropdown { + .ant-dropdown-menu { + padding: 4px 0; + border-radius: 4px; + border: 1px solid var(--Border-1, #d7d7d9); + background: var(--BG-White, #fff); + + box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1); + } + .ant-dropdown-menu-item { + height: 36px; + padding: 0 12px !important; + .ant-dropdown-menu-title-content { + color: var(--Text-1, #211f24); + + font-family: $font-family-regular; + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 22px; + } + &.active { + .ant-dropdown-menu-title-content { + color: $color-primary; + } + } + } +} diff --git a/src/styles/components/index.scss b/src/styles/components/index.scss index 8a3420a..5a54369 100644 --- a/src/styles/components/index.scss +++ b/src/styles/components/index.scss @@ -17,3 +17,4 @@ @import "./ant-spin.scss"; @import "./ant-drawer.scss"; @import "./ant-pagination.scss"; +@import "./ant-dropdown.scss"; \ No newline at end of file diff --git a/src/views/property-marketing/assignment-management/components/date-selector.vue b/src/views/property-marketing/assignment-management/components/date-selector.vue index b358c98..4041bf2 100644 --- a/src/views/property-marketing/assignment-management/components/date-selector.vue +++ b/src/views/property-marketing/assignment-management/components/date-selector.vue @@ -30,34 +30,43 @@
- - + + 今天 - - + +
-
+
- {{ choseType }} -