feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面

This commit is contained in:
zhanjunhao
2026-11-09 21:45:37 +08:00
parent 6ad95e2baa
commit 5713d541b0
242 changed files with 9242 additions and 5043 deletions
@@ -39,8 +39,8 @@ export const ReportHeader = ({ report, onExport, t }) => {
m.rollup_ready && m.history_floor > 0 && m.prev_start < m.history_floor;
return (
<>
<Card className='shadow-sm mb-4' bodyStyle={{ padding: '16px 20px' }}>
<div className='flex flex-col gap-4'>
<Card className='shadow-sm' bodyStyle={{ padding: '16px 20px' }}>
<div className='flex flex-col md:flex-row md:items-center md:justify-between gap-3'>
<div className='min-w-0'>
<div className='text-xs font-semibold tracking-wider text-brand mb-1'>
@@ -68,7 +68,6 @@ export const ReportHeader = ({ report, onExport, t }) => {
</Card>
{!m.rollup_ready ? (
<Banner
className='mb-4'
type='warning'
fullMode={false}
closeIcon={null}
@@ -80,7 +79,6 @@ export const ReportHeader = ({ report, onExport, t }) => {
) : null}
{m.rollup_ready && !m.history_ready ? (
<Banner
className='mb-4'
type='info'
fullMode={false}
closeIcon={null}
@@ -92,7 +90,6 @@ export const ReportHeader = ({ report, onExport, t }) => {
) : null}
{beyondFloor ? (
<Banner
className='mb-4'
type='info'
fullMode={false}
closeIcon={null}
@@ -106,7 +103,6 @@ export const ReportHeader = ({ report, onExport, t }) => {
) : null}
{stale ? (
<Banner
className='mb-4'
type='warning'
fullMode={false}
closeIcon={null}
@@ -118,7 +114,7 @@ export const ReportHeader = ({ report, onExport, t }) => {
)}
/>
) : null}
</>
</div>
);
};
+8 -6
View File
@@ -120,11 +120,13 @@ const OrgReportPanel = ({ report, loading, error, onRetry, t }) => {
: 'transition-opacity'
}
>
<ReportHeader
report={report}
onExport={() => exportOrgDetail(report.orgs || [], cny, t)}
t={t}
/>
<div className='pb-2.5'>
<ReportHeader
report={report}
onExport={() => exportOrgDetail(report.orgs || [], cny, t)}
t={t}
/>
</div>
<KeyFindings findings={findings} onJump={jump} t={t} />
@@ -191,7 +193,7 @@ const OrgReportPanel = ({ report, loading, error, onRetry, t }) => {
</div>
<SectionTitle index={7} title={t('团队与明细')} />
<div className='space-y-4 mb-6'>
<div className='flex flex-col gap-2.5 mb-6'>
<SalesRepTable
reps={reps}
cny={cny}
@@ -49,7 +49,7 @@ export const SectionCard = ({
export const SectionTitle = ({ id, index, title, desc }) => (
<div
id={id}
className='flex items-baseline gap-2 mb-3 mt-8 flex-wrap scroll-mt-24'
className='flex items-baseline gap-2 mb-3 mt-4 flex-wrap scroll-mt-24'
>
{index ? (
<span className='text-xs font-semibold tracking-wider text-brand tabular-nums'>