diff --git a/src/views/base/gold/index.vue b/src/views/base/gold/index.vue index 5fa1b77..7b364a5 100644 --- a/src/views/base/gold/index.vue +++ b/src/views/base/gold/index.vue @@ -147,15 +147,33 @@ موجودی کیف پول ناکافی می باشد. -
-
-
کارمزد ({{ feeDeductsFromGold ? `از طلا` : `از ریال` }}):
-
-
{{ feeDisplayText }}
-
+
+ +
+ مبلغ اصل معامله: + + {{ usePriceWithoutType(Math.round(finalPrice ?? 0)) }} ریال +
-
- {{ feeFormHint }} + + +
+ + {{ isBuy ? `کارمزد خرید (${feePercentLabel}):` : `کسر ${feePercentLabel} کارمزد از فروش:` }} + + + {{ isBuy ? `+ ${feeDisplayText}` : `− ${feeDisplayText}` }} + +
+ + +
+ + {{ isBuy ? 'مبلغ قابل پرداخت:' : 'مبلغ قابل واریز (دریافتی):' }} + + + {{ usePriceWithoutType(Math.round(payablePrice ?? 0)) }} ریال +
@@ -491,6 +509,10 @@ const feeDisplayText = computed(() => : `${usePriceWithoutType(Math.round(feeInRial.value))} ریال` ) +const feePercentLabel = computed(() => + feeInGrams.value > 0 ? `${formatFixed(serviceFeePercentage.value * 100, 2)}%` : 'رایگان' +) + const displayTradeGoldAmount = computed(() => formatTradeGramDisplay(orderGoldAmount.value) )