fix(home): 调整首页分类与卡片标签样式

This commit is contained in:
Zhou Weidong committed 2026-10-22 18:22:05 +08:00
1 parent 7446431511
commit 4f6116896f
14 files changed
+251 -117

No files matched your search

+7
View File
@@ -10,6 +10,13 @@ void main() {
expect(formatInteractionCount(9999), '9999');
});
test('should_format_play_count_with_w_and_trim_integer_decimals', () {
expect(formatPlayCount(8500), '8500');
expect(formatPlayCount(10000), '1w');
expect(formatPlayCount(500000), '50w');
expect(formatPlayCount(444500), '44.5w');
});
test('should_use_one_decimal_wan_from_ten_thousand', () {
expect(formatInteractionCount(10000), '1.0万');
expect(formatInteractionCount(12400), '1.2万');