From a07a1e20f3ef135ead75f82fa787a9fe7fc5b9aa Mon Sep 17 00:00:00 2001 From: cebgcontract <99630598+cebgcontract@users.noreply.github.com> Date: Thu, 17 Nov 2022 19:32:13 +0800 Subject: [PATCH] =?UTF-8?q?vue=E5=86=85=E7=9A=84=E5=8F=B3=E4=B8=8A?= =?UTF-8?q?=E8=8F=9C=E5=8D=95,=20=E5=8F=AA=E6=9C=89=E5=9C=A8=E7=99=BB?= =?UTF-8?q?=E9=99=86=E5=90=8E=E6=89=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/desktop.html | 7 ++++--- public/mobile.html | 8 +++++--- src/views/layout/Header.vue | 7 ++++++- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/public/desktop.html b/public/desktop.html index 9d5d75f..2f04723 100755 --- a/public/desktop.html +++ b/public/desktop.html @@ -8,12 +8,13 @@ - + - - + + + diff --git a/public/mobile.html b/public/mobile.html index a20e40b..467348c 100755 --- a/public/mobile.html +++ b/public/mobile.html @@ -8,11 +8,13 @@ - + - - + + + + CEBG 1,000 Commander Rally diff --git a/src/views/layout/Header.vue b/src/views/layout/Header.vue index 0962914..4e38528 100644 --- a/src/views/layout/Header.vue +++ b/src/views/layout/Header.vue @@ -48,7 +48,12 @@ export default { }, methods: { header(){ - this.hide = true + if (AppModule.account) { + this.hide = !this.hide + } else { + this.hide = false + } + }, toHome() { location.href = isMobile()? '/mobile.html' : '/desktop.html'