From 185b4984c60a3b5049d44d8e8dc4ff45384b9000 Mon Sep 17 00:00:00 2001 From: Elysia Date: Wed, 28 Jan 2026 20:59:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E7=AA=97=E5=8F=A3?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E5=92=8C=E5=B0=BA=E5=AF=B8=EF=BC=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E6=8C=89=E9=92=AE=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/main/index.ts | 5 ++++- src/assets/css/appstyle.css | 2 +- src/components/InstalledAppsModal.vue | 12 ++++++------ src/components/UpdateAppsModal.vue | 4 ++-- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/electron/main/index.ts b/electron/main/index.ts index b73d028d..a729df8a 100644 --- a/electron/main/index.ts +++ b/electron/main/index.ts @@ -52,7 +52,10 @@ const indexHtml = path.join(RENDERER_DIST, 'index.html') async function createWindow() { win = new BrowserWindow({ - title: 'Main window', + title: 'APM AppStore', + width: 1366, + height: 768, + autoHideMenuBar: true, icon: path.join(process.env.VITE_PUBLIC, 'favicon.ico'), webPreferences: { preload, diff --git a/src/assets/css/appstyle.css b/src/assets/css/appstyle.css index 0c505f13..447f12d5 100644 --- a/src/assets/css/appstyle.css +++ b/src/assets/css/appstyle.css @@ -789,7 +789,7 @@ align-items: center; .action-btn { padding: 8px 12px; border-radius: 10px; -background: var(--card); +background: var(--accent); border: 1px solid rgba(15, 23, 42, 0.04); box-shadow: var(--shadow); cursor: pointer; diff --git a/src/components/InstalledAppsModal.vue b/src/components/InstalledAppsModal.vue index a38d1c8d..f15f4c7c 100644 --- a/src/components/InstalledAppsModal.vue +++ b/src/components/InstalledAppsModal.vue @@ -7,7 +7,7 @@
- @@ -137,12 +137,12 @@ defineEmits(['close', 'refresh', 'uninstall']); gap: 8px; } -.action-btn.danger { - color: #ef4444; +.apm-btn.danger { + background: #ef4444; border-color: rgba(239, 68, 68, 0.2); } -.action-btn.danger:hover { - color: #dc2626; +.apm-btn.danger:hover { + background: #dc2626; } diff --git a/src/components/UpdateAppsModal.vue b/src/components/UpdateAppsModal.vue index 34e12513..8ee7bf0d 100644 --- a/src/components/UpdateAppsModal.vue +++ b/src/components/UpdateAppsModal.vue @@ -7,10 +7,10 @@