-
@@ -707,21 +712,461 @@ export default {
+
+
diff --git a/src/components/login/login.vue b/src/components/login/login.vue
index cddd417..dfcff9d 100644
--- a/src/components/login/login.vue
+++ b/src/components/login/login.vue
@@ -206,20 +206,24 @@ body {
position: fixed;
height: 100%;
width: 100%;
- /*background: url(../../assets/images/background.jpg) no-repeat;
- background-size:100% 100%;
- background-attachment:fixed;*/
+ background: linear-gradient(160deg, rgba(232, 245, 233, 0.95), rgba(248, 253, 249, 0.9));
+ display: flex;
+ flex-direction: column;
+ justify-content: flex-start;
+ align-items: center;
+ padding: 80px 20px 40px;
+ overflow-y: auto;
.tips {
font-size: 14px;
color: #fff;
margin-bottom: 10px;
}
.title {
- font-family: PingFangSC-Regular;
+ font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
font-size: 24px;
- font-weight: 600;
- color: #2c3e50;
- background: linear-gradient(135deg, rgba(157, 187, 231, 0.15) 0%, rgba(157, 187, 231, 0.05) 100%);
+ font-weight: 650;
+ color: #1b5e20;
+ background: linear-gradient(135deg, rgba(129, 199, 132, 0.2) 0%, rgba(200, 230, 201, 0.2) 100%);
width: 100%;
height: 70px;
line-height: 70px;
@@ -227,7 +231,7 @@ body {
padding: 0;
text-align: center;
border-radius: 16px 16px 0 0;
- border-bottom: 1px solid rgba(157, 187, 231, 0.2);
+ border-bottom: 1px solid rgba(129, 199, 132, 0.25);
}
.el-form-item {
margin-left: 30px;
@@ -277,12 +281,13 @@ body {
min-width: 0;
}
input {
- background: transparent !important;
- border: 0px !important;
- padding: 14px 0px 14px 12px;
- font-family: PingFangSC-Regular;
+ background: rgba(255, 255, 255, 0.85) !important;
+ border: 1px solid rgba(129, 199, 132, 0.4) !important;
+ padding: 14px 12px;
+ font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
font-size: 15px;
- color: #2c3e50;
+ color: #1b5e20;
+ border-radius: 12px;
transition: all 0.3s ease;
height: 50px;
line-height: 50px;
@@ -291,8 +296,8 @@ body {
background: transparent !important;
border: none !important;
&::placeholder {
- color: #889aa4;
- font-family: PingFangSC-Regular;
+ color: #4e7d4f;
+ font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
font-size: 15px;
opacity: 0.7;
}
@@ -301,43 +306,31 @@ body {
}
}
.main-title {
- position: absolute;
- left: 0;
- right: 0;
- top: 45px;
- margin: 0 auto;
+ margin: 0 0 32px 0;
font-family: "PingFang SC", "Microsoft YaHei", "SimHei", "STHeiti", "Helvetica Neue", Arial, sans-serif;
- font-size: 48px;
+ font-size: 60px;
font-weight: 700;
- color: #264672;
+ color: #1b5e20;
text-align: center;
width: 100%;
z-index: 1;
- text-shadow: 0 2px 8px rgba(38, 70, 114, 0.2),
- 0 4px 16px rgba(38, 70, 114, 0.15),
- 0 8px 32px rgba(38, 70, 114, 0.1);
- letter-spacing: 5px;
+ text-shadow: 0 8px 30px rgba(27, 94, 32, 0.2);
+ letter-spacing: 4px;
line-height: 1.4;
- padding: 0 30px 25px 30px;
+ padding: 0 30px 120px 30px;
box-sizing: border-box;
animation: titleFadeIn 0.8s ease-out;
- position: relative;
&::after {
content: '';
position: absolute;
left: 50%;
- bottom: 0;
+ bottom: -6px;
transform: translateX(-50%);
width: 150px;
height: 4px;
- background: linear-gradient(90deg,
- transparent 0%,
- rgba(91, 141, 239, 0.3) 20%,
- #5b8def 50%,
- rgba(91, 141, 239, 0.3) 80%,
- transparent 100%);
+ background: linear-gradient(90deg, transparent 0%, rgba(129, 199, 132, 0.6) 20%, #4caf50 50%, rgba(129, 199, 132, 0.6) 80%, transparent 100%);
border-radius: 2px;
- box-shadow: 0 2px 8px rgba(91, 141, 239, 0.4);
+ box-shadow: 0 2px 8px rgba(76, 175, 80, 0.35);
}
}
@keyframes titleFadeIn {
@@ -351,18 +344,15 @@ body {
}
}
.login-form {
- position: absolute;
- left: 0;
- right: 0;
- margin: 120px auto;
- background: rgba(255, 255, 255, 0.85);
- backdrop-filter: blur(20px);
- -webkit-backdrop-filter: blur(20px);
- box-shadow: 0 8px 32px rgba(38, 70, 114, 0.15),
- 0 2px 8px rgba(0, 0, 0, 0.1),
- inset 0 1px 0 rgba(255, 255, 255, 0.6);
- border-radius: 20px;
- border: 1px solid rgba(255, 255, 255, 0.3);
+ margin: 0 auto 40px;
+ background: rgba(255, 255, 255, 0.9);
+ backdrop-filter: blur(18px);
+ -webkit-backdrop-filter: blur(18px);
+ box-shadow: 0 12px 36px rgba(76, 175, 80, 0.18),
+ 0 4px 12px rgba(0, 0, 0, 0.08),
+ inset 0 1px 0 rgba(255, 255, 255, 0.7);
+ border-radius: 24px;
+ border: 1px solid rgba(129, 199, 132, 0.35);
width: 420px;
min-height: 450px;
padding-bottom: 20px;
@@ -390,7 +380,7 @@ body {
width: 100%;
height: 46px;
margin: 0;
- background: linear-gradient(135deg, #5b8def 0%, #4a7dd8 100%) !important;
+ background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%) !important;
border: none !important;
border-radius: 12px !important;
font-family: PingFangSC-Regular;
@@ -399,22 +389,22 @@ body {
color: #ffffff !important;
letter-spacing: 1px;
text-align: center;
- box-shadow: 0 4px 14px rgba(91, 141, 239, 0.4),
- 0 2px 4px rgba(91, 141, 239, 0.2);
+ box-shadow: 0 4px 14px rgba(76, 175, 80, 0.35),
+ 0 2px 4px rgba(76, 175, 80, 0.2);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
position: relative;
overflow: hidden;
&:hover {
transform: translateY(-2px);
- box-shadow: 0 6px 20px rgba(91, 141, 239, 0.5),
- 0 4px 8px rgba(91, 141, 239, 0.3);
- background: linear-gradient(135deg, #6b9dff 0%, #5a8de8 100%) !important;
+ box-shadow: 0 6px 20px rgba(76, 175, 80, 0.45),
+ 0 4px 8px rgba(76, 175, 80, 0.25);
+ background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%) !important;
}
&:active {
transform: translateY(0);
- box-shadow: 0 3px 10px rgba(91, 141, 239, 0.35),
- 0 1px 3px rgba(91, 141, 239, 0.2);
+ box-shadow: 0 3px 10px rgba(76, 175, 80, 0.35),
+ 0 1px 3px rgba(76, 175, 80, 0.18);
}
}
.register-button {
@@ -422,43 +412,43 @@ body {
height: 46px;
margin: 0;
background: rgba(255, 255, 255, 0.95) !important;
- border: 1.5px solid #5b8def !important;
+ border: 1.5px solid #4caf50 !important;
border-radius: 12px !important;
font-family: PingFangSC-Regular;
font-size: 16px;
font-weight: 600;
- color: #5b8def !important;
+ color: #2e7d32 !important;
letter-spacing: 1px;
text-align: center;
- box-shadow: 0 2px 8px rgba(91, 141, 239, 0.2),
- 0 1px 3px rgba(91, 141, 239, 0.1);
+ box-shadow: 0 2px 8px rgba(76, 175, 80, 0.25),
+ 0 1px 3px rgba(76, 175, 80, 0.12);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
&:hover {
transform: translateY(-2px);
- background: rgba(91, 141, 239, 0.08) !important;
- border-color: #6b9dff !important;
+ background: rgba(76, 175, 80, 0.08) !important;
+ border-color: #66bb6a !important;
border-width: 1.5px !important;
- box-shadow: 0 4px 14px rgba(91, 141, 239, 0.3),
- 0 2px 6px rgba(91, 141, 239, 0.15);
- color: #6b9dff !important;
+ box-shadow: 0 4px 14px rgba(76, 175, 80, 0.3),
+ 0 2px 6px rgba(76, 175, 80, 0.15);
+ color: #2e7d32 !important;
}
&:active {
transform: translateY(0);
- box-shadow: 0 2px 6px rgba(91, 141, 239, 0.25),
- 0 1px 2px rgba(91, 141, 239, 0.15);
+ box-shadow: 0 2px 6px rgba(76, 175, 80, 0.25),
+ 0 1px 2px rgba(76, 175, 80, 0.15);
}
}
.login-text1 {
position: absolute;
left: 30px;
font-size: 13px;
- color: #7a8ba3;
- font-family: PingFangSC-Regular;
+ color: #4e7d4f;
+ font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
text-decoration: none;
transition: all 0.3s ease;
&:hover {
- color: #264672;
+ color: #1b5e20;
text-decoration: underline;
}
}
@@ -466,29 +456,29 @@ body {
position: absolute;
right: 30px;
font-size: 13px;
- color: #7a8ba3;
- font-family: PingFangSC-Regular;
+ color: #4e7d4f;
+ font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
text-decoration: none;
transition: all 0.3s ease;
&:hover {
- color: #264672;
+ color: #1b5e20;
text-decoration: underline;
}
}
// Element UI 输入框图标样式
.el-input__prefix,
.el-input__suffix {
- color: #7a8ba3;
+ color: #6f946f;
transition: all 0.3s ease;
}
.el-form-item:focus-within .el-input__prefix,
.el-form-item:focus-within .el-input__suffix {
- color: #264672;
+ color: #1b5e20;
}
.el-input__suffix {
cursor: pointer;
&:hover {
- color: #264672;
+ color: #1b5e20;
}
}
.extra-text {
@@ -501,19 +491,14 @@ body {
@media all and (max-width: 480px) {
.main-title {
font-size: 28px;
- top: 40px;
letter-spacing: 2px;
- padding: 0 20px;
+ padding: 0 20px 12px 20px;
line-height: 1.4;
- &::before {
- width: 80px;
- height: 2px;
- }
}
.login-form {
width: 90% !important;
max-width: 340px !important;
- margin: 180px auto;
+ margin: 0 auto 40px;
border-radius: 16px;
}
.login-container .login-button,