style: Enhance LogsTable header tags with improved styling and visual hierarchy
This commit is contained in:
@@ -958,16 +958,32 @@ const LogsTable = () => {
|
|||||||
<>
|
<>
|
||||||
{renderColumnSelector()}
|
{renderColumnSelector()}
|
||||||
<Layout>
|
<Layout>
|
||||||
<Header style={{ backgroundColor: 'var(--semi-color-bg-1)' }}>
|
<Header>
|
||||||
<Spin spinning={loadingStat}>
|
<Spin spinning={loadingStat}>
|
||||||
<Space>
|
<Space>
|
||||||
<Tag color='green' size='large' style={{ padding: 15 }}>
|
<Tag color='blue' size='large' style={{
|
||||||
{t('总消耗额度')}: {renderQuota(stat.quota)}
|
padding: 15,
|
||||||
|
borderRadius: '8px',
|
||||||
|
fontWeight: 500,
|
||||||
|
boxShadow: '0 2px 8px rgba(0, 0, 0, 0.1)'
|
||||||
|
}}>
|
||||||
|
{t('消耗额度')}: {renderQuota(stat.quota)}
|
||||||
</Tag>
|
</Tag>
|
||||||
<Tag color='blue' size='large' style={{ padding: 15 }}>
|
<Tag color='pink' size='large' style={{
|
||||||
|
padding: 15,
|
||||||
|
borderRadius: '8px',
|
||||||
|
fontWeight: 500,
|
||||||
|
boxShadow: '0 2px 8px rgba(0, 0, 0, 0.1)'
|
||||||
|
}}>
|
||||||
RPM: {stat.rpm}
|
RPM: {stat.rpm}
|
||||||
</Tag>
|
</Tag>
|
||||||
<Tag color='purple' size='large' style={{ padding: 15 }}>
|
<Tag color='white' size='large' style={{
|
||||||
|
padding: 15,
|
||||||
|
border: 'none',
|
||||||
|
boxShadow: '0 2px 8px rgba(0, 0, 0, 0.1)',
|
||||||
|
borderRadius: '8px',
|
||||||
|
fontWeight: 500,
|
||||||
|
}}>
|
||||||
TPM: {stat.tpm}
|
TPM: {stat.tpm}
|
||||||
</Tag>
|
</Tag>
|
||||||
</Space>
|
</Space>
|
||||||
|
|||||||
Reference in New Issue
Block a user