From ca597849321250517b4d3483ad3b656082f65e54 Mon Sep 17 00:00:00 2001
From: weicw <594098497@qq.com>
Date: Tue, 27 Oct 2026 22:48:06 +0800
Subject: [PATCH] =?UTF-8?q?refactor(passport):=20=E7=99=BB=E5=BD=95?=
=?UTF-8?q?=E9=A1=B5=E7=A7=BB=E9=99=A4=E6=9C=AA=E5=AE=9E=E7=8E=B0=E7=9A=84?=
=?UTF-8?q?=E5=BE=AE=E4=BF=A1=E6=89=AB=E7=A0=81=E7=99=BB=E5=BD=95=E5=85=A5?=
=?UTF-8?q?=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/passport/login/index.vue | 83 +-----------------------------
1 file changed, 1 insertion(+), 82 deletions(-)
diff --git a/src/views/passport/login/index.vue b/src/views/passport/login/index.vue
index 1ecad0c..07f68d1 100644
--- a/src/views/passport/login/index.vue
+++ b/src/views/passport/login/index.vue
@@ -135,19 +135,7 @@
{{ loading ? "登录中" : "登录" }}
-
-
-
-
-
-
-

- 微信扫码登录
-
-
@@ -379,8 +367,7 @@ onBeforeUnmount(() => {
.login-panel {
display: grid;
- grid-template-columns: minmax(0, 1fr) 320px;
- gap: 28px;
+ grid-template-columns: minmax(0, 1fr);
align-items: start;
justify-content: center;
justify-items: center;
@@ -562,60 +549,6 @@ onBeforeUnmount(() => {
font-weight: 700;
}
-.login-divider {
- margin-top: 16px;
- height: 1px;
- background: linear-gradient(90deg, transparent, #e6e6e6 20%, #e6e6e6 80%, transparent);
-}
-
-.login-qr-card {
- width: 100%;
- max-width: 320px;
- background: #fff;
- border-radius: 16px;
- border: 1px solid #ececec;
- padding: 22px 20px 18px;
- box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
- display: grid;
- justify-items: center;
- gap: 14px;
-}
-
-.qr-frame {
- width: 210px;
- height: 210px;
- padding: 14px;
- border-radius: 14px;
- border: 1px solid #e6e6e6;
- background: #fff;
- box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
- display: grid;
- place-items: center;
-}
-
-.qr-placeholder {
- width: 100%;
- height: 100%;
- border-radius: 8px;
- background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 50%, transparent 50%),
- linear-gradient(rgba(0, 0, 0, 0.1) 50%, transparent 50%);
- background-size: 14px 14px;
- background-position: 0 0, 7px 7px;
-}
-
-.qr-text {
- display: flex;
- align-items: center;
- gap: 8px;
- color: #3e3e3e;
- font-weight: 600;
-}
-
-.wechat-icon {
- width: 20px;
- height: 20px;
-}
-
.login-copyright {
margin-top: 40px;
font-size: 12px;
@@ -624,19 +557,10 @@ onBeforeUnmount(() => {
}
@media (max-width: 900px) {
- .login-panel {
- grid-template-columns: 1fr;
- justify-items: center;
- }
-
.login-form {
width: 100%;
max-width: 520px;
}
-
- .login-qr-card {
- max-width: 360px;
- }
}
@media (max-width: 640px) {
@@ -675,10 +599,5 @@ onBeforeUnmount(() => {
height: 50px;
font-size: 16px;
}
-
- .qr-frame {
- width: 180px;
- height: 180px;
- }
}