update:1.修复1-n模式下点击保存章节内容导致章节对应大纲999的问题 2.优化项目主页头部统计数据UI样式

This commit is contained in:
xiamuceer
2025-12-20 15:35:55 +08:00
parent ca6165cb64
commit 6886d903fe
4 changed files with 51 additions and 20 deletions
+12 -12
View File
@@ -718,15 +718,15 @@ export default function ProjectList() {
border: '1px solid rgba(255, 255, 255, 0.3)',
backdropFilter: 'blur(10px)',
boxShadow: '0 4px 16px rgba(0, 0, 0, 0.08)',
padding: isMobile ? '8px 4px' : '24px'
padding: isMobile ? '8px 4px' : '12px'
}}
styles={{ body: { padding: isMobile ? '4px' : '24px' } }}
styles={{ body: { padding: isMobile ? '4px' : '12px' } }}
>
<Statistic
title={
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'center', marginBottom: isMobile ? 4 : 8 }}>
<span style={{ fontSize: isMobile ? 16 : 14, color: 'rgba(255,255,255,0.9)', marginRight: isMobile ? 0 : 8 }}>📚</span>
{!isMobile && <span style={{ color: 'rgba(255,255,255,0.8)' }}></span>}
<span style={{ fontSize: isMobile ? 16 : 24, color: 'rgba(255,255,255,0.9)', marginRight: isMobile ? 0 : 8 }}>📚</span>
{!isMobile && <span style={{ color: 'rgba(255,255,255,0.8)', fontSize: 16 }}></span>}
{isMobile && <div style={{ fontSize: 11, color: 'rgba(255,255,255,0.8)', marginTop: 2 }}></div>}
</div>
}
@@ -750,15 +750,15 @@ export default function ProjectList() {
border: '1px solid rgba(255, 255, 255, 0.3)',
backdropFilter: 'blur(10px)',
boxShadow: '0 4px 16px rgba(0, 0, 0, 0.08)',
padding: isMobile ? '8px 4px' : '24px'
padding: isMobile ? '8px 4px' : '12px'
}}
styles={{ body: { padding: isMobile ? '4px' : '24px' } }}
styles={{ body: { padding: isMobile ? '4px' : '12px' } }}
>
<Statistic
title={
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'center', marginBottom: isMobile ? 4 : 8 }}>
<span style={{ fontSize: isMobile ? 16 : 14, color: 'rgba(255,255,255,0.9)', marginRight: isMobile ? 0 : 8 }}></span>
{!isMobile && <span style={{ color: 'rgba(255,255,255,0.8)' }}></span>}
<span style={{ fontSize: isMobile ? 16 : 24, color: 'rgba(255,255,255,0.9)', marginRight: isMobile ? 0 : 8 }}></span>
{!isMobile && <span style={{ color: 'rgba(255,255,255,0.8)', fontSize: 16 }}></span>}
{isMobile && <div style={{ fontSize: 11, color: 'rgba(255,255,255,0.8)', marginTop: 2 }}></div>}
</div>
}
@@ -782,15 +782,15 @@ export default function ProjectList() {
border: '1px solid rgba(255, 255, 255, 0.3)',
backdropFilter: 'blur(10px)',
boxShadow: '0 4px 16px rgba(0, 0, 0, 0.08)',
padding: isMobile ? '8px 4px' : '24px'
padding: isMobile ? '8px 4px' : '12px'
}}
styles={{ body: { padding: isMobile ? '4px' : '24px' } }}
styles={{ body: { padding: isMobile ? '4px' : '12px' } }}
>
<Statistic
title={
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'center', marginBottom: isMobile ? 4 : 8 }}>
<span style={{ fontSize: isMobile ? 16 : 14, color: 'rgba(255,255,255,0.9)', marginRight: isMobile ? 0 : 8 }}>📝</span>
{!isMobile && <span style={{ color: 'rgba(255,255,255,0.8)' }}></span>}
<span style={{ fontSize: isMobile ? 16 : 24, color: 'rgba(255,255,255,0.9)', marginRight: isMobile ? 0 : 8 }}>📝</span>
{!isMobile && <span style={{ color: 'rgba(255,255,255,0.8)', fontSize: 16 }}></span>}
{isMobile && <div style={{ fontSize: 11, color: 'rgba(255,255,255,0.8)', marginTop: 2 }}></div>}
</div>
}