diff --git a/components/cashFlowCard/cashFlowCard.vue b/components/cashFlowCard/cashFlowCard.vue index 73ffa21..8f4343c 100644 --- a/components/cashFlowCard/cashFlowCard.vue +++ b/components/cashFlowCard/cashFlowCard.vue @@ -25,7 +25,7 @@ - {{ item.amount >= 0 ? '+' : '' }}¥{{ Math.abs(item.amount).toFixed(2) }} + {{ item.amount >= 0 ? '+' : '-' }}¥{{ Math.abs(item.amount).toFixed(2) }} @@ -198,6 +198,7 @@ export default { color: #333; text-align: right; padding-right: 20rpx; + white-space: nowrap; &.positive { color: #ff803a;