-
+
- ${{ portfolioBalance }}
+
+
${{ portfolioBalance }}
+
({{ t('wallet.availableAssets') }}: ${{ userStore.balance }})
+
userStore.balance)
+const portfolioBalance = computed(() => userStore.totalAssetValue)
+const positionsValueText = computed(() => userStore.positionsValue.toFixed(2))
const profitLoss = ref('0.00')
const plRange = ref('ALL')
const plTimeRanges = computed(() => [
@@ -1640,10 +1644,24 @@ async function submitAuthorize() {
}
.card-value {
+ display: flex;
+ flex-direction: column;
+ gap: 4px;
+}
+
+.main-balance {
font-size: 32px;
font-weight: 700;
- color: #111827;
- margin-bottom: 0;
+ color: inherit;
+ line-height: 1.1;
+}
+
+.available-balance {
+ font-size: 16px;
+ font-weight: 500;
+ opacity: 0.8;
+ color: inherit;
+ line-height: 1.2;
}
.card-value-row {