dingdanquanliucheng/frontend/mini-app/pages/my/my.wxss
2026-06-01 11:24:20 +08:00

135 lines
1.7 KiB
Plaintext

.my-page {
padding: 28rpx;
display: grid;
gap: 20rpx;
padding-bottom: 140rpx;
}
.header {
padding: 32rpx;
display: flex;
align-items: center;
gap: 24rpx;
}
.avatar {
width: 96rpx;
height: 96rpx;
border-radius: 50%;
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.avatar-text {
color: #ffffff;
font-size: 38rpx;
font-weight: 800;
}
.user-name {
font-size: 34rpx;
font-weight: 800;
color: #0f172a;
}
.user-role {
font-size: 24rpx;
color: #64748b;
margin-top: 4rpx;
}
.stats-card {
padding: 28rpx;
}
.stats-row {
display: flex;
justify-content: space-around;
}
.stat-item {
text-align: center;
}
.stat-value {
font-size: 40rpx;
font-weight: 800;
color: #2563eb;
}
.stat-label {
font-size: 22rpx;
color: #64748b;
margin-top: 6rpx;
}
.menu-card {
padding: 0;
}
.menu-item {
display: flex;
align-items: center;
padding: 28rpx 32rpx;
border-bottom: 1rpx solid #f1f5f9;
}
.menu-item:last-child {
border-bottom: none;
}
.menu-dot {
width: 16rpx;
height: 16rpx;
border-radius: 50%;
flex-shrink: 0;
}
.menu-dot.blue {
background: #2563eb;
}
.menu-dot.orange {
background: #f59e0b;
}
.menu-dot.green {
background: #059669;
}
.menu-dot.gray {
background: #94a3b8;
}
.menu-text {
flex: 1;
font-size: 28rpx;
color: #0f172a;
margin-left: 20rpx;
font-weight: 500;
}
.menu-arrow {
color: #cbd5e1;
font-size: 28rpx;
}
.logout-btn {
width: 100%;
height: 88rpx;
line-height: 88rpx;
margin-top: 8rpx;
font-size: 30rpx;
border-radius: 22rpx;
}
.version-text {
text-align: center;
font-size: 22rpx;
color: #94a3b8;
padding: 16rpx 0;
}