部分优化

This commit is contained in:
2026-07-07 18:02:55 +08:00
parent b8af01cc69
commit bf5203b081
48 changed files with 3228 additions and 1755 deletions

View File

@@ -177,24 +177,31 @@
<style scoped>
.login-container {
padding: 140rpx 60rpx 100rpx 60rpx;
padding: 120rpx 50rpx 80rpx 50rpx;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
background: linear-gradient(160deg, #f0f2ff 0%, #f5f3f8 30%, #faf9fe 60%, #f5f4ff 100%);
}
.login-card {
position: relative;
flex: 1;
width: 100%;
height: 100%;
padding: 20rpx;
max-width: 640rpx;
padding: 50rpx 40rpx;
box-sizing: border-box;
background: #ffffff;
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 40rpx;
box-shadow: 0 16rpx 48rpx rgba(100, 100, 180, 0.1);
border: 1rpx solid rgba(170, 170, 255, 0.15);
}
.conner {
@@ -231,11 +238,7 @@
border-right: 2px solid #aaaaff;
}
.login-header {
/* position: absolute;
top: 80rpx; */
display: flex;
justify-content: center;
align-items: center;
@@ -249,60 +252,56 @@
}
.login-header-logo text {
margin-left: 8rpx;
font-size: 60rpx;
font-weight: bold;
color: #aaaaff;
text-shadow: 0 0 10rpx rgba(170, 170, 255, 0.4),
0 0 20rpx rgba(170, 170, 255, 0.3);
margin-left: 12rpx;
font-size: 56rpx;
font-weight: 800;
color: #6c63ff;
letter-spacing: 2rpx;
}
.icon-wrapper {
width: 90rpx;
height: 90rpx;
width: 96rpx;
height: 96rpx;
border-radius: 50%;
background-color: rgb(255, 255, 255);
background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 238, 255, 0.8));
display: flex;
align-items: center;
justify-content: center;
animation: glow 2s ease-in-out infinite;
animation: glow 2.5s ease-in-out infinite;
box-shadow: 0 4rpx 16rpx rgba(108, 99, 255, 0.12);
}
@keyframes glow {
0%,
100% {
box-shadow: 0 0 20rpx rgba(170, 170, 255, 0.3);
0%, 100% {
box-shadow: 0 4rpx 16rpx rgba(108, 99, 255, 0.12);
}
50% {
box-shadow: 0 0 20rpx rgba(170, 170, 255, 0.4),
0 0 30rpx rgba(170, 170, 255, 0.3),
0 0 50rpx rgba(170, 170, 255, 0.2);
box-shadow: 0 4rpx 24rpx rgba(108, 99, 255, 0.25),
0 0 50rpx rgba(108, 99, 255, 0.12);
}
}
.icon-wrapper .danao-style {
font-size: 70rpx;
color: #aaaaff;
font-size: 64rpx;
color: #6c63ff;
}
.sub-title {
margin-top: 20rpx;
font-size: 36rpx;
margin-top: 16rpx;
font-size: 32rpx;
font-weight: 500;
color: #666;
text-shadow: 0 0 10rpx #999;
color: #888;
letter-spacing: 1rpx;
}
.form-wrapper {
margin-top: 50rpx;
width: 500rpx;
padding: 80rpx 30rpx;
background-color: rgba(170, 170, 255, 0.05);
border-radius: 20rpx;
/* border: 1rpx solid #aaaaff; */
box-shadow: 0 0 10rpx rgba(170, 170, 255, 0.5);
width: 100%;
max-width: 500rpx;
padding: 60rpx 36rpx 36rpx;
background: rgba(170, 170, 255, 0.04);
border-radius: 28rpx;
border: 1rpx solid rgba(170, 170, 255, 0.1);
display: flex;
flex-direction: column;
}
@@ -311,34 +310,56 @@
margin-top: 20rpx;
}
.form-label {
font-size: 26rpx;
font-weight: 500;
color: #555;
margin-bottom: 8rpx;
display: flex;
align-items: center;
gap: 8rpx;
}
.form-item .form-input {
width: 100%;
height: 80rpx;
padding: 0 10px;
height: 88rpx;
padding: 0 24rpx;
box-sizing: border-box;
border-radius: 30rpx;
border: 1rpx solid #e5e5e5;
border-radius: 24rpx;
border: 2rpx solid #e8e8f0;
background: rgba(255, 255, 255, 0.8);
font-size: 28rpx;
color: #333;
transition: all 0.25s ease;
}
.form-item .form-input::placeholder {
color: #c0c0d0;
}
.form-item .focused {
border-color: #aaaaff;
box-shadow: 0 0 10rpx rgba(170, 170, 255, 0.5);
border-color: #6c63ff;
background: #ffffff;
box-shadow: 0 0 0 6rpx rgba(108, 99, 255, 0.06);
}
.form-item .error {
border-color: #ff0000;
box-shadow: 0 0 10rpx rgba(255, 0, 0, 0.5);
border-color: #ff4d4f;
box-shadow: 0 0 0 6rpx rgba(255, 77, 79, 0.06);
}
.error-info {
font-size: 24rpx;
color: #ff0000;
font-size: 22rpx;
color: #ff4d4f;
margin-top: 8rpx;
padding-left: 8rpx;
}
.form-option {
margin-top: 10rpx;
margin-top: 20rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.form-option .checkbox-wrapper {
@@ -348,27 +369,62 @@
}
.form-option .checkbox-wrapper .checkbox {
width: 30rpx;
height: 30rpx;
border: 1rpx solid #666;
width: 36rpx;
height: 36rpx;
border: 2rpx solid #d4d4e0;
border-radius: 8rpx;
display: flex;
justify-content: center;
align-items: center;
}
.form-option .checkbox-wrapper .checked {
background-color: #aaaaff;
transition: all 0.2s ease;
background: #fff;
}
.form-option .checkbox-wrapper .checkbox text {
color: #ffffff;
font-size: 22rpx;
}
.form-option .checkbox-wrapper .checked {
background: linear-gradient(135deg, #6c63ff, #4a45d1);
border-color: #6c63ff;
}
.form-option .checkbox-wrapper .checkbox-text {
margin-left: 10rpx;
font-size: 26rpx;
color: #666;
}
.form-option .forget-pwd {
font-size: 26rpx;
color: #6c63ff;
font-weight: 500;
}
:deep(.login-btn) {
margin-top: 30rpx;
width: 500rpx;
height: 100rpx;
border-radius: 80rpx;
background: linear-gradient(to right, #aaaaff, #2969ed);
margin-top: 36rpx;
width: 100%;
max-width: 500rpx;
height: 96rpx;
border-radius: 48rpx;
background: linear-gradient(135deg, #6c63ff, #4a45d1);
color: #fff;
font-size: 32rpx;
font-weight: 600;
letter-spacing: 2rpx;
box-shadow: 0 8rpx 24rpx rgba(108, 99, 255, 0.3);
transition: all 0.2s ease;
border: none;
}
:deep(.login-btn:active) {
transform: scale(0.97);
box-shadow: 0 4rpx 12rpx rgba(108, 99, 255, 0.2);
}
:deep(.login-btn[disabled]) {
opacity: 0.7;
background: linear-gradient(135deg, #a8a4f0, #8a86d8);
}
</style>