modify style

This commit is contained in:
MaysWind
2025-07-23 00:09:15 +08:00
parent bae330c6f3
commit 5d07d1a70d
@@ -104,7 +104,7 @@
</div>
</template>
<template #item.sourceAmount="{ item }">
<span>{{ getDisplaySourceAmount(item) }}</span>
<span :class="{ 'text-expense': item.type === TransactionType.Expense, 'text-income': item.type === TransactionType.Income }">{{ getDisplaySourceAmount(item) }}</span>
<v-icon class="mx-1" size="13" :icon="mdiArrowRight" v-if="item.type === TransactionType.Transfer && item.sourceAccountId !== item.destinationAccountId && getDisplaySourceAmount(item) !== getDisplayDestinationAmount(item)"></v-icon>
<span v-if="item.type === TransactionType.Transfer && item.sourceAccountId !== item.destinationAccountId && getDisplaySourceAmount(item) !== getDisplayDestinationAmount(item)">{{ getDisplayDestinationAmount(item) }}</span>
</template>