339 lines
5.8 KiB
Plaintext
Raw Normal View History

2026-03-31 23:27:35 +08:00
/* ====== 未登录 ====== */
.not-logged {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
2026-04-30 17:16:30 +08:00
background: linear-gradient(160deg, #e8eeff 0%, #f5f7fa 100%);
2026-03-30 18:08:27 +08:00
}
2026-03-31 23:27:35 +08:00
.not-logged-inner {
2026-03-30 18:08:27 +08:00
display: flex;
flex-direction: column;
align-items: center;
2026-04-30 17:16:30 +08:00
gap: 36rpx;
2026-03-31 23:27:35 +08:00
}
.not-logged-tip {
font-size: 28rpx;
2026-04-30 17:16:30 +08:00
color: #888;
letter-spacing: 1rpx;
2026-03-30 18:08:27 +08:00
}
2026-03-31 23:27:35 +08:00
.go-login-btn {
2026-04-30 17:16:30 +08:00
width: 440rpx !important;
2026-03-31 23:27:35 +08:00
height: 88rpx;
line-height: 88rpx;
2026-04-30 17:16:30 +08:00
background: linear-gradient(135deg, #1a57b2 0%, #3a7bd5 100%);
2026-03-31 23:27:35 +08:00
color: #fff;
font-size: 30rpx;
font-weight: 600;
2026-04-30 17:16:30 +08:00
border-radius: 44rpx;
2026-03-31 23:27:35 +08:00
border: none;
2026-04-30 17:16:30 +08:00
box-shadow: 0 8rpx 24rpx rgba(26, 87, 178, 0.3);
2026-03-31 23:27:35 +08:00
}
.go-login-btn::after {
border: none;
}
/* ====== 已登录页面 ====== */
.mine-page {
min-height: 100vh;
2026-05-09 16:19:37 +08:00
background: #f5f6f8;
2026-03-31 23:27:35 +08:00
}
/* ====== 蓝色头部 ====== */
.header {
position: relative;
2026-03-30 18:08:27 +08:00
width: 100%;
2026-04-30 17:16:30 +08:00
height: 360rpx;
2026-04-03 17:57:08 +08:00
overflow: hidden;
2026-04-30 17:16:30 +08:00
border-radius: 0 0 60rpx 60rpx;
2026-03-30 18:08:27 +08:00
}
2026-03-31 23:27:35 +08:00
.header-bg {
position: absolute;
top: 0;
left: 0;
2026-04-03 17:57:08 +08:00
width: 100%;
height: 100%;
2026-03-30 18:08:27 +08:00
}
2026-04-03 17:57:08 +08:00
.header-mask {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
2026-04-30 17:16:30 +08:00
background: linear-gradient(160deg, rgba(15, 60, 160, 0.7) 0%, rgba(26, 86, 219, 0.45) 100%);
2026-03-31 23:27:35 +08:00
}
/* ====== 头像区 ====== */
.profile-section {
2026-03-30 18:08:27 +08:00
display: flex;
2026-03-31 23:27:35 +08:00
flex-direction: column;
2026-03-30 18:08:27 +08:00
align-items: center;
2026-04-30 17:16:30 +08:00
margin-top: -88rpx;
margin-bottom: 32rpx;
2026-03-31 23:27:35 +08:00
}
2026-05-09 16:19:37 +08:00
.avatar-wrap,
.avatar-wrapper {
2026-03-31 23:27:35 +08:00
position: relative;
2026-04-30 17:16:30 +08:00
width: 168rpx;
height: 168rpx;
2026-05-09 16:19:37 +08:00
padding: 0;
margin: 0;
background: transparent;
border: none;
border-radius: 50%;
line-height: 1;
overflow: visible;
}
.avatar-wrapper::after {
border: none;
2026-03-30 18:08:27 +08:00
}
.avatar {
2026-04-30 17:16:30 +08:00
width: 168rpx;
height: 168rpx;
2026-03-30 18:08:27 +08:00
border-radius: 50%;
2026-04-30 17:16:30 +08:00
border: 6rpx solid #fff;
box-shadow: 0 8rpx 32rpx rgba(26, 87, 178, 0.2);
2026-03-30 18:08:27 +08:00
}
2026-03-31 23:27:35 +08:00
.camera-icon {
position: absolute;
2026-05-09 16:19:37 +08:00
right: -4rpx;
bottom: -4rpx;
2026-04-30 17:16:30 +08:00
width: 48rpx;
height: 48rpx;
background: linear-gradient(135deg, #1a57b2 0%, #3a7bd5 100%);
border: 4rpx solid #fff;
2026-03-31 23:27:35 +08:00
border-radius: 50%;
2026-03-30 18:08:27 +08:00
display: flex;
align-items: center;
2026-03-31 23:27:35 +08:00
justify-content: center;
2026-04-30 17:16:30 +08:00
box-shadow: 0 2rpx 8rpx rgba(26, 87, 178, 0.3);
}
.camera-icon image {
width: 26rpx;
height: 26rpx;
2026-03-31 23:27:35 +08:00
}
.camera-text {
2026-03-30 18:08:27 +08:00
font-size: 24rpx;
}
2026-04-03 17:57:08 +08:00
.auth-badge-icon {
2026-04-30 17:16:30 +08:00
width: 36rpx;
height: 36rpx;
flex-shrink: 0;
2026-04-03 17:57:08 +08:00
}
2026-04-30 17:16:30 +08:00
2026-03-31 23:27:35 +08:00
.phone-text {
2026-04-30 17:16:30 +08:00
margin-top: 20rpx;
font-size: 32rpx;
font-weight: 700;
color: #1a1a1a;
letter-spacing: 2rpx;
2026-03-31 23:27:35 +08:00
}
/* ====== 内容区 ====== */
.content {
2026-04-30 17:16:30 +08:00
padding: 0 28rpx 60rpx;
2026-03-31 23:27:35 +08:00
}
/* ====== 积分 & 证书双卡 ====== */
.stat-row {
display: flex;
gap: 20rpx;
2026-04-30 17:16:30 +08:00
margin-bottom: 20rpx;
2026-03-31 23:27:35 +08:00
}
.stat-card {
2026-03-30 18:08:27 +08:00
flex: 1;
2026-04-30 17:16:30 +08:00
border-radius: 20rpx;
padding: 28rpx 24rpx 20rpx;
2026-03-31 23:27:35 +08:00
display: flex;
align-items: center;
justify-content: space-between;
2026-04-30 17:16:30 +08:00
overflow: hidden;
box-shadow: 0 6rpx 24rpx rgba(26, 87, 178, 0.1);
2026-03-30 18:08:27 +08:00
}
2026-04-03 17:57:08 +08:00
.stat-card:first-child {
2026-04-30 17:16:30 +08:00
background: linear-gradient(135deg, #c5caff 0%, #eef0ff 100%);
2026-04-03 17:57:08 +08:00
}
.stat-card:last-child {
2026-04-30 17:16:30 +08:00
background: linear-gradient(135deg, #ffe49a 0%, #fff8e0 100%);
2026-04-03 17:57:08 +08:00
}
2026-03-31 23:27:35 +08:00
.stat-left {
display: flex;
flex-direction: column;
2026-03-30 18:08:27 +08:00
}
2026-03-31 23:27:35 +08:00
.stat-num {
2026-04-30 17:16:30 +08:00
font-size: 52rpx;
2026-03-31 23:27:35 +08:00
font-weight: 800;
color: #1a1a1a;
2026-04-30 17:16:30 +08:00
line-height: 1;
2026-03-30 18:08:27 +08:00
}
2026-03-31 23:27:35 +08:00
.stat-label {
font-size: 24rpx;
2026-04-30 17:16:30 +08:00
color: #4a4e7a;
margin-top: 10rpx;
font-weight: 500;
2026-03-30 18:08:27 +08:00
}
2026-03-31 23:27:35 +08:00
.stat-icon {
2026-04-30 17:16:30 +08:00
width: 140rpx;
height: 140rpx;
2026-03-31 23:27:35 +08:00
flex-shrink: 0;
2026-04-30 17:16:30 +08:00
opacity: 0.92;
2026-03-30 18:08:27 +08:00
}
2026-03-31 23:27:35 +08:00
/* ====== 身份认证条 ====== */
.auth-bar {
2026-04-30 17:16:30 +08:00
margin-bottom: 20rpx;
2026-04-03 17:57:08 +08:00
background: url('https://yuedong-wechatapplet.oss-cn-shanghai.aliyuncs.com/static/event_miniapp/idcard-bg.png');
background-size: 100% 100%;
2026-04-30 17:16:30 +08:00
border-radius: 20rpx;
padding: 32rpx 30rpx;
2026-03-31 23:27:35 +08:00
display: flex;
align-items: center;
justify-content: space-between;
2026-04-30 17:16:30 +08:00
box-shadow: 0 6rpx 24rpx rgba(26, 87, 178, 0.18);
2026-03-30 18:08:27 +08:00
}
2026-03-31 23:27:35 +08:00
.auth-left {
2026-03-30 18:08:27 +08:00
display: flex;
flex-direction: column;
}
2026-03-31 23:27:35 +08:00
.auth-title {
font-size: 32rpx;
font-weight: 700;
color: #ffffff;
2026-04-30 17:16:30 +08:00
letter-spacing: 1rpx;
2026-03-30 18:08:27 +08:00
}
2026-03-31 23:27:35 +08:00
.auth-desc {
font-size: 22rpx;
2026-04-30 17:16:30 +08:00
color: rgba(255, 255, 255, 0.72);
margin-top: 8rpx;
2026-03-30 18:08:27 +08:00
}
2026-03-31 23:27:35 +08:00
.auth-badge {
2026-04-30 17:16:30 +08:00
background: linear-gradient(135deg, #d0d0d0 0%, #a8a8a8 100%);
2026-04-03 17:57:08 +08:00
border-radius: 34rpx;
2026-04-30 17:16:30 +08:00
width: 176rpx;
2026-04-03 17:57:08 +08:00
height: 64rpx;
display: flex;
align-items: center;
justify-content: center;
2026-04-30 17:16:30 +08:00
gap: 8rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.15);
2026-03-30 18:08:27 +08:00
}
2026-04-03 17:57:08 +08:00
.auth-badge-y {
2026-04-30 17:16:30 +08:00
background: linear-gradient(135deg, #f0b94a 0%, #cc8213 100%);
box-shadow: 0 2rpx 12rpx rgba(204, 130, 19, 0.4);
2026-03-30 18:08:27 +08:00
}
2026-03-31 23:27:35 +08:00
.auth-badge-text {
2026-03-30 18:08:27 +08:00
font-size: 24rpx;
2026-03-31 23:27:35 +08:00
color: #ffffff;
white-space: nowrap;
2026-04-30 17:16:30 +08:00
font-weight: 600;
2026-03-30 18:08:27 +08:00
}
2026-04-03 17:57:08 +08:00
/* ====== 功能入口:三个独立阴影卡片 ====== */
.func-list {
2026-03-31 23:27:35 +08:00
display: flex;
2026-04-03 17:57:08 +08:00
flex-direction: column;
2026-04-30 17:16:30 +08:00
gap: 0;
background: #fff;
border-radius: 20rpx;
overflow: hidden;
box-shadow: 0 6rpx 28rpx rgba(26, 87, 178, 0.08);
margin-bottom: 20rpx;
2026-03-30 18:08:27 +08:00
}
2026-04-03 17:57:08 +08:00
.func-menu-card {
2026-03-31 23:27:35 +08:00
display: flex;
2026-04-03 17:57:08 +08:00
flex-direction: row;
2026-03-31 23:27:35 +08:00
align-items: center;
2026-04-30 17:16:30 +08:00
background: #fff;
padding: 36rpx 28rpx 36rpx 28rpx;
border-bottom: 1rpx solid #f0f2f8;
position: relative;
}
.func-menu-card:last-child {
border-bottom: none;
}
.func-menu-icon-wrap {
width: 72rpx;
height: 72rpx;
border-radius: 18rpx;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
margin-right: 24rpx;
2026-03-30 18:08:27 +08:00
}
2026-04-03 17:57:08 +08:00
.func-menu-icon {
2026-04-30 17:16:30 +08:00
width: 44rpx;
height: 44rpx;
2026-04-03 17:57:08 +08:00
flex-shrink: 0;
2026-03-31 23:27:35 +08:00
}
2026-04-03 17:57:08 +08:00
.func-menu-text {
flex: 1;
2026-04-30 17:16:30 +08:00
font-size: 30rpx;
2026-04-03 17:57:08 +08:00
color: #1a1a1a;
font-weight: 500;
2026-04-30 17:16:30 +08:00
letter-spacing: 0.5rpx;
2026-05-09 16:19:37 +08:00
font-size: 26rpx;
margin-left: 10rpx;
2026-04-03 17:57:08 +08:00
}
.func-menu-arrow {
flex-shrink: 0;
font-size: 40rpx;
line-height: 1;
2026-04-30 17:16:30 +08:00
color: #c0c4d0;
2026-04-03 17:57:08 +08:00
font-weight: 300;
2026-03-30 18:08:27 +08:00
}
2026-04-30 17:16:30 +08:00
/* ====== 退出登录 ====== */
.logout-btn {
display: block;
width: 100%;
margin: 0;
height: 96rpx;
line-height: 96rpx;
background: #fff;
color: #e53935;
2026-05-09 16:19:37 +08:00
font-size: 28rpx;
2026-04-30 17:16:30 +08:00
font-weight: 500;
border-radius: 20rpx;
border: none;
box-shadow: 0 6rpx 28rpx rgba(26, 87, 178, 0.08);
letter-spacing: 2rpx;
}
.logout-btn::after {
border: none;
}