253 lines
3.8 KiB
Plaintext

/* ====== 未登录 ====== */
.not-logged {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: #f5f7fa;
}
.not-logged-inner {
display: flex;
flex-direction: column;
align-items: center;
gap: 32rpx;
}
.not-logged-tip {
font-size: 28rpx;
color: #999;
}
.go-login-btn {
width: 400rpx !important;
height: 88rpx;
line-height: 88rpx;
background: #1a56db;
color: #fff;
font-size: 30rpx;
font-weight: 600;
border-radius: 12rpx;
border: none;
}
.go-login-btn::after {
border: none;
}
/* ====== 已登录页面 ====== */
.mine-page {
min-height: 100vh;
background: #f0f2f5;
}
/* ====== 蓝色头部 ====== */
.header {
position: relative;
width: 100%;
overflow: visible;
}
.header-bg {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 520rpx;
background: linear-gradient(180deg, #1a3a8a 0%, #1a56db 100%);
border-radius: 0 0 40rpx 40rpx;
}
.status-bar {
height: env(safe-area-inset-top, 44px);
position: relative;
}
.nav-bar {
position: relative;
height: 88rpx;
display: flex;
align-items: center;
justify-content: center;
}
.nav-title {
font-size: 34rpx;
font-weight: 600;
color: #ffffff;
}
/* ====== 头像区 ====== */
.profile-section {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
padding: 20rpx 0 40rpx;
}
.avatar-wrap {
position: relative;
width: 160rpx;
height: 160rpx;
}
.avatar {
width: 160rpx;
height: 160rpx;
border-radius: 50%;
border: 6rpx solid rgba(255, 255, 255, 0.4);
}
.camera-icon {
position: absolute;
right: 4rpx;
bottom: 4rpx;
width: 48rpx;
height: 48rpx;
background: #1a56db;
border: 4rpx solid #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.camera-text {
font-size: 24rpx;
}
.phone-text {
margin-top: 16rpx;
font-size: 32rpx;
font-weight: 600;
color: #ffffff;
letter-spacing: 2rpx;
}
/* ====== 内容区 ====== */
.content {
position: relative;
margin-top: -20rpx;
padding: 0 28rpx;
padding-bottom: 40rpx;
}
/* ====== 积分 & 证书双卡 ====== */
.stat-row {
display: flex;
gap: 20rpx;
}
.stat-card {
flex: 1;
background: #ffffff;
border-radius: 16rpx;
padding: 28rpx 24rpx;
display: flex;
align-items: center;
justify-content: space-between;
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
}
.stat-left {
display: flex;
flex-direction: column;
}
.stat-num {
font-size: 48rpx;
font-weight: 800;
color: #1a1a1a;
line-height: 1.1;
}
.stat-label {
font-size: 24rpx;
color: #999;
margin-top: 8rpx;
}
.stat-icon {
width: 80rpx;
height: 80rpx;
flex-shrink: 0;
}
/* ====== 身份认证条 ====== */
.auth-bar {
margin-top: 20rpx;
background: linear-gradient(135deg, #1a3a8a 0%, #1a56db 100%);
border-radius: 16rpx;
padding: 28rpx 30rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.auth-left {
display: flex;
flex-direction: column;
}
.auth-title {
font-size: 32rpx;
font-weight: 700;
color: #ffffff;
}
.auth-desc {
font-size: 22rpx;
color: rgba(255, 255, 255, 0.7);
margin-top: 6rpx;
}
.auth-badge {
display: flex;
align-items: center;
gap: 8rpx;
background: rgba(255, 255, 255, 0.2);
border-radius: 30rpx;
padding: 10rpx 24rpx;
}
.auth-badge-icon {
font-size: 28rpx;
}
.auth-badge-text {
font-size: 24rpx;
color: #ffffff;
white-space: nowrap;
}
/* ====== 功能入口卡 ====== */
.func-card {
margin-top: 20rpx;
background: #ffffff;
border-radius: 16rpx;
padding: 36rpx 0;
display: flex;
align-items: center;
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
}
.func-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 14rpx;
}
.func-icon {
width: 64rpx;
height: 64rpx;
}
.func-text {
font-size: 24rpx;
color: #333;
}