实现租客成长等级并优化展示
This commit is contained in:
@@ -388,6 +388,14 @@ watch([() => route.query.focus, order, loading], () => {
|
||||
<div class="metric-card highlight">
|
||||
<span class="metric-label">{{ orderAmountLabel }}</span>
|
||||
<strong class="metric-value amount">¥{{ money(orderRentDisplayAmount) }}</strong>
|
||||
<span
|
||||
v-if="isRenter && Number(order.rent_discount_amount_cent || 0) > 0"
|
||||
class="metric-note"
|
||||
>
|
||||
{{ order.renter_growth_level_name || '成长等级' }}优惠 ¥{{
|
||||
money(amountYuan(order.rent_discount_amount_cent))
|
||||
}}
|
||||
</span>
|
||||
</div>
|
||||
<div v-if="isOwner && ownerIncomeDisplayAmount !== null" class="metric-card income">
|
||||
<span class="metric-label">{{ ownerIncomeLabel }}</span>
|
||||
|
||||
Reference in New Issue
Block a user