From 3e8218658b08ae48ecb683fbcd2c6600fdbe26c0 Mon Sep 17 00:00:00 2001 From: shenaowei <450702724@qq.com> Date: Wed, 25 Feb 2026 22:44:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/app/web-gold/src/App.vue | 58 +------------------------------ 1 file changed, 1 insertion(+), 57 deletions(-) diff --git a/frontend/app/web-gold/src/App.vue b/frontend/app/web-gold/src/App.vue index 33de688cac..59bb01a45e 100644 --- a/frontend/app/web-gold/src/App.vue +++ b/frontend/app/web-gold/src/App.vue @@ -7,63 +7,7 @@ import { useUserStore } from '@/stores/user' import tokenManager from '@gold/utils/token-manager' import zhCN from 'ant-design-vue/es/locale/zh_CN'; const themeToken = ref({ - token: { - colorPrimary: '#3B82F6', - colorInfo: '#2563EB', - colorSuccess: '#10B981', - colorWarning: '#F59E0B', - colorError: '#EF4444', - colorBgBase: '#F8FAFC', - colorBgContainer: '#FFFFFF', - colorBgElevated: '#FFFFFF', - colorTextBase: '#334155', - colorTextSecondary: '#64748B', - colorTextTertiary: '#94A3B8', - colorBorder: '#E2E8F0', - colorBorderSecondary: '#F1F5F9', - borderRadius: 8, - borderRadiusSM: 4, - borderRadiusLG: 12, - wireframe: false, - fontSize: 14, - fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif', - fontSizeHeading1: 32, - fontSizeHeading2: 24, - fontSizeHeading3: 20, - fontSizeHeading4: 16, - fontSizeHeading5: 14, - motionDurationMid: '0.15s', - motionEaseInOut: 'cubic-bezier(0.4, 0, 0.2, 1)', - boxShadow: '0 1px 2px 0 rgb(0 0 0 / 0.05)', - boxShadowSecondary: '0 4px 6px -1px rgb(0 0 0 / 0.1)', - boxShadowTertiary: '0 10px 15px -3px rgb(0 0 0 / 0.1)', - }, - algorithm: undefined, // 可以设置为 theme.darkAlgorithm 用于暗色主题 - components: { - Button: { - controlHeight: 32, - controlHeightSM: 24, - controlHeightLG: 40, - borderRadius: 8, - }, - Card: { - borderRadius: 12, - boxShadow: '0 1px 2px 0 rgb(0 0 0 / 0.05)', - }, - Input: { - borderRadius: 8, - controlHeight: 32, - }, - Table: { - borderRadius: 8, - headerBg: '#F8FAFC', - }, - Menu: { - itemHeight: 40, - itemMarginInline: 4, - itemMarginBlock: 2, - }, - } + }) onMounted(async () => {})