From 65d564490a000836b52ae68bb1c4783770ae556b Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 26 Feb 2018 01:36:36 +0900 Subject: [PATCH] Fix bug --- src/web/app/desktop/views/components/ui.header.vue | 3 ++- src/web/app/mobile/views/components/ui.header.vue | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/web/app/desktop/views/components/ui.header.vue b/src/web/app/desktop/views/components/ui.header.vue index 22239ecd7..c83eb925b 100644 --- a/src/web/app/desktop/views/components/ui.header.vue +++ b/src/web/app/desktop/views/components/ui.header.vue @@ -47,6 +47,7 @@ export default Vue.extend({ const ago = (new Date().getTime() - new Date((this as any).os.i.last_used_at).getTime()) / 1000 const isHisasiburi = ago >= 3600; if (isHisasiburi) { + (this.$refs.welcomeback as any).style.display = 'block'; (this.$refs.main as any).style.overflow = 'hidden'; anime({ @@ -122,7 +123,7 @@ export default Vue.extend({ user-select none > p - display block + display none position absolute top 48px width 100% diff --git a/src/web/app/mobile/views/components/ui.header.vue b/src/web/app/mobile/views/components/ui.header.vue index ad7e9ace6..4962c5b0b 100644 --- a/src/web/app/mobile/views/components/ui.header.vue +++ b/src/web/app/mobile/views/components/ui.header.vue @@ -57,6 +57,7 @@ export default Vue.extend({ const ago = (new Date().getTime() - new Date((this as any).os.i.last_used_at).getTime()) / 1000 const isHisasiburi = ago >= 3600; if (isHisasiburi) { + (this.$refs.welcomeback as any).style.display = 'block'; (this.$refs.main as any).style.overflow = 'hidden'; anime({ @@ -149,7 +150,7 @@ export default Vue.extend({ background-color rgba(#1b2023, 0.75) > p - display block + display none position absolute z-index 1002 top $height