会员个人中心页面初步完成

This commit is contained in:
时舟年
2026-06-04 14:18:53 +08:00
parent 8e7c8f52f6
commit 7350293d0e
170 changed files with 18092 additions and 35 deletions
@@ -0,0 +1,12 @@
@import './member-info-page.css';
@import './member-info-status-bar.css';
@import './member-info-header.css';
@import './member-info-member-card.css';
@import './member-info-quick-actions.css';
@import './member-info-booking-list.css';
@import './member-info-check-in-list.css';
@import './member-info-body-report.css';
@import './member-info-coupon-points.css';
@import './member-info-referral.css';
@import './member-info-settings.css';
@import './member-info-logout.css';
@@ -0,0 +1,245 @@
.body-report-section {
width: 100%;
display: flex;
flex-direction: column;
align-items: stretch;
}
.body-report-section__inner {
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
}
.body-report-section__header {
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.body-report-section__header-inner {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
}
.body-report-section__title {
font-size: var(--font-size-md);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-dark);
}
.body-report-section__card {
width: 100%;
display: flex;
flex-direction: column;
border-radius: 14px;
box-shadow: 0px 2px 10px 0px rgba(26, 25, 24, 0.03137254901960784);
background-color: var(--bg-white, #ffffff);
}
.body-report-section__card-inner {
display: flex;
flex-direction: column;
gap: 12px;
padding: var(--spacing-md, 16px);
width: 100%;
box-sizing: border-box;
overflow: hidden;
}
.body-report-section__card-head {
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.body-report-section__card-head-inner {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
}
.body-report-section__desc {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-muted);
}
.body-report-section__view-btn {
display: flex;
flex-direction: row;
gap: 4px;
align-items: center;
}
.body-report-section__view-icon {width: 14px;
height: 14px;
display: block;
}
.body-report-section__view-report {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 500;
color: var(--accent-orange);
}
.body-report-section__metrics {
width: 100%;
display: flex;
flex-direction: row;
align-items: flex-start;
}
.body-report-section__metrics-inner {
display: flex;
flex-direction: row;
align-items: flex-start;
width: 100%;
}
.body-report-section__metric {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
min-width: 0;
}
.body-report-section__metric-inner {
display: flex;
flex-direction: column;
gap: 2px;
align-items: center;
width: 100%;
}
.body-report-section__text {
font-size: var(--font-size-xl);
font-family: var(--font-family);
font-weight: 700;
color: var(--accent-orange);
}
.body-report-section__text-2 {
font-size: var(--font-size-xl);
font-family: var(--font-family);
font-weight: 700;
color: var(--success-green);
}
.body-report-section__text-4 {
font-size: var(--font-size-xl);
font-family: var(--font-family);
font-weight: 700;
color: rgba(243, 156, 18, 1);
}
.body-report-section__num {
font-size: var(--font-size-xl);
font-family: var(--font-family);
font-weight: 700;
color: var(--primary-deep);
}
.body-report-section__metric-value,
.body-report-section__text-3,
.body-report-section__metric-label,
.body-report-section__text-5 {
font-size: var(--font-size-xs);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-light);
}
.body-report-section__metric-divider {
width: 1px;
height: 30px;
flex-shrink: 0;
background-color: var(--border-light, #e9edf2);
}
.body-report-section__summary {
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
padding: 10px 12px;
border-radius: 10px;
background-color: var(--bg-light, #f9fafe);
box-sizing: border-box;
overflow: hidden;
}
.body-report-section__summary-inner {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 8px;
width: 100%;
min-width: 0;
}
.body-report-section__goal {
flex: 1;
min-width: 0;
max-width: 58%;
display: flex;
flex-direction: row;
gap: var(--spacing-xs);
align-items: center;
padding: 5px 10px;
border-radius: 100px;
background-color: rgba(240, 250, 245, 1);
}
.body-report-section__goal-icon {width: 12px;
height: 12px;
flex-shrink: 0;
display: block;
}
.body-report-section__goal-text {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 500;
color: var(--success-green);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.body-report-section__change {
flex-shrink: 0;
display: flex;
flex-direction: row;
gap: var(--spacing-xs);
align-items: center;
}
.body-report-section__change-icon {width: 14px;
height: 14px;
flex-shrink: 0;
display: block;
}
.body-report-section__metric-value-2 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 500;
color: var(--success-green);
white-space: nowrap;
}
@@ -0,0 +1,215 @@
.booking-section {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.booking-section__inner {
display: flex;
flex-direction: column;
gap: 10px;
align-items: flex-start;
width: 100%;
position: relative;
}
.booking-section__header {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.booking-section__header-inner {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
position: relative;
}
.booking-section__title {
font-size: var(--font-size-md);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-dark);
flex-shrink: 0;
white-space: nowrap;
}
.booking-section__link {
flex-shrink: 0;
}
.booking-section__item {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
border-radius: 14px;
box-shadow: 0px 2px 10px 0px rgba(26, 25, 24, 0.03137254901960784);
background-color: var(--bg-white, #ffffff);
}
.booking-section__item-inner {
display: flex;
flex-direction: row;
gap: 12px;
align-items: center;
padding: 14px;
width: 100%;
position: relative;
}
.booking-section__date {
width: 48px;
height: 56px;
flex-shrink: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border-radius: 10px;
background-color: rgba(255, 243, 238, 1);
}
.booking-section__date-inner {
display: flex;
flex-direction: column;
gap: 2px;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.booking-section__num {
font-size: var(--font-size-2xl);
font-family: var(--font-family);
font-weight: 700;
color: var(--accent-orange);
line-height: 1;
}
.booking-section__date-sub {
font-size: var(--font-size-xs);
font-family: var(--font-family);
font-weight: var(--font-weight-regular);
color: var(--accent-orange-light);
}
.booking-section__content {
width: 100%;
height: auto;
flex-shrink: 1;
display: flex;
flex-direction: column;
align-items: flex-start;
flex-grow: 1;
flex-basis: 0;
}
.booking-section__content-inner {
display: flex;
flex-direction: column;
gap: var(--spacing-xs);
align-items: flex-start;
width: 100%;
}
.booking-section__desc {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: var(--font-weight-medium);
color: var(--text-dark);
}
.booking-section__meta {
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
}
.booking-section__meta-inner {
display: flex;
flex-direction: row;
gap: 10px;
align-items: center;
width: 100%;
}
.booking-section__icon-coach {width: 12px;
height: 12px;
flex-shrink: 0;
display: block;
}
.booking-section__coach {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: var(--font-weight-regular);
color: var(--text-muted);
}
.booking-section__icon-location {width: 12px;
height: 12px;
flex-shrink: 0;
display: block;
}
.booking-section__text {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: var(--font-weight-regular);
color: var(--text-muted);
}
.booking-section__status-wrap {
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: center;
}
.booking-section__status-badge {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
padding: 3px 8px;
border-radius: 6px;
}
.booking-section__status-badge--booked {
background-color: var(--success-green);
}
.booking-section__status-badge--pending {
background-color: rgba(255, 243, 238, 1);
border: 1px solid rgba(212, 166, 74, 1);
}
.booking-section__status-text {
font-size: var(--font-size-xs);
font-family: var(--font-family);
font-weight: var(--font-weight-medium);
color: var(--text-inverse);
line-height: 1.2;
}
.booking-section__status-text--pending {
color: var(--accent-orange);
}
@@ -0,0 +1,186 @@
.checkin-section {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.checkin-section__inner {
display: flex;
flex-direction: column;
gap: 10px;
align-items: flex-start;
width: 100%;
position: relative;
}
.checkin-section__header {
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.checkin-section__header-inner {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
}
.checkin-section__title {
font-size: var(--font-size-md);
font-family: var(--font-family);
font-weight: var(--font-weight-bold);
color: var(--text-dark);
}
.checkin-section__list {
width: 100%;
display: flex;
flex-direction: column;
align-items: flex-start;
border-radius: 14px;
box-shadow: var(--shadow-sm);
background-color: var(--bg-white);
border: 1px solid var(--border-light);
overflow: hidden;
}
.checkin-section__list-inner {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
}
.checkin-section__row {
width: 100%;
display: flex;
flex-direction: column;
}
.checkin-section__item {
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
}
.checkin-section__item-inner {
display: flex;
flex-direction: row;
gap: 12px;
align-items: center;
padding: 14px var(--spacing-md);
width: 100%;
box-sizing: border-box;
}
.checkin-section__dot {
width: 8px;
height: 8px;
flex-shrink: 0;
border-radius: var(--radius-full);
background-color: var(--success-green);
}
.checkin-section__dot--group {
background-color: var(--success-green);
}
.checkin-section__dot--free {
background-color: var(--accent-orange);
}
.checkin-section__dot--private {
background-color: var(--primary-deep);
}
.checkin-section__content {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.checkin-section__content-inner {
display: flex;
flex-direction: column;
gap: var(--spacing-xs);
align-items: flex-start;
width: 100%;
}
.checkin-section__desc {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: var(--font-weight-medium);
color: var(--text-dark);
line-height: 1.3;
}
.checkin-section__text {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: var(--font-weight-regular);
color: var(--text-light);
line-height: 1.3;
}
.checkin-section__tag-badge {
flex-shrink: 0;
margin-left: var(--spacing-sm);
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
padding: 3px var(--spacing-sm);
border-radius: 6px;
background-color: rgba(240, 250, 245, 1);
}
.checkin-section__tag-badge--group {
background-color: rgba(240, 250, 245, 1);
}
.checkin-section__tag-badge--free {
background-color: rgba(255, 243, 238, 1);
}
.checkin-section__tag-badge--private {
background-color: rgba(235, 243, 250, 1);
}
.checkin-section__tag-text {
font-size: var(--font-size-xs);
font-family: var(--font-family);
font-weight: var(--font-weight-medium);
color: var(--success-green);
line-height: 1.2;
}
.checkin-section__tag-text--group {
color: var(--success-green);
}
.checkin-section__tag-text--free {
color: var(--accent-orange);
}
.checkin-section__tag-text--private {
color: var(--primary-deep);
}
.checkin-section__divider {
height: 1px;
background-color: var(--border-light);
margin-left: calc(var(--spacing-md) + 8px + 12px);
margin-right: var(--spacing-md);
}
@@ -0,0 +1,99 @@
/* 组件根节点:锁定浅色变量 + box-sizing(小程序组件内继承 page 的 theme-light 不稳定) */
.status-bar,
.profile-header,
.member-card-section,
.quick-actions,
.booking-section,
.checkin-section,
.body-report-section,
.coupon-section,
.referral-section,
.settings-section,
.logout-btn__border-wrap,
.logout-section {
box-sizing: border-box;
--primary-dark: #0B2B4B;
--primary-deep: #1A4A6F;
--primary-light: #2C6288;
--accent-orange: #FF6B35;
--accent-orange-light: #FF8C5A;
--accent-orange-dark: #E55A2B;
--bg-light: #F9FAFE;
--bg-white: #FFFFFF;
--bg-gray: #F2F5F9;
--text-dark: #1E2A3A;
--text-muted: #5E6F8D;
--text-light: #8A99B4;
--text-inverse: #FFFFFF;
--border-light: #E9EDF2;
--border-focus: #FF6B35;
--success-green: #2ECC71;
--warning-amber: #F39C12;
--error-red: #E74C3C;
--info-blue: #3498DB;
--spacing-xs: 4px;
--spacing-sm: 8px;
--spacing-md: 16px;
--spacing-lg: 24px;
--spacing-xl: 32px;
--radius-sm: 12px;
--radius-md: 20px;
--radius-lg: 28px;
--radius-full: 999px;
--font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
--font-size-xs: 11px;
--font-size-sm: 12px;
--font-size-base: 14px;
--font-size-md: 16px;
--font-size-lg: 18px;
--font-size-xl: 20px;
--font-size-2xl: 22px;
--font-size-3xl: 24px;
--font-size-4xl: 28px;
--font-size-5xl: 32px;
--font-weight-regular: 400;
--font-weight-medium: 500;
--font-weight-bold: 700;
--shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.05);
}
/* 区块标题右侧操作链接:查看全部 / 全部记录 / 历史数据 / 推荐记录 */
.member-card-section__link-text,
.booking-section__view-all,
.checkin-section__view-all,
.coupon-section__view-all,
.body-report-section__history-link,
.referral-section__records-link {
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 400;
color: var(--accent-orange);
white-space: nowrap;
flex-shrink: 0;
line-height: 1.4;
}
.member-card-section__link,
.booking-section__link,
.checkin-section__link,
.coupon-section__link,
.body-report-section__link,
.referral-section__link {
display: flex;
flex-direction: row;
align-items: center;
gap: 2px;
flex-shrink: 0;
}
.member-card-section__link-arrow,
.booking-section__link-arrow,
.checkin-section__link-arrow,
.coupon-section__link-arrow,
.body-report-section__link-arrow,
.referral-section__link-arrow {
width: 14px;
height: 14px;
flex-shrink: 0;
display: block;
}
@@ -0,0 +1,243 @@
@import '@/common/style/memberInfo/member-info-gradient-cards.css';
.coupon-section {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.coupon-section__inner {
display: flex;
flex-direction: column;
gap: 10px;
align-items: flex-start;
width: 100%;
position: relative;
}
.coupon-section__header {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.coupon-section__header-inner {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
position: relative;
}
.coupon-section__title {
font-size: var(--font-size-md);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-dark);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.coupon-section__link {
width: auto;
height: auto;
position: relative;
}
.coupon-section__view-all {
width: auto;
height: auto;
position: relative;
flex-grow: 0;
}
.coupon-section__link-arrow {
position: relative;
}
.coupon-section__cards {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: flex-start;
}
.coupon-section__cards-inner {
display: flex;
flex-direction: row;
gap: 10px;
align-items: flex-start;
width: 100%;
position: relative;
}
.coupon-section__coupon {
width: 100%;
height: auto;
position: relative;
flex-shrink: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
flex-grow: 1;
flex-basis: 0;
border-radius: var(--radius-sm);
}
.coupon-section__coupon-inner {
display: flex;
flex-direction: column;
gap: var(--spacing-xs);
align-items: flex-start;
justify-content: center;
padding: 14px 14px 14px 14px;
width: 100%;
position: relative;
}
.coupon-section__amount {
font-size: var(--font-size-3xl);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-inverse);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.coupon-section__desc {
font-size: var(--font-size-xs);
font-family: var(--font-family);
font-weight: 400;
color: rgba(255, 212, 184, 1);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.coupon-section__coupon-status {
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 2px 6px 2px 6px;
border-radius: 6px 6px 6px 6px;
background-color: rgba(255, 255, 255, 0.1882352977991104);
}
.coupon-section__status {
font-size: var(--font-size-xs);
font-family: var(--font-family);
font-weight: 500;
color: var(--text-inverse);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.coupon-section__points {
width: 100%;
height: auto;
position: relative;
flex-shrink: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
flex-grow: 1;
flex-basis: 0;
border-radius: var(--radius-sm);
}
.coupon-section__points-inner {
display: flex;
flex-direction: column;
gap: var(--spacing-xs);
align-items: flex-start;
justify-content: center;
padding: 14px 14px 14px 14px;
width: 100%;
position: relative;
}
.coupon-section__num {
font-size: var(--font-size-3xl);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-inverse);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.coupon-section__points-label {
font-size: var(--font-size-xs);
font-family: var(--font-family);
font-weight: 400;
color: rgba(255, 212, 184, 1);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.coupon-section__points-action {
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 2px 6px 2px 6px;
border-radius: 6px 6px 6px 6px;
background-color: rgba(255, 255, 255, 0.1882352977991104);
}
.coupon-section__text {
font-size: var(--font-size-xs);
font-family: var(--font-family);
font-weight: 500;
color: var(--text-inverse);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
@@ -0,0 +1,31 @@
/**
* 与个人中心首页 coupon-section 一致的渐变卡片背景
* 使用 SVG 背景,兼容微信小程序(CSS 变量渐变在部分端不生效)
*/
.mi-gradient-blue,
.coupon-section__points,
.mi-mod-points-hero,
.bt-hero,
.bt-score-card,
.mi-mod-referral-hero {
background-color: #0B2B4B;
background-position: center;
background-size: cover;
background-image: url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D'0%200%20174%20106'%20preserveAspectRatio%3D'none'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%0A%20%20%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3ClinearGradient%20id%3D'grad'%20gradientUnits%3D'objectBoundingBox'%20x1%3D'0'%20y1%3D'0.5'%20x2%3D'1'%20y2%3D'0.5'%20gradientTransform%3D'matrix(-0.7071%2C%200.7071%2C%20-0.7071%2C%20-0.7071%2C%201.2071%2C%200.5000)'%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cstop%20stop-color%3D'rgba(11%2C43%2C75%2C1)'%20offset%3D'0'%2F%3E%3Cstop%20stop-color%3D'rgba(26%2C74%2C111%2C1)'%20offset%3D'1'%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%0A%20%20%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%20%20%3Crect%20width%3D'100%25'%20height%3D'100%25'%20fill%3D'url(%23grad)'%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E");
box-shadow: 0px 4px 8px 0px rgba(11, 43, 75, 0.25);
}
.mi-gradient-orange,
.coupon-section__coupon,
.mi-mod-coupon__left,
.mi-mod-coupon__use,
.mi-center-coupon__btn:not(.mi-center-coupon__btn--done),
.bt-page__action-link--primary,
.bt-btn--primary {
background-color: #FF6B35;
background-position: center;
background-size: cover;
background-image: url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D'0%200%20174%20106'%20preserveAspectRatio%3D'none'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%0A%20%20%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3ClinearGradient%20id%3D'grad'%20gradientUnits%3D'objectBoundingBox'%20x1%3D'0'%20y1%3D'0.5'%20x2%3D'1'%20y2%3D'0.5'%20gradientTransform%3D'matrix(-0.7071%2C%200.7071%2C%20-0.7071%2C%20-0.7071%2C%201.2071%2C%200.5000)'%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cstop%20stop-color%3D'rgba(255%2C107%2C53%2C1)'%20offset%3D'0'%2F%3E%3Cstop%20stop-color%3D'rgba(255%2C140%2C90%2C1)'%20offset%3D'1'%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%0A%20%20%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%20%20%3Crect%20width%3D'100%25'%20height%3D'100%25'%20fill%3D'url(%23grad)'%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E");
box-shadow: 0px 4px 8px 0px rgba(255, 107, 53, 0.25);
}
@@ -0,0 +1,271 @@
.profile-header {
width: 100%;
display: flex;
flex-direction: column;
flex-shrink: 0;
}
/* 顶栏固定:仅白底导航栏吸顶,下方用户信息可滚动 */
.profile-header__toolbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
width: 100%;
background-color: var(--bg-white, #ffffff);
box-sizing: border-box;
}
.profile-header__toolbar-spacer {
width: 100%;
flex-shrink: 0;
}
.profile-header__nav {
position: relative;
display: flex;
flex-direction: row;
align-items: center;
height: 44px;
padding-left: 16px;
box-sizing: border-box;
}
.profile-header__nav-left {
display: flex;
flex-direction: row;
align-items: center;
gap: 12px;
min-width: 56px;
flex-shrink: 0;
position: relative;
z-index: 2;
}
.profile-header__nav-right {
min-width: 72px;
flex-shrink: 0;
position: relative;
z-index: 2;
margin-left: auto;
}
.profile-header__title {
position: absolute;
left: 50%;
transform: translateX(-50%);
max-width: 42%;
text-align: center;
font-size: var(--font-size-md, 16px);
font-family: var(--font-family);
font-weight: 600;
color: var(--text-dark);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
pointer-events: none;
z-index: 1;
}
.profile-header__icon-bell,
.profile-header__icon-settings {
width: 22px;
height: 22px;
flex-shrink: 0;
display: block;
}
/* settings.png 为白色线稿,白底顶栏需着色后才可见 */
.profile-header__icon-settings {
filter: brightness(0) saturate(100%) invert(52%) sepia(98%) saturate(1800%) hue-rotate(346deg) brightness(102%) contrast(101%);
}
/* 用户信息渐变区 */
.profile-header__hero {
width: 100%;
background-position: center;
background-size: 100% 100%;
background-repeat: no-repeat;
background-image: url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D'0%200%20390%20239'%20preserveAspectRatio%3D'none'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%0A%20%20%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3ClinearGradient%20id%3D'grad'%20gradientUnits%3D'objectBoundingBox'%20x1%3D'0'%20y1%3D'0.5'%20x2%3D'1'%20y2%3D'0.5'%20gradientTransform%3D'matrix(-0.0000%2C%201.0000%2C%20-1.0000%2C%20-0.0000%2C%201.0000%2C%200.0000)'%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cstop%20stop-color%3D'rgba(11%2C43%2C75%2C1)'%20offset%3D'0'%2F%3E%3Cstop%20stop-color%3D'rgba(26%2C74%2C111%2C1)'%20offset%3D'1'%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%0A%20%20%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%20%20%3Crect%20width%3D'100%25'%20height%3D'100%25'%20fill%3D'url(%23grad)'%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E");
}
.profile-header__inner {
display: flex;
flex-direction: column;
align-items: flex-start;
padding: 16px 20px 28px;
width: 100%;
box-sizing: border-box;
}
.profile-header__user {
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
}
.profile-header__user-inner {
display: flex;
flex-direction: row;
gap: 14px;
align-items: center;
width: 100%;
}
.profile-header__avatar-wrap {
position: relative;
width: 72px;
height: 72px;
flex-shrink: 0;
overflow: visible;
}
.profile-header__avatar-ring {
width: 72px;
height: 72px;
border-radius: 50%;
border: 3px solid #ffffff;
overflow: hidden;
box-sizing: border-box;
background-color: rgba(255, 255, 255, 0.12);
}
.profile-header__avatar {
width: 100%;
height: 100%;
display: block;
}
.profile-header__avatar-badge {
position: absolute;
right: -1px;
bottom: -1px;
width: 24px;
height: 24px;
border-radius: 50%;
border: 2px solid #ffffff;
background-color: #2ecc71;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
box-sizing: border-box;
}
.profile-header__avatar-badge-icon {
width: 12px;
height: 12px;
display: block;
flex-shrink: 0;
filter: brightness(0) invert(1);
}
.profile-header__user-meta {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.profile-header__user-meta-inner {
display: flex;
flex-direction: column;
gap: var(--spacing-xs, 4px);
align-items: flex-start;
width: 100%;
}
.profile-header__name {
font-size: var(--font-size-xl, 20px);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-inverse);
white-space: nowrap;
}
.profile-header__phone {
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 400;
color: rgba(255, 212, 184, 1);
white-space: nowrap;
}
.profile-header__badge {
display: flex;
flex-direction: row;
gap: var(--spacing-xs, 4px);
align-items: center;
padding: 3px 10px;
border-radius: 10px;
background-color: var(--accent-orange);
}
.profile-header__badge-icon {
width: 12px;
height: 12px;
flex-shrink: 0;
display: block;
}
.profile-header__level {
font-size: var(--font-size-sm, 12px);
font-family: var(--font-family);
font-weight: 600;
color: var(--text-inverse);
white-space: nowrap;
}
.profile-header__stats {
width: 100%;
}
.profile-header__stats-inner {
display: flex;
flex-direction: row;
align-items: flex-start;
padding-top: 16px;
width: 100%;
}
.profile-header__stat {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
min-width: 0;
}
.profile-header__stat-inner {
display: flex;
flex-direction: column;
gap: 2px;
align-items: center;
width: 100%;
}
.profile-header__stat-value {
font-size: var(--font-size-2xl, 22px);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-inverse);
white-space: nowrap;
}
.profile-header__stat-label {
font-size: var(--font-size-sm, 12px);
font-family: var(--font-family);
font-weight: 400;
color: rgba(255, 212, 184, 1);
white-space: nowrap;
}
.profile-header__stat-divider {
width: 1px;
height: 32px;
flex-shrink: 0;
background-color: rgba(255, 255, 255, 0.31);
}
@@ -0,0 +1,40 @@
.logout-section {
width: 100%;
box-sizing: border-box;
}
.logout-section__btn {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
min-height: 50px;
padding: 14px 16px;
border-radius: 14px;
box-shadow: 0 2px 10px rgba(26, 25, 24, 0.03);
background-color: #ffffff;
box-sizing: border-box;
}
.logout-section__icon {
width: 16px;
height: 16px;
flex-shrink: 0;
display: block;
}
.logout-section__text {
font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
font-weight: 500;
color: #e74c3c;
line-height: 1;
white-space: nowrap;
}
.mi-tap-btn--hover {
opacity: 0.85;
transform: scale(0.98);
}
@@ -0,0 +1,362 @@
.member-card-section {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.member-card-section__inner {
display: flex;
flex-direction: column;
gap: 10px;
align-items: flex-start;
width: 100%;
position: relative;
}
.member-card-section__head {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.member-card-section__head-inner {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
position: relative;
}
.member-card-section__title {
font-size: var(--font-size-md);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-dark);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.member-card-section__link {
width: auto;
height: auto;
position: relative;
}
.member-card-section__link-text {
white-space: nowrap;
}
.member-card-section__link-arrow {
position: relative;
}
.member-card-preview {
width: 100%;
min-height: 140px;
height: auto;
overflow: visible;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: stretch;
border-radius: 16px;
box-shadow: 0px 8px 16px 0px rgba(255, 107, 53, 0.25);
background-position: center;
background-size: 100% 100%;
box-sizing: border-box;
background-image: url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D'0%200%20358%20140'%20preserveAspectRatio%3D'none'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%0A%20%20%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3ClinearGradient%20id%3D'grad'%20gradientUnits%3D'objectBoundingBox'%20x1%3D'0'%20y1%3D'0.5'%20x2%3D'1'%20y2%3D'0.5'%20gradientTransform%3D'matrix(-0.7071%2C%200.7071%2C%20-0.7071%2C%20-0.7071%2C%201.2071%2C%200.5000)'%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cstop%20stop-color%3D'rgba(255%2C107%2C53%2C1)'%20offset%3D'0'%2F%3E%3Cstop%20stop-color%3D'rgba(255%2C140%2C90%2C1)'%20offset%3D'0.6000000238418579'%2F%3E%3Cstop%20stop-color%3D'rgba(229%2C90%2C43%2C1)'%20offset%3D'1'%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%0A%20%20%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%20%20%3Crect%20width%3D'100%25'%20height%3D'100%25'%20fill%3D'url(%23grad)'%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E");
}
.member-card-preview__inner {
display: flex;
flex-direction: column;
gap: 8px;
align-items: stretch;
padding: 20px 16px 16px;
width: 100%;
box-sizing: border-box;
position: relative;
}
.member-card-preview__head {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.member-card-preview__head-inner {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 8px;
width: 100%;
min-width: 0;
position: relative;
}
.member-card-preview__type-row {
flex: 1;
min-width: 0;
display: flex;
flex-direction: row;
gap: 6px;
align-items: center;
}
.member-card-preview__icon-wrap {
width: 18px;
height: 18px;
position: relative;
flex-shrink: 0;
}
.member-card-preview__icon-bg {
width: 100%;
height: 100%;
position: relative;
border-radius: 1.5px 1.5px 1.5px 1.5px;
}
.member-card-preview__icon-border {
position: absolute;
left: 8.33%;
top: 20.83%;
right: 8.33%;
bottom: 20.83%;
width: 83.34%;
height: 58.34%;
}
.member-card-preview__icon-stroke {
position: absolute;
inset: -0.75px -0.75px -0.75px -0.75px;
border-radius: 1.5px 1.5px 1.5px 1.5px;
pointer-events: none;
border-width: 1.5px 1.5px 1.5px 1.5px;
border-style: solid;
box-sizing: border-box;
border-color: var(--text-inverse);
}
.member-card-preview__icon-line {width: 83.34%;
height: 8.33%;
position: absolute;
left: 8.33%;
right: 8.33%;
top: 41.67%;
bottom: 50%;
display: block;
}
.member-card-preview__name {
font-size: var(--font-size-md);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-inverse);
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.member-card-preview__tag {
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
padding: 3px 10px;
border-radius: 8px;
background-color: rgba(255, 255, 255, 0.19);
}
.member-card-preview__tag-text {
font-size: var(--font-size-xs);
font-family: var(--font-family);
font-weight: 500;
color: var(--text-inverse);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.member-card-preview__expire {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: rgba(255, 212, 184, 1);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.member-card-preview__footer {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
background-color: transparent;
}
.member-card-preview__footer-inner {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 8px;
width: 100%;
min-width: 0;
position: relative;
}
.member-card-preview__days {
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
gap: var(--spacing-xs);
align-items: flex-start;
}
.member-card-preview__days-num {
font-size: var(--font-size-4xl);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-inverse);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.member-card-preview__days-unit {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: rgba(255, 212, 184, 1);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.member-card-preview__renew {
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
padding: 6px 14px;
border-radius: 14px;
background-color: var(--bg-white);
}
.member-card-preview__renew-text {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 600;
color: var(--accent-orange);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.member-card-tip__inner {
width: 100%;
height: 100%;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
border-radius: 10px 10px 10px 10px;
background-color: rgba(255, 243, 238, 1);
}
.member-card-tip__content {
display: flex;
flex-direction: row;
gap: 6px;
align-items: center;
padding: 8px 12px 8px 12px;
width: 100%;
position: relative;
}
.member-card-tip {
position: relative;
width: 100%;
height: auto;
display: flex;
flex-shrink: 0;
}
.member-card-tip__border {
position: absolute;
inset: 0px;
border-radius: 10px 10px 10px 10px;
pointer-events: none;
border-width: 1px 1px 1px 1px;
border-style: solid;
box-sizing: border-box;
border-color: rgba(255, 204, 170, 1);
}
.member-card-tip__icon {width: 14px;
height: 14px;
position: relative;
flex-shrink: 0;
display: block;
}
.member-card-tip__text {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: var(--accent-orange);
width: 100%;
height: auto;
position: relative;
flex-shrink: 1;
flex-grow: 1;
flex-basis: 0;
}
@@ -0,0 +1,87 @@
.scroll-container {
height: 100%;
width: 100%;
overflow-x: hidden;
overflow-y: auto;
box-sizing: border-box;
--spacing-xs: 4px;
--spacing-sm: 8px;
--spacing-md: 16px;
--spacing-lg: 24px;
--spacing-xl: 32px;
--font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
--font-size-xs: 11px;
--font-size-sm: 12px;
--font-size-base: 14px;
--font-size-md: 16px;
--font-size-lg: 18px;
--font-size-xl: 20px;
--font-size-2xl: 22px;
--font-size-3xl: 24px;
--font-size-4xl: 28px;
--font-size-5xl: 32px;
}
.scroll-container > view {
width: 100%;
}
.member-page {
width: 100%;
min-height: 100%;
height: auto;
overflow: visible;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: stretch;
background-color: var(--bg-light);
box-sizing: border-box;
padding-bottom: calc(120rpx + env(safe-area-inset-bottom));
}
.member-page__body {
width: 100%;
height: auto;
flex: 1;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: stretch;
}
.member-page__sections {
display: flex;
flex-direction: column;
gap: 12px;
align-items: stretch;
padding: var(--spacing-md, 16px);
padding-bottom: calc(var(--spacing-md, 16px) + env(safe-area-inset-bottom));
width: 100%;
box-sizing: border-box;
position: relative;
font-family: var(--font-family);
}
.member-page__sections text {
font-family: var(--font-family);
}
/* ????????? */
.status-bar,
.profile-header,
.member-card-section,
.quick-actions,
.booking-section,
.checkin-section,
.body-report-section,
.coupon-section,
.referral-section,
.settings-section,
.logout-btn__border-wrap,
.logout-section {
width: 100%;
box-sizing: border-box;
}
@@ -0,0 +1,226 @@
.quick-actions {
width: 100%;
display: flex;
flex-direction: column;
align-items: stretch;
border-radius: 16px;
box-shadow: 0px 2px 12px 0px rgba(26, 25, 24, 0.03137254901960784);
background-color: var(--bg-white, #ffffff);
overflow: hidden;
}
.quick-actions__inner {
display: flex;
flex-direction: column;
width: 100%;
}
.quick-actions__grid {
width: 100%;
display: flex;
flex-direction: row;
}
.quick-actions__grid-inner {
display: flex;
flex-direction: row;
width: 100%;
}
.quick-actions__item {
flex: 1;
height: 80px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-width: 0;
}
.quick-actions__item-inner {
display: flex;
flex-direction: column;
gap: 6px;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.quick-actions__icon-wrap {
width: 40px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
border-radius: var(--radius-sm);
}
.quick-actions__icon-wrap-inner {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.quick-actions__icon {
width: 20px;
height: 20px;
position: relative;
}
.quick-actions__icon-part {
position: absolute;
display: block;
}
.quick-actions__icon-part:nth-child(1) {
width: 7.69%;
height: 16.67%;
left: 30.77%;
top: 8.33%;
}
.quick-actions__icon-part:nth-child(2) {
width: 7.69%;
height: 16.67%;
left: 61.54%;
top: 8.33%;
}
.quick-actions__icon-part:nth-child(4) {
width: 7.69%;
height: 16.67%;
left: 30.77%;
top: 58.33%;
}
.quick-actions__icon-part:nth-child(5) {
width: 7.69%;
height: 16.67%;
left: 61.54%;
top: 58.33%;
}
.quick-actions__border-wrap {
position: absolute;
left: 12.5%;
top: 25%;
width: 75%;
height: 50%;
}
.quick-actions__rect {
width: 100%;
height: 100%;
border-radius: 2px;
}
.quick-actions__border {
position: absolute;
inset: -1px;
border-radius: 2px;
border: 1px solid var(--accent-orange);
pointer-events: none;
}
.quick-actions__icon-img {width: 20px;
height: 20px;
display: block;
}
.quick-actions__title,
.quick-actions__title-2,
.quick-actions__title-3,
.quick-actions__title-4,
.quick-actions__coach,
.quick-actions__text,
.quick-actions__text-2,
.quick-actions__points-desc {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 500;
color: var(--text-dark);
text-align: center;
}
.quick-actions__divider {
width: 100%;
height: 1px;
background-color: var(--border-light, #e9edf2);
}
/* 第?????*/
.quick-actions__grid:nth-of-type(1) .quick-actions__item:nth-child(1),
.quick-actions__grid:nth-of-type(1) .quick-actions__item:nth-child(1) .quick-actions__icon-wrap {
background-color: rgba(255, 243, 238, 1);
}
.quick-actions__grid:nth-of-type(1) .quick-actions__item:nth-child(2),
.quick-actions__grid:nth-of-type(1) .quick-actions__item:nth-child(2) .quick-actions__icon-wrap {
background-color: rgba(240, 250, 245, 1);
}
.quick-actions__grid:nth-of-type(1) .quick-actions__item:nth-child(2) .quick-actions__icon-img {
}
.quick-actions__grid:nth-of-type(1) .quick-actions__item:nth-child(3),
.quick-actions__grid:nth-of-type(1) .quick-actions__item:nth-child(3) .quick-actions__icon-wrap {
background-color: rgba(235, 243, 250, 1);
}
.quick-actions__grid:nth-of-type(1) .quick-actions__item:nth-child(3) .quick-actions__icon-img {
}
.quick-actions__grid:nth-of-type(1) .quick-actions__item:nth-child(4),
.quick-actions__grid:nth-of-type(1) .quick-actions__item:nth-child(4) .quick-actions__icon-wrap {
background-color: rgba(255, 243, 238, 1);
}
.quick-actions__grid:nth-of-type(1) .quick-actions__item:nth-child(4) .quick-actions__icon-img {
}
/* 第?????*/
.quick-actions__grid:nth-of-type(3) .quick-actions__item:nth-child(1),
.quick-actions__grid:nth-of-type(3) .quick-actions__item:nth-child(1) .quick-actions__icon-wrap {
background-color: rgba(255, 236, 236, 1);
}
.quick-actions__grid:nth-of-type(3) .quick-actions__item:nth-child(1) .quick-actions__icon-img {
}
.quick-actions__grid:nth-of-type(3) .quick-actions__item:nth-child(2),
.quick-actions__grid:nth-of-type(3) .quick-actions__item:nth-child(2) .quick-actions__icon-wrap {
background-color: rgba(255, 243, 238, 1);
}
.quick-actions__grid:nth-of-type(3) .quick-actions__item:nth-child(2) .quick-actions__icon-img {
}
.quick-actions__grid:nth-of-type(3) .quick-actions__item:nth-child(3),
.quick-actions__grid:nth-of-type(3) .quick-actions__item:nth-child(3) .quick-actions__icon-wrap {
background-color: rgba(240, 250, 245, 1);
}
.quick-actions__grid:nth-of-type(3) .quick-actions__item:nth-child(3) .quick-actions__icon-img {
}
.quick-actions__grid:nth-of-type(3) .quick-actions__item:nth-child(4),
.quick-actions__grid:nth-of-type(3) .quick-actions__item:nth-child(4) .quick-actions__icon-wrap {
background-color: rgba(235, 243, 250, 1);
}
.quick-actions__grid:nth-of-type(3) .quick-actions__item:nth-child(4) .quick-actions__icon-img {
}
@@ -0,0 +1,211 @@
.referral-section {
width: 100%;
max-width: 100%;
box-sizing: border-box;
border-radius: 14px;
box-shadow: 0 2px 10px rgba(26, 25, 24, 0.03);
background-color: var(--bg-white, #ffffff);
overflow: hidden;
}
.referral-section__inner {
display: flex;
flex-direction: column;
gap: 12px;
padding: 16px;
width: 100%;
box-sizing: border-box;
}
.referral-section__header {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
}
.referral-section__title {
font-size: var(--font-size-md, 16px);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-dark);
flex-shrink: 0;
}
.referral-section__link {
display: flex;
flex-direction: row;
align-items: center;
gap: 2px;
flex-shrink: 0;
}
.referral-section__records-link {
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 400;
color: var(--accent-orange);
line-height: 1.4;
white-space: nowrap;
}
.referral-section__link-arrow {
width: 14px;
height: 14px;
display: block;
flex-shrink: 0;
}
/* 推荐码行:grid 避免小程序 flex 宽度计算异常 */
.referral-section__code-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
column-gap: 10px;
width: 100%;
box-sizing: border-box;
}
.referral-section__code-box {
min-width: 0;
display: flex;
flex-direction: column;
justify-content: center;
gap: 2px;
padding: 10px 12px;
border-radius: 8px;
background-color: #f2f5f9;
box-sizing: border-box;
overflow: hidden;
}
.referral-section__code-label {
display: block;
font-size: var(--font-size-xs, 11px);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-muted);
line-height: 1.4;
}
.referral-section__code-value {
display: block;
width: 100%;
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 700;
color: var(--primary-dark);
line-height: 1.3;
letter-spacing: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.referral-section__copy-btn {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 4px;
height: 100%;
min-height: 52px;
padding: 0 14px;
border-radius: 10px;
background-color: var(--accent-orange);
box-sizing: border-box;
}
/* 例图:双矩形复制图标 */
.referral-section__copy-icon {
position: relative;
width: 14px;
height: 14px;
flex-shrink: 0;
}
.referral-section__copy-sheet {
position: absolute;
width: 9px;
height: 9px;
border: 1.5px solid #ffffff;
border-radius: 2px;
box-sizing: border-box;
}
.referral-section__copy-sheet--back {
right: 0;
bottom: 0;
opacity: 0.85;
}
.referral-section__copy-sheet--front {
left: 0;
top: 0;
background-color: rgba(255, 255, 255, 0.2);
}
.referral-section__copy-text {
display: block;
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 600;
color: var(--text-inverse);
line-height: 1.4;
white-space: nowrap;
}
.referral-section__stats {
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
box-sizing: border-box;
}
.referral-section__stat {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 2px;
}
.referral-section__stat-num {
display: block;
font-size: var(--font-size-lg, 18px);
font-family: var(--font-family);
font-weight: 700;
line-height: 1.2;
}
.referral-section__stat-num--orange {
color: var(--accent-orange);
}
.referral-section__stat-num--green {
color: var(--success-green);
}
.referral-section__stat-num--amber {
color: #f39c12;
}
.referral-section__stat-label {
display: block;
font-size: var(--font-size-xs, 11px);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-light);
line-height: 1.4;
white-space: nowrap;
}
.referral-section__stat-divider {
width: 1px;
height: 28px;
flex-shrink: 0;
background-color: var(--border-light);
}
@@ -0,0 +1,166 @@
.settings-section {
width: 100%;
box-sizing: border-box;
--bg-white: #ffffff;
--text-dark: #1e2a3a;
--text-light: #8a99b4;
--error-red: #e74c3c;
--success-green: #2ecc71;
--border-light: #e9edf2;
--font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
--font-size-xs: 11px;
--font-size-base: 14px;
--font-size-md: 16px;
--font-weight-medium: 500;
--font-weight-bold: 700;
}
.settings-section__inner {
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
}
.settings-section__title {
display: block;
font-size: 16px;
font-family: var(--font-family);
font-weight: 700;
color: #1e2a3a;
line-height: 1.4;
}
.settings-section__list {
width: 100%;
border-radius: 14px;
box-shadow: 0 2px 10px rgba(26, 25, 24, 0.03);
background-color: #ffffff;
overflow: hidden;
}
.settings-section__list-inner {
display: flex;
flex-direction: column;
width: 100%;
}
.settings-section__item {
width: 100%;
min-height: 52px;
display: flex;
flex-direction: row;
align-items: center;
background-color: #ffffff;
}
.settings-section__item--tall {
min-height: 60px;
}
.settings-section__item-inner {
display: flex;
flex-direction: row;
align-items: center;
gap: 12px;
padding: 12px 16px;
width: 100%;
box-sizing: border-box;
}
.settings-section__item-icon-wrap {
width: 32px;
height: 32px;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
background-color: rgba(255, 243, 238, 1);
}
.settings-section__item-icon-wrap--blue {
background-color: rgba(235, 243, 250, 1);
}
.settings-section__item-icon-wrap--green {
background-color: rgba(240, 250, 245, 1);
}
.settings-section__item-icon-wrap--red {
background-color: rgba(255, 236, 236, 1);
}
.settings-section__item-icon-wrap-inner {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.settings-section__item-icon {
width: 16px;
height: 16px;
flex-shrink: 0;
display: block;
}
.settings-section__item-label {
flex: 1;
min-width: 0;
display: block;
font-size: 14px;
font-family: var(--font-family);
font-weight: 500;
color: #1e2a3a;
line-height: 1.4;
}
.settings-section__item-label--danger {
color: #e74c3c;
}
.settings-section__item-texts {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 2px;
}
.settings-section__item-title {
display: block;
font-size: 14px;
font-family: var(--font-family);
font-weight: 500;
color: #1e2a3a;
line-height: 1.4;
}
.settings-section__item-desc {
display: block;
font-size: 11px;
font-family: var(--font-family);
font-weight: 400;
color: #2ecc71;
line-height: 1.3;
}
.settings-section__item-arrow {
width: 16px;
height: 16px;
flex-shrink: 0;
display: block;
}
.settings-section__item-divider {
width: 100%;
height: 1px;
background-color: #e9edf2;
}
.mi-tap-row--hover {
opacity: 0.72;
}
@@ -0,0 +1,48 @@
.status-bar {
width: 100%;
height: 62px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
background-color: var(--primary-dark);
}
.status-bar__inner {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 0px 20px 0px 20px;
width: 100%;
height: 100%;
position: relative;
}
.status-bar__time {
font-size: var(--font-size-md);
font-family: var(--font-family);
font-weight: 600;
color: var(--text-inverse);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.status-bar__icons {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-inverse);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
@@ -0,0 +1,123 @@
.sub-nav {
width: 100%;
display: flex;
flex-direction: column;
flex-shrink: 0;
box-sizing: border-box;
}
.sub-nav__toolbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
width: 100%;
background-color: #ffffff;
box-sizing: border-box;
border-bottom: 1px solid #e9edf2;
}
.sub-nav__spacer {
width: 100%;
flex-shrink: 0;
}
.sub-nav__nav {
position: relative;
display: flex;
flex-direction: row;
align-items: center;
height: 44px;
padding-left: 12px;
padding-right: 12px;
box-sizing: border-box;
width: 100%;
}
.sub-nav__back {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
min-width: 32px;
border-radius: 8px;
background-color: #f9fafe;
flex-shrink: 0;
position: relative;
z-index: 2;
}
.sub-nav__back-icon {
width: 20px;
height: 20px;
max-width: 20px;
max-height: 20px;
display: block;
flex-shrink: 0;
}
.sub-nav__title {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
max-width: 50%;
text-align: center;
font-size: 16px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
font-weight: 600;
color: #1e2a3a;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
pointer-events: none;
z-index: 1;
line-height: 1.2;
}
.sub-nav__right {
display: flex;
flex-direction: row;
align-items: center;
margin-left: auto;
flex-shrink: 0;
position: relative;
z-index: 2;
}
.sub-nav__action {
flex-shrink: 0;
margin-right: 4px;
}
.sub-nav__action-text {
font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
font-weight: 500;
color: #ff6b35;
white-space: nowrap;
}
.sub-nav__action--button {
padding: 6px 14px;
border-radius: 8px;
background-color: #ff6b35;
}
.sub-nav__action--button .sub-nav__action-text {
color: #ffffff;
font-weight: 600;
}
.sub-nav__capsule {
flex-shrink: 0;
min-width: 0;
}
.sub-nav__capsule--h5 {
width: 0 !important;
min-width: 0 !important;
overflow: hidden;
}
@@ -0,0 +1,36 @@
/* 小程序点击反馈(配合 hover-class 使用) */
.mi-tap--hover,
.mi-tap--scale,
.mi-tap-card--hover,
.mi-tap-btn--hover,
.mi-tap-tab--hover,
.mi-tap-save--hover {
transition: opacity 0.15s ease, transform 0.15s ease;
}
.mi-tap--scale {
transform: scale(0.97);
}
.mi-tap-card--hover {
opacity: 0.92;
transform: scale(0.995);
}
.mi-tap-btn--hover {
opacity: 0.85;
transform: scale(0.98);
}
.mi-tap-tab--hover {
opacity: 0.75;
}
.mi-tap-row--hover {
background-color: rgba(249, 250, 254, 0.95);
}
.mi-tap-save--hover {
opacity: 0.88;
transform: scale(0.99);
}
@@ -0,0 +1,860 @@
/* 智能体测模块 - 公共样式(基于 base.css 变量) */
@import '@/common/style/memberInfo/member-info-gradient-cards.css';
.bt-page {
width: 100%;
min-height: 100%;
box-sizing: border-box;
overflow-x: hidden;
background-color: var(--bg-light, #F9FAFE);
}
.bt-page__body {
display: flex;
flex-direction: column;
gap: var(--spacing-sm, 12px);
padding: var(--spacing-md, 16px) var(--spacing-md, 16px) 40px;
box-sizing: border-box;
}
.bt-card {
width: 100%;
padding: 16px;
border-radius: var(--radius-md, 20px);
background-color: var(--bg-white, #fff);
box-shadow: var(--shadow-sm, 0 8px 20px rgba(0, 0, 0, 0.03));
box-sizing: border-box;
}
.bt-card__title {
font-size: var(--font-size-md, 16px);
font-weight: 700;
color: var(--text-dark, #1E2A3A);
margin-bottom: 12px;
display: block;
}
.bt-card__desc {
font-size: var(--font-size-sm, 12px);
color: var(--text-muted, #5E6F8D);
line-height: 1.5;
display: block;
}
.bt-hero {
padding: 20px;
border-radius: var(--radius-sm, 12px);
display: flex;
flex-direction: column;
gap: 12px;
}
.bt-hero__top {
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
}
.bt-hero__label {
font-size: var(--font-size-sm, 12px);
color: rgba(255, 255, 255, 0.75);
}
.bt-hero__badge {
padding: 4px 10px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.18);
}
.bt-hero__badge-text {
font-size: var(--font-size-sm, 12px);
color: var(--text-inverse, #fff);
}
.bt-hero__score-row {
display: flex;
flex-direction: row;
align-items: baseline;
gap: 8px;
}
.bt-hero__score {
font-size: 48px;
font-weight: 800;
color: var(--text-inverse, #fff);
line-height: 1;
}
.bt-hero__grade {
font-size: var(--font-size-xl, 20px);
font-weight: 700;
color: var(--accent-orange-light, #FF8C5A);
}
.bt-hero__meta {
font-size: var(--font-size-sm, 12px);
color: rgba(255, 212, 184, 1);
}
.bt-hero__actions {
display: flex;
flex-direction: row;
gap: 10px;
margin-top: 4px;
}
.bt-btn {
flex: 1;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 6px;
padding: 12px 16px;
border-radius: var(--radius-full, 999px);
box-sizing: border-box;
}
.bt-btn--primary {
box-shadow: var(--shadow-orange-glow, 0 4px 12px rgba(255, 107, 53, 0.25));
}
.bt-btn--ghost {
background: rgba(255, 255, 255, 0.15);
border: 1px solid rgba(255, 255, 255, 0.3);
}
.bt-btn--outline {
background: var(--bg-white, #fff);
border: 1px solid var(--border-light, #E9EDF2);
}
.bt-btn__text {
font-size: var(--font-size-base, 14px);
font-weight: 600;
}
.bt-btn--primary .bt-btn__text,
.bt-btn--ghost .bt-btn__text {
color: var(--text-inverse, #fff);
}
.bt-btn--outline .bt-btn__text {
color: var(--primary-dark, #0B2B4B);
}
.bt-btn__icon {
width: 16px;
height: 16px;
}
.bt-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 8px;
}
.bt-grid__item {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
padding: 12px 4px;
border-radius: var(--radius-sm, 12px);
background: var(--bg-gray, #F2F5F9);
}
.bt-grid__icon {
width: 22px;
height: 22px;
}
.bt-grid__label {
font-size: 11px;
color: var(--text-muted, #5E6F8D);
text-align: center;
}
.bt-device {
display: flex;
flex-direction: row;
align-items: center;
gap: 12px;
}
.bt-device__icon-wrap {
width: 44px;
height: 44px;
border-radius: 12px;
background: var(--bg-gray, #F2F5F9);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.bt-device__icon {
width: 22px;
height: 22px;
}
.bt-device__info {
flex: 1;
min-width: 0;
}
.bt-device__name {
font-size: var(--font-size-base, 14px);
font-weight: 600;
color: var(--text-dark, #1E2A3A);
display: block;
}
.bt-device__status {
font-size: var(--font-size-sm, 12px);
color: var(--text-muted, #5E6F8D);
display: block;
margin-top: 2px;
}
.bt-device__status--on {
color: var(--success-green, #2ECC71);
}
.bt-device__dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--text-light, #8A99B4);
flex-shrink: 0;
}
.bt-device__dot--on {
background: var(--success-green, #2ECC71);
}
.bt-metrics {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}
.bt-metric {
padding: 14px;
border-radius: var(--radius-sm, 12px);
background: var(--bg-gray, #F2F5F9);
display: flex;
flex-direction: column;
gap: 4px;
}
.bt-metric__value {
font-size: var(--font-size-xl, 20px);
font-weight: 700;
color: var(--text-dark, #1E2A3A);
}
.bt-metric__label {
font-size: var(--font-size-sm, 12px);
color: var(--text-muted, #5E6F8D);
}
.bt-metric__change {
font-size: 11px;
font-weight: 600;
}
.bt-metric__change--down {
color: var(--success-green, #2ECC71);
}
.bt-metric__change--up {
color: var(--warning-amber, #F39C12);
}
.bt-steps {
display: flex;
flex-direction: column;
gap: 0;
}
.bt-step {
display: flex;
flex-direction: row;
gap: 12px;
padding: 12px 0;
}
.bt-step__num {
width: 28px;
height: 28px;
border-radius: 50%;
background: var(--primary-dark, #0B2B4B);
color: var(--text-inverse, #fff);
font-size: var(--font-size-sm, 12px);
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.bt-step__content {
flex: 1;
padding-bottom: 12px;
border-bottom: 1px solid var(--border-light, #E9EDF2);
}
.bt-step:last-child .bt-step__content {
border-bottom: none;
padding-bottom: 0;
}
.bt-step__title {
font-size: var(--font-size-base, 14px);
font-weight: 600;
color: var(--text-dark, #1E2A3A);
display: block;
}
.bt-step__desc {
font-size: var(--font-size-sm, 12px);
color: var(--text-muted, #5E6F8D);
margin-top: 4px;
display: block;
line-height: 1.5;
}
.bt-measure {
display: flex;
flex-direction: column;
align-items: center;
padding: 24px 16px;
gap: 16px;
}
.bt-measure__ring-wrap {
position: relative;
width: 180px;
height: 180px;
}
.bt-measure__ring-bg {
width: 180px;
height: 180px;
border-radius: 50%;
border: 10px solid var(--border-light, #E9EDF2);
box-sizing: border-box;
}
.bt-measure__ring-fill {
position: absolute;
top: 0;
left: 0;
width: 180px;
height: 180px;
border-radius: 50%;
border: 10px solid transparent;
border-top-color: var(--accent-orange, #FF6B35);
border-right-color: var(--accent-orange, #FF6B35);
box-sizing: border-box;
transform: rotate(-90deg);
transition: transform 0.3s ease;
}
.bt-measure__center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
.bt-measure__percent {
font-size: 36px;
font-weight: 800;
color: var(--primary-dark, #0B2B4B);
display: block;
}
.bt-measure__hint {
font-size: var(--font-size-sm, 12px);
color: var(--text-muted, #5E6F8D);
}
.bt-measure__live {
width: 100%;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}
.bt-measure__live-item {
padding: 12px;
border-radius: var(--radius-sm, 12px);
background: var(--bg-gray, #F2F5F9);
text-align: center;
}
.bt-measure__live-value {
font-size: var(--font-size-lg, 18px);
font-weight: 700;
color: var(--text-dark, #1E2A3A);
display: block;
}
.bt-measure__live-label {
font-size: var(--font-size-sm, 12px);
color: var(--text-muted, #5E6F8D);
margin-top: 2px;
display: block;
}
.bt-score-card {
display: flex;
flex-direction: row;
align-items: center;
gap: 16px;
padding: 20px;
border-radius: var(--radius-sm, 12px);
}
.bt-score-card__circle {
width: 72px;
height: 72px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.15);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.bt-score-card__num {
font-size: 28px;
font-weight: 800;
color: var(--text-inverse, #fff);
line-height: 1;
}
.bt-score-card__grade {
font-size: 11px;
color: var(--accent-orange-light, #FF8C5A);
font-weight: 600;
}
.bt-score-card__info {
flex: 1;
}
.bt-score-card__title {
font-size: var(--font-size-md, 16px);
font-weight: 700;
color: var(--text-inverse, #fff);
display: block;
}
.bt-score-card__date {
font-size: var(--font-size-sm, 12px);
color: rgba(255, 255, 255, 0.7);
margin-top: 4px;
display: block;
}
.bt-body-map {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
padding: 8px 0;
}
.bt-body-map__figure {
width: 120px;
height: 200px;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
}
.bt-body-map__head {
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--primary-light, #2C6288);
opacity: 0.6;
}
.bt-body-map__torso {
width: 56px;
height: 70px;
border-radius: 12px;
background: var(--primary-deep, #1A4A6F);
margin-top: 4px;
}
.bt-body-map__limbs {
display: flex;
flex-direction: row;
gap: 48px;
margin-top: -60px;
}
.bt-body-map__arm {
width: 16px;
height: 50px;
border-radius: 8px;
background: var(--primary-light, #2C6288);
opacity: 0.7;
}
.bt-body-map__legs {
display: flex;
flex-direction: row;
gap: 12px;
margin-top: 4px;
}
.bt-body-map__leg {
width: 22px;
height: 60px;
border-radius: 8px;
background: var(--primary-light, #2C6288);
opacity: 0.7;
}
.bt-body-map__segments {
width: 100%;
display: flex;
flex-direction: column;
gap: 6px;
}
.bt-body-map__seg {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 8px 12px;
border-radius: 8px;
background: var(--bg-gray, #F2F5F9);
}
.bt-body-map__seg--high {
border-left: 3px solid var(--accent-orange, #FF6B35);
}
.bt-body-map__seg--low {
border-left: 3px solid var(--info-blue, #3498DB);
}
.bt-body-map__seg-name {
font-size: var(--font-size-sm, 12px);
color: var(--text-dark, #1E2A3A);
}
.bt-body-map__seg-val {
font-size: var(--font-size-sm, 12px);
font-weight: 600;
color: var(--text-muted, #5E6F8D);
}
.bt-advice-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.bt-advice-item {
display: flex;
flex-direction: row;
gap: 8px;
align-items: flex-start;
}
.bt-advice-item__dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--accent-orange, #FF6B35);
margin-top: 6px;
flex-shrink: 0;
}
.bt-advice-item__text {
font-size: var(--font-size-sm, 12px);
color: var(--text-muted, #5E6F8D);
line-height: 1.5;
flex: 1;
}
.bt-course {
display: flex;
flex-direction: row;
gap: 12px;
padding: 12px 0;
border-bottom: 1px solid var(--border-light, #E9EDF2);
}
.bt-course:last-child {
border-bottom: none;
padding-bottom: 0;
}
.bt-course__banner {
width: 72px;
height: 72px;
border-radius: 12px;
flex-shrink: 0;
}
.bt-course__info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 4px;
}
.bt-course__tag {
font-size: 10px;
color: var(--accent-orange, #FF6B35);
font-weight: 600;
}
.bt-course__title {
font-size: var(--font-size-base, 14px);
font-weight: 600;
color: var(--text-dark, #1E2A3A);
}
.bt-course__meta {
font-size: var(--font-size-sm, 12px);
color: var(--text-muted, #5E6F8D);
}
.bt-history-item {
display: flex;
flex-direction: row;
align-items: center;
gap: 12px;
padding: 14px 0;
border-bottom: 1px solid var(--border-light, #E9EDF2);
}
.bt-history-item:last-child {
border-bottom: none;
}
.bt-history-item__date {
width: 52px;
text-align: center;
flex-shrink: 0;
}
.bt-history-item__day {
font-size: var(--font-size-xl, 20px);
font-weight: 700;
color: var(--primary-dark, #0B2B4B);
display: block;
}
.bt-history-item__month {
font-size: 10px;
color: var(--text-muted, #5E6F8D);
}
.bt-history-item__info {
flex: 1;
min-width: 0;
}
.bt-history-item__score-row {
display: flex;
flex-direction: row;
align-items: center;
gap: 6px;
}
.bt-history-item__grade {
font-size: var(--font-size-base, 14px);
font-weight: 600;
color: var(--text-dark, #1E2A3A);
}
.bt-history-item__status {
font-size: var(--font-size-sm, 12px);
color: var(--text-muted, #5E6F8D);
}
.bt-history-item__metrics {
font-size: 11px;
color: var(--text-light, #8A99B4);
margin-top: 2px;
}
.bt-history-item__arrow {
width: 16px;
height: 16px;
flex-shrink: 0;
}
.bt-compare-header {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.bt-compare-picker {
padding: 12px;
border-radius: var(--radius-sm, 12px);
background: var(--bg-gray, #F2F5F9);
text-align: center;
}
.bt-compare-picker__label {
font-size: 10px;
color: var(--text-light, #8A99B4);
display: block;
}
.bt-compare-picker__date {
font-size: var(--font-size-base, 14px);
font-weight: 600;
color: var(--text-dark, #1E2A3A);
margin-top: 4px;
display: block;
}
.bt-compare-row {
display: flex;
flex-direction: row;
align-items: center;
padding: 12px 0;
border-bottom: 1px solid var(--border-light, #E9EDF2);
}
.bt-compare-row:last-child {
border-bottom: none;
}
.bt-compare-row__label {
flex: 1;
font-size: var(--font-size-sm, 12px);
color: var(--text-muted, #5E6F8D);
}
.bt-compare-row__val {
width: 60px;
text-align: center;
font-size: var(--font-size-sm, 12px);
font-weight: 600;
color: var(--text-dark, #1E2A3A);
}
.bt-compare-row__diff {
width: 56px;
text-align: right;
font-size: 11px;
font-weight: 600;
}
.bt-setting {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 14px 0;
border-bottom: 1px solid var(--border-light, #E9EDF2);
}
.bt-setting:last-child {
border-bottom: none;
}
.bt-setting__label {
font-size: var(--font-size-base, 14px);
color: var(--text-dark, #1E2A3A);
}
.bt-setting__desc {
font-size: var(--font-size-sm, 12px);
color: var(--text-light, #8A99B4);
margin-top: 2px;
}
.bt-footer-actions {
display: flex;
flex-direction: row;
gap: 10px;
padding: 16px;
}
.bt-empty {
display: flex;
align-items: center;
justify-content: center;
padding: 40px 16px;
}
.bt-empty__text {
font-size: var(--font-size-base, 14px);
color: var(--text-light, #8A99B4);
}
.bt-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;
}
.bt-tab {
padding: 8px 14px;
border-radius: var(--radius-full, 999px);
background: var(--bg-white, #fff);
border: 1px solid var(--border-light, #E9EDF2);
flex-shrink: 0;
}
.bt-tab--active {
background: var(--primary-dark, #0B2B4B);
border-color: var(--primary-dark, #0B2B4B);
}
.bt-tab__text {
font-size: var(--font-size-sm, 12px);
color: var(--text-muted, #5E6F8D);
white-space: nowrap;
}
.bt-tab--active .bt-tab__text {
color: var(--text-inverse, #fff);
font-weight: 600;
}
.bt-trend-link {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 12px 0 0;
margin-top: 8px;
border-top: 1px solid var(--border-light, #E9EDF2);
}
.bt-trend-link__text {
font-size: var(--font-size-sm, 12px);
color: var(--primary-deep, #1A4A6F);
font-weight: 600;
}
.bt-trend-link__arrow {
width: 14px;
height: 14px;
}
@@ -0,0 +1,272 @@
.booking-page {
width: 100%;
min-height: 100%;
box-sizing: border-box;
overflow-x: hidden;
background-color: var(--bg-light, #F9FAFE);
}
/* Tab 栏 */
.booking-page__tabs {
display: flex;
flex-direction: row;
align-items: stretch;
width: 100%;
height: 44px;
background-color: var(--bg-white, #ffffff);
border-bottom: 1px solid var(--border-light, #E9EDF2);
box-sizing: border-box;
}
.booking-page__tab {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 44px;
padding: 0 16px;
box-sizing: border-box;
}
.booking-page__tab-text {
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-light, #8A99B4);
white-space: nowrap;
}
.booking-page__tab-text--active {
font-weight: 700;
color: var(--accent-orange, #FF6B35);
}
.booking-page__tab-indicator {
position: absolute;
left: 16px;
right: 16px;
bottom: 0;
height: 2px;
border-radius: 2px;
background-color: var(--accent-orange, #FF6B35);
}
/* 内容区 */
.booking-page__body {
display: flex;
flex-direction: column;
gap: 12px;
padding: 16px 16px 40px;
box-sizing: border-box;
}
/* 提醒横幅 */
.booking-page__alert {
display: flex;
flex-direction: row;
align-items: center;
gap: 8px;
width: 100%;
padding: 10px 12px;
border-radius: 10px;
border: 1px solid rgba(255, 204, 170, 1);
background-color: rgba(255, 243, 238, 1);
box-sizing: border-box;
}
.booking-page__alert-icon {
width: 14px;
height: 14px;
flex-shrink: 0;
display: block;
}
.booking-page__alert-text {
flex: 1;
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 500;
color: var(--accent-orange, #FF6B35);
line-height: 1.4;
}
/* 预约卡片 */
.bk-card {
width: 100%;
border-radius: 14px;
box-shadow: 0 2px 10px rgba(26, 25, 24, 0.03);
background-color: var(--bg-white, #ffffff);
overflow: hidden;
box-sizing: border-box;
transition: opacity 0.15s ease, transform 0.15s ease;
}
.bk-card__banner {
width: 100%;
height: 80px;
display: block;
border-radius: 14px 14px 0 0;
}
.bk-card__content {
display: flex;
flex-direction: column;
gap: 8px;
padding: 12px 14px;
box-sizing: border-box;
}
.bk-card__header {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
gap: 8px;
}
.bk-card__title {
flex: 1;
min-width: 0;
font-size: var(--font-size-md, 16px);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-dark, #1E2A3A);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.bk-card__status {
flex-shrink: 0;
padding: 4px 10px;
border-radius: 6px;
box-sizing: border-box;
}
.bk-card__status--booked {
background-color: var(--success-green, #2ECC71);
}
.bk-card__status--pending {
background-color: rgba(255, 243, 238, 1);
border: 1px solid rgba(212, 166, 74, 1);
}
.bk-card__status--completed {
background-color: var(--bg-light, #F9FAFE);
border: 1px solid var(--border-light, #E9EDF2);
}
.bk-card__status--cancelled {
background-color: var(--bg-light, #F9FAFE);
border: 1px solid var(--border-light, #E9EDF2);
}
.bk-card__status-text {
font-size: var(--font-size-sm, 12px);
font-family: var(--font-family);
font-weight: 500;
white-space: nowrap;
}
.bk-card__status-text--booked {
color: var(--text-inverse, #ffffff);
}
.bk-card__status-text--pending {
color: var(--accent-orange, #FF6B35);
}
.bk-card__status-text--completed {
color: var(--text-muted, #5E6F8D);
}
.bk-card__status-text--cancelled {
color: var(--text-light, #8A99B4);
}
/* 时间与教练信息(分两行) */
.bk-card__meta {
display: flex;
flex-direction: column;
gap: 4px;
width: 100%;
}
.bk-card__meta-row {
display: flex;
flex-direction: row;
align-items: center;
gap: 6px;
}
.bk-card__meta-icon {
width: 13px;
height: 13px;
flex-shrink: 0;
display: block;
}
.bk-card__meta-text {
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-muted, #5E6F8D);
white-space: nowrap;
}
/* 底部操作行 */
.bk-card__footer {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
gap: 8px;
}
.bk-card__footer-info {
flex: 1;
min-width: 0;
font-size: var(--font-size-sm, 12px);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-light, #8A99B4);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.bk-card__cancel {
flex-shrink: 0;
padding: 6px 14px;
border-radius: 8px;
border: 1px solid var(--border-light, #E9EDF2);
background-color: var(--bg-white, #ffffff);
box-sizing: border-box;
}
.bk-card__cancel-text {
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 500;
color: var(--error-red, #E74C3C);
white-space: nowrap;
}
/* 空状态 */
.booking-page__empty {
display: flex;
align-items: center;
justify-content: center;
padding: 48px 16px;
}
.booking-page__empty-text {
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-light, #8A99B4);
}
@@ -0,0 +1,774 @@
.Pixso-frame-2_965 {
width: 100%;
height: 62px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
background-color: var(--bg-white);
}
.frame-content-2_965 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 0px 20px 0px 20px;
width: 100%;
height: 100%;
position: relative;
}
.Pixso-paragraph-2_966 {
font-size: var(--font-size-md);
font-family: var(--font-family);
font-weight: 600;
color: var(--text-dark);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-paragraph-2_967 {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-dark);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_968 {
width: 100%;
height: 100%;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
background-color: var(--bg-white);
}
.frame-content-2_968 {
display: flex;
flex-direction: row;
align-items: center;
padding: 0px 16px 0px 16px;
width: 100%;
height: 100%;
position: relative;
}
.stroke-wrapper-2_968 {
position: relative;
width: 100%;
height: 52px;
display: flex;
flex-shrink: 0;
}
.stroke-2_968 {
position: absolute;
inset: 0px;
border-radius: 0px 0px 0px 0px;
pointer-events: none;
border-width: 0px 0px 1px 0px;
border-style: solid;
box-sizing: border-box;
border-color: var(--border-light);
}
.Pixso-frame-2_969 {
width: 32px;
height: 32px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
border-radius: 8px 8px 8px 8px;
background-color: var(--bg-light);
}
.frame-content-2_969 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
position: relative;
}
.Pixso-vector-2_970 {width: 20px;
height: 20px;
position: relative;
flex-shrink: 0;
display: block;
}
.Pixso-paragraph-2_972 {
font-size: var(--font-size-md);
font-family: var(--font-family);
font-weight: 700;
text-align: center;
color: var(--primary-dark);
width: 100%;
height: auto;
position: relative;
flex-shrink: 1;
flex-grow: 1;
flex-basis: 0;
}
.Pixso-frame-2_973 {
width: 32px;
height: 32px;
position: relative;
flex-shrink: 0;
background-color: rgba(249, 250, 254, 0);
}
.Pixso-frame-2_974 {
width: 100%;
height: 100%;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
background-color: var(--bg-white);
}
.frame-content-2_974 {
display: flex;
flex-direction: row;
align-items: center;
padding: 0px 16px 0px 16px;
width: 100%;
height: 100%;
position: relative;
}
.stroke-wrapper-2_974 {
position: relative;
width: 100%;
height: 44px;
display: flex;
flex-shrink: 0;
}
.stroke-2_974 {
position: absolute;
inset: 0px;
border-radius: 0px 0px 0px 0px;
pointer-events: none;
border-width: 0px 0px 1px 0px;
border-style: solid;
box-sizing: border-box;
border-color: var(--border-light);
}
.Pixso-frame-2_975 {
width: 74px;
height: 44px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
align-self: stretch;
}
.frame-content-2_975 {
display: flex;
flex-direction: row;
align-items: center;
padding: 0px 16px 0px 16px;
height: 100%;
position: relative;
}
.Pixso-paragraph-2_976 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 700;
color: var(--accent-orange);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_977 {
width: 74px;
height: 2px;
position: absolute;
left: 0px;
top: 42px;
border-radius: 2px 2px 2px 2px;
background-color: var(--accent-orange);
}
.Pixso-frame-2_978 {
width: auto;
height: 44px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
align-self: stretch;
}
.frame-content-2_978 {
display: flex;
flex-direction: row;
align-items: center;
padding: 0px 16px 0px 16px;
height: 100%;
position: relative;
}
.Pixso-paragraph-2_979 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-light);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_980 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.frame-content-2_980 {
display: flex;
flex-direction: column;
gap: 12px;
align-items: flex-start;
padding: 16px 16px 40px 16px;
width: 100%;
position: relative;
}
.Pixso-frame-2_981 {
width: 100%;
height: 100%;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
border-radius: 10px 10px 10px 10px;
background-color: rgba(255, 243, 238, 1);
}
.frame-content-2_981 {
display: flex;
flex-direction: row;
gap: 8px;
align-items: center;
padding: 10px 12px 10px 12px;
width: 100%;
position: relative;
}
.stroke-wrapper-2_981 {
position: relative;
width: 100%;
height: auto;
display: flex;
flex-shrink: 0;
}
.stroke-2_981 {
position: absolute;
inset: 0px;
border-radius: 10px 10px 10px 10px;
pointer-events: none;
border-width: 1px 1px 1px 1px;
border-style: solid;
box-sizing: border-box;
border-color: rgba(255, 204, 170, 1);
}
.Pixso-vector-2_982 {width: 14px;
height: 14px;
position: relative;
flex-shrink: 0;
display: block;
}
.Pixso-paragraph-2_985 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 500;
color: var(--accent-orange);
width: 100%;
height: auto;
position: relative;
flex-shrink: 1;
flex-grow: 1;
flex-basis: 0;
}
.Pixso-frame-2_986 {
width: 100%;
height: 195px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
border-radius: 14px 14px 14px 14px;
box-shadow: 0px 2px 10px 0px rgba(26, 25, 24, 0.03137254901960784);
background-color: var(--bg-white);
}
.frame-content-2_986 {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
position: relative;
}
.Pixso-vector-2_987 {width: 100%;
height: 80px;
position: relative;
flex-shrink: 0;
display: block;
}
.Pixso-frame-2_988 {
width: 358px;
height: 80px;
position: absolute;
left: 0px;
top: 0px;
border-radius: 14px 14px 0px 0px;
background-color: rgba(0, 0, 0, 0.1882352977991104);
}
.Pixso-frame-2_989 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.frame-content-2_989 {
display: flex;
flex-direction: column;
gap: 8px;
align-items: flex-start;
padding: 12px 14px 12px 14px;
width: 100%;
position: relative;
}
.Pixso-frame-2_990 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.frame-content-2_990 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
position: relative;
}
.Pixso-paragraph-2_991 {
font-size: var(--font-size-md);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-dark);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_992 {
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 4px 10px 4px 10px;
border-radius: 6px 6px 6px 6px;
background-color: var(--success-green);
}
.Pixso-paragraph-2_993 {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 500;
color: var(--text-inverse);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_994 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
}
.frame-content-2_994 {
display: flex;
flex-direction: row;
gap: 14px;
align-items: center;
width: 100%;
position: relative;
}
.Pixso-vector-2_995 {width: 13px;
height: 13px;
position: relative;
flex-shrink: 0;
display: block;
}
.Pixso-paragraph-2_998 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-muted);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-vector-2_999 {width: 13px;
height: 13px;
position: relative;
flex-shrink: 0;
display: block;
}
.Pixso-paragraph-2_1002 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-muted);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_1003 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.frame-content-2_1003 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
position: relative;
}
.Pixso-paragraph-2_1004 {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-light);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_1005 {
width: 100%;
height: 100%;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 6px 14px 6px 14px;
border-radius: 8px 8px 8px 8px;
background-color: var(--bg-white);
}
.stroke-wrapper-2_1005 {
position: relative;
width: auto;
height: auto;
display: flex;
flex-shrink: 0;
}
.stroke-2_1005 {
position: absolute;
inset: -1px -1px -1px -1px;
border-radius: 9px 9px 9px 9px;
pointer-events: none;
border-width: 1px 1px 1px 1px;
border-style: solid;
box-sizing: border-box;
border-color: var(--border-light);
}
.Pixso-paragraph-2_1006 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 500;
color: var(--error-red);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_1007 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
border-radius: 14px 14px 14px 14px;
box-shadow: 0px 2px 10px 0px rgba(26, 25, 24, 0.03137254901960784);
background-color: var(--bg-white);
}
.frame-content-2_1007 {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
position: relative;
}
.Pixso-vector-2_1008 {width: 100%;
height: 80px;
position: relative;
flex-shrink: 0;
display: block;
}
.Pixso-frame-2_1009 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.frame-content-2_1009 {
display: flex;
flex-direction: column;
gap: 8px;
align-items: flex-start;
padding: 12px 14px 12px 14px;
width: 100%;
position: relative;
}
.Pixso-frame-2_1010 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.frame-content-2_1010 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
position: relative;
}
.Pixso-paragraph-2_1011 {
font-size: var(--font-size-md);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-dark);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_1012 {
width: 100%;
height: 100%;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 4px 10px 4px 10px;
border-radius: 6px 6px 6px 6px;
background-color: rgba(255, 243, 238, 1);
}
.stroke-wrapper-2_1012 {
position: relative;
width: auto;
height: auto;
display: flex;
flex-shrink: 0;
}
.stroke-2_1012 {
position: absolute;
inset: 0px;
border-radius: 6px 6px 6px 6px;
pointer-events: none;
border-width: 1px 1px 1px 1px;
border-style: solid;
box-sizing: border-box;
border-color: rgba(212, 166, 74, 1);
}
.Pixso-paragraph-2_1013 {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 500;
color: var(--accent-orange);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_1014 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
}
.frame-content-2_1014 {
display: flex;
flex-direction: row;
gap: 14px;
align-items: center;
width: 100%;
position: relative;
}
.Pixso-vector-2_1015 {width: 13px;
height: 13px;
position: relative;
flex-shrink: 0;
display: block;
}
.Pixso-paragraph-2_1018 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-muted);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-vector-2_1019 {width: 13px;
height: 13px;
position: relative;
flex-shrink: 0;
display: block;
}
.Pixso-paragraph-2_1022 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-muted);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_1023 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.frame-content-2_1023 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
position: relative;
}
.Pixso-paragraph-2_1024 {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-light);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_1025 {
width: 100%;
height: 100%;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 6px 14px 6px 14px;
border-radius: 8px 8px 8px 8px;
background-color: var(--bg-white);
}
.stroke-wrapper-2_1025 {
position: relative;
width: auto;
height: auto;
display: flex;
flex-shrink: 0;
}
.stroke-2_1025 {
position: absolute;
inset: -1px -1px -1px -1px;
border-radius: 9px 9px 9px 9px;
pointer-events: none;
border-width: 1px 1px 1px 1px;
border-style: solid;
box-sizing: border-box;
border-color: var(--border-light);
}
.Pixso-paragraph-2_1026 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 500;
color: var(--error-red);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
@@ -0,0 +1,264 @@
.mi-course-list__filters {
padding: 0 var(--spacing-md, 16px) var(--spacing-sm, 8px);
display: flex;
flex-direction: column;
gap: var(--spacing-sm, 10px);
box-sizing: border-box;
}
.mi-course-list__date-bar {
display: flex;
flex-direction: row;
align-items: center;
gap: 8px;
}
.mi-course-list__mode {
padding: 8px 12px;
border-radius: 999px;
background: var(--primary-dark, #0B2B4B);
flex-shrink: 0;
}
.mi-course-list__mode-text {
font-size: 12px;
color: #fff;
font-weight: 600;
}
.mi-course-list__dates {
flex: 1;
white-space: nowrap;
}
.mi-course-list__date {
display: inline-flex;
flex-direction: column;
align-items: center;
padding: 8px 12px;
margin-right: 6px;
border-radius: 12px;
background: var(--bg-white, #fff);
border: 1px solid var(--border-light, #E9EDF2);
}
.mi-course-list__date--active {
background: rgba(255, 107, 53, 0.12);
border-color: var(--accent-orange, #FF6B35);
}
.mi-course-list__date-week {
font-size: 10px;
color: var(--text-muted, #5E6F8D);
}
.mi-course-list__date-day {
font-size: 13px;
font-weight: 600;
color: var(--text-dark, #1E2A3A);
}
.mi-course-list__chips {
white-space: nowrap;
}
.mi-course-list__row {
display: flex;
flex-direction: row;
gap: 8px;
}
.mi-course-list__picker {
flex: 1;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 10px 12px;
border-radius: 12px;
background: var(--bg-white, #fff);
border: 1px solid var(--border-light, #E9EDF2);
font-size: 13px;
color: var(--text-dark, #1E2A3A);
}
.mi-course-list__arrow {
width: 14px;
height: 14px;
transform: rotate(90deg);
}
.mi-course-card {
display: flex;
flex-direction: row;
gap: 12px;
padding: 12px;
border-radius: 18px;
background: var(--bg-white, #fff);
box-shadow: var(--shadow-sm);
margin-bottom: 12px;
}
.mi-course-card__banner {
width: 96px;
height: 120px;
border-radius: 12px;
flex-shrink: 0;
}
.mi-course-card__body {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 6px;
}
.mi-course-card__head {
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
gap: 6px;
}
.mi-course-card__title {
font-size: 15px;
font-weight: 700;
color: var(--text-dark, #1E2A3A);
flex: 1;
}
.mi-course-card__type {
padding: 2px 8px;
border-radius: 6px;
flex-shrink: 0;
}
.mi-course-card__type--group {
background: rgba(255, 107, 53, 0.12);
}
.mi-course-card__type--private {
background: rgba(11, 43, 75, 0.1);
}
.mi-course-card__type text {
font-size: 10px;
font-weight: 600;
color: var(--text-muted, #5E6F8D);
}
.mi-course-card__coach {
display: flex;
flex-direction: row;
align-items: center;
gap: 6px;
font-size: 12px;
color: var(--text-muted, #5E6F8D);
}
.mi-course-card__avatar {
width: 20px;
height: 20px;
border-radius: 50%;
}
.mi-course-card__meta {
font-size: 11px;
color: var(--text-light, #8A99B4);
}
.mi-course-card__capacity {
display: flex;
flex-direction: row;
align-items: center;
gap: 6px;
}
.mi-course-card__bar {
flex: 1;
height: 6px;
border-radius: 3px;
background: var(--bg-gray, #F2F5F9);
overflow: hidden;
}
.mi-course-card__bar-fill {
height: 100%;
background: var(--gradient-orange);
border-radius: 3px;
}
.mi-course-card__cap-text {
font-size: 10px;
color: var(--text-muted, #5E6F8D);
flex-shrink: 0;
}
.mi-course-card__scarcity {
font-size: 10px;
color: var(--accent-orange, #FF6B35);
font-weight: 600;
flex-shrink: 0;
}
.mi-course-card__footer {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-top: 4px;
}
.mi-course-card__price {
font-size: 12px;
font-weight: 600;
color: var(--primary-deep, #1A4A6F);
}
.mi-course-card__btn {
padding: 6px 16px;
border-radius: 999px;
background: var(--gradient-orange);
}
.mi-course-card__btn text {
font-size: 12px;
font-weight: 600;
color: #fff;
}
.mi-course-card__btn--disabled {
background: var(--bg-gray, #F2F5F9);
}
.mi-course-card__btn--disabled text {
color: var(--text-light, #8A99B4);
}
.mi-course-list__fab {
position: fixed;
right: 16px;
bottom: 32px;
display: flex;
flex-direction: row;
align-items: center;
gap: 6px;
padding: 12px 16px;
border-radius: 999px;
background: var(--primary-dark, #0B2B4B);
box-shadow: var(--shadow-md);
z-index: 10;
}
.mi-course-list__fab-icon {
width: 18px;
height: 18px;
}
.mi-course-list__fab-text {
font-size: 13px;
font-weight: 600;
color: #fff;
}
@@ -0,0 +1,340 @@
.member-card-page {
width: 100%;
min-height: 100%;
box-sizing: border-box;
overflow-x: hidden;
background-color: var(--bg-light, #F9FAFE);
}
.member-card-page__body {
display: flex;
flex-direction: column;
gap: 12px;
padding: 16px 16px 40px;
box-sizing: border-box;
}
/* 会员卡 */
.mc-hero {
width: 100%;
min-height: 160px;
padding: 20px 20px 16px;
border-radius: 18px;
box-shadow: 0 10px 20px rgba(11, 43, 75, 0.31);
background: linear-gradient(135deg, #0B2B4B 0%, #1A4A6F 100%);
box-sizing: border-box;
display: flex;
flex-direction: column;
gap: 8px;
}
.mc-hero__top {
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
width: 100%;
gap: 8px;
}
.mc-hero__title-row {
display: flex;
flex-direction: row;
align-items: center;
gap: 6px;
flex: 1;
min-width: 0;
}
.mc-hero__crown {
width: 18px;
height: 18px;
flex-shrink: 0;
display: block;
}
.mc-hero__name {
font-size: var(--font-size-md, 16px);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-inverse, #ffffff);
white-space: nowrap;
}
.mc-hero__badge {
flex-shrink: 0;
padding: 4px 10px;
border-radius: 10px;
background-color: rgba(255, 255, 255, 0.19);
}
.mc-hero__badge-text {
font-size: var(--font-size-sm, 12px);
font-family: var(--font-family);
font-weight: 500;
color: var(--text-inverse, #ffffff);
white-space: nowrap;
}
.mc-hero__validity {
font-size: var(--font-size-sm, 12px);
font-family: var(--font-family);
font-weight: 400;
color: rgba(255, 212, 184, 1);
display: block;
}
.mc-hero__bottom {
display: flex;
flex-direction: row;
align-items: flex-end;
justify-content: space-between;
width: 100%;
margin-top: 4px;
}
.mc-hero__days {
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 4px;
}
.mc-hero__days-num {
font-size: var(--font-size-5xl, 32px);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-inverse, #ffffff);
line-height: 1;
}
.mc-hero__days-unit {
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 400;
color: rgba(255, 212, 184, 1);
padding-top: 8px;
}
.mc-hero__renew {
display: flex;
flex-direction: row;
align-items: center;
gap: 4px;
padding: 8px 18px;
border-radius: 16px;
background-color: var(--bg-white, #ffffff);
flex-shrink: 0;
}
.mc-hero__renew-icon {
width: 13px;
height: 13px;
flex-shrink: 0;
display: block;
}
.mc-hero__renew-text {
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 700;
color: var(--accent-orange, #FF6B35);
white-space: nowrap;
}
/* 使用记录 */
.mc-records {
width: 100%;
border-radius: 14px;
box-shadow: 0 2px 10px rgba(26, 25, 24, 0.03);
background-color: var(--bg-white, #ffffff);
overflow: hidden;
box-sizing: border-box;
}
.mc-records__header {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 0 16px;
height: 48px;
box-sizing: border-box;
}
.mc-records__title {
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 600;
color: var(--text-dark, #1E2A3A);
white-space: nowrap;
flex-shrink: 0;
}
.mc-records__tabs {
display: flex;
flex-direction: row;
align-items: center;
gap: 2px;
padding: 2px;
border-radius: 8px;
background-color: var(--bg-light, #F9FAFE);
flex-shrink: 0;
}
.mc-records__tab {
display: flex;
align-items: center;
justify-content: center;
height: 24px;
padding: 0 10px;
border-radius: 6px;
box-sizing: border-box;
}
.mc-records__tab--active {
background-color: var(--bg-white, #ffffff);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.mc-records__tab-text {
font-size: var(--font-size-sm, 12px);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-light, #8A99B4);
white-space: nowrap;
}
.mc-records__tab-text--active {
font-weight: 600;
color: var(--text-dark, #1E2A3A);
}
.mc-records__divider {
width: 100%;
height: 1px;
background-color: var(--bg-light, #F9FAFE);
}
.mc-records__item-inner {
display: flex;
flex-direction: row;
align-items: center;
gap: 10px;
padding: 14px 16px;
box-sizing: border-box;
}
.mc-records__icon-wrap {
width: 36px;
height: 36px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.mc-records__icon-wrap--orange {
background-color: rgba(255, 243, 238, 1);
}
.mc-records__icon-wrap--green {
background-color: rgba(240, 250, 245, 1);
}
.mc-records__icon {
width: 18px;
height: 18px;
display: block;
flex-shrink: 0;
}
.mc-records__info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 2px;
}
.mc-records__item-title {
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 500;
color: var(--text-dark, #1E2A3A);
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.mc-records__item-time {
font-size: var(--font-size-sm, 12px);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-light, #8A99B4);
display: block;
}
.mc-records__value {
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 700;
white-space: nowrap;
flex-shrink: 0;
}
.mc-records__value--negative {
color: var(--error-red, #E74C3C);
}
.mc-records__value--positive {
color: var(--success-green, #2ECC71);
}
/* 使用规则 */
.mc-rules {
width: 100%;
padding: 16px;
border-radius: 14px;
box-shadow: 0 2px 10px rgba(26, 25, 24, 0.03);
background-color: var(--bg-white, #ffffff);
box-sizing: border-box;
display: flex;
flex-direction: column;
gap: 10px;
}
.mc-rules__title {
font-size: var(--font-size-base, 14px);
font-family: var(--font-family);
font-weight: 600;
color: var(--text-dark, #1E2A3A);
display: block;
}
.mc-rules__item {
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 8px;
}
.mc-rules__bullet {
width: 6px;
height: 6px;
margin-top: 6px;
border-radius: 1px;
background-color: var(--accent-orange, #FF6B35);
flex-shrink: 0;
}
.mc-rules__text {
flex: 1;
font-size: var(--font-size-sm, 12px);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-muted, #5E6F8D);
line-height: 1.5;
}
@@ -0,0 +1,982 @@
.Pixso-frame-2_878 {
width: 100%;
height: 62px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
background-color: var(--bg-white);
}
.frame-content-2_878 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 0px 20px 0px 20px;
width: 100%;
height: 100%;
position: relative;
}
.Pixso-paragraph-2_879 {
font-size: var(--font-size-md);
font-family: var(--font-family);
font-weight: 600;
color: var(--text-dark);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-paragraph-2_880 {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-dark);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_881 {
width: 100%;
height: 100%;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
background-color: var(--bg-white);
}
.frame-content-2_881 {
display: flex;
flex-direction: row;
align-items: center;
padding: 0px 16px 0px 16px;
width: 100%;
height: 100%;
position: relative;
}
.stroke-wrapper-2_881 {
position: relative;
width: 100%;
height: 52px;
display: flex;
flex-shrink: 0;
}
.stroke-2_881 {
position: absolute;
inset: 0px;
border-radius: 0px 0px 0px 0px;
pointer-events: none;
border-width: 0px 0px 1px 0px;
border-style: solid;
box-sizing: border-box;
border-color: var(--border-light);
}
.Pixso-frame-2_882 {
width: 32px;
height: 32px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
border-radius: 8px 8px 8px 8px;
background-color: var(--bg-light);
}
.frame-content-2_882 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
position: relative;
}
.Pixso-vector-2_883 {width: 20px;
height: 20px;
position: relative;
flex-shrink: 0;
display: block;
}
.Pixso-paragraph-2_885 {
font-size: var(--font-size-md);
font-family: var(--font-family);
font-weight: 700;
text-align: center;
color: var(--primary-dark);
width: 100%;
height: auto;
position: relative;
flex-shrink: 1;
flex-grow: 1;
flex-basis: 0;
}
.Pixso-frame-2_886 {
width: 32px;
height: 32px;
position: relative;
flex-shrink: 0;
background-color: rgba(249, 250, 254, 0);
}
.Pixso-frame-2_887 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.frame-content-2_887 {
display: flex;
flex-direction: column;
gap: 12px;
align-items: flex-start;
padding: 16px 16px 40px 16px;
width: 100%;
position: relative;
}
.Pixso-frame-2_888 {
width: 100%;
height: 160px;
overflow: hidden;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
border-radius: 18px 18px 18px 18px;
box-shadow: 0px 10px 20px 0px rgba(11, 43, 75, 0.3137254901960784);
background-position: center;
background-image: url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D'0%200%20358%20160'%20preserveAspectRatio%3D'none'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%0A%20%20%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3ClinearGradient%20id%3D'grad'%20gradientUnits%3D'objectBoundingBox'%20x1%3D'0'%20y1%3D'0.5'%20x2%3D'1'%20y2%3D'0.5'%20gradientTransform%3D'matrix(-0.7071%2C%200.7071%2C%20-0.7071%2C%20-0.7071%2C%201.2071%2C%200.5000)'%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cstop%20stop-color%3D'rgba(11%2C43%2C75%2C1)'%20offset%3D'0'%2F%3E%3Cstop%20stop-color%3D'rgba(26%2C74%2C111%2C1)'%20offset%3D'1'%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%0A%20%20%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%20%20%3Crect%20width%3D'100%25'%20height%3D'100%25'%20fill%3D'url(%23grad)'%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E");
}
.frame-content-2_888 {
display: flex;
flex-direction: column;
align-items: flex-start;
padding: 20px 20px 16px 20px;
width: 100%;
height: 100%;
position: relative;
}
.Pixso-frame-2_889 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.frame-content-2_889 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
position: relative;
}
.Pixso-frame-2_890 {
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
gap: 6px;
align-items: center;
}
.Pixso-vector-2_891 {width: 18px;
height: 18px;
position: relative;
flex-shrink: 0;
display: block;
}
.Pixso-paragraph-2_894 {
font-size: var(--font-size-md);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-inverse);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_895 {
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 4px 10px 4px 10px;
border-radius: 10px 10px 10px 10px;
background-color: rgba(255, 255, 255, 0.1882352977991104);
}
.Pixso-paragraph-2_896 {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 500;
color: var(--text-inverse);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-paragraph-2_897 {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 400;
color: rgba(255, 212, 184, 1);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_898 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
}
.frame-content-2_898 {
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
width: 100%;
position: relative;
}
.Pixso-frame-2_899 {
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
gap: 4px;
align-items: flex-start;
}
.Pixso-paragraph-2_900 {
font-size: var(--font-size-5xl);
font-family: var(--font-family);
font-weight: 700;
color: var(--text-inverse);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-paragraph-2_901 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: rgba(255, 212, 184, 1);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_902 {
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
gap: 4px;
align-items: center;
padding: 8px 18px 8px 18px;
border-radius: 16px 16px 16px 16px;
background-color: var(--bg-white);
}
.Pixso-vector-2_903 {width: 13px;
height: 13px;
position: relative;
flex-shrink: 0;
display: block;
}
.Pixso-paragraph-2_908 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 700;
color: var(--accent-orange);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_909 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
border-radius: 14px 14px 14px 14px;
box-shadow: 0px 2px 10px 0px rgba(26, 25, 24, 0.03137254901960784);
background-color: var(--bg-white);
}
.frame-content-2_909 {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
position: relative;
}
.Pixso-frame-2_910 {
width: 100%;
height: 48px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.frame-content-2_910 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 0px 16px 0px 16px;
width: 100%;
height: 100%;
position: relative;
}
.Pixso-paragraph-2_911 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 600;
color: var(--text-dark);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_912 {
width: auto;
height: 28px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
border-radius: 8px 8px 8px 8px;
background-color: var(--bg-light);
}
.frame-content-2_912 {
display: flex;
flex-direction: row;
gap: 2px;
align-items: center;
padding: 2px 2px 2px 2px;
height: 100%;
position: relative;
}
.Pixso-frame-2_913 {
width: auto;
height: 24px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
align-self: stretch;
border-radius: 6px 6px 6px 6px;
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.06274509803921569);
background-color: var(--bg-white);
}
.frame-content-2_913 {
display: flex;
flex-direction: row;
align-items: center;
padding: 0px 10px 0px 10px;
height: 100%;
position: relative;
}
.Pixso-paragraph-2_914 {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 600;
color: var(--text-dark);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_915 {
width: auto;
height: 24px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
align-self: stretch;
border-radius: 6px 6px 6px 6px;
background-color: rgba(249, 250, 254, 0);
}
.frame-content-2_915 {
display: flex;
flex-direction: row;
align-items: center;
padding: 0px 10px 0px 10px;
height: 100%;
position: relative;
}
.Pixso-paragraph-2_916 {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-light);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_917 {
width: auto;
height: 24px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
align-self: stretch;
border-radius: 6px 6px 6px 6px;
background-color: rgba(249, 250, 254, 0);
}
.frame-content-2_917 {
display: flex;
flex-direction: row;
align-items: center;
padding: 0px 10px 0px 10px;
height: 100%;
position: relative;
}
.Pixso-paragraph-2_918 {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-light);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_919 {
width: 100%;
height: 1px;
position: relative;
flex-shrink: 0;
background-color: var(--bg-light);
}
.Pixso-frame-2_920 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
}
.frame-content-2_920 {
display: flex;
flex-direction: row;
gap: 10px;
align-items: center;
padding: 14px 16px 14px 16px;
width: 100%;
position: relative;
}
.Pixso-frame-2_921 {
width: 36px;
height: 36px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
border-radius: 10px 10px 10px 10px;
background-color: rgba(255, 243, 238, 1);
}
.frame-content-2_921 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
position: relative;
}
.Pixso-vector-2_922 {width: 18px;
height: 18px;
position: relative;
flex-shrink: 0;
display: block;
}
.Pixso-frame-2_928 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 1;
display: flex;
flex-direction: column;
align-items: flex-start;
flex-grow: 1;
flex-basis: 0;
}
.frame-content-2_928 {
display: flex;
flex-direction: column;
gap: 2px;
align-items: flex-start;
width: 100%;
position: relative;
}
.Pixso-paragraph-2_929 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 500;
color: var(--text-dark);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-paragraph-2_930 {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-light);
white-space: pre-wrap;
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-paragraph-2_931 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 700;
color: var(--error-red);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_932 {
width: 100%;
height: 1px;
position: relative;
flex-shrink: 0;
background-color: var(--bg-light);
}
.Pixso-frame-2_933 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
}
.frame-content-2_933 {
display: flex;
flex-direction: row;
gap: 10px;
align-items: center;
padding: 14px 16px 14px 16px;
width: 100%;
position: relative;
}
.Pixso-frame-2_934 {
width: 36px;
height: 36px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
border-radius: 10px 10px 10px 10px;
background-color: rgba(240, 250, 245, 1);
}
.frame-content-2_934 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
position: relative;
}
.Pixso-vector-2_935 {width: 18px;
height: 18px;
position: relative;
flex-shrink: 0;
display: block;
}
.Pixso-frame-2_938 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 1;
display: flex;
flex-direction: column;
align-items: flex-start;
flex-grow: 1;
flex-basis: 0;
}
.frame-content-2_938 {
display: flex;
flex-direction: column;
gap: 2px;
align-items: flex-start;
width: 100%;
position: relative;
}
.Pixso-paragraph-2_939 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 500;
color: var(--text-dark);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-paragraph-2_940 {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-light);
white-space: pre-wrap;
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-paragraph-2_941 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 700;
color: var(--error-red);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_942 {
width: 100%;
height: 1px;
position: relative;
flex-shrink: 0;
background-color: var(--bg-light);
}
.Pixso-frame-2_943 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: center;
}
.frame-content-2_943 {
display: flex;
flex-direction: row;
gap: 10px;
align-items: center;
padding: 14px 16px 14px 16px;
width: 100%;
position: relative;
}
.Pixso-frame-2_944 {
width: 36px;
height: 36px;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
border-radius: 10px 10px 10px 10px;
background-color: rgba(255, 243, 238, 1);
}
.frame-content-2_944 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
position: relative;
}
.Pixso-vector-2_945 {width: 18px;
height: 18px;
position: relative;
flex-shrink: 0;
display: block;
}
.Pixso-frame-2_949 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 1;
display: flex;
flex-direction: column;
align-items: flex-start;
flex-grow: 1;
flex-basis: 0;
}
.frame-content-2_949 {
display: flex;
flex-direction: column;
gap: 2px;
align-items: flex-start;
width: 100%;
position: relative;
}
.Pixso-paragraph-2_950 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 500;
color: var(--text-dark);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-paragraph-2_951 {
font-size: var(--font-size-sm);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-light);
white-space: pre-wrap;
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-paragraph-2_952 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 700;
color: var(--success-green);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_953 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
border-radius: 14px 14px 14px 14px;
box-shadow: 0px 2px 10px 0px rgba(26, 25, 24, 0.03137254901960784);
background-color: var(--bg-white);
}
.frame-content-2_953 {
display: flex;
flex-direction: column;
gap: 10px;
align-items: flex-start;
padding: 16px 16px 16px 16px;
width: 100%;
position: relative;
}
.Pixso-paragraph-2_954 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 600;
color: var(--text-dark);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-frame-2_955 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: flex-start;
}
.frame-content-2_955 {
display: flex;
flex-direction: row;
gap: 8px;
align-items: flex-start;
width: 100%;
position: relative;
}
.Pixso-paragraph-2_956 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: var(--accent-orange);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-paragraph-2_957 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-muted);
width: 100%;
height: auto;
position: relative;
flex-shrink: 1;
flex-grow: 1;
flex-basis: 0;
}
.Pixso-frame-2_958 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: flex-start;
}
.frame-content-2_958 {
display: flex;
flex-direction: row;
gap: 8px;
align-items: flex-start;
width: 100%;
position: relative;
}
.Pixso-paragraph-2_959 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: var(--accent-orange);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-paragraph-2_960 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-muted);
width: 100%;
height: auto;
position: relative;
flex-shrink: 1;
flex-grow: 1;
flex-basis: 0;
}
.Pixso-frame-2_961 {
width: 100%;
height: auto;
position: relative;
flex-shrink: 0;
display: flex;
flex-direction: row;
align-items: flex-start;
}
.frame-content-2_961 {
display: flex;
flex-direction: row;
gap: 8px;
align-items: flex-start;
width: 100%;
position: relative;
}
.Pixso-paragraph-2_962 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: var(--accent-orange);
width: auto;
height: auto;
position: relative;
flex-shrink: 0;
white-space: nowrap;
flex-grow: 0;
}
.Pixso-paragraph-2_963 {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-muted);
width: 100%;
height: auto;
position: relative;
flex-shrink: 1;
flex-grow: 1;
flex-basis: 0;
}
@@ -0,0 +1,584 @@
/* 个人中心其它模块页面样式 */
@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);
}
@@ -0,0 +1,32 @@
/* 子页面根容器:锁定变量,与 H5 theme-light 一致 */
.scroll-container {
box-sizing: border-box;
--primary-dark: #0B2B4B;
--primary-deep: #1A4A6F;
--accent-orange: #FF6B35;
--accent-orange-light: #FF8C5A;
--bg-light: #F9FAFE;
--bg-white: #FFFFFF;
--text-dark: #1E2A3A;
--text-muted: #5E6F8D;
--text-light: #8A99B4;
--text-inverse: #FFFFFF;
--border-light: #E9EDF2;
--success-green: #2ECC71;
--spacing-xs: 4px;
--spacing-sm: 8px;
--spacing-md: 16px;
--spacing-lg: 24px;
--spacing-xl: 32px;
--font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
--font-size-xs: 11px;
--font-size-sm: 12px;
--font-size-base: 14px;
--font-size-md: 16px;
--font-size-lg: 18px;
--font-size-xl: 20px;
--font-size-2xl: 22px;
--font-size-3xl: 24px;
--font-size-4xl: 28px;
--font-size-5xl: 32px;
}
@@ -0,0 +1,83 @@
.scroll-container {
height: 100%;
width: 100%;
overflow-x: hidden;
overflow-y: auto;
box-sizing: border-box;
}
.scroll-container > view {
width: 100%;
}
/* ========== 子页面统一布局(参考 base.css 间距变量) ========== */
.bt-page,
.booking-page {
width: 100%;
min-height: 100%;
box-sizing: border-box;
overflow-x: hidden;
background-color: var(--bg-light, #F9FAFE);
}
/* 导航栏下方首个区块:与固定顶栏留出间距 */
.bt-page > .sub-nav + .mi-mod-tabs,
.bt-page > .sub-nav + .mi-course-list__filters,
.bt-page > .sub-nav + .bt-page__action-bar,
.bt-page > .sub-nav + .bt-page__body,
.booking-page > .sub-nav + .booking-page__tabs {
margin-top: var(--spacing-md, 16px);
}
/* tabs / 筛选栏下方内容区:避免重复过大顶边距 */
.bt-page > .sub-nav + .mi-mod-tabs + .bt-page__action-bar + .bt-page__body,
.bt-page > .sub-nav + .mi-mod-tabs + .bt-page__body,
.bt-page > .sub-nav + .mi-course-list__filters + .bt-page__body,
.booking-page > .sub-nav + .booking-page__tabs + .bt-page__action-bar + .booking-page__body,
.booking-page > .sub-nav + .booking-page__tabs + .booking-page__body {
padding-top: var(--spacing-sm, 8px);
}
/* 导航栏下直接跟操作栏(无 tabs) */
.bt-page > .sub-nav + .bt-page__action-bar + .bt-page__body {
padding-top: var(--spacing-sm, 8px);
}
/* 页面内次级操作栏(原导航栏右侧按钮下移至此) */
.bt-page__action-bar {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: var(--spacing-sm, 8px);
padding: 0 var(--spacing-md, 16px) var(--spacing-sm, 8px);
box-sizing: border-box;
}
.bt-page__action-bar--end {
justify-content: flex-end;
}
.bt-page__action-bar-text {
flex: 1;
font-size: var(--font-size-sm, 12px);
color: var(--text-muted, #5E6F8D);
line-height: 1.4;
}
.bt-page__action-link {
flex-shrink: 0;
font-size: var(--font-size-sm, 12px);
font-weight: 600;
color: var(--primary-deep, #1A4A6F);
padding: 6px 12px;
border-radius: var(--radius-full, 999px);
background-color: var(--bg-white, #FFFFFF);
border: 1px solid var(--border-light, #E9EDF2);
}
.bt-page__action-link--primary {
color: var(--text-inverse, #FFFFFF);
border-color: transparent;
}
@@ -0,0 +1,192 @@
.Pixso-frame-2_791 {
width: 100%;
box-sizing: border-box;
overflow-x: hidden;
overflow-y: visible;
background-color: var(--bg-light, #F9FAFE);
}
.frame-content-2_802 {
box-sizing: border-box;
padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
}
.user-info-save-bar {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 100;
padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
background-color: var(--bg-white, #ffffff);
box-shadow: 0 -2px 12px rgba(26, 25, 24, 0.06);
box-sizing: border-box;
}
.user-info-save-bar__btn {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 48px;
border-radius: 12px;
background-color: var(--accent-orange, #FF6B35);
}
.user-info-save-bar__text {
font-size: var(--font-size-md, 16px);
font-family: var(--font-family);
font-weight: 600;
color: var(--text-inverse, #ffffff);
line-height: 1;
}
.avatar-block {
width: 100%;
height: 120px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 14px;
box-shadow: 0 2px 10px rgba(26, 25, 24, 0.03);
background-color: var(--bg-white);
flex-shrink: 0;
overflow: hidden;
box-sizing: border-box;
}
.avatar-block__inner {
position: relative;
width: 80px;
height: 80px;
border-radius: 50%;
overflow: hidden;
flex-shrink: 0;
background-color: var(--bg-light, #f9fafe);
}
.avatar-block__photo {
width: 100%;
height: 100%;
display: block;
}
.avatar-block__change {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 28px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 4px;
background-color: rgba(0, 0, 0, 0.55);
z-index: 2;
box-sizing: border-box;
}
.avatar-block__icon {
width: 12px;
height: 12px;
flex-shrink: 0;
display: block;
filter: brightness(0) invert(1);
}
.avatar-block__text {
font-size: var(--font-size-xs, 11px);
line-height: 1;
color: #ffffff;
white-space: nowrap;
}
.frame-content-2_811,
.frame-content-2_817,
.frame-content-2_826,
.frame-content-2_842,
.frame-content-2_848,
.frame-content-2_859 {
min-width: 0;
}
.Pixso-paragraph-2_813,
.Pixso-paragraph-2_844,
.Pixso-paragraph-2_861 {
display: block;
min-width: 0;
}
.gender-btn {
display: flex;
flex-direction: row;
align-items: center;
gap: 4px;
padding: 6px 14px;
border-radius: 8px;
background-color: var(--bg-light, #F9FAFE);
flex-shrink: 0;
}
.gender-btn__icon {
width: 14px;
height: 14px;
display: block;
flex-shrink: 0;
}
.gender-btn__text {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 500;
color: var(--text-light, #8A99B4);
white-space: nowrap;
}
.gender-btn--active {
background-color: var(--accent-orange, #FF6B35);
}
.gender-btn--active .gender-btn__text {
color: var(--text-inverse, #ffffff);
}
.goal-tags {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 8px;
width: 100%;
box-sizing: border-box;
}
.goal-tag {
display: flex;
align-items: center;
justify-content: center;
padding: 7px 16px;
border-radius: 100px;
border: 1px solid rgba(209, 208, 205, 1);
background-color: var(--bg-white, #ffffff);
flex-shrink: 0;
box-sizing: border-box;
}
.goal-tag__text {
font-size: var(--font-size-base);
font-family: var(--font-family);
font-weight: 500;
color: var(--text-muted, #5E6F8D);
white-space: nowrap;
}
.goal-tag--selected {
border-color: var(--accent-orange, #FF6B35);
background-color: var(--accent-orange, #FF6B35);
}
.goal-tag--selected .goal-tag__text {
color: var(--text-inverse, #ffffff);
}
File diff suppressed because it is too large Load Diff