From e79b132b91cb758bd52422ec7e6b64a5b14668c7 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 a1634429cf..0000000000 --- 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 0000000000..684698a0f0 --- /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 61a433b36a..3a7531a6f1 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;