|
|
@@ -56,7 +56,7 @@
|
|
|
</el-form>
|
|
|
<!-- 底部 -->
|
|
|
<div class="el-login-footer">
|
|
|
- <span>Copyright © 2018-2025 ruoyi.vip All Rights Reserved.</span>
|
|
|
+ <span>Copyright © 2024-2025 爱智农智慧管理平台 All Rights Reserved.</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -162,31 +162,111 @@ export default {
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
height: 100%;
|
|
|
- background-image: url("../assets/images/login-background.jpg");
|
|
|
+ background-image: url("../assets/images/agriculture-tech-bg.jpg");
|
|
|
background-size: cover;
|
|
|
+ background-position: center;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ &::before {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+ background: linear-gradient(45deg,
|
|
|
+ rgba(0, 0, 0, 0.4),
|
|
|
+ rgba(76, 175, 80, 0.1),
|
|
|
+ rgba(0, 0, 0, 0.3)
|
|
|
+ );
|
|
|
+ z-index: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ // 添加一些科技感的装饰点
|
|
|
+ &::after {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ top: 20%;
|
|
|
+ right: 10%;
|
|
|
+ width: 100px;
|
|
|
+ height: 100px;
|
|
|
+ background: radial-gradient(circle, rgba(76, 175, 80, 0.2), transparent);
|
|
|
+ border-radius: 50%;
|
|
|
+ animation: pulse 4s ease-in-out infinite;
|
|
|
+ z-index: 0;
|
|
|
+ }
|
|
|
}
|
|
|
.title {
|
|
|
- margin: 0px auto 30px auto;
|
|
|
+ margin: 0px auto 40px auto;
|
|
|
text-align: center;
|
|
|
- color: #707070;
|
|
|
+ color: #1e5d2b;
|
|
|
+ font-size: 28px;
|
|
|
+ font-weight: 700;
|
|
|
+ text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
|
+ background: linear-gradient(135deg, #1e5d2b, #2d7a3f, #4CAF50);
|
|
|
+ -webkit-background-clip: text;
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
+ background-clip: text;
|
|
|
+ position: relative;
|
|
|
}
|
|
|
|
|
|
.login-form {
|
|
|
- border-radius: 6px;
|
|
|
- background: #ffffff;
|
|
|
- width: 400px;
|
|
|
- padding: 25px 25px 5px 25px;
|
|
|
+ border-radius: 16px;
|
|
|
+ background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 255, 248, 0.85));
|
|
|
+ backdrop-filter: blur(15px);
|
|
|
+ width: 420px;
|
|
|
+ padding: 40px 40px 30px 40px;
|
|
|
z-index: 1;
|
|
|
+ box-shadow:
|
|
|
+ 0 20px 40px rgba(0, 0, 0, 0.15),
|
|
|
+ 0 8px 20px rgba(76, 175, 80, 0.1),
|
|
|
+ inset 0 1px 0 rgba(255, 255, 255, 0.6);
|
|
|
+ border: 1px solid rgba(76, 175, 80, 0.2);
|
|
|
+ position: relative;
|
|
|
.el-input {
|
|
|
- height: 38px;
|
|
|
+ height: 42px;
|
|
|
+ margin-bottom: 8px;
|
|
|
+
|
|
|
input {
|
|
|
- height: 38px;
|
|
|
+ height: 42px;
|
|
|
+ border-radius: 8px;
|
|
|
+ border: 1px solid rgba(76, 175, 80, 0.3);
|
|
|
+ background: rgba(255, 255, 255, 0.8);
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ font-size: 14px;
|
|
|
+
|
|
|
+ &:focus {
|
|
|
+ border-color: #4CAF50;
|
|
|
+ box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
|
|
|
+ background: rgba(255, 255, 255, 0.95);
|
|
|
+ }
|
|
|
+
|
|
|
+ &::placeholder {
|
|
|
+ color: rgba(76, 175, 80, 0.6);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .el-input__inner {
|
|
|
+ border-radius: 8px;
|
|
|
+ border: 1px solid rgba(76, 175, 80, 0.3);
|
|
|
+ background: rgba(255, 255, 255, 0.8);
|
|
|
+ transition: all 0.3s ease;
|
|
|
+
|
|
|
+ &:focus {
|
|
|
+ border-color: #4CAF50;
|
|
|
+ box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
|
|
|
+ background: rgba(255, 255, 255, 0.95);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.input-icon {
|
|
|
- height: 39px;
|
|
|
- width: 14px;
|
|
|
- margin-left: 2px;
|
|
|
+ height: 42px;
|
|
|
+ width: 16px;
|
|
|
+ margin-left: 4px;
|
|
|
+ color: #4CAF50 !important;
|
|
|
+ opacity: 0.8;
|
|
|
+ transition: all 0.3s ease;
|
|
|
}
|
|
|
}
|
|
|
.login-tip {
|
|
|
@@ -196,11 +276,31 @@ export default {
|
|
|
}
|
|
|
.login-code {
|
|
|
width: 33%;
|
|
|
- height: 38px;
|
|
|
+ height: 42px;
|
|
|
float: right;
|
|
|
+ border-radius: 8px;
|
|
|
+ overflow: hidden;
|
|
|
+ background: linear-gradient(145deg, rgba(76, 175, 80, 0.08), rgba(102, 187, 106, 0.05));
|
|
|
+ border: 1px solid rgba(76, 175, 80, 0.3);
|
|
|
+ box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
|
|
|
+ transition: all 0.3s ease;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ border-color: rgba(76, 175, 80, 0.5);
|
|
|
+ box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
|
|
|
+ transform: translateY(-1px);
|
|
|
+ }
|
|
|
+
|
|
|
img {
|
|
|
cursor: pointer;
|
|
|
vertical-align: middle;
|
|
|
+ border-radius: 6px;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ opacity: 0.9;
|
|
|
+ transform: scale(1.02);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.el-login-footer {
|
|
|
@@ -210,12 +310,133 @@ export default {
|
|
|
bottom: 0;
|
|
|
width: 100%;
|
|
|
text-align: center;
|
|
|
- color: #fff;
|
|
|
+ color: rgba(255, 255, 255, 0.9);
|
|
|
font-family: Arial;
|
|
|
font-size: 12px;
|
|
|
letter-spacing: 1px;
|
|
|
+ background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
|
|
|
+ backdrop-filter: blur(5px);
|
|
|
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
|
+ font-weight: 500;
|
|
|
}
|
|
|
.login-code-img {
|
|
|
- height: 38px;
|
|
|
+ height: 42px;
|
|
|
+ border-radius: 6px;
|
|
|
+ width: 100%;
|
|
|
+ object-fit: cover;
|
|
|
+}
|
|
|
+
|
|
|
+// 绿色科技风格的登录按钮
|
|
|
+.login-form {
|
|
|
+ .el-button--primary {
|
|
|
+ background: linear-gradient(135deg, #4CAF50, #66BB6A);
|
|
|
+ border: none;
|
|
|
+ border-radius: 8px;
|
|
|
+ height: 44px;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 600;
|
|
|
+ box-shadow:
|
|
|
+ 0 4px 12px rgba(76, 175, 80, 0.3),
|
|
|
+ 0 2px 4px rgba(76, 175, 80, 0.2);
|
|
|
+ transition: all 0.3s ease;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: linear-gradient(135deg, #45a049, #5ba55f);
|
|
|
+ transform: translateY(-1px);
|
|
|
+ box-shadow:
|
|
|
+ 0 6px 16px rgba(76, 175, 80, 0.4),
|
|
|
+ 0 4px 8px rgba(76, 175, 80, 0.3);
|
|
|
+ }
|
|
|
+
|
|
|
+ &:active {
|
|
|
+ transform: translateY(0);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 记住密码复选框样式
|
|
|
+ .el-checkbox {
|
|
|
+ .el-checkbox__input.is-checked .el-checkbox__inner {
|
|
|
+ background-color: #4CAF50;
|
|
|
+ border-color: #4CAF50;
|
|
|
+ }
|
|
|
+
|
|
|
+ .el-checkbox__inner:hover {
|
|
|
+ border-color: #4CAF50;
|
|
|
+ }
|
|
|
+
|
|
|
+ .el-checkbox__label {
|
|
|
+ color: #2e7d32;
|
|
|
+ font-weight: 500;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 注册链接样式
|
|
|
+ .link-type {
|
|
|
+ color: #4CAF50;
|
|
|
+ font-weight: 500;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ color: #2e7d32;
|
|
|
+ text-decoration: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// 添加动画效果
|
|
|
+@keyframes pulse {
|
|
|
+ 0%, 100% {
|
|
|
+ opacity: 0.3;
|
|
|
+ transform: scale(1);
|
|
|
+ }
|
|
|
+ 50% {
|
|
|
+ opacity: 0.6;
|
|
|
+ transform: scale(1.1);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@keyframes fadeInUp {
|
|
|
+ from {
|
|
|
+ opacity: 0;
|
|
|
+ transform: translateY(30px);
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ opacity: 1;
|
|
|
+ transform: translateY(0);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// 登录表单入场动画
|
|
|
+.login-form {
|
|
|
+ animation: fadeInUp 0.8s ease-out;
|
|
|
+}
|
|
|
+
|
|
|
+// 标题发光效果
|
|
|
+.title:hover {
|
|
|
+ text-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
|
|
|
+ transition: text-shadow 0.3s ease;
|
|
|
+}
|
|
|
+
|
|
|
+// 输入框聚焦时的光晕效果
|
|
|
+.login-form .el-form-item {
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ &::before {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+ background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.05), transparent);
|
|
|
+ border-radius: 8px;
|
|
|
+ opacity: 0;
|
|
|
+ transition: opacity 0.3s ease;
|
|
|
+ pointer-events: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ &:focus-within::before {
|
|
|
+ opacity: 1;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|