add entrance transition

This commit is contained in:
Timi
2026-08-24 16:16:43 +08:00
parent 2efce6de11
commit 05aad89706
54 changed files with 874 additions and 694 deletions
+7 -2
View File
@@ -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>