From b9f0913c4b6eb8e24dfe4cf41548381aaa30f655 Mon Sep 17 00:00:00 2001 From: IceyWu <3128006406@qq.com> Date: Thu, 22 Aug 2024 14:55:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E6=A8=A1=E5=9D=97UI=E5=B1=82=E7=BA=A7=E5=8F=8A=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/admin.ts | 2 +- src/components/Card/ImgCard.vue | 2 +- src/components/LazyImg.vue | 2 +- src/components/Login/LoginDialog.vue | 2 +- src/components/Login/LoginForm.vue | 4 ++-- src/components/Login/Loginabout.vue | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/api/admin.ts b/src/api/admin.ts index 3d14fbb..a05c3ab 100644 --- a/src/api/admin.ts +++ b/src/api/admin.ts @@ -28,7 +28,7 @@ export function apiPost(data) { export function getLogin(data) { return http.request( 'post', - '/auth/login', + '/auth/loginV2', { data }, { isNeedToken: false, // 是否需要token diff --git a/src/components/Card/ImgCard.vue b/src/components/Card/ImgCard.vue index 1f41322..eee702d 100644 --- a/src/components/Card/ImgCard.vue +++ b/src/components/Card/ImgCard.vue @@ -75,7 +75,7 @@ onMounted(() => { overflow: hidden; position: relative; width: 100%; - z-index: 9999; + z-index: 999; .mian-img { // align-self: flex-start; diff --git a/src/components/LazyImg.vue b/src/components/LazyImg.vue index cb85abe..f6c3ae2 100644 --- a/src/components/LazyImg.vue +++ b/src/components/LazyImg.vue @@ -140,7 +140,7 @@ async function initLivePhoto() { .lpk-badge { top: 15px !important; left: 15px !important; - z-index: 999999 !important; + z-index: 999 !important; } .lpk-live-photo-renderer { height: 100% !important; diff --git a/src/components/Login/LoginDialog.vue b/src/components/Login/LoginDialog.vue index d086c39..5765053 100644 --- a/src/components/Login/LoginDialog.vue +++ b/src/components/Login/LoginDialog.vue @@ -31,7 +31,7 @@ function closeDialog() { title="Tips" width="350px" top="20vh" - :z-index="99999" + :z-index="999" class="no-dlg-bg-class" @close="closeDialog" > diff --git a/src/components/Login/LoginForm.vue b/src/components/Login/LoginForm.vue index c93e955..f347cf5 100644 --- a/src/components/Login/LoginForm.vue +++ b/src/components/Login/LoginForm.vue @@ -38,7 +38,7 @@ async function handleLogin() { return loginLoading.value = true const params = { - mobile: loginForm.value.username, + account: loginForm.value.username, password: loginForm.value.password, } try { @@ -246,7 +246,7 @@ function handleRigist() { type="text" maxlength="11" class="input" - placeholder="请输入手机号" + placeholder="请输入手机号或LP账号" > { title="Tips" width="350px" top="40vh" - :z-index="99999" + :z-index="999" @close="closeDialog" >