feat(ui): move usage display inline next to enable button

- Refactor UsageFooter to support inline mode with two-row layout
  - Row 1: Last refresh time + refresh button (right-aligned)
  - Row 2: Used + Remaining + Unit
- Update ProviderCard layout to show usage inline instead of below
- Improve text spacing: reduce gap from 1 to 0.5 for tighter label-value pairs
- Update Chinese translation: "使用" → "已使用" for better clarity
- Maintain backward compatibility with bottom display mode

This change unifies card heights and improves visual consistency
across providers with and without usage queries enabled.
This commit is contained in:
Jason
2025-11-05 22:46:30 +08:00
parent ce24b37b39
commit 4f4c1e4ed7
3 changed files with 115 additions and 20 deletions

View File

@@ -337,7 +337,7 @@
"planUsage": "套餐用量",
"invalid": "已失效",
"total": "总:",
"used": "使用:",
"used": "使用:",
"remaining": "剩余:",
"justNow": "刚刚",
"minutesAgo": "{{count}} 分钟前",