Files
sundynix-radio-mp/pages/profile/index.wxss
T
2026-03-05 17:04:40 +08:00

263 lines
4.2 KiB
Plaintext

/* 个人中心 - 全新极简温暖主题 */
:root {
--primary-color: #F38600;
--bg-color: #F7F8FA;
--card-bg: #FFFFFF;
--text-main: #2C2C2C;
--text-sub: #8E8E93;
}
.profile-page {
min-height: 100vh;
background-color: #F9F9F9;
position: relative;
overflow-x: hidden;
}
/* 沉浸式头部 */
.header-section {
position: relative;
width: 100%;
padding-top: 140rpx;
padding-bottom: 80rpx;
z-index: 1;
}
.header-bg-shape {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, #FFF0E0 0%, #FFDFB8 100%);
border-bottom-left-radius: 64rpx;
border-bottom-right-radius: 64rpx;
z-index: -1;
box-shadow: 0 4rpx 24rpx rgba(243, 134, 0, 0.08);
}
.user-info-box {
display: flex;
align-items: center;
padding: 0 48rpx;
}
.avatar-container {
width: 140rpx;
height: 140rpx;
border-radius: 50%;
border: 6rpx solid rgba(255, 255, 255, 0.6);
background: #FFF;
box-shadow: 0 12rpx 32rpx rgba(243, 134, 0, 0.15);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
flex-shrink: 0;
}
.avatar-img {
width: 100%;
height: 100%;
object-fit: cover;
}
.avatar-emoji {
font-size: 72rpx;
}
.user-details {
margin-left: 36rpx;
display: flex;
flex-direction: column;
justify-content: center;
}
.name-line {
display: flex;
align-items: center;
margin-bottom: 12rpx;
}
.user-name {
font-size: 40rpx;
font-weight: 800;
color: #333333;
letter-spacing: 2rpx;
}
.vip-badge {
display: flex;
align-items: center;
background: linear-gradient(90deg, #333333 0%, #1A1A1A 100%);
padding: 4rpx 16rpx;
border-radius: 999rpx;
margin-left: 16rpx;
}
.vip-badge-icon {
font-size: 20rpx;
margin-right: 6rpx;
}
.vip-badge-text {
font-size: 20rpx;
font-weight: 700;
color: #FDF1C2;
}
.user-id {
font-size: 24rpx;
color: #8C6F50;
font-weight: 500;
}
/* 内容区 */
.content-section {
padding: 0 32rpx;
margin-top: -30rpx;
position: relative;
z-index: 10;
}
/* VIP宣发引导卡片 */
.vip-promo-card {
display: flex;
align-items: center;
justify-content: space-between;
background: linear-gradient(135deg, #FFEFD5 0%, #FFE4B5 100%);
padding: 32rpx 40rpx;
border-radius: 32rpx;
box-shadow: 0 8rpx 24rpx rgba(217, 119, 6, 0.08);
margin-bottom: 32rpx;
border: 1rpx solid rgba(255, 255, 255, 0.5);
}
.promo-left {
display: flex;
align-items: center;
}
.promo-icon {
font-size: 48rpx;
margin-right: 24rpx;
}
.promo-text {
display: flex;
flex-direction: column;
}
.promo-title {
font-size: 30rpx;
font-weight: 800;
color: #8B4513;
margin-bottom: 6rpx;
}
.promo-desc {
font-size: 22rpx;
color: #AA7A55;
font-weight: 500;
}
.promo-btn {
background: #333333;
color: #FDF1C2;
font-size: 24rpx;
font-weight: 700;
padding: 12rpx 28rpx;
border-radius: 999rpx;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
}
/* 列表菜单 */
.menu-list-card {
background: #FFFFFF;
border-radius: 32rpx;
box-shadow: 0 4rpx 24rpx rgba(0, 0, 0, 0.02);
padding: 16rpx 0;
}
.menu-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 32rpx 40rpx;
position: relative;
}
.menu-row::after {
content: '';
position: absolute;
bottom: 0;
left: 110rpx;
right: 40rpx;
border-bottom: 1rpx solid #F5F5F5;
}
.menu-row:last-child::after {
display: none;
}
.menu-left {
display: flex;
align-items: center;
}
.menu-icon-box {
width: 60rpx;
height: 60rpx;
background: #F8F9FA;
border-radius: 20rpx;
display: flex;
align-items: center;
justify-content: center;
margin-right: 28rpx;
}
.menu-icon-box.is-vip-icon {
background: rgba(251, 191, 36, 0.15);
}
.menu-emoji {
font-size: 32rpx;
}
.menu-title {
font-size: 30rpx;
font-weight: 600;
color: #333333;
}
.menu-right {
display: flex;
align-items: center;
}
.menu-status {
font-size: 24rpx;
color: #999999;
margin-right: 12rpx;
}
.menu-status.highlight-text {
color: #D97706;
font-weight: 600;
}
.menu-arrow {
font-size: 32rpx;
color: #CCCCCC;
}
.bottom-spacer {
height: 240rpx;
}
/* 点击态 */
.tap-active:active {
opacity: 0.7;
transform: scale(0.98);
transition: all 0.2s;
}