From 2cef87a6311e33f17ef2e77e78c55a5a6a927e04 Mon Sep 17 00:00:00 2001 From: iczer <1126263215@qq.com> Date: Sat, 25 Aug 2018 19:30:06 +0800 Subject: [PATCH] refactor: TaskCard components --- src/App.vue | 23 ++++++---- src/components/task/Index.vue | 30 +++++-------- src/components/task/TaskCard.vue | 72 +++++++++++++++++++++++++------- src/components/task/TaskItem.vue | 6 ++- 4 files changed, 88 insertions(+), 43 deletions(-) diff --git a/src/App.vue b/src/App.vue index 7629b80..1f70f06 100644 --- a/src/App.vue +++ b/src/App.vue @@ -18,11 +18,20 @@ export default { } - diff --git a/src/components/task/Index.vue b/src/components/task/Index.vue index e5ecd44..396ab67 100644 --- a/src/components/task/Index.vue +++ b/src/components/task/Index.vue @@ -1,19 +1,13 @@ @@ -21,13 +15,12 @@ - diff --git a/src/components/task/TaskCard.vue b/src/components/task/TaskCard.vue index 97db0d5..975cbb0 100644 --- a/src/components/task/TaskCard.vue +++ b/src/components/task/TaskCard.vue @@ -1,38 +1,80 @@ - diff --git a/src/components/task/TaskItem.vue b/src/components/task/TaskItem.vue index 0dca8a0..37ebd48 100644 --- a/src/components/task/TaskItem.vue +++ b/src/components/task/TaskItem.vue @@ -16,9 +16,13 @@ export default {