Files
JayuCloud/WeChatProgram/pages/auth/index.wxss
T

411 lines
6.1 KiB
Plaintext

.auth-page-root {
min-height: 100vh;
overflow: visible;
}
.auth-scroll {
height: 100vh;
box-sizing: border-box;
}
.auth-page-shell {
min-height: 100%;
}
.auth-page {
background: var(--theme-page-bg);
}
.auth-content {
min-height: 100%;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
padding: 24rpx 24rpx calc(80rpx + env(safe-area-inset-bottom));
}
.auth-content.keyboard-active {
justify-content: flex-start;
align-items: stretch;
}
.auth-panel,
.reset-card {
width: 100%;
max-width: 680rpx;
padding: 30rpx 28rpx;
}
.auth-panel {
margin-top: 24rpx;
}
.reset-card {
margin-top: 18rpx;
margin-left: auto;
margin-right: auto;
}
.tab-row,
.toggle-row {
display: flex;
align-items: center;
gap: 12rpx;
}
.tab-row {
margin-bottom: 20rpx;
}
.toggle-row {
margin-bottom: 14rpx;
padding: 10rpx;
border-radius: 999rpx;
background: var(--theme-primary-soft);
}
.tab-item,
.toggle-item {
display: flex;
align-items: center;
justify-content: center;
flex: 1;
height: 76rpx;
border-radius: 999rpx;
color: #8d7a84;
font-size: 26rpx;
font-weight: 600;
}
.tab-item.active,
.toggle-item.active {
background: var(--theme-primary-soft);
color: var(--theme-primary);
}
.wechat-login-panel {
padding: 24rpx 22rpx;
border-radius: 28rpx;
background: var(--theme-gradient-soft);
border: 1rpx solid var(--theme-border);
box-shadow: 0 18rpx 38rpx rgba(122, 67, 88, 0.1);
}
.wechat-login-copy {
display: flex;
flex-direction: column;
gap: 8rpx;
}
.wechat-login-title {
display: block;
font-size: 29rpx;
font-weight: 700;
color: #2d2430;
}
.wechat-login-desc {
display: block;
font-size: 24rpx;
line-height: 1.6;
color: #8d7a84;
}
.wechat-login-btn {
margin-top: 18rpx;
}
.wechat-login-btn.primary-btn {
background: var(--theme-gradient);
box-shadow: 0 16rpx 36rpx rgba(122, 67, 88, 0.16);
}
.wechat-login-btn-disabled {
color: var(--theme-accent);
border-color: var(--theme-border);
background: rgba(255, 255, 255, 0.82);
}
.wechat-login-hint {
display: block;
margin-top: 14rpx;
font-size: 22rpx;
line-height: 1.6;
color: var(--theme-accent);
}
.mini-login-resume {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18rpx;
margin-top: 18rpx;
}
.mini-login-resume-text {
flex: 1;
min-width: 0;
}
.mini-login-resume-btn {
flex-shrink: 0;
}
.traditional-entry {
margin-top: 18rpx;
}
.traditional-entry-btn {
color: #7a5262;
background: rgba(255, 255, 255, 0.92);
}
.traditional-login-panel {
margin-top: 18rpx;
}
.login-divider {
display: flex;
align-items: center;
gap: 18rpx;
margin: 0 0 16rpx;
}
.login-divider-text {
flex-shrink: 0;
font-size: 22rpx;
color: #99858e;
}
.auth-helper {
margin-bottom: 4rpx;
font-size: 22rpx;
line-height: 1.6;
color: #8d7a84;
}
.field-block {
margin-top: 16rpx;
}
.code-row {
display: flex;
align-items: center;
gap: 14rpx;
}
.code-input {
flex: 1;
}
.code-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 180rpx;
height: 92rpx;
padding: 0 18rpx;
border-radius: 24rpx;
background: var(--theme-primary-soft);
color: var(--theme-primary);
font-size: 24rpx;
font-weight: 700;
}
.code-btn.disabled {
background: #f3e7eb;
color: #a998a0;
}
.aux-row {
display: flex;
justify-content: flex-end;
margin-top: 16rpx;
}
.aux-link {
font-size: 24rpx;
color: var(--theme-primary);
font-weight: 600;
}
.login-shop-tip {
margin-top: 16rpx;
}
.submit-btn {
margin-top: 24rpx;
}
.submit-btn.disabled {
opacity: 0.52;
}
.agreement-row {
display: flex;
align-items: flex-start;
gap: 14rpx;
margin-top: 22rpx;
color: #7a6871;
font-size: 23rpx;
line-height: 1.6;
}
.agreement-check {
display: flex;
align-items: center;
justify-content: center;
width: 34rpx;
height: 34rpx;
margin-top: 2rpx;
border: 2rpx solid #d9b8c4;
border-radius: 10rpx;
color: #ffffff;
font-size: 22rpx;
font-weight: 800;
flex-shrink: 0;
}
.agreement-check.checked {
border-color: var(--theme-primary);
background: var(--theme-primary);
}
.agreement-copy {
flex: 1;
min-width: 0;
}
.agreement-link {
color: var(--theme-primary);
font-weight: 700;
}
.mini-shop-agreement {
margin-top: 22rpx;
}
.wechat-agreement {
width: 100%;
margin-top: 18rpx;
text-align: left;
}
.agreement-mask {
position: fixed;
inset: 0;
z-index: 80;
display: flex;
align-items: center;
justify-content: center;
padding: 28rpx;
background: rgba(45, 36, 48, 0.42);
}
.agreement-modal {
width: 100%;
max-width: 690rpx;
max-height: 82vh;
padding: 30rpx 28rpx;
border-radius: 32rpx;
background: #ffffff;
}
.agreement-modal-title {
font-size: 32rpx;
line-height: 1.35;
font-weight: 800;
color: #2d2430;
}
.agreement-modal-meta {
margin-top: 10rpx;
font-size: 22rpx;
color: #9a8590;
}
.agreement-modal-body {
height: 640rpx;
max-height: 56vh;
margin-top: 22rpx;
padding: 20rpx;
border-radius: 22rpx;
background: var(--theme-primary-soft);
color: #5a4a52;
font-size: 24rpx;
line-height: 1.85;
box-sizing: border-box;
}
.agreement-modal-close {
margin-top: 22rpx;
}
.mini-shop-mask {
position: fixed;
inset: 0;
z-index: 60;
display: flex;
align-items: center;
justify-content: center;
padding: 24rpx;
background: rgba(45, 36, 48, 0.34);
}
.mini-shop-modal {
width: 100%;
max-width: 680rpx;
padding: 30rpx 28rpx;
border-radius: 36rpx;
background: #ffffff;
}
.mini-shop-kicker {
display: block;
font-size: 22rpx;
font-weight: 700;
letter-spacing: 2rpx;
color: var(--theme-primary);
}
.mini-shop-title {
display: block;
margin-top: 16rpx;
font-size: 34rpx;
line-height: 1.35;
font-weight: 700;
color: #2d2430;
}
.mini-shop-desc {
display: block;
margin-top: 14rpx;
font-size: 24rpx;
line-height: 1.75;
color: #8d7a84;
}
.mini-shop-field {
margin-top: 26rpx;
}
.mini-shop-note {
margin-top: 20rpx;
}
.mini-shop-actions {
display: flex;
gap: 16rpx;
margin-top: 24rpx;
}
.mini-shop-action {
flex: 1;
}
.keyboard-spacer {
width: 100%;
flex-shrink: 0;
}