add entrance transition
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<div v-can="permissionCodes.point.ledgerRead" class="point-ledger-detail">
|
||||
<div v-if="customer" v-can="permissionCodes.point.ledgerRead" class="point-ledger-detail">
|
||||
<customer-profile-card
|
||||
v-if="customer"
|
||||
class="customer-profile"
|
||||
:customer="customer"
|
||||
v-entrance-transition
|
||||
@click="toCustomerDetail"
|
||||
/>
|
||||
<template v-if="ledger">
|
||||
<t-cell-group title="积分流水" theme="card">
|
||||
<t-cell-group title="积分流水" theme="card" v-entrance-transition="70">
|
||||
<t-cell title="流水类型">
|
||||
<template #note>
|
||||
<t-tag
|
||||
@@ -26,8 +26,7 @@
|
||||
</t-cell>
|
||||
<t-cell title="流水备注" :note="Text.display(ledger.remark)" />
|
||||
</t-cell-group>
|
||||
|
||||
<t-cell-group title="触发事件" theme="card">
|
||||
<t-cell-group title="触发事件" theme="card" v-entrance-transition="140">
|
||||
<template v-if="triggerEvent">
|
||||
<t-cell title="事件名称" :note="triggerEvent.name || '未命名事件'" />
|
||||
<t-cell title="事件类型" :note="getEventValueTypeText(triggerEvent)" />
|
||||
@@ -36,8 +35,7 @@
|
||||
</template>
|
||||
<div v-else class="empty" v-text="getEventEmptyText()" />
|
||||
</t-cell-group>
|
||||
|
||||
<t-cell-group title="事件记录" theme="card">
|
||||
<t-cell-group title="事件记录" theme="card" v-entrance-transition="210">
|
||||
<template v-if="eventRecord">
|
||||
<t-cell title="登记事件" :note="eventRecord.event?.name || triggerEvent?.name || '未知事件'" />
|
||||
<t-cell title="登记时间">
|
||||
@@ -54,8 +52,7 @@
|
||||
</template>
|
||||
<div v-else class="empty" v-text="getRecordEmptyText()" />
|
||||
</t-cell-group>
|
||||
|
||||
<t-cell-group title="命中规则" theme="card">
|
||||
<t-cell-group title="命中规则" theme="card" v-entrance-transition="280">
|
||||
<template v-if="hitRule">
|
||||
<t-cell title="规则名称" :note="hitRule.name || '未命名规则'" />
|
||||
<t-cell title="触发类型" :note="getTriggerTypeText(hitRule.triggerType)" />
|
||||
|
||||
Reference in New Issue
Block a user