From db04d3a8b9238b9582b1ce4ec52ac58f12caa4ea Mon Sep 17 00:00:00 2001 From: xingyu Date: Sun, 6 Aug 2023 10:24:46 +0800 Subject: [PATCH] style: style --- src/components/Application/src/AppLogo.vue | 2 +- .../src/search/AppSearchFooter.vue | 6 +-- .../Application/src/search/AppSearchModal.vue | 4 +- src/components/CardList/src/CardList.vue | 4 +- .../src/collapse/CollapseContainer.vue | 8 ++-- .../ContextMenu/src/ContextMenu.vue | 2 +- src/components/Cropper/src/CopperModal.vue | 4 +- src/components/Cropper/src/CropperAvatar.vue | 4 +- src/components/Drawer/src/BasicDrawer.vue | 2 +- .../Drawer/src/components/DrawerFooter.vue | 4 +- .../VFormDesign/modules/CollapseItem.vue | 2 +- .../VFormDesign/modules/Toolbar.vue | 2 +- src/components/Page/src/PageFooter.vue | 5 +- src/components/Page/src/PageWrapper.vue | 8 ++-- src/components/Table/src/BasicTable.vue | 20 +++----- .../Table/src/components/TableHeader.vue | 1 + src/components/Tree/style/index.less | 14 ++---- src/components/Upload/src/FileList.vue | 2 +- src/design/index.less | 1 + src/design/public.less | 2 +- src/design/theme.less | 14 ++++-- src/layouts/default/header/index.less | 4 +- src/layouts/default/sider/LayoutSider.vue | 2 +- src/layouts/default/sider/MixSider.vue | 22 ++++----- src/layouts/default/tabs/index.less | 48 ++++--------------- src/views/base/iframe/index.vue | 2 +- src/views/base/lock/LockPage.vue | 2 +- src/views/base/login/Login.vue | 3 +- src/views/base/profile/index.vue | 2 +- .../infra/codegen/components/FinishForm.vue | 2 +- src/views/infra/webSocket/index.vue | 4 +- src/views/mp/components/WxNews/index.vue | 4 +- src/views/system/operatelog/LogInfoModal.vue | 14 +++--- 33 files changed, 89 insertions(+), 131 deletions(-) diff --git a/src/components/Application/src/AppLogo.vue b/src/components/Application/src/AppLogo.vue index c40adf3..c1917db 100644 --- a/src/components/Application/src/AppLogo.vue +++ b/src/components/Application/src/AppLogo.vue @@ -54,7 +54,7 @@ function goHome() { transition: all 0.2s ease; &.light { - border-bottom: 1px solid @border-color-base; + border-bottom: 1px solid var(--border-color); } &.collapsed-show-title { diff --git a/src/components/Application/src/search/AppSearchFooter.vue b/src/components/Application/src/search/AppSearchFooter.vue index f373650..c7fcc3b 100644 --- a/src/components/Application/src/search/AppSearchFooter.vue +++ b/src/components/Application/src/search/AppSearchFooter.vue @@ -30,9 +30,9 @@ const { t } = useI18n() height: 44px; padding: 0 16px; font-size: 12px; - color: #666; - background-color: @component-background; - border-top: 1px solid @border-color-base; + color: var(--text-color); + background-color: var(--component-background); + border-top: 1px solid var(--border-color); border-radius: 0 0 16px 16px; &-item { diff --git a/src/components/Application/src/search/AppSearchModal.vue b/src/components/Application/src/search/AppSearchModal.vue index a6534e0..c1bcd4a 100644 --- a/src/components/Application/src/search/AppSearchModal.vue +++ b/src/components/Application/src/search/AppSearchModal.vue @@ -163,7 +163,7 @@ function handleClose() { flex-direction: column; width: 632px; margin: 0 auto auto; - background-color: @component-background; + background-color: var(--component-background); border-radius: 16px; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%); } @@ -223,7 +223,7 @@ function handleClose() { font-size: 14px; color: @text-color-base; cursor: pointer; - background-color: @component-background; + background-color: var(--component-background); border-radius: 4px; box-shadow: 0 1px 3px 0 #d4d9e1; diff --git a/src/components/CardList/src/CardList.vue b/src/components/CardList/src/CardList.vue index 03fc70d..ccaa125 100644 --- a/src/components/CardList/src/CardList.vue +++ b/src/components/CardList/src/CardList.vue @@ -103,10 +103,10 @@ async function handleDelete(id) {