diff --git a/frontend/src/components/login/SidePanel.tsx b/frontend/src/components/login/SidePanel.tsx
index 427594a..181a81f 100644
--- a/frontend/src/components/login/SidePanel.tsx
+++ b/frontend/src/components/login/SidePanel.tsx
@@ -1,73 +1,111 @@
import { useLogin } from '@/hooks/useLogin';
import { useTheme } from '@/hooks/useTheme';
-import { Sun, Moon, Database } from 'lucide-react';
+import { Shield, Database, Code, GitBranch, Bell, History, UserCog, Sparkles, Sun, Moon } from 'lucide-react';
export default function SidePanel() {
const { username, password, loading, error, setUsername, setPassword, handleLogin } = useLogin();
- const { toggleTheme, isDark } = useTheme();
+ const { theme, toggleTheme } = useTheme();
+
+ const features = [
+ { icon: Database, title: '多数据库支持', desc: 'MySQL、PostgreSQL、Redis、MongoDB' },
+ { icon: Code, title: '智能 SQL 审核', desc: '语法检查、规则校验、影响分析、自动评分' },
+ { icon: GitBranch, title: '多级审批流程', desc: '会签、或签、条件审批灵活配置' },
+ { icon: Bell, title: '多渠道通知', desc: '飞书、钉钉、企微、TG 即时推送' },
+ { icon: History, title: '完整审计追踪', desc: '所有操作可追溯,支持 SQL 回滚' },
+ { icon: UserCog, title: '细粒度权限', desc: 'RBAC 角色权限,字段级/行级访问控制' },
+ ];
return (
-
+
+ {/* 背景装饰 */}
+
+ {/* 主题切换 */}
- {/* Left Panel — 40% */}
-
- {/* Decorative circles */}
-
-
-
-
-
-
-
-
-
SQL审核平台
-
- 为团队提供智能 SQL 审核、实时合规监控与数据库安全保障。
+ {/* 左侧 */}
+
+
+
+
+
+
+
+ SQL-Platform
+
+
+
+ 企业级数据审核与变更管理平台
+ 支持多数据库类型,提供完善的 SQL 审核、审批流程和审计追踪
+
+
+ {features.map((f, i) => (
+
+ ))}
+
- {/* Right Panel — Login Form */}
-
);
diff --git a/frontend/src/pages/AppearanceSettings.tsx b/frontend/src/pages/AppearanceSettings.tsx
index 20a87f8..1f9fed6 100644
--- a/frontend/src/pages/AppearanceSettings.tsx
+++ b/frontend/src/pages/AppearanceSettings.tsx
@@ -9,7 +9,7 @@ import { toast } from '@/hooks/useToast';
const LOGIN_PREVIEW_COLORS: Record
= {
split: { bg: 'linear-gradient(135deg, #080c14 0%, #0c1420 100%)', accent: '#00d4aa', label: '晶格科技' },
centered: { bg: 'linear-gradient(180deg, #0a0a1a 0%, #1a1035 50%, #2d1810 100%)', accent: '#fbbf24', label: '晨曦微光' },
- sidepanel: { bg: 'linear-gradient(180deg, #111827 0%, #1f2937 100%)', accent: '#6366f1', label: '经典侧边' },
+ sidepanel: { bg: 'linear-gradient(135deg, rgba(88,166,255,0.08), rgba(137,87,229,0.08))', accent: '#3b82f6', label: '功能展示' },
fullimage: { bg: '#0d1117', accent: '#6366f1', label: 'GitHub/AWS' },
minimal: { bg: 'linear-gradient(160deg, #0a0a1a 0%, #0f0a2a 40%, #150825 70%, #0a0a1a 100%)', accent: '#ec4899', label: 'Premium Dark' },
aurora: { bg: 'linear-gradient(180deg, #050810 0%, #0a0e1a 30%, #0d1425 60%, #080c14 100%)', accent: '#10b981', label: '极光之境' },
@@ -177,23 +177,28 @@ export default function AppearanceSettings() {
)}
{opt.id === 'sidepanel' && (
-
-
- {/* Decorative circles */}
-
-
-
- {/* Logo + text */}
-
-
-
-
-
-
-
-
-
-
+
+
+
+ {/* Left: brand + feature cards */}
+
+
+
+ {[0,1,2,3].map(i => (
+
+ ))}
+
+
+ {/* Right: login form */}
+
)}
diff --git a/frontend/src/pages/LoginPage.tsx b/frontend/src/pages/LoginPage.tsx
index 64e3390..606ecc2 100644
--- a/frontend/src/pages/LoginPage.tsx
+++ b/frontend/src/pages/LoginPage.tsx
@@ -28,7 +28,7 @@ const LOGIN_STYLES: Record
= {
export const LOGIN_STYLE_OPTIONS: { id: LoginStyle; name: string; desc: string }[] = [
{ id: 'split', name: '经典分屏', desc: '左黑右白,晶格科技感' },
{ id: 'centered', name: '居中卡片', desc: '黎明光柱,金色晨曦氛围' },
- { id: 'sidepanel', name: '侧边面板', desc: '左品牌右登录,渐变装饰圆圈' },
+ { id: 'sidepanel', name: '侧边面板', desc: '左品牌+功能卡片,右登录表单' },
{ id: 'fullimage', name: '全屏背景', desc: '科技背景,毛玻璃卡片' },
{ id: 'minimal', name: '深蓝紫曲线', desc: '优雅暗黑,粉紫流动曲线' },
{ id: 'aurora', name: '极光之境', desc: '北极光动态渐变,紫绿流光' },