2025-08-15 11:14:42 +08:00
|
|
|
/* ========== 基础 ========== */
|
2025-05-17 23:17:14 +08:00
|
|
|
.page {
|
2025-08-15 11:14:42 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 72rpx 32rpx 48rpx;
|
2025-05-17 23:17:14 +08:00
|
|
|
background-color: #ffffff;
|
2025-08-15 11:14:42 +08:00
|
|
|
min-height: 100vh;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2025-07-20 18:22:59 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.logo {
|
|
|
|
width: 220rpx;
|
|
|
|
height: 220rpx;
|
|
|
|
border-radius: 24rpx;
|
|
|
|
box-shadow: 0 8rpx 24rpx rgba(0,0,0,0.06);
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.title-wrap {
|
|
|
|
margin-top: 24rpx;
|
|
|
|
align-items: center;
|
|
|
|
text-align: center;
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.title {
|
|
|
|
font-size: 40rpx;
|
|
|
|
line-height: 1.2;
|
2025-05-17 23:17:14 +08:00
|
|
|
color: #1c2023;
|
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.subtitle {
|
|
|
|
margin-top: 12rpx;
|
|
|
|
font-size: 28rpx;
|
|
|
|
color: #666a73;
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.bold-text { font-weight: 700; }
|
|
|
|
|
|
|
|
/* ========== 卡片容器 ========== */
|
|
|
|
.card {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 32rpx;
|
|
|
|
background: #fff;
|
|
|
|
border-radius: 24rpx;
|
|
|
|
box-shadow: 0 10rpx 28rpx rgba(0,0,0,0.06);
|
|
|
|
padding: 28rpx;
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
/* ========== 标签切换 ========== */
|
|
|
|
.tabs {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 32rpx;
|
|
|
|
padding: 8rpx 4rpx 20rpx;
|
|
|
|
border-bottom: 1rpx solid #f1f1f1;
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.tab {
|
|
|
|
font-size: 28rpx;
|
|
|
|
color: #666a73;
|
|
|
|
padding: 8rpx 6rpx;
|
|
|
|
position: relative;
|
|
|
|
transition: color .2s, transform .2s;
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.tab.active {
|
|
|
|
color: #1c2023;
|
|
|
|
font-weight: 700;
|
|
|
|
transform: translateY(-1rpx);
|
2025-07-20 18:22:59 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.tab.active::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: -12rpx;
|
|
|
|
height: 6rpx;
|
|
|
|
background: #ff8d1a;
|
|
|
|
border-radius: 6rpx;
|
2025-07-20 18:22:59 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
/* ========== 表单区 ========== */
|
|
|
|
.form { padding-top: 24rpx; }
|
|
|
|
|
|
|
|
.field {
|
|
|
|
background: #fff;
|
|
|
|
border: 1rpx solid #e9e9ec;
|
|
|
|
border-radius: 16rpx;
|
|
|
|
padding: 20rpx 24rpx;
|
|
|
|
box-shadow: 0 6rpx 16rpx rgba(0,0,0,0.04);
|
|
|
|
margin-top: 20rpx;
|
2025-06-10 09:14:39 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.field-input {
|
|
|
|
width: 100%;
|
2025-05-17 23:17:14 +08:00
|
|
|
font-size: 30rpx;
|
2025-08-15 11:14:42 +08:00
|
|
|
color: #1c2023;
|
|
|
|
line-height: 44rpx;
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.field-input:focus {
|
|
|
|
outline: none;
|
|
|
|
border: none;
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.field:focus-within {
|
|
|
|
border-color: #ff8d1a;
|
|
|
|
box-shadow: 0 8rpx 24rpx rgba(255,141,26,0.12);
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.ph { color: #9aa0a6; }
|
|
|
|
|
|
|
|
/* 输入+验证码并排 */
|
|
|
|
.field-row {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 16rpx;
|
|
|
|
padding-right: 16rpx;
|
|
|
|
margin-bottom: 26rpx;
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.flex-1 { flex: 1; }
|
|
|
|
|
|
|
|
/* 验证码按钮 */
|
|
|
|
.code-btn {
|
|
|
|
height: 44rpx;
|
|
|
|
padding: 0 24rpx;
|
|
|
|
background: #ff8d1a;
|
|
|
|
border-radius: 14rpx;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
box-shadow: 0 8rpx 18rpx rgba(255,141,26,0.25);
|
|
|
|
active-opacity: 0.85;
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.code-btn:active { transform: scale(0.98); }
|
|
|
|
|
|
|
|
.code-btn-text {
|
|
|
|
color: #fff;
|
|
|
|
font-size: 24rpx;
|
|
|
|
font-weight: 600;
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
/* 忘记密码链接 */
|
|
|
|
.link-right {
|
|
|
|
margin-top: 16rpx;
|
|
|
|
font-size: 26rpx;
|
|
|
|
color: #666a73;
|
|
|
|
align-self: flex-end;
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
/* 登录按钮 */
|
|
|
|
.btn-primary {
|
|
|
|
margin-top: 32rpx;
|
|
|
|
height: 96rpx;
|
|
|
|
border-radius: 18rpx;
|
|
|
|
background: linear-gradient(180deg, #ff9a2d 0%, #ff8d1a 100%);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
box-shadow: 0 14rpx 28rpx rgba(255,141,26,0.28);
|
|
|
|
transition: transform .06s ease-in-out;
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.btn-primary:active { transform: scale(0.985); }
|
|
|
|
|
|
|
|
.btn-primary-text {
|
|
|
|
color: #ffffff;
|
|
|
|
font-size: 32rpx;
|
|
|
|
font-weight: 700;
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
/* 协议区 */
|
|
|
|
.agreements {
|
|
|
|
margin-top: 28rpx;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 16rpx;
|
2025-07-20 18:22:59 +08:00
|
|
|
}
|
|
|
|
|
2025-08-15 11:14:42 +08:00
|
|
|
.checkbox { transform: scale(0.92); }
|
|
|
|
|
|
|
|
.agreements-text {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 8rpx;
|
|
|
|
line-height: 1.4;
|
2025-07-20 18:22:59 +08:00
|
|
|
}
|
|
|
|
|
2025-08-15 11:14:42 +08:00
|
|
|
.muted { color: #666a73; font-size: 26rpx; }
|
|
|
|
.link { color: #ff5e00; font-size: 26rpx; }
|
|
|
|
.link-strong { color: #ff5e00; font-size: 28rpx; font-weight: 700; }
|
|
|
|
|
|
|
|
/* 注册区 */
|
|
|
|
.register {
|
|
|
|
margin-top: 24rpx;
|
|
|
|
text-align: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
gap: 8rpx;
|
2025-07-20 18:22:59 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
/* 加入我们 CTA */
|
|
|
|
.cta-join {
|
|
|
|
margin-top: 48rpx;
|
|
|
|
padding: 16rpx 22rpx;
|
|
|
|
border: 1rpx solid #ff8d1a;
|
|
|
|
border-radius: 14rpx;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 12rpx;
|
2025-05-17 23:17:14 +08:00
|
|
|
}
|
2025-08-15 11:14:42 +08:00
|
|
|
|
|
|
|
.cta-join-text { color: #ff8d1a; font-size: 28rpx; }
|
|
|
|
.cta-join-img { width: 44rpx; height: 44rpx; }
|
|
|
|
|
|
|
|
/* ========== 兼容你原先用到的类名(可选保留) ========== */
|
|
|
|
.font { font-size: 37.5rpx; color: #1c2023; }
|
|
|
|
.font_2 { font-size: 30rpx; color: #1c2023; }
|
|
|
|
.font_4 { font-size: 26rpx; color: #383838; }
|
|
|
|
.font_5 { font-size: 26rpx; color: #ff5e00; }
|
|
|
|
|
|
|
|
.toggle-text { font-size: 28rpx; transition: font-size .2s; }
|
|
|
|
.toggle-text.active { font-size: 36rpx; font-weight: 700; }
|
|
|
|
|
|
|
|
/* 简易工具类(若你全局已有可删除) */
|
|
|
|
.items-center { align-items: center; }
|
|
|
|
.self-center { align-self: center; }
|
|
|
|
.self-end { align-self: flex-end; }
|
|
|
|
.justify-evenly { justify-content: space-evenly; }
|
|
|
|
.relative { position: relative; }
|
|
|
|
.shrink-0 { flex-shrink: 0; }
|
|
|
|
.ml-2 { margin-left: 16rpx; }
|
|
|
|
.ml-8 { margin-left: 32rpx; }
|
|
|
|
.ml-12 { margin-left: 48rpx; }
|
|
|
|
.mt-12 { margin-top: 24rpx; }
|
|
|
|
.mt-20 { margin-top: 40rpx; }
|