fix(usage): put cost label before value in usage stats card

This commit is contained in:
erio
2026-04-15 14:17:57 +08:00
parent 22680dc602
commit e0b12b7512

View File

@@ -31,11 +31,9 @@
${{ (stats?.total_actual_cost || 0).toFixed(4) }}
</p>
<p class="text-xs text-gray-400">
<span class="text-orange-500">${{ (stats?.total_account_cost || 0).toFixed(4) }}</span>
<span> {{ t('usage.accountCost') }}</span>
<span class="text-orange-500">{{ t('usage.accountCost') }} ${{ (stats?.total_account_cost || 0).toFixed(4) }}</span>
<span> · </span>
<span>${{ (stats?.total_cost || 0).toFixed(4) }}</span>
<span> {{ t('usage.standardCost') }}</span>
<span>{{ t('usage.standardCost') }} ${{ (stats?.total_cost || 0).toFixed(4) }}</span>
</p>
</div>
</div>