585 lines
11 KiB
CSS
585 lines
11 KiB
CSS
/* 个人中心其它模块页面样式 */
|
|
@import '@/common/style/memberInfo/member-info-gradient-cards.css';
|
|
|
|
.mi-mod-tabs {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: var(--spacing-sm, 8px);
|
|
padding: 0 var(--spacing-md, 16px) var(--spacing-sm, 8px);
|
|
overflow-x: auto;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* 训练明细 */
|
|
.mi-mod-session {
|
|
padding: 14px 0;
|
|
border-bottom: 1px solid var(--border-light, #E9EDF2);
|
|
}
|
|
|
|
.mi-mod-session:last-child {
|
|
border-bottom: none;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.mi-mod-session__head {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.mi-mod-session__title {
|
|
font-size: var(--font-size-base, 14px);
|
|
font-weight: 600;
|
|
color: var(--text-dark, #1E2A3A);
|
|
flex: 1;
|
|
}
|
|
|
|
.mi-mod-session__tag {
|
|
padding: 2px 8px;
|
|
border-radius: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mi-mod-session__tag--group {
|
|
background: rgba(255, 107, 53, 0.12);
|
|
}
|
|
|
|
.mi-mod-session__tag--private {
|
|
background: rgba(11, 43, 75, 0.1);
|
|
}
|
|
|
|
.mi-mod-session__tag--free {
|
|
background: rgba(46, 204, 113, 0.12);
|
|
}
|
|
|
|
.mi-mod-session__tag-text {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
color: var(--text-muted, #5E6F8D);
|
|
}
|
|
|
|
.mi-mod-session__meta {
|
|
font-size: var(--font-size-sm, 12px);
|
|
color: var(--text-muted, #5E6F8D);
|
|
margin-top: 4px;
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-session__footer {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 16px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.mi-mod-session__stat {
|
|
font-size: var(--font-size-sm, 12px);
|
|
font-weight: 600;
|
|
color: var(--primary-deep, #1A4A6F);
|
|
}
|
|
|
|
/* 优惠券 */
|
|
.mi-mod-coupon {
|
|
display: flex;
|
|
flex-direction: row;
|
|
border-radius: var(--radius-md, 20px);
|
|
overflow: hidden;
|
|
margin-bottom: 12px;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.mi-mod-coupon--expired,
|
|
.mi-mod-coupon--used {
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.mi-mod-coupon__left {
|
|
width: 100px;
|
|
padding: 16px 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mi-mod-coupon--used .mi-mod-coupon__left,
|
|
.mi-mod-coupon--expired .mi-mod-coupon__left {
|
|
background: var(--bg-gray, #F2F5F9);
|
|
}
|
|
|
|
.mi-mod-coupon__amount {
|
|
font-size: 28px;
|
|
font-weight: 800;
|
|
color: var(--text-inverse, #fff);
|
|
line-height: 1;
|
|
}
|
|
|
|
.mi-mod-coupon--used .mi-mod-coupon__amount,
|
|
.mi-mod-coupon--expired .mi-mod-coupon__amount {
|
|
color: var(--text-muted, #5E6F8D);
|
|
}
|
|
|
|
.mi-mod-coupon__min {
|
|
font-size: 10px;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.mi-mod-coupon--used .mi-mod-coupon__min,
|
|
.mi-mod-coupon--expired .mi-mod-coupon__min {
|
|
color: var(--text-light, #8A99B4);
|
|
}
|
|
|
|
.mi-mod-coupon__right {
|
|
flex: 1;
|
|
padding: 14px 16px;
|
|
background: var(--bg-white, #fff);
|
|
position: relative;
|
|
}
|
|
|
|
.mi-mod-coupon__title {
|
|
font-size: var(--font-size-base, 14px);
|
|
font-weight: 600;
|
|
color: var(--text-dark, #1E2A3A);
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-coupon__desc {
|
|
font-size: var(--font-size-sm, 12px);
|
|
color: var(--text-muted, #5E6F8D);
|
|
margin-top: 4px;
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-coupon__expire {
|
|
font-size: 11px;
|
|
color: var(--text-light, #8A99B4);
|
|
margin-top: 8px;
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-coupon__tag {
|
|
position: absolute;
|
|
top: 14px;
|
|
right: 14px;
|
|
padding: 2px 8px;
|
|
border-radius: 6px;
|
|
background: var(--bg-gray, #F2F5F9);
|
|
}
|
|
|
|
.mi-mod-coupon__tag-text {
|
|
font-size: 10px;
|
|
color: var(--accent-orange, #FF6B35);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* 积分 */
|
|
.mi-mod-points-hero {
|
|
padding: 24px 20px;
|
|
border-radius: var(--radius-sm, 12px);
|
|
text-align: center;
|
|
}
|
|
|
|
.mi-mod-points-hero__label {
|
|
font-size: var(--font-size-xs, 12px);
|
|
color: rgba(255, 212, 184, 1);
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-points-hero__value {
|
|
font-size: var(--font-size-3xl, 2rem);
|
|
font-weight: 700;
|
|
color: var(--text-inverse, #fff);
|
|
line-height: 1.2;
|
|
display: block;
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.mi-mod-points-hero__tip {
|
|
font-size: var(--font-size-xs, 12px);
|
|
color: rgba(255, 212, 184, 1);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.mi-mod-rewards {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 10px;
|
|
}
|
|
|
|
.mi-mod-reward {
|
|
padding: 14px;
|
|
border-radius: var(--radius-sm, 12px);
|
|
background: var(--bg-gray, #F2F5F9);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
text-align: center;
|
|
}
|
|
|
|
.mi-mod-reward__icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
.mi-mod-reward__name {
|
|
font-size: var(--font-size-sm, 12px);
|
|
font-weight: 600;
|
|
color: var(--text-dark, #1E2A3A);
|
|
}
|
|
|
|
.mi-mod-reward__cost {
|
|
font-size: 11px;
|
|
color: var(--accent-orange, #FF6B35);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.mi-mod-reward__stock {
|
|
font-size: 10px;
|
|
color: var(--text-light, #8A99B4);
|
|
}
|
|
|
|
.mi-mod-points-row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid var(--border-light, #E9EDF2);
|
|
}
|
|
|
|
.mi-mod-points-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.mi-mod-points-row__info {
|
|
flex: 1;
|
|
}
|
|
|
|
.mi-mod-points-row__title {
|
|
font-size: var(--font-size-base, 14px);
|
|
color: var(--text-dark, #1E2A3A);
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-points-row__time {
|
|
font-size: var(--font-size-sm, 12px);
|
|
color: var(--text-light, #8A99B4);
|
|
margin-top: 2px;
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-points-row__right {
|
|
text-align: right;
|
|
}
|
|
|
|
.mi-mod-points-row__amount {
|
|
font-size: var(--font-size-md, 16px);
|
|
font-weight: 700;
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-points-row__amount--earn {
|
|
color: var(--success-green, #2ECC71);
|
|
}
|
|
|
|
.mi-mod-points-row__amount--spend {
|
|
color: var(--warning-amber, #F39C12);
|
|
}
|
|
|
|
.mi-mod-points-row__balance {
|
|
font-size: 10px;
|
|
color: var(--text-light, #8A99B4);
|
|
}
|
|
|
|
/* 邀请 */
|
|
.mi-mod-referral-hero {
|
|
padding: 20px;
|
|
border-radius: var(--radius-sm, 12px);
|
|
}
|
|
|
|
.mi-mod-referral-hero__title {
|
|
font-size: var(--font-size-lg, 18px);
|
|
font-weight: 700;
|
|
color: var(--text-inverse, #fff);
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-referral-hero__desc {
|
|
font-size: var(--font-size-sm, 12px);
|
|
color: rgba(255, 212, 184, 1);
|
|
margin-top: 6px;
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-referral-code {
|
|
margin-top: 16px;
|
|
padding: 16px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
text-align: center;
|
|
}
|
|
|
|
.mi-mod-referral-code__label {
|
|
font-size: var(--font-size-sm, 12px);
|
|
color: rgba(255, 255, 255, 0.75);
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-referral-code__value {
|
|
font-size: 24px;
|
|
font-weight: 800;
|
|
color: var(--text-inverse, #fff);
|
|
letter-spacing: 2px;
|
|
margin-top: 6px;
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-referral-stats {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.mi-mod-referral-stat {
|
|
text-align: center;
|
|
}
|
|
|
|
.mi-mod-referral-stat__num {
|
|
font-size: var(--font-size-xl, 20px);
|
|
font-weight: 800;
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-referral-stat__num--orange {
|
|
color: var(--accent-orange, #FF6B35);
|
|
}
|
|
|
|
.mi-mod-referral-stat__num--green {
|
|
color: var(--success-green, #2ECC71);
|
|
}
|
|
|
|
.mi-mod-referral-stat__num--amber {
|
|
color: var(--warning-amber, #F39C12);
|
|
}
|
|
|
|
.mi-mod-referral-stat__label {
|
|
font-size: var(--font-size-sm, 12px);
|
|
color: var(--text-muted, #5E6F8D);
|
|
margin-top: 4px;
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-referral-row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid var(--border-light, #E9EDF2);
|
|
}
|
|
|
|
.mi-mod-referral-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.mi-mod-referral-row__info {
|
|
flex: 1;
|
|
}
|
|
|
|
.mi-mod-referral-row__name {
|
|
font-size: var(--font-size-base, 14px);
|
|
font-weight: 600;
|
|
color: var(--text-dark, #1E2A3A);
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-referral-row__time {
|
|
font-size: var(--font-size-sm, 12px);
|
|
color: var(--text-light, #8A99B4);
|
|
margin-top: 2px;
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-referral-row__right {
|
|
text-align: right;
|
|
}
|
|
|
|
.mi-mod-referral-row__status {
|
|
font-size: var(--font-size-sm, 12px);
|
|
color: var(--text-muted, #5E6F8D);
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-referral-row__reward {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--accent-orange, #FF6B35);
|
|
margin-top: 2px;
|
|
display: block;
|
|
}
|
|
|
|
/* 我的课程 */
|
|
.mi-mod-course-card {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 12px;
|
|
padding: 14px;
|
|
border-radius: var(--radius-md, 20px);
|
|
background: var(--bg-white, #fff);
|
|
box-shadow: var(--shadow-sm);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.mi-mod-course-card__banner {
|
|
width: 88px;
|
|
height: 88px;
|
|
border-radius: 12px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mi-mod-course-card__content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.mi-mod-course-card__title {
|
|
font-size: var(--font-size-base, 14px);
|
|
font-weight: 600;
|
|
color: var(--text-dark, #1E2A3A);
|
|
}
|
|
|
|
.mi-mod-course-card__coach {
|
|
font-size: var(--font-size-sm, 12px);
|
|
color: var(--text-muted, #5E6F8D);
|
|
}
|
|
|
|
.mi-mod-course-card__progress {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.mi-mod-course-card__progress-bar {
|
|
flex: 1;
|
|
height: 6px;
|
|
border-radius: 3px;
|
|
background: var(--bg-gray, #F2F5F9);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mi-mod-course-card__progress-fill {
|
|
height: 100%;
|
|
border-radius: 3px;
|
|
background: var(--gradient-orange);
|
|
}
|
|
|
|
.mi-mod-course-card__progress-text {
|
|
font-size: 10px;
|
|
color: var(--text-muted, #5E6F8D);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mi-mod-course-card__meta {
|
|
font-size: 11px;
|
|
color: var(--text-light, #8A99B4);
|
|
}
|
|
|
|
.mi-mod-course-card__next {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--primary-deep, #1A4A6F);
|
|
}
|
|
|
|
/* 签到记录 */
|
|
.mi-mod-checkin-row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid var(--border-light, #E9EDF2);
|
|
}
|
|
|
|
.mi-mod-checkin-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.mi-mod-checkin-row__icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mi-mod-checkin-row__icon--group {
|
|
background: rgba(255, 107, 53, 0.12);
|
|
}
|
|
|
|
.mi-mod-checkin-row__icon--private {
|
|
background: rgba(11, 43, 75, 0.1);
|
|
}
|
|
|
|
.mi-mod-checkin-row__icon--free {
|
|
background: rgba(46, 204, 113, 0.12);
|
|
}
|
|
|
|
.mi-mod-checkin-row__icon-img {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.mi-mod-checkin-row__info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mi-mod-checkin-row__title {
|
|
font-size: var(--font-size-base, 14px);
|
|
font-weight: 600;
|
|
color: var(--text-dark, #1E2A3A);
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-checkin-row__time {
|
|
font-size: var(--font-size-sm, 12px);
|
|
color: var(--text-muted, #5E6F8D);
|
|
margin-top: 2px;
|
|
display: block;
|
|
}
|
|
|
|
.mi-mod-checkin-row__tag {
|
|
padding: 4px 10px;
|
|
border-radius: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mi-mod-checkin-row__tag--group {
|
|
background: rgba(255, 107, 53, 0.12);
|
|
}
|
|
|
|
.mi-mod-checkin-row__tag--private {
|
|
background: rgba(11, 43, 75, 0.1);
|
|
}
|
|
|
|
.mi-mod-checkin-row__tag--free {
|
|
background: rgba(46, 204, 113, 0.12);
|
|
}
|
|
|
|
.mi-mod-checkin-row__tag-text {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
color: var(--text-muted, #5E6F8D);
|
|
}
|