feat:更新统计卡片
This commit is contained in:
@@ -39,25 +39,25 @@ class StatsPageState extends State<StatsPage> {
|
||||
StatsCard(
|
||||
icon: Icons.article,
|
||||
title: '博客数量',
|
||||
count: provider.overviewStats.blogCount.toString(),
|
||||
value: provider.overviewStats.blogCount.toString(),
|
||||
unit: '篇',
|
||||
),
|
||||
StatsCard(
|
||||
icon: Icons.folder,
|
||||
title: '分类数量',
|
||||
count: provider.overviewStats.categoryCount.toString(),
|
||||
value: provider.overviewStats.categoryCount.toString(),
|
||||
unit: '个',
|
||||
),
|
||||
StatsCard(
|
||||
icon: Icons.remove_red_eye,
|
||||
title: '访问量',
|
||||
count: formatChineseDecimal(provider.overviewStats.visitCount),
|
||||
value: formatChineseDecimal(provider.overviewStats.visitCount),
|
||||
unit: '次',
|
||||
),
|
||||
StatsCard(
|
||||
icon: Icons.text_fields,
|
||||
title: '总字数',
|
||||
count: formatChineseDecimal(provider.overviewStats.wordCount),
|
||||
value: formatChineseDecimal(provider.overviewStats.wordCount),
|
||||
unit: '字',
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user