fix: 更新订单组件中的价格和金额显示格式,确保以美元为单位展示

This commit is contained in:
2026-01-08 00:55:46 +07:00
parent ff970092f0
commit d8ba3fedf3
3 changed files with 10 additions and 10 deletions

View File

@@ -83,7 +83,7 @@ onMounted(() => {
<div class="grid grid-cols-2 gap-2 mb-2">
<div class="flex justify-between text-xs">
<span class="text-(--ion-text-color-step-400)">单价</span>
<span class="text-(--ion-text-color) font-medium">{{ Number(item.quantity).toFixed(2) }}</span>
<span class="text-(--ion-text-color) font-medium">${{ Number(item.subscriptionOrder.unitPrice).toFixed(2) }}</span>
</div>
<div class="flex justify-between text-xs">
<span class="text-(--ion-text-color-step-400)">数量</span>
@@ -95,11 +95,11 @@ onMounted(() => {
</div>
<div class="flex justify-between text-xs">
<span class="text-(--ion-text-color-step-400)">总额</span>
<span class="text-(--ion-text-color) font-medium">{{ item.subscriptionOrder.totalAmount }} USDT</span>
<span class="text-(--ion-text-color) font-medium">${{ item.costValue }}</span>
</div>
<div class="flex justify-between text-xs">
<span class="text-(--ion-text-color-step-400)">总分红</span>
<span class="text-(--ion-text-color) font-medium">{{ Number(item.totalDividendReceived).toFixed(2) }} USDT</span>
<span class="text-(--ion-text-color) font-medium">${{ Number(item.totalDividendReceived).toFixed(2) }}</span>
</div>
</div>