新增财务仪表盘并统一金额到角

This commit is contained in:
yml
2026-06-09 00:13:03 +08:00
parent a2a0489158
commit 2dfa2611fd
40 changed files with 1324 additions and 70 deletions
@@ -2,6 +2,7 @@
import { computed } from 'vue'
import { RouterLink } from 'vue-router'
import type { Listing } from '@/features/listings'
import { formatMoney } from '@/shared/utils/money'
import {
formatHafCoinM,
getCoinWan,
@@ -135,11 +136,11 @@ function formatStatNumber(value: number) {
<div class="card-price">
<div class="price-item total">
<small>总租金</small>
<strong>¥{{ getListingDisplayPrice(listing) }}</strong>
<strong>¥{{ formatMoney(getListingDisplayPrice(listing)) }}</strong>
</div>
<div class="price-item deposit">
<small>押金</small>
<span>¥{{ listing.deposit_amount }}</span>
<span>¥{{ formatMoney(listing.deposit_amount) }}</span>
</div>
<div class="price-action">
<button class="rent-btn">立即租用</button>