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) { ...@@ -45,7 +45,7 @@ function NodeIcon({ status, index }: NodeIconProps) {
width: 32, width: 32,
height: 32, height: 32,
borderRadius: '50%', borderRadius: '50%',
background: '#4F46E5', background: '#2B5CE6',
display: 'inline-flex', display: 'inline-flex',
alignItems: 'center', alignItems: 'center',
justifyContent: 'center', justifyContent: 'center',
...@@ -149,7 +149,7 @@ export function ApprovalChainPreview({ ...@@ -149,7 +149,7 @@ export function ApprovalChainPreview({
style={{ marginBottom: 20, border: '1px solid #E5E7EB', borderRadius: 10 }} style={{ marginBottom: 20, border: '1px solid #E5E7EB', borderRadius: 10 }}
title={ title={
<div style={{ display: 'flex', alignItems: 'center', gap: 8 }}> <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> <span style={{ fontSize: 15, fontWeight: 600 }}>审批链预览</span>
</div> </div>
} }
...@@ -172,7 +172,7 @@ export function ApprovalChainPreview({ ...@@ -172,7 +172,7 @@ export function ApprovalChainPreview({
fontSize: 14, fontSize: 14,
fontWeight: 600, fontWeight: 600,
color: color:
n.status === 'active' ? '#4F46E5' : n.status === 'done' ? '#16A34A' : '#6B7280', n.status === 'active' ? '#2B5CE6' : n.status === 'done' ? '#16A34A' : '#6B7280',
textAlign: 'center', textAlign: 'center',
}} }}
> >
......
...@@ -99,7 +99,7 @@ export function ImportInfoCard({ values, checkResult, onChange }: ImportInfoCard ...@@ -99,7 +99,7 @@ export function ImportInfoCard({ values, checkResult, onChange }: ImportInfoCard
style={{ marginBottom: 20, border: '1px solid #E5E7EB' }} style={{ marginBottom: 20, border: '1px solid #E5E7EB' }}
title={ title={
<div style={{ display: 'flex', alignItems: 'center', gap: 8 }}> <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> <span style={{ fontSize: 15, fontWeight: 600 }}>导入信息</span>
</div> </div>
} }
......
...@@ -36,7 +36,7 @@ export function NoticeSection() { ...@@ -36,7 +36,7 @@ export function NoticeSection() {
gap: 6, gap: 6,
padding: '2px 10px', padding: '2px 10px',
borderRadius: 10, borderRadius: 10,
background: '#4F46E5', background: '#2B5CE6',
color: '#fff', color: '#fff',
fontSize: 12, fontSize: 12,
fontWeight: 500, fontWeight: 500,
...@@ -45,7 +45,7 @@ export function NoticeSection() { ...@@ -45,7 +45,7 @@ export function NoticeSection() {
<BulbFilled style={{ fontSize: 12 }} /> <BulbFilled style={{ fontSize: 12 }} />
上架联动规则 上架联动规则
</span> </span>
<span style={{ fontSize: 14, fontWeight: 600, color: '#3730A3' }}> <span style={{ fontSize: 14, fontWeight: 600, color: '#2B5CE6' }}>
主服务商切换与外部系统联动要点 主服务商切换与外部系统联动要点
</span> </span>
</div> </div>
...@@ -69,7 +69,7 @@ export function NoticeSection() { ...@@ -69,7 +69,7 @@ export function NoticeSection() {
height: 18, height: 18,
borderRadius: '50%', borderRadius: '50%',
background: '#E0E7FF', background: '#E0E7FF',
color: '#4338CA', color: '#2B5CE6',
fontSize: 11, fontSize: 11,
fontWeight: 600, fontWeight: 600,
display: 'inline-flex', display: 'inline-flex',
......
...@@ -31,15 +31,6 @@ export function PageHeader() { ...@@ -31,15 +31,6 @@ export function PageHeader() {
loading: downloading, loading: downloading,
onClick: handleDownload, onClick: handleDownload,
}, },
{
key: 'spec',
label: '查看导入规范',
icon: null as React.ReactNode,
loading: false,
onClick: () => {
console.log('查看导入规范');
},
},
]; ];
return ( return (
......
...@@ -38,7 +38,7 @@ export function PolicyConfirmHeader({ ...@@ -38,7 +38,7 @@ export function PolicyConfirmHeader({
}} }}
> >
<div style={{ display: 'flex', alignItems: 'center', gap: 8 }}> <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' }}> <span style={{ fontSize: 15, fontWeight: 600, color: '#1A202C' }}>
商务政策确认 · {storeName} / 共 {displayRows} 行 商务政策确认 · {storeName} / 共 {displayRows} 行
</span> </span>
......
...@@ -119,7 +119,7 @@ export function SubmitConfirmCard({ ...@@ -119,7 +119,7 @@ export function SubmitConfirmCard({
}, },
{ {
label: '运营成本合计', label: '运营成本合计',
value: <span style={{ color: '#4F46E5', fontWeight: 600 }}>{finalInfo.operatingCost}</span>, value: <span style={{ color: '#2B5CE6', fontWeight: 600 }}>{finalInfo.operatingCost}</span>,
desc: finalInfo.operatingCostDetail, desc: finalInfo.operatingCostDetail,
}, },
{ {
...@@ -144,7 +144,7 @@ export function SubmitConfirmCard({ ...@@ -144,7 +144,7 @@ export function SubmitConfirmCard({
style={{ marginBottom: 20, border: '1px solid #E5E7EB', borderRadius: 10 }} style={{ marginBottom: 20, border: '1px solid #E5E7EB', borderRadius: 10 }}
title={ title={
<div style={{ display: 'flex', alignItems: 'center', gap: 8 }}> <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> <span style={{ fontSize: 15, fontWeight: 600 }}>提交确认</span>
</div> </div>
} }
......
...@@ -197,7 +197,7 @@ export function UploadCard({ ...@@ -197,7 +197,7 @@ export function UploadCard({
style={{ border: '1px solid #E5E7EB', marginBottom: 20 }} style={{ border: '1px solid #E5E7EB', marginBottom: 20 }}
title={ title={
<div style={{ display: 'flex', alignItems: 'center', gap: 8 }}> <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> <span style={{ fontSize: 15, fontWeight: 600 }}>上传门店上架表</span>
</div> </div>
} }
...@@ -224,9 +224,9 @@ export function UploadCard({ ...@@ -224,9 +224,9 @@ export function UploadCard({
}} }}
> >
{uploading ? ( {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> </div>
<p <p
......
...@@ -15,7 +15,7 @@ interface StatCardProps { ...@@ -15,7 +15,7 @@ interface StatCardProps {
const toneMap: Record<StatItem['tone'], { border: string; accent: string }> = { const toneMap: Record<StatItem['tone'], { border: string; accent: string }> = {
primary: { primary: {
border: '1px solid #C7D2FE', border: '1px solid #C7D2FE',
accent: '#4F46E5', accent: '#2B5CE6',
}, },
success: { success: {
border: '1px solid #86EFAC', 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!