277 lines
4.5 KiB
Plaintext
277 lines
4.5 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: #1a57b2;
|
|
color: #fff;
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
border-radius: 12rpx;
|
|
border: none;
|
|
border-radius: 32rpx;
|
|
}
|
|
|
|
.go-login-btn::after {
|
|
border: none;
|
|
}
|
|
|
|
/* ====== 已登录页面 ====== */
|
|
.mine-page {
|
|
min-height: 100vh;
|
|
background: #fff;
|
|
}
|
|
|
|
/* ====== 蓝色头部 ====== */
|
|
.header {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 340rpx;
|
|
overflow: hidden;
|
|
border-radius: 0 0 100rpx 100rpx;
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.header-bg {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.header-mask {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(26, 86, 219, 0.55);
|
|
}
|
|
|
|
/* ====== 头像区 ====== */
|
|
.profile-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
/* padding: 20rpx 0 40rpx; */
|
|
margin-bottom: 80rpx;
|
|
margin-top: -70px;
|
|
}
|
|
|
|
.avatar-wrap {
|
|
position: relative;
|
|
width: 160rpx;
|
|
height: 160rpx;
|
|
}
|
|
|
|
.avatar {
|
|
width: 160rpx;
|
|
height: 160rpx;
|
|
border-radius: 50%;
|
|
border: 2rpx solid rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
.camera-icon {
|
|
position: absolute;
|
|
right: -4rpx;
|
|
bottom: -4rpx;
|
|
width: 44rpx;
|
|
height: 44rpx;
|
|
background: #1a57b2;
|
|
/* border: 4rpx solid #fff; */
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.camera-text {
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.auth-badge-icon {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
}
|
|
.phone-text {
|
|
margin-top: 16rpx;
|
|
font-size: 28rpx;
|
|
font-weight: 600;
|
|
color: #000;
|
|
}
|
|
|
|
/* ====== 内容区 ====== */
|
|
.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: 6rpx 24rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.stat-card:first-child {
|
|
background: linear-gradient(135deg, #A6ADEF 0%, #00000000 100%);
|
|
}
|
|
|
|
.stat-card:last-child {
|
|
background: linear-gradient(135deg, #E5CD6790 0%, #00000000 100%);
|
|
}
|
|
|
|
.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: #313666;
|
|
margin-top: 8rpx;
|
|
}
|
|
|
|
.stat-icon {
|
|
width: 154rpx;
|
|
height: 154rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ====== 身份认证条 ====== */
|
|
.auth-bar {
|
|
margin-top: 20rpx;
|
|
/* background: linear-gradient(135deg, #1a3a8a 0%, #1a57b2 100%); */
|
|
background: url('https://yuedong-wechatapplet.oss-cn-shanghai.aliyuncs.com/static/event_miniapp/idcard-bg.png');
|
|
background-size: 100% 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: linear-gradient(135deg, #ECEBEB 0%, #AEAEAE 100%);
|
|
border-radius: 34rpx;
|
|
width: 180rpx;
|
|
height: 64rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
/* padding: 10rpx 24rpx; */
|
|
}
|
|
|
|
.auth-badge-y {
|
|
background: linear-gradient(135deg, #E5A84D 0%, #CC8213 100%);
|
|
}
|
|
|
|
|
|
|
|
.auth-badge-text {
|
|
font-size: 24rpx;
|
|
color: #ffffff;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* ====== 功能入口:三个独立阴影卡片 ====== */
|
|
.func-list {
|
|
margin-top: 20rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.func-menu-card {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
background: #ffffff;
|
|
border-radius: 16rpx;
|
|
padding: 28rpx 28rpx 28rpx 24rpx;
|
|
box-shadow: 0 8rpx 28rpx rgba(26, 87, 178, 0.08), 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.func-menu-icon {
|
|
width: 48rpx;
|
|
height: 48rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.func-menu-text {
|
|
flex: 1;
|
|
margin-left: 24rpx;
|
|
font-size: 24rpx;
|
|
color: #1a1a1a;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.func-menu-arrow {
|
|
flex-shrink: 0;
|
|
font-size: 40rpx;
|
|
line-height: 1;
|
|
color: #c8c8c8;
|
|
font-weight: 300;
|
|
}
|
|
|