add entrance transition
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div v-can="permissionCodes.pointRule.update" class="point-rule-sort">
|
||||
<div class="tip" v-text="'按住右侧拖动手柄调整规则顺序,保存后生效;仅显示启用规则'" />
|
||||
<div class="tip" v-text="'按住右侧拖动手柄调整规则顺序,保存后生效;仅显示启用规则'" v-entrance-transition />
|
||||
<div class="items">
|
||||
<t-cell-group v-if="ruleList.length" theme="card">
|
||||
<vue-draggable-next
|
||||
@@ -15,7 +15,12 @@
|
||||
:disabled="isLoading || isSaving"
|
||||
@change="sortDirty = true"
|
||||
>
|
||||
<t-cell v-for="item in ruleList" :key="item.id" class="cell">
|
||||
<t-cell
|
||||
class="cell"
|
||||
v-for="(item, index) in ruleList"
|
||||
:key="item.id"
|
||||
v-entrance-transition="index * 30"
|
||||
>
|
||||
<template #title>
|
||||
<div class="title" v-text="item.name || '未命名规则'" />
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user