移除登陆界面渐变

This commit is contained in:
yml
2026-05-22 21:03:02 +08:00
parent b050a8a1e7
commit a062462dc7
2 changed files with 14 additions and 26 deletions
+7 -13
View File
@@ -203,9 +203,8 @@ async function handleLogin() {
<style scoped>
/* ========== Vant 主题变量覆盖 ========== */
:root {
--van-primary-color: #1777ff;
--van-primary-color-light: #5fd4ff;
--van-button-primary-background: linear-gradient(135deg, #1777ff, #5fd4ff);
--van-primary-color: #1477ff;
--van-button-primary-background: #1477ff;
--van-button-primary-border-color: transparent;
}
@@ -214,12 +213,7 @@ async function handleLogin() {
min-height: 100dvh;
box-sizing: border-box;
overflow: hidden;
background: radial-gradient(
circle at 50% 0,
#eafff9 0,
#f7fbff 38%,
#ffffff 86%
);
background: #f5f7fa;
color: #151c28;
padding: 40px 24px;
}
@@ -246,11 +240,11 @@ async function handleLogin() {
flex: 0 0 auto;
place-items: center;
border-radius: 16px;
background: linear-gradient(145deg, #1777ff, #5fd4ff);
background: #1477ff;
color: #ffffff;
font-size: 21px;
font-weight: 900;
box-shadow: 0 10px 22px rgba(23, 119, 255, 0.2);
box-shadow: 0 4px 12px rgba(20, 119, 255, 0.18);
}
.login-top p {
@@ -384,9 +378,9 @@ async function handleLogin() {
height: 46px;
font-size: 15px;
font-weight: 800;
background: linear-gradient(135deg, #1777ff, #5fd4ff) !important;
background: #1477ff !important;
border: none !important;
box-shadow: 0 8px 20px rgba(23, 119, 255, 0.25);
box-shadow: 0 4px 12px rgba(20, 119, 255, 0.18);
}
/* ========== 注册入口按钮 ========== */
@@ -210,9 +210,8 @@ async function handleRegister() {
<style scoped>
/* ========== Vant 主题变量覆盖 ========== */
:root {
--van-primary-color: #1777ff;
--van-primary-color-light: #5fd4ff;
--van-button-primary-background: linear-gradient(135deg, #1777ff, #5fd4ff);
--van-primary-color: #5b6ee1;
--van-button-primary-background: #5b6ee1;
--van-button-primary-border-color: transparent;
}
@@ -221,12 +220,7 @@ async function handleRegister() {
min-height: 100dvh;
box-sizing: border-box;
overflow: hidden;
background: radial-gradient(
circle at 50% 0,
#eafff9 0,
#f7fbff 38%,
#ffffff 86%
);
background: #f5f6f8;
color: #151c28;
padding: 40px 24px;
}
@@ -253,11 +247,11 @@ async function handleRegister() {
flex: 0 0 auto;
place-items: center;
border-radius: 16px;
background: linear-gradient(145deg, #1777ff, #5fd4ff);
background: #5b6ee1;
color: #ffffff;
font-size: 21px;
font-weight: 900;
box-shadow: 0 10px 22px rgba(23, 119, 255, 0.2);
box-shadow: 0 4px 12px rgba(91, 110, 225, 0.18);
}
.register-top p {
@@ -382,9 +376,9 @@ async function handleRegister() {
height: 46px;
font-size: 15px;
font-weight: 800;
background: linear-gradient(135deg, #1777ff, #5fd4ff) !important;
background: #5b6ee1 !important;
border: none !important;
box-shadow: 0 8px 20px rgba(23, 119, 255, 0.25);
box-shadow: 0 4px 12px rgba(91, 110, 225, 0.18);
}
/* ========== 登录入口按钮 ========== */