203 lines
3.2 KiB
Plaintext
203 lines
3.2 KiB
Plaintext
/* pages/login/login.wxss */
|
|
page {
|
|
height: 100vh;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
background-color: #fff;
|
|
min-height: 100vh;
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding-bottom: 40rpx;
|
|
}
|
|
|
|
.login-content {
|
|
flex: 1;
|
|
width: 100%;
|
|
padding: 200rpx 0 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Logo容器 */
|
|
.logo-container {
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
background: #fff;
|
|
border-radius: 40rpx;
|
|
border: 1rpx solid #E5E5E5;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 40rpx;
|
|
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
.logo-image {
|
|
width: 160rpx;
|
|
height: 160rpx;
|
|
}
|
|
|
|
.app-title {
|
|
font-size: 48rpx;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.app-subtitle {
|
|
font-size: 28rpx;
|
|
color: #999;
|
|
margin-bottom: 120rpx;
|
|
}
|
|
|
|
.login-buttons {
|
|
width: 100%;
|
|
padding: 0 5%;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 32rpx;
|
|
}
|
|
|
|
.wechat-btn {
|
|
width: 100% !important;
|
|
min-width: 100% !important;
|
|
margin-left: 0 !important;
|
|
margin-right: 0 !important;
|
|
padding: 28rpx;
|
|
font-size: 34rpx;
|
|
font-weight: 500;
|
|
color: #fff;
|
|
background: #07C160;
|
|
border: none;
|
|
border-radius: 16rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.wechat-btn::after {
|
|
border: none;
|
|
}
|
|
|
|
.wechat-btn.loading {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.wechat-icon {
|
|
width: 48rpx;
|
|
height: 40rpx;
|
|
}
|
|
|
|
.phone-btn {
|
|
width: 100% !important;
|
|
min-width: 100% !important;
|
|
margin-left: 0 !important;
|
|
margin-right: 0 !important;
|
|
padding: 28rpx;
|
|
font-size: 34rpx;
|
|
font-weight: 500;
|
|
color: #333;
|
|
background: #fff;
|
|
border: 2rpx solid #E5E5E5;
|
|
border-radius: 16rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.phone-btn::after {
|
|
border: none;
|
|
}
|
|
|
|
.phone-icon {
|
|
width: 36rpx;
|
|
height: 36rpx;
|
|
}
|
|
|
|
.btn-hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* 协议区域 */
|
|
.agreement-section {
|
|
margin-top: 32rpx;
|
|
width: 100%;
|
|
padding-left: 40rpx;
|
|
}
|
|
|
|
.agreement-label {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12rpx;
|
|
}
|
|
|
|
checkbox {
|
|
transform: scale(0.7);
|
|
margin: 0;
|
|
padding: 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 将 checkbox 改为圆形 */
|
|
checkbox .wx-checkbox-input {
|
|
border-radius: 50% !important;
|
|
width: 36rpx !important;
|
|
height: 36rpx !important;
|
|
}
|
|
|
|
checkbox .wx-checkbox-input-checked {
|
|
background-color: #07c160 !important;
|
|
border-color: #07c160 !important;
|
|
}
|
|
|
|
checkbox .wx-checkbox-input-checked::before {
|
|
border-radius: 50%;
|
|
width: 36rpx;
|
|
height: 36rpx;
|
|
line-height: 36rpx;
|
|
text-align: center;
|
|
font-size: 24rpx;
|
|
color: #fff;
|
|
background: transparent;
|
|
transform: translate(-50%, -50%) scale(1);
|
|
}
|
|
|
|
.agreement-text {
|
|
flex: 1;
|
|
font-size: 24rpx;
|
|
line-height: 1.6;
|
|
color: #999;
|
|
}
|
|
|
|
.normal-text {
|
|
color: #999;
|
|
}
|
|
|
|
.link-text {
|
|
color: #07c160;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.bottom-indicator {
|
|
position: absolute;
|
|
bottom: 16rpx;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 268rpx;
|
|
height: 10rpx;
|
|
background: #000;
|
|
border-radius: 6rpx;
|
|
}
|