fix transition

This commit is contained in:
Timi
2026-09-15 13:10:43 +08:00
parent 8c9842c193
commit a6577482ac
+10 -5
View File
@@ -6,7 +6,7 @@
:customer="customer" :customer="customer"
v-entrance-transition v-entrance-transition
/> />
<t-cell-group v-if="item" title="兑换信息" theme="card"> <t-cell-group v-if="item" title="兑换信息" theme="card" v-entrance-transition="70">
<t-cell title="客户" :note="item.customer?.name || item.customerId || '-'" /> <t-cell title="客户" :note="item.customer?.name || item.customerId || '-'" />
<t-cell title="兑换商品" :note="item.productNameSnapshot || item.skuNameSnapshot || '-'" /> <t-cell title="兑换商品" :note="item.productNameSnapshot || item.skuNameSnapshot || '-'" />
<t-cell title="兑换数量" :note="`${quantityText(item.quantity)} ${item.unitSnapshot || ''}`" /> <t-cell title="兑换数量" :note="`${quantityText(item.quantity)} ${item.unitSnapshot || ''}`" />
@@ -24,7 +24,7 @@
/> />
</div> </div>
</t-cell-group> </t-cell-group>
<t-cell-group v-if="returnList.length" title="退货记录" theme="card"> <t-cell-group v-if="returnList.length" title="退货记录" theme="card" v-entrance-transition="140">
<t-cell <t-cell
v-for="record in returnList" v-for="record in returnList"
:key="record.id" :key="record.id"
@@ -33,9 +33,14 @@
/> />
</t-cell-group> </t-cell-group>
<t-empty v-if="!item" :description="loading ? '正在加载兑换单' : '兑换单不存在'" /> <t-empty v-if="!item" :description="loading ? '正在加载兑换单' : '兑换单不存在'" />
<t-button v-if="canReturn" class="return-button cell-button" theme="danger" @click="returnVisible = true"> <t-button
冲正兑换 v-if="canReturn"
</t-button> class="return-button cell-button"
theme="danger"
content="冲正兑换"
v-entrance-transition="140"
@click="returnVisible = true"
/>
</div> </div>
<bottom-popup <bottom-popup
v-model="returnVisible" v-model="returnVisible"