美化了样式2.0
This commit is contained in:
@ -1,172 +1,182 @@
|
||||
.ml-13 {
|
||||
margin-left: 24.38rpx;
|
||||
}
|
||||
/* ===== 基础布局 ===== */
|
||||
.page {
|
||||
padding: 0rpx 49.74rpx 79.82rpx 49.74rpx;
|
||||
background-color: #ffffff;
|
||||
box-sizing: border-box;
|
||||
min-height: 100vh;
|
||||
padding: 64rpx 32rpx 48rpx;
|
||||
background: #ffffff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 200rpx;
|
||||
height: 200rpx;
|
||||
border-radius: 24rpx;
|
||||
box-shadow: 0 8rpx 24rpx rgba(0,0,0,0.06);
|
||||
}
|
||||
|
||||
.page-title {
|
||||
margin-top: 16rpx;
|
||||
font-size: 36rpx;
|
||||
color: #1c2023;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* ===== 卡片 ===== */
|
||||
.card {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
margin-top: 28rpx;
|
||||
background: #fff;
|
||||
border-radius: 24rpx;
|
||||
box-shadow: 0 10rpx 28rpx rgba(0,0,0,0.06);
|
||||
padding: 28rpx;
|
||||
}
|
||||
.register {
|
||||
margin-top: -30rpx;
|
||||
|
||||
.card-head {
|
||||
padding-bottom: 12rpx;
|
||||
border-bottom: 1rpx solid #f1f1f1;
|
||||
}
|
||||
.image {
|
||||
width: 232.5rpx;
|
||||
height: 232.5rpx;
|
||||
}
|
||||
.text {
|
||||
margin-top: 37.8rpx;
|
||||
|
||||
.card-title {
|
||||
font-size: 32rpx;
|
||||
color: #1c2023;
|
||||
font-size: 37.5rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 35.18rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
.group {
|
||||
margin-top: 86.36rpx;
|
||||
|
||||
.form {
|
||||
padding-top: 20rpx;
|
||||
}
|
||||
.font {
|
||||
|
||||
/* ===== 表单字段 ===== */
|
||||
.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: 18rpx;
|
||||
}
|
||||
|
||||
.field:focus-within {
|
||||
border-color: #ff8d1a;
|
||||
box-shadow: 0 8rpx 24rpx rgba(255,141,26,0.12);
|
||||
}
|
||||
|
||||
.field-input {
|
||||
width: 100%;
|
||||
font-size: 30rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 27.79rpx;
|
||||
color: #b3b3b3;
|
||||
}
|
||||
.text_2 {
|
||||
color: #1c2023;
|
||||
line-height: 28.2rpx;
|
||||
line-height: 44rpx;
|
||||
}
|
||||
.group_6 {
|
||||
padding-left: 2.76rpx;
|
||||
|
||||
.ph { color: #9aa0a6; }
|
||||
|
||||
.field-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16rpx;
|
||||
padding-right: 16rpx;
|
||||
}
|
||||
.section {
|
||||
padding: 20.63rpx 0 18.75rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 9.38rpx;
|
||||
box-shadow: 0rpx 3.75rpx 11.25rpx #00000040;
|
||||
|
||||
.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);
|
||||
transition: transform .08s ease-in-out, opacity .2s;
|
||||
}
|
||||
.text-wrapper_5 {
|
||||
margin-left: 16.88rpx;
|
||||
margin-right: 16.88rpx;
|
||||
|
||||
.code-btn:active { transform: scale(0.98); }
|
||||
|
||||
.code-btn.disabled {
|
||||
opacity: 0.55;
|
||||
box-shadow: none;
|
||||
}
|
||||
.view {
|
||||
padding: 15.92rpx 0 12.62rpx;
|
||||
background-color: #ffffff00;
|
||||
|
||||
.code-btn-text {
|
||||
color: #fff;
|
||||
font-size: 24rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
.section_1 {
|
||||
padding: 20.16rpx 0 19.22rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 9.38rpx;
|
||||
box-shadow: 0rpx 3.75rpx 7.5rpx #00000040;
|
||||
|
||||
/* ===== 协议区 ===== */
|
||||
.agreements {
|
||||
margin-top: 22rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14rpx;
|
||||
}
|
||||
.text-wrapper_1 {
|
||||
padding: 12.64rpx 0 15.92rpx;
|
||||
background-color: #ffffff00;
|
||||
|
||||
.agreements-text {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8rpx;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.section_3 {
|
||||
padding: 25.63rpx 16.88rpx 28.75rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 9.38rpx;
|
||||
box-shadow: 0rpx 3.75rpx 7.5rpx #00000040;
|
||||
|
||||
.muted { color: #666a73; font-size: 26rpx; }
|
||||
.link { color: #ff5e00; font-size: 26rpx; }
|
||||
.link-strong { color: #ff5e00; font-size: 28rpx; font-weight: 700; }
|
||||
|
||||
/* ===== 主按钮 ===== */
|
||||
.btn-primary {
|
||||
margin-top: 28rpx;
|
||||
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;
|
||||
}
|
||||
.text-wrapper_2 {
|
||||
flex: 1 1 0;
|
||||
}
|
||||
.view_6 {
|
||||
padding: 16.73rpx 0 11.74rpx;
|
||||
background-color: #ffffff00;
|
||||
height: 66.25rpx;
|
||||
}
|
||||
.text-wrapper_3 {
|
||||
margin-right: 15rpx;
|
||||
padding: 13.16rpx 0 10.93rpx;
|
||||
background-color: #ff8d1a;
|
||||
border-radius: 9.38rpx;
|
||||
width: 157.5rpx;
|
||||
height: 45rpx;
|
||||
}
|
||||
.text_7 {
|
||||
|
||||
.btn-primary:active { transform: scale(0.985); }
|
||||
|
||||
.btn-primary-text {
|
||||
color: #ffffff;
|
||||
font-size: 22.5rpx;
|
||||
font-family: AlibabaPuHuiTi;
|
||||
line-height: 20.91rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
.section_2 {
|
||||
padding: 20.63rpx 0 18.75rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 9.38rpx;
|
||||
box-shadow: 0rpx 3.75rpx 7.5rpx #00000040;
|
||||
|
||||
/* ===== 底部引导 ===== */
|
||||
.footer-tip {
|
||||
margin-top: 28rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8rpx;
|
||||
}
|
||||
.view_1 {
|
||||
padding: 11.7rpx 0 16.89rpx;
|
||||
background-color: #ffffff00;
|
||||
}
|
||||
.view_3 {
|
||||
padding: 11.96rpx 0 16.29rpx;
|
||||
background-color: #ffffff00;
|
||||
}
|
||||
.group_1 {
|
||||
padding: 0 2.76rpx;
|
||||
}
|
||||
.group_2 {
|
||||
line-height: 24.56rpx;
|
||||
height: 24.56rpx;
|
||||
}
|
||||
.font_2 {
|
||||
font-size: 26.25rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 24.49rpx;
|
||||
color: #ff5e00;
|
||||
}
|
||||
.text_10 {
|
||||
color: #1c2023;
|
||||
line-height: 24.56rpx;
|
||||
}
|
||||
.text_11 {
|
||||
color: #1c2023;
|
||||
font-size: 26.25rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 19.93rpx;
|
||||
}
|
||||
.text-wrapper_6 {
|
||||
margin-left: 2.76rpx;
|
||||
padding: 37.63rpx 0 32.27rpx;
|
||||
background-color: #ff8d1a;
|
||||
border-radius: 9.38rpx;
|
||||
}
|
||||
.text_12 {
|
||||
color: #ffffff;
|
||||
line-height: 27.6rpx;
|
||||
}
|
||||
.group_3 {
|
||||
margin-top: 37rpx;
|
||||
line-height: 24.36rpx;
|
||||
}
|
||||
.text_13 {
|
||||
color: #383838;
|
||||
line-height: 24.28rpx;
|
||||
}
|
||||
.text_14 {
|
||||
line-height: 24.36rpx;
|
||||
}
|
||||
.input {
|
||||
padding: 13.13rpx 16.26rpx 15rpx 16.26rpx;
|
||||
}
|
||||
.input_1 {
|
||||
padding: 13.13rpx 16.26rpx 15rpx 16.26rpx;
|
||||
}
|
||||
.input_2 {
|
||||
padding: 13.13rpx 16.26rpx 15rpx 16.26rpx;
|
||||
}
|
||||
.input_3 {
|
||||
padding: 13.13rpx 16.26rpx 15rpx 16.26rpx;
|
||||
}
|
||||
.input_4 {
|
||||
padding: 13.13rpx 16.26rpx 15rpx 16.26rpx;
|
||||
}
|
||||
.checkbox {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.checkbox .wx-checkbox-input {
|
||||
width: 37.5rpx;
|
||||
height: 37.5rpx;
|
||||
}
|
||||
|
||||
/* ===== 兼容你原先的类名(可选保留,避免影响其他样式) ===== */
|
||||
.flex-col { display: flex; flex-direction: column; }
|
||||
.flex-row { display: flex; flex-direction: row; }
|
||||
.items-center { align-items: center; }
|
||||
.self-center { align-self: center; }
|
||||
.self-start { align-self: flex-start; }
|
||||
.self-stretch { align-self: stretch; }
|
||||
.relative { position: relative; }
|
||||
.shrink-0 { flex-shrink: 0; }
|
||||
|
||||
.mt-20 { margin-top: 40rpx; }
|
||||
.mt-22 { margin-top: 44rpx; } /* 你原文件的 mt-22 语义留存 */
|
||||
.mt-26 { margin-top: 52rpx; }
|
||||
.ml-13 { margin-left: 26rpx; }
|
||||
.ml-18 { margin-left: 36rpx; }
|
||||
|
||||
/* 旧色彩类(若其他页面使用到,可保留) */
|
||||
.text { color: #1c2023; }
|
||||
.font { font-size: 36rpx; }
|
||||
.font_2 { font-size: 26rpx; color: #1c2023; }
|
||||
.text_10, .text_11 { font-size: 26rpx; }
|
||||
|
||||
/* 你原先的按钮类名占位(防止引用处报错) */
|
||||
.text-wrapper_6 { }
|
||||
|
Reference in New Issue
Block a user