import React from 'react'; import { Settings, CreditCard, ChevronRight, Bluetooth, Zap, Crown, Shield, HelpCircle, LogOut } from 'lucide-react'; interface ProfileProps { onTopUp: () => void; onOpenDeviceManager: () => void; onOpenSubscription: () => void; onOpenPrivacy: () => void; onOpenHelp: () => void; onOpenSettings: () => void; } const Profile: React.FC = ({ onTopUp, onOpenDeviceManager, onOpenSubscription, onOpenPrivacy, onOpenHelp, onOpenSettings }) => { const menuItems = [ { id: 'device', icon: Bluetooth, label: '我的设备', sub: 'Link-X Pro' }, { id: 'sub', icon: CreditCard, label: '订阅管理', sub: '' }, { id: 'privacy', icon: Shield, label: '隐私安全', sub: '' }, { id: 'help', icon: HelpCircle, label: '帮助与反馈', sub: '' }, ]; const handleMenuClick = (id: string) => { if (id === 'device') { onOpenDeviceManager(); } else if (id === 'sub') { onOpenSubscription(); } else if (id === 'privacy') { onOpenPrivacy(); } else if (id === 'help') { onOpenHelp(); } }; return (
{/* 1. User Header */}
{/* Updated to reliable source */} User

Commander

LV.4 黑金会员
{/* 2. Stats Grid - Lighter Glass */}
{[ { label: '互动时长', val: '42h', unit: '' }, { label: '亲密指数', val: '85', unit: '%' }, { label: '解锁剧本', val: '12', unit: '个' }, ].map((stat, i) => (
{stat.val}{stat.unit} {stat.label}
))}
{/* 3. VIP / Wallet Card - Ultra Vibrant */}
Joy Points

2,450

{/* 4. Menu List - Lighter Glass */}

General

{menuItems.map((item) => ( ))}
{/* 5. System / Logout */}

Wei AI v2.5.0 (Neon Edition)

); }; export default Profile;