From a7dcbf2d709475c4364b3ac5e8ba06a7bada4b88 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 29 十月 2026 10:55:47 +0800
Subject: [PATCH] refactor mobile branch dashboard experience
---
src/packages/@core/preferences/src/config.ts | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/packages/@core/preferences/src/config.ts b/src/packages/@core/preferences/src/config.ts
index b891f7c..12b6bde 100644
--- a/src/packages/@core/preferences/src/config.ts
+++ b/src/packages/@core/preferences/src/config.ts
@@ -3,18 +3,18 @@
const defaultPreferences: Preferences = {
app: {
accessMode: 'frontend',
- authPageLayout: 'panel-right',
+ authPageLayout: 'panel-center',
checkUpdatesInterval: 1,
colorGrayMode: false,
colorWeakMode: false,
compact: false,
- contentCompact: 'wide',
- contentCompactWidth: 1200,
- contentPadding: 0,
- contentPaddingBottom: 0,
- contentPaddingLeft: 0,
- contentPaddingRight: 0,
- contentPaddingTop: 0,
+ contentCompact: 'full',
+ contentCompactWidth: 1320,
+ contentPadding: 20,
+ contentPaddingBottom: 24,
+ contentPaddingLeft: 20,
+ contentPaddingRight: 20,
+ contentPaddingTop: 20,
defaultAvatar:
'https://unpkg.com/@vbenjs/static-source@0.1.7/source/avatar-v1.webp',
defaultHomePath: '/analytics',
@@ -25,10 +25,10 @@
enableRefreshToken: false,
enableStickyPreferencesNavigationBar: true,
isMobile: false,
- layout: 'sidebar-nav',
+ layout: 'mixed-nav',
locale: 'zh-CN',
loginExpiredMode: 'page',
- name: 'Vben Admin',
+ name: 'FieldFlow',
preferencesButtonPosition: 'auto',
timezone: 'Asia/Shanghai',
watermark: false,
@@ -58,7 +58,7 @@
},
header: {
enable: true,
- height: 50,
+ height: 64,
hidden: false,
menuAlign: 'start',
mode: 'fixed',
@@ -72,7 +72,7 @@
navigation: {
accordion: true,
split: true,
- styleType: 'rounded',
+ styleType: 'plain',
},
shortcutKeys: {
enable: true,
@@ -96,12 +96,12 @@
fixedButton: true,
hidden: false,
mixedWidth: 80,
- width: 224,
+ width: 264,
},
tabbar: {
draggable: true,
enable: true,
- height: 38,
+ height: 44,
keepAlive: true,
maxCount: 0,
middleClickToClose: false,
@@ -117,11 +117,11 @@
theme: {
builtinType: 'default',
colorDestructive: 'hsl(348 100% 61%)',
- colorPrimary: 'hsl(212 100% 45%)',
- colorSuccess: 'hsl(144 57% 58%)',
- colorWarning: 'hsl(42 84% 61%)',
+ colorPrimary: 'hsl(250 72% 56%)',
+ colorSuccess: 'hsl(157 60% 42%)',
+ colorWarning: 'hsl(24 92% 56%)',
mode: 'light',
- radius: '0.75',
+ radius: '1.15',
fontSize: 16,
semiDarkHeader: false,
semiDarkSidebar: false,
--
Gitblit v1.9.3