feat: 架构升级 + 设计升级(node:sqlite 迁移 / P0 安全修复 / 游客通道 / SSE stream-ticket / 墨蓝主题 / ResultView 拆分 / 全站无障碍)+ RainID 接线整合
This commit is contained in:
@@ -72,14 +72,17 @@ const JsonTab: React.FC<Props> = ({ scale, setScale }) => {
|
||||
<Button icon={<FormatPainterOutlined />} onClick={handleFormat}>格式化</Button>
|
||||
<Button icon={<CompressOutlined />} onClick={handleCompress}>压缩</Button>
|
||||
<Button icon={<CheckCircleOutlined />} type="primary" onClick={handleApply}
|
||||
style={{ background: '#2563eb', border: 'none' }}>
|
||||
style={{ background: '#1e3a5f', border: 'none' }}>
|
||||
应用到编辑器
|
||||
</Button>
|
||||
</Space>
|
||||
{error ? (
|
||||
<Text type="danger" style={{ fontSize: 12 }}>{error}</Text>
|
||||
) : (
|
||||
<Text type="success" style={{ fontSize: 12 }}>✓ 有效JSON</Text>
|
||||
<Space size={4} style={{ color: '#15803d' }}>
|
||||
<CheckCircleOutlined />
|
||||
<Text style={{ fontSize: 12 }}>有效JSON</Text>
|
||||
</Space>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@@ -93,7 +96,7 @@ const JsonTab: React.FC<Props> = ({ scale, setScale }) => {
|
||||
fontSize: 13,
|
||||
lineHeight: 1.5,
|
||||
padding: 16,
|
||||
border: error ? '2px solid #ef4444' : '1px solid #e2e8f0',
|
||||
border: error ? '2px solid #b91c1c' : '1px solid #e2e8f0',
|
||||
borderRadius: 8,
|
||||
background: '#fafbfc',
|
||||
color: '#0f172a',
|
||||
|
||||
Reference in New Issue
Block a user