From 7d5d0383bf4125e6737ccd2e7eb7fd8b282ba9c4 Mon Sep 17 00:00:00 2001
From: 07akioni <07akioni2@gmail.com>
Date: Tue, 3 Sep 2019 23:41:01 +0800
Subject: [PATCH] feat(transfer): animation
---
.../components/transferDemo/scaffold.demo.vue | 3 +-
.../common/Transfer/src/TransferListItem.vue | 63 ++++++----
packages/common/Transfer/src/main.vue | 118 ++++++++++--------
styles/Checkbox.scss | 8 +-
styles/Transfer.scss | 4 +-
styles/theme/default.scss | 12 +-
6 files changed, 125 insertions(+), 83 deletions(-)
diff --git a/demo/components/transferDemo/scaffold.demo.vue b/demo/components/transferDemo/scaffold.demo.vue
index 7c8f4e8f1..ee288c11b 100644
--- a/demo/components/transferDemo/scaffold.demo.vue
+++ b/demo/components/transferDemo/scaffold.demo.vue
@@ -38,7 +38,8 @@ function genOptions () {
prefix = Math.random().toString(36).slice(2, 5)
return Array.apply(null, { length: 20 }).map((v, i) => ({
label: prefix + 'Option' + i,
- value: prefix + i
+ value: prefix + i,
+ disabled: i % 3 === 0
}))
}
diff --git a/packages/common/Transfer/src/TransferListItem.vue b/packages/common/Transfer/src/TransferListItem.vue
index 183385eeb..a7e97672f 100644
--- a/packages/common/Transfer/src/TransferListItem.vue
+++ b/packages/common/Transfer/src/TransferListItem.vue
@@ -1,16 +1,25 @@
-
-
-
-
-
-
+
+
+
+
+
+
+