From 869aec05d31f60be569621fa090249b39da15a71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=93=E3=81=B4=E3=81=AA=E3=81=9F=E3=81=BF=E3=81=BD?= Date: Tue, 13 Feb 2018 19:00:54 +0900 Subject: [PATCH] wip --- src/web/app/desktop/-tags/input-dialog.tag | 172 ---------------- .../desktop/views/components/input-dialog.vue | 183 ++++++++++++++++++ .../app/desktop/views/components/window.vue | 2 +- 3 files changed, 184 insertions(+), 173 deletions(-) delete mode 100644 src/web/app/desktop/-tags/input-dialog.tag create mode 100644 src/web/app/desktop/views/components/input-dialog.vue diff --git a/src/web/app/desktop/-tags/input-dialog.tag b/src/web/app/desktop/-tags/input-dialog.tag deleted file mode 100644 index a1634429c..000000000 --- a/src/web/app/desktop/-tags/input-dialog.tag +++ /dev/null @@ -1,172 +0,0 @@ - - - - %fa:i-cursor%{ parent.title } - - -
- -
-
- - -
-
-
- - -
diff --git a/src/web/app/desktop/views/components/input-dialog.vue b/src/web/app/desktop/views/components/input-dialog.vue new file mode 100644 index 000000000..684698a0f --- /dev/null +++ b/src/web/app/desktop/views/components/input-dialog.vue @@ -0,0 +1,183 @@ + + + + + + diff --git a/src/web/app/desktop/views/components/window.vue b/src/web/app/desktop/views/components/window.vue index 61a433b36..3a7531a6f 100644 --- a/src/web/app/desktop/views/components/window.vue +++ b/src/web/app/desktop/views/components/window.vue @@ -134,7 +134,7 @@ export default Vue.extend({ }, close() { - this.$emit('closing'); + this.$emit('before-close'); const bg = this.$refs.bg as any; const main = this.$refs.main as any;