+
setActiveView('projects')}
+ style={{
+ padding: '10px 16px',
+ fontSize: 14,
+ cursor: 'pointer',
+ borderRadius: 4,
+ color: activeView === 'projects' ? 'var(--color-primary)' : 'rgba(0,0,0,0.85)',
+ background: activeView === 'projects' ? '#e6f7ff' : 'transparent',
+ marginBottom: 4,
+ fontWeight: 500,
+ display: 'flex',
+ alignItems: 'center',
+ gap: 10,
+ transition: 'all 0.3s',
+ borderRight: activeView === 'projects' ? '3px solid var(--color-primary)' : '3px solid transparent'
+ }}
+ onMouseEnter={e => activeView !== 'projects' && (e.currentTarget.style.background = 'rgba(0,0,0,0.04)')}
+ onMouseLeave={e => activeView !== 'projects' && (e.currentTarget.style.background = 'transparent')}
+ >
+
+ 我的书架
+
+
+
创作工具
+
setActiveView('prompts')}
+ style={{
+ padding: '10px 16px',
+ fontSize: 14,
+ cursor: 'pointer',
+ borderRadius: 4,
+ color: activeView === 'prompts' ? 'var(--color-primary)' : 'rgba(0,0,0,0.85)',
+ background: activeView === 'prompts' ? '#e6f7ff' : 'transparent',
+ fontWeight: 500,
+ display: 'flex',
+ alignItems: 'center',
+ gap: 10,
+ transition: 'all 0.3s',
+ marginBottom: 4,
+ borderRight: activeView === 'prompts' ? '3px solid var(--color-primary)' : '3px solid transparent'
+ }}
+ onMouseEnter={e => activeView !== 'prompts' && (e.currentTarget.style.background = 'rgba(0,0,0,0.04)')}
+ onMouseLeave={e => activeView !== 'prompts' && (e.currentTarget.style.background = 'transparent')}
+ >
+
+ 提示词管理
+
+
setActiveView('mcp')}
+ style={{
+ padding: '10px 16px',
+ fontSize: 14,
+ cursor: 'pointer',
+ borderRadius: 4,
+ color: activeView === 'mcp' ? 'var(--color-primary)' : 'rgba(0,0,0,0.85)',
+ background: activeView === 'mcp' ? '#e6f7ff' : 'transparent',
+ fontWeight: 500,
+ display: 'flex',
+ alignItems: 'center',
+ gap: 10,
+ transition: 'all 0.3s',
+ marginBottom: 4,
+ borderRight: activeView === 'mcp' ? '3px solid var(--color-primary)' : '3px solid transparent'
+ }}
+ onMouseEnter={e => activeView !== 'mcp' && (e.currentTarget.style.background = 'rgba(0,0,0,0.04)')}
+ onMouseLeave={e => activeView !== 'mcp' && (e.currentTarget.style.background = 'transparent')}
+ >
+
+ MCP 插件
+
+
+
系统设置
+
setActiveView('settings')}
+ style={{
+ padding: '10px 16px',
+ fontSize: 14,
+ cursor: 'pointer',
+ borderRadius: 4,
+ color: activeView === 'settings' ? 'var(--color-primary)' : 'rgba(0,0,0,0.85)',
+ background: activeView === 'settings' ? '#e6f7ff' : 'transparent',
+ fontWeight: 500,
+ display: 'flex',
+ alignItems: 'center',
+ gap: 10,
+ transition: 'all 0.3s',
+ marginBottom: 4,
+ borderRight: activeView === 'settings' ? '3px solid var(--color-primary)' : '3px solid transparent'
+ }}
+ onMouseEnter={e => activeView !== 'settings' && (e.currentTarget.style.background = 'rgba(0,0,0,0.04)')}
+ onMouseLeave={e => activeView !== 'settings' && (e.currentTarget.style.background = 'transparent')}
+ >
+
+ API 设置
+
+