Commit 56ee69de by 李伟康

style(模板导入组件): 更新品牌主色调并移除无用的导入规范菜单

替换所有模板导入组件文件中旧的主色调 #4F46E5 为新品牌色 #2B5CE6,删除页面头部中未使用的「查看导入规范」菜单选项。
1 parent cf57df71
Pipeline #324 for 56ee69de failed in 0 seconds
......@@ -45,7 +45,7 @@ function NodeIcon({ status, index }: NodeIconProps) {
width: 32,
height: 32,
borderRadius: '50%',
background: '#4F46E5',
background: '#2B5CE6',
display: 'inline-flex',
alignItems: 'center',
justifyContent: 'center',
......@@ -149,7 +149,7 @@ export function ApprovalChainPreview({
style={{ marginBottom: 20, border: '1px solid #E5E7EB', borderRadius: 10 }}
title={
<div style={{ display: 'flex', alignItems: 'center', gap: 8 }}>
<InfoCircleFilled style={{ color: '#4F46E5', fontSize: 14 }} />
<InfoCircleFilled style={{ color: '#2B5CE6', fontSize: 14 }} />
<span style={{ fontSize: 15, fontWeight: 600 }}>审批链预览</span>
</div>
}
......@@ -172,7 +172,7 @@ export function ApprovalChainPreview({
fontSize: 14,
fontWeight: 600,
color:
n.status === 'active' ? '#4F46E5' : n.status === 'done' ? '#16A34A' : '#6B7280',
n.status === 'active' ? '#2B5CE6' : n.status === 'done' ? '#16A34A' : '#6B7280',
textAlign: 'center',
}}
>
......
......@@ -99,7 +99,7 @@ export function ImportInfoCard({ values, checkResult, onChange }: ImportInfoCard
style={{ marginBottom: 20, border: '1px solid #E5E7EB' }}
title={
<div style={{ display: 'flex', alignItems: 'center', gap: 8 }}>
<InfoCircleFilled style={{ color: '#4F46E5', fontSize: 14 }} />
<InfoCircleFilled style={{ color: '#2B5CE6', fontSize: 14 }} />
<span style={{ fontSize: 15, fontWeight: 600 }}>导入信息</span>
</div>
}
......
......@@ -36,7 +36,7 @@ export function NoticeSection() {
gap: 6,
padding: '2px 10px',
borderRadius: 10,
background: '#4F46E5',
background: '#2B5CE6',
color: '#fff',
fontSize: 12,
fontWeight: 500,
......@@ -45,7 +45,7 @@ export function NoticeSection() {
<BulbFilled style={{ fontSize: 12 }} />
上架联动规则
</span>
<span style={{ fontSize: 14, fontWeight: 600, color: '#3730A3' }}>
<span style={{ fontSize: 14, fontWeight: 600, color: '#2B5CE6' }}>
主服务商切换与外部系统联动要点
</span>
</div>
......@@ -69,7 +69,7 @@ export function NoticeSection() {
height: 18,
borderRadius: '50%',
background: '#E0E7FF',
color: '#4338CA',
color: '#2B5CE6',
fontSize: 11,
fontWeight: 600,
display: 'inline-flex',
......
......@@ -31,15 +31,6 @@ export function PageHeader() {
loading: downloading,
onClick: handleDownload,
},
{
key: 'spec',
label: '查看导入规范',
icon: null as React.ReactNode,
loading: false,
onClick: () => {
console.log('查看导入规范');
},
},
];
return (
......
......@@ -38,7 +38,7 @@ export function PolicyConfirmHeader({
}}
>
<div style={{ display: 'flex', alignItems: 'center', gap: 8 }}>
<InfoCircleFilled style={{ color: '#4F46E5', fontSize: 14 }} />
<InfoCircleFilled style={{ color: '#2B5CE6', fontSize: 14 }} />
<span style={{ fontSize: 15, fontWeight: 600, color: '#1A202C' }}>
商务政策确认 · {storeName} / 共 {displayRows} 行
</span>
......
......@@ -119,7 +119,7 @@ export function SubmitConfirmCard({
},
{
label: '运营成本合计',
value: <span style={{ color: '#4F46E5', fontWeight: 600 }}>{finalInfo.operatingCost}</span>,
value: <span style={{ color: '#2B5CE6', fontWeight: 600 }}>{finalInfo.operatingCost}</span>,
desc: finalInfo.operatingCostDetail,
},
{
......@@ -144,7 +144,7 @@ export function SubmitConfirmCard({
style={{ marginBottom: 20, border: '1px solid #E5E7EB', borderRadius: 10 }}
title={
<div style={{ display: 'flex', alignItems: 'center', gap: 8 }}>
<InfoCircleFilled style={{ color: '#4F46E5', fontSize: 14 }} />
<InfoCircleFilled style={{ color: '#2B5CE6', fontSize: 14 }} />
<span style={{ fontSize: 15, fontWeight: 600 }}>提交确认</span>
</div>
}
......
......@@ -197,7 +197,7 @@ export function UploadCard({
style={{ border: '1px solid #E5E7EB', marginBottom: 20 }}
title={
<div style={{ display: 'flex', alignItems: 'center', gap: 8 }}>
<InfoCircleFilled style={{ color: '#4F46E5', fontSize: 14 }} />
<InfoCircleFilled style={{ color: '#2B5CE6', fontSize: 14 }} />
<span style={{ fontSize: 15, fontWeight: 600 }}>上传门店上架表</span>
</div>
}
......@@ -224,9 +224,9 @@ export function UploadCard({
}}
>
{uploading ? (
<LoadingOutlined style={{ fontSize: 22, color: '#4F46E5' }} />
<LoadingOutlined style={{ fontSize: 22, color: '#2B5CE6' }} />
) : (
<UploadOutlined style={{ fontSize: 22, color: '#4F46E5' }} />
<UploadOutlined style={{ fontSize: 22, color: '#2B5CE6' }} />
)}
</div>
<p
......
......@@ -15,7 +15,7 @@ interface StatCardProps {
const toneMap: Record<StatItem['tone'], { border: string; accent: string }> = {
primary: {
border: '1px solid #C7D2FE',
accent: '#4F46E5',
accent: '#2B5CE6',
},
success: {
border: '1px solid #86EFAC',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!