This commit is contained in:
syuilo 2018-02-26 01:36:36 +09:00
parent cc92c3c4e1
commit 65d564490a
2 changed files with 4 additions and 2 deletions

View File

@ -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%

View File

@ -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