Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f4c5ab7f
authored
Mar 10, 2025
by
1808837298@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: Enhance LogsTable header tags with improved styling and visual hierarchy
parent
abd5de79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
5 deletions
+21
-5
web/src/components/LogsTable.js
+21
-5
No files found.
web/src/components/LogsTable.js
View file @
f4c5ab7f
...
...
@@ -958,16 +958,32 @@ const LogsTable = () => {
<>
{
renderColumnSelector
()}
<
Layout
>
<
Header
style
=
{{
backgroundColor
:
'var(--semi-color-bg-1)'
}}
>
<
Header
>
<
Spin
spinning
=
{
loadingStat
}
>
<
Space
>
<
Tag
color
=
'green'
size
=
'large'
style
=
{{
padding
:
15
}}
>
{
t
(
'总消耗额度'
)}:
{
renderQuota
(
stat
.
quota
)}
<
Tag
color
=
'blue'
size
=
'large'
style
=
{{
padding
:
15
,
borderRadius
:
'8px'
,
fontWeight
:
500
,
boxShadow
:
'0 2px 8px rgba(0, 0, 0, 0.1)'
}}
>
{
t
(
'消耗额度'
)}:
{
renderQuota
(
stat
.
quota
)}
<
/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
}
<
/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
}
<
/Tag
>
<
/Space
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment