From 2bbe5bf72f4bf8d8e682b538af500286738c8278 Mon Sep 17 00:00:00 2001 From: alger Date: Thu, 30 Sep 2021 14:31:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2=E5=BA=95?= =?UTF-8?q?=E9=83=A8=E5=9C=86=E8=A7=92=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/SearchBar.vue | 7 +++++-- src/views/login/index.vue | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/layout/components/SearchBar.vue b/src/layout/components/SearchBar.vue index 55f8028..38ba6bd 100644 --- a/src/layout/components/SearchBar.vue +++ b/src/layout/components/SearchBar.vue @@ -101,8 +101,8 @@ const options = [ key: 'Girl' }, { - label: 'In My Life', - key: 'In My Life' + label: 'login', + key: 'login' }, { label: '退出登录', @@ -119,6 +119,9 @@ const selectItem = (key: any) => { localStorage.clear() }) break; + case 'login': + router.push("/login") + break; } } diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 9eed3c1..e858428 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -116,9 +116,10 @@ const loginPhone = async () => { .phone-login { width: 350px; height: 550px; - @apply rounded-2xl bg-cover bg-no-repeat relative overflow-hidden; + @apply rounded-2xl rounded-b-none bg-cover bg-no-repeat relative overflow-hidden; background-image: url(https://z3.ax1x.com/2021/09/30/4IMyUx.jpg); background-color: #000; + box-shadow: inset 0px 0px 20px 5px #0000005e; .bg { @apply absolute w-full h-full bg-black opacity-30; @@ -134,6 +135,7 @@ const loginPhone = async () => { transform: translateX(-50%); color: #ffffff99; @apply absolute bg-black flex justify-center text-lg font-bold cursor-pointer; + box-shadow: 10px 0px 20px #000000a9; } .content {