Files
wxapp_escort/pages/train/index.wxss
T

75 lines
5.1 KiB
Plaintext

/* pages/train/index.wxss:配色令牌来自 app.wxss,本页不留副本 */
page { background-color: var(--paper); }
.page-bg { min-height: 100vh; background: var(--paper); }
.container { padding: 32rpx 32rpx 0; }
.page-header { padding: 24rpx 0 8rpx; }
.header-accent { width: 64rpx; height: 8rpx; border-radius: 4rpx; background: var(--brand-strong); }
.header-title { display: block; margin-top: 20rpx; font-size: 46rpx; font-weight: 700; color: var(--ink); letter-spacing: 1rpx; }
.header-subtitle { display: block; margin-top: 12rpx; font-size: 26rpx; color: var(--muted); }
.intro-card,
.list-card {
background: var(--white);
border: 2rpx solid var(--line);
box-shadow: var(--shadow-card);
}
.intro-card { margin-top: 32rpx; padding: 32rpx 28rpx; border-radius: 28rpx; }
.intro-kicker { display: block; font-size: 24rpx; font-weight: 700; color: var(--brand-ink); letter-spacing: 1rpx; }
.intro-title { display: block; margin-top: 16rpx; font-size: 42rpx; font-weight: 700; color: var(--ink); line-height: 1.4; }
.intro-desc { display: block; margin-top: 16rpx; font-size: 28rpx; color: var(--ink-2); line-height: 1.7; }
.intro-points { display: flex; flex-wrap: wrap; gap: 16rpx; margin-top: 24rpx; }
.intro-point { padding: 10rpx 18rpx; border-radius: 999rpx; background: var(--brand-soft); border: 2rpx solid var(--brand-line); font-size: 24rpx; font-weight: 700; color: var(--brand-ink); }
.section { margin-top: 48rpx; }
.section-head { display: flex; align-items: center; margin-bottom: 22rpx; }
.section-bar { width: 8rpx; height: 34rpx; border-radius: 4rpx; background: var(--brand-strong); }
.section-title { margin-left: 16rpx; font-size: 34rpx; font-weight: 700; color: var(--ink); letter-spacing: 1rpx; }
.list-card { padding: 8rpx 26rpx; border-radius: 28rpx; }
.step-dot {
width: 44rpx; height: 44rpx; border-radius: 50%; flex-shrink: 0;
display: flex; align-items: center; justify-content: center;
background: var(--brand-soft); border: 2rpx solid var(--brand-line);
font-size: 24rpx; font-weight: 700; color: var(--brand-ink);
}
.info-card { padding-top: 4rpx; }
.info-row { display: flex; align-items: flex-start; padding: 22rpx 0; border-bottom: 2rpx solid var(--line); }
.info-label { width: 144rpx; flex-shrink: 0; font-size: 26rpx; color: var(--muted); line-height: 1.6; }
.info-value { flex: 1; min-width: 0; font-size: 28rpx; font-weight: 700; color: var(--ink); line-height: 1.6; text-align: right; }
.info-link { color: var(--brand-ink); text-decoration: underline; }
.card-note { display: block; padding: 22rpx 0; font-size: 24rpx; color: var(--muted); line-height: 1.7; }
.step-card { padding-top: 28rpx; padding-bottom: 28rpx; }
.step { display: flex; }
.step-rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.step-line { width: 2rpx; flex: 1; min-height: 34rpx; background: var(--sep); }
.step-body { flex: 1; min-width: 0; margin-left: 20rpx; padding-bottom: 28rpx; }
.step:last-child .step-body { padding-bottom: 0; }
.step-title { display: block; font-size: 28rpx; font-weight: 700; color: var(--ink); line-height: 44rpx; }
.step-desc { display: block; margin-top: 8rpx; font-size: 24rpx; color: var(--muted); line-height: 1.6; }
.faq-card { padding-top: 4rpx; padding-bottom: 4rpx; }
.faq-item { padding: 24rpx 0; border-bottom: 2rpx solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q { display: block; font-size: 28rpx; font-weight: 700; color: var(--ink); line-height: 1.6; }
.faq-a { display: block; margin-top: 10rpx; font-size: 26rpx; color: var(--ink-2); line-height: 1.7; }
.sample-card { padding: 20rpx; }
.sample-image { display: block; width: 100%; border-radius: 16rpx; background: var(--brand-soft); }
.sample-note { display: block; margin-top: 16rpx; font-size: 24rpx; color: var(--muted); line-height: 1.6; text-align: center; }
.contact-entry { position: relative; display: flex; align-items: center; justify-content: center; margin-top: 48rpx; padding: 28rpx 26rpx; border-radius: 28rpx; background: var(--brand-soft); border: 2rpx solid var(--brand-line); }
.contact-entry:active { transform: scale(0.99); }
.entry-prefix { font-size: 26rpx; color: var(--muted); }
.entry-title { margin-left: 8rpx; font-size: 30rpx; font-weight: 700; color: var(--brand-ink); }
.entry-arrow { position: absolute; right: 26rpx; top: 50%; transform: translateY(-50%); }
.bottom-placeholder { height: calc(170rpx + env(safe-area-inset-bottom)); }
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 20rpx 32rpx calc(20rpx + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -2rpx 8rpx rgba(63, 43, 25, 0.07); }
.bar-info { display: flex; flex-direction: column; }
.bar-title { font-size: 28rpx; font-weight: 700; color: var(--ink); }
.bar-desc { margin-top: 4rpx; font-size: 24rpx; color: var(--muted); }
.bar-btn { padding: 24rpx 48rpx; border-radius: 999rpx; background: var(--brand-strong); box-shadow: var(--shadow-cta); font-size: 30rpx; font-weight: 700; color: var(--white); letter-spacing: 2rpx; }
.bar-btn:active { transform: scale(0.98); }