169 lines
3.0 KiB
Plaintext
169 lines
3.0 KiB
Plaintext
/* 极简居中卡片设计 - 世界级UI */
|
|
|
|
/* 遮罩 */
|
|
.mask {
|
|
position: fixed;
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
background: rgba(0,0,0,0.45);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9999;
|
|
backdrop-filter: blur(6rpx);
|
|
}
|
|
|
|
/* 卡片 */
|
|
.card {
|
|
width: 640rpx;
|
|
background: #ffffff;
|
|
border-radius: 32rpx;
|
|
padding: 60rpx 48rpx 48rpx;
|
|
box-shadow: 0 20rpx 60rpx rgba(0,0,0,0.08);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
animation: fadeIn 0.3s ease;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: scale(0.95); }
|
|
to { opacity: 1; transform: scale(1); }
|
|
}
|
|
|
|
/* 图标区域 */
|
|
.icon-box {
|
|
width: 96rpx;
|
|
height: 96rpx;
|
|
border-radius: 50%;
|
|
background: #f0f4ff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
.icon {
|
|
width: 52rpx;
|
|
height: 52rpx;
|
|
}
|
|
|
|
/* 标题 */
|
|
.title {
|
|
font-size: 40rpx;
|
|
font-weight: 600;
|
|
color: #1a1a1a;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 26rpx;
|
|
color: #999;
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
/* 步骤 */
|
|
.step {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.step-number {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
border-radius: 50%;
|
|
background: #f0f4ff;
|
|
color: #4a6cf7;
|
|
font-size: 24rpx;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-right: 16rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.step-text {
|
|
font-size: 28rpx;
|
|
color: #444;
|
|
}
|
|
|
|
/* 头像按钮 */
|
|
.avatar-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 100rpx;
|
|
background: #f8f9ff;
|
|
border: 2rpx solid #eef0f6;
|
|
border-radius: 20rpx;
|
|
padding: 0 24rpx;
|
|
margin-bottom: 32rpx;
|
|
box-sizing: border-box;
|
|
text-align: left;
|
|
}
|
|
|
|
.avatar-img {
|
|
width: 68rpx;
|
|
height: 68rpx;
|
|
border-radius: 50%;
|
|
background: #eee;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.avatar-tip {
|
|
margin-left: 20rpx;
|
|
font-size: 26rpx;
|
|
color: #666;
|
|
}
|
|
|
|
/* 手机号按钮 */
|
|
.phone-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 96rpx;
|
|
background: #4a6cf7;
|
|
border-radius: 48rpx;
|
|
justify-content: center;
|
|
margin-bottom: 40rpx;
|
|
padding: 0;
|
|
border: none;
|
|
color: #fff;
|
|
font-size: 30rpx;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.phone-icon {
|
|
margin-right: 12rpx;
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
/* 提交按钮 */
|
|
.submit-btn {
|
|
width: 100%;
|
|
height: 96rpx;
|
|
background: #1a1a1a;
|
|
border-radius: 48rpx;
|
|
color: #fff;
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: none;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
.submit-btn[disabled] {
|
|
background: #ccc;
|
|
color: #fff;
|
|
}
|
|
|
|
/* 退出 */
|
|
.exit {
|
|
font-size: 26rpx;
|
|
color: #aaa;
|
|
padding: 8rpx 0;
|
|
} |