diff --git a/src/styles/common/animation.scss b/src/styles/common/animation.scss index 5720d743..86294947 100644 --- a/src/styles/common/animation.scss +++ b/src/styles/common/animation.scss @@ -44,7 +44,7 @@ } // 渐变 -.fade-enter, +.fade-enter-from, .fade-leave-to { opacity: 0; } @@ -58,7 +58,7 @@ .list-complete-item { transition: all 1s; } -.list-complete-enter, +.list-complete-enter-from, .list-complete-leave-to { opacity: 0; transform: translateY(30px); diff --git a/src/views/project/items/components/ProjectItemsCard/index.vue b/src/views/project/items/components/ProjectItemsCard/index.vue index 04a3a0f5..1b996b7c 100644 --- a/src/views/project/items/components/ProjectItemsCard/index.vue +++ b/src/views/project/items/components/ProjectItemsCard/index.vue @@ -15,7 +15,7 @@
-$contentHeight: 200px; +$contentHeight: 180px; @include go('items-list-card') { position: relative; border-radius: $--border-radius-base; diff --git a/src/views/project/items/components/ProjectItemsList/index.vue b/src/views/project/items/components/ProjectItemsList/index.vue index 37782fe4..dc4f9206 100644 --- a/src/views/project/items/components/ProjectItemsList/index.vue +++ b/src/views/project/items/components/ProjectItemsList/index.vue @@ -12,9 +12,16 @@ @resize="resizeHandle" @delete="deleteHandle($event, index)" @edit="editHandle" - > + > +
+ +
+ >