Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 调整登录模块UI层级及参数优化 #7

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/api/admin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function apiPost(data) {
export function getLogin(data) {
return http.request(
'post',
'/auth/login',
'/auth/loginV2',
{ data },
{
isNeedToken: false, // 是否需要token
Expand Down
2 changes: 1 addition & 1 deletion src/components/Card/ImgCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ onMounted(() => {
overflow: hidden;
position: relative;
width: 100%;
z-index: 9999;
z-index: 999;

.mian-img {
// align-self: flex-start;
Expand Down
2 changes: 1 addition & 1 deletion src/components/LazyImg.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Login/LoginDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Login/LoginForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -246,7 +246,7 @@ function handleRigist() {
type="text"
maxlength="11"
class="input"
placeholder="请输入手机号"
placeholder="请输入手机号或LP账号"
>

<input
Expand Down
2 changes: 1 addition & 1 deletion src/components/Login/Loginabout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ onMounted(() => {
title="Tips"
width="350px"
top="40vh"
:z-index="99999"
:z-index="999"
@close="closeDialog"
>
<div class="content">
Expand Down
Loading