From 426b6a7343a0318e1506d344b33795aae01baa75 Mon Sep 17 00:00:00 2001 From: jcxu Date: Fri, 21 Sep 2018 14:56:14 +0800 Subject: [PATCH] =?UTF-8?q?(feature)=E5=AE=8C=E6=88=90=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E9=80=89=E6=8B=A9=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rosa | 8 +- src/App.vue | 5 +- src/components/AddCard.vue | 195 ++++++++++++++++++++++++++-- src/components/NoteCard.vue | 5 +- src/components/NoteCardActions.vue | 114 +++++++++++++++- src/components/SideMenu.vue | 5 +- src/components/modalPage/Search.vue | 82 ++++++++++++ src/plugins/vuetify.js | 6 +- src/store.ts | 3 +- 9 files changed, 397 insertions(+), 26 deletions(-) create mode 100644 src/components/modalPage/Search.vue diff --git a/rosa b/rosa index 891a5b1..3d8fa6b 100644 --- a/rosa +++ b/rosa @@ -1,4 +1,4 @@ -{"height":400,"id":1537257592854,"noteContent":"14","noteTitle":"14","width":300,"_id":"Uq3bGApRtXiNKhSw","createdAt":{"$$date":1537257593027},"updatedAt":{"$$date":1537257593027}} -{"height":400,"id":1537259088397,"noteContent":"15","noteTitle":"15","width":300,"_id":"dq6TWS3kIPVsilwO","createdAt":{"$$date":1537259088594},"updatedAt":{"$$date":1537259088594}} -{"height":400,"id":1537257475223,"noteContent":"13","noteTitle":"13","width":300,"_id":"hcNIYxIQecbiji7a","createdAt":{"$$date":1537257475400},"updatedAt":{"$$date":1537257475400}} -{"height":400,"id":1537257588239,"noteContent":"11","noteTitle":"11","width":300,"_id":"llq22mSNgAZMouVG","createdAt":{"$$date":1537257588393},"updatedAt":{"$$date":1537257588393}} +{"color":"indigo accent-2","height":400,"id":1537511399039,"noteContent":"13","noteTitle":"13","width":300,"_id":"AABziUjd7EcPMs5B","createdAt":{"$$date":1537511399195},"updatedAt":{"$$date":1537511399195}} +{"color":"light-blue accent-1","height":400,"id":1537511409632,"noteContent":"14","noteTitle":"14","width":300,"_id":"bEwmpvUjugmnA5AM","createdAt":{"$$date":1537511409696},"updatedAt":{"$$date":1537511409696}} +{"color":"deep-purple accent-2","height":400,"id":1537511423928,"noteContent":"18989","noteTitle":"1817","width":300,"_id":"rI5zpWsnSEHGid85","createdAt":{"$$date":1537511424115},"updatedAt":{"$$date":1537511424115}} +{"color":"white","height":400,"id":1537511392511,"noteContent":"12","noteTitle":"12","width":300,"_id":"sgPWCdMUaIq2qKF2","createdAt":{"$$date":1537511392636},"updatedAt":{"$$date":1537511392636}} diff --git a/src/App.vue b/src/App.vue index 34bed2d..792f3fd 100644 --- a/src/App.vue +++ b/src/App.vue @@ -14,7 +14,7 @@ GoogleKeep - + search @@ -76,6 +76,9 @@ export default { methods: { listChange () { this.$store.commit('changeListType', this.listType) + }, + handleSearch () { + this.$bus.$emit('showSearch') } } } diff --git a/src/components/AddCard.vue b/src/components/AddCard.vue index 7593922..a629bf7 100644 --- a/src/components/AddCard.vue +++ b/src/components/AddCard.vue @@ -1,14 +1,14 @@