fix transition
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
:customer="customer"
|
||||
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.productNameSnapshot || item.skuNameSnapshot || '-'" />
|
||||
<t-cell title="兑换数量" :note="`${quantityText(item.quantity)} ${item.unitSnapshot || ''}`" />
|
||||
@@ -24,7 +24,7 @@
|
||||
/>
|
||||
</div>
|
||||
</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
|
||||
v-for="record in returnList"
|
||||
:key="record.id"
|
||||
@@ -33,9 +33,14 @@
|
||||
/>
|
||||
</t-cell-group>
|
||||
<t-empty v-if="!item" :description="loading ? '正在加载兑换单' : '兑换单不存在'" />
|
||||
<t-button v-if="canReturn" class="return-button cell-button" theme="danger" @click="returnVisible = true">
|
||||
冲正兑换
|
||||
</t-button>
|
||||
<t-button
|
||||
v-if="canReturn"
|
||||
class="return-button cell-button"
|
||||
theme="danger"
|
||||
content="冲正兑换"
|
||||
v-entrance-transition="140"
|
||||
@click="returnVisible = true"
|
||||
/>
|
||||
</div>
|
||||
<bottom-popup
|
||||
v-model="returnVisible"
|
||||
|
||||
Reference in New Issue
Block a user