Files
wxapp_escort/pages/train/apply.wxss
T
lik a3fa469369 feat(train): 培训页改版为双档价格与规格说明
首页培训横幅点进来后需要更快看到「多少钱、怎么考、怎么报名」,
因此把原来的首屏主卡换成两档价格并列,把「考位与证书」长卡
收敛为一张规格表,并新增「报考联系」区块承载老师二维码,
报名流程由四步收口为三步(去掉单独的客服审核环节)。

去掉页面底部固定报名条与「立即报名」按钮:报名改为长按联系老师,
再留一个指向提交表单的按钮会与二维码路径冲突。
2026-11-04 22:17:59 +08:00

72 lines
5.6 KiB
Plaintext

/* pages/train/apply.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: 44rpx; font-weight: 700; color: var(--ink); line-height: 1.35; letter-spacing: 1rpx; }
.header-subtitle { display: block; margin-top: 10rpx; font-size: 26rpx; color: var(--muted); line-height: 1.6; }
.course-card,
.form-card,
.success-card {
background: var(--white);
border: 2rpx solid var(--line);
border-radius: 28rpx;
box-shadow: var(--shadow-card);
}
.course-card { display: flex; align-items: center; margin-top: 32rpx; padding: 24rpx 26rpx; }
.course-mark { width: 64rpx; height: 64rpx; border-radius: 18rpx; background: var(--brand-soft); border: 2rpx solid var(--brand-line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.course-body { flex: 1; min-width: 0; margin-left: 20rpx; }
.course-name { display: block; font-size: 30rpx; font-weight: 700; color: var(--ink); }
.course-issuer { display: block; margin-top: 6rpx; font-size: 24rpx; color: var(--muted); }
.form-card { margin-top: 24rpx; padding: 6rpx 26rpx; }
.form-row { display: flex; align-items: flex-start; padding: 24rpx 0; border-bottom: 2rpx solid var(--line); }
.form-row:last-child { border-bottom: none; }
.form-label { width: 168rpx; flex-shrink: 0; padding-top: 8rpx; font-size: 28rpx; color: var(--ink-2); }
.form-control { flex: 1; min-width: 0; }
.form-input { height: 48rpx; font-size: 28rpx; color: var(--ink); text-align: right; }
.form-picker { min-height: 48rpx; font-size: 28rpx; color: var(--ink); text-align: right; line-height: 48rpx; }
.form-picker.placeholder { color: var(--faint); }
.field-tip { display: block; margin-top: 8rpx; font-size: 24rpx; color: var(--muted); line-height: 1.5; text-align: right; }
.form-static { flex: 1; min-width: 0; padding-top: 8rpx; font-size: 28rpx; font-weight: 700; color: var(--ink); text-align: right; line-height: 1.6; }
.form-error { display: block; margin-top: 8rpx; font-size: 24rpx; color: var(--danger); line-height: 1.5; text-align: right; }
.section-head { display: flex; align-items: center; margin-top: 40rpx; }
.section-bar { width: 8rpx; height: 36rpx; border-radius: 4rpx; background: var(--brand-strong); flex-shrink: 0; }
.section-title { margin-left: 16rpx; font-size: 36rpx; font-weight: 700; color: var(--ink); line-height: 1.4; letter-spacing: 1rpx; }
.material-tip { margin-top: 12rpx; font-size: 24rpx; color: var(--muted); line-height: 1.6; }
.material-grid { display: flex; gap: 24rpx; margin-top: 20rpx; }
.material-item { flex: 1; min-width: 0; }
.upload-box { height: 300rpx; border-radius: 24rpx; border: 2rpx dashed var(--brand-strong); background: var(--brand-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.upload-box:active { transform: scale(0.99); }
.upload-box.has-image { border-style: solid; border-color: var(--line); background: var(--white); }
.upload-image { width: 100%; height: 100%; }
.upload-plus { font-size: 52rpx; font-weight: 300; color: var(--brand-ink); line-height: 1; }
.upload-action { margin-top: 16rpx; font-size: 26rpx; font-weight: 700; color: var(--brand-ink); }
.material-name { display: block; margin-top: 14rpx; font-size: 26rpx; color: var(--ink-2); text-align: center; }
.material-error { text-align: center; }
.privacy-tip { display: flex; align-items: flex-start; gap: 10rpx; margin-top: 32rpx; padding: 0 4rpx; }
.privacy-text { flex: 1; font-size: 24rpx; color: var(--muted); line-height: 1.6; }
.bottom-placeholder { height: calc(170rpx + env(safe-area-inset-bottom)); }
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 20rpx 32rpx calc(20rpx + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -2rpx 8rpx rgba(63, 43, 25, 0.07); }
.btn-primary { width: 100%; padding: 26rpx 0; border-radius: 999rpx; background: var(--brand-strong); box-shadow: var(--shadow-cta); font-size: 32rpx; font-weight: 700; color: var(--white); letter-spacing: 2rpx; border: none; line-height: 1.5; }
.btn-primary::after { border: none; }
.btn-primary:active { transform: scale(0.99); }
/* 提交回执 */
.success-page { display: flex; flex-direction: column; align-items: center; padding-top: 100rpx; }
.success-mark { width: 112rpx; height: 112rpx; border-radius: 50%; background: var(--brand-soft); border: 2rpx solid var(--brand-line); display: flex; align-items: center; justify-content: center; }
.success-title { margin-top: 28rpx; font-size: 42rpx; font-weight: 700; color: var(--ink); }
.success-desc { margin-top: 16rpx; max-width: 580rpx; font-size: 26rpx; color: var(--muted); line-height: 1.7; text-align: center; }
.success-card { width: 100%; box-sizing: border-box; margin-top: 40rpx; padding: 6rpx 26rpx; }
.success-row { display: flex; padding: 22rpx 0; border-bottom: 2rpx solid var(--line); }
.success-row:last-child { border-bottom: none; }
.success-label { width: 160rpx; flex-shrink: 0; font-size: 26rpx; color: var(--muted); }
.success-value { flex: 1; font-size: 28rpx; font-weight: 700; color: var(--ink); text-align: right; }
.success-primary { width: 100%; box-sizing: border-box; margin-top: 40rpx; padding: 24rpx 0; border-radius: 999rpx; background: var(--brand-strong); box-shadow: var(--shadow-cta); font-size: 30rpx; font-weight: 700; color: var(--white); text-align: center; }
.success-secondary { margin-top: 24rpx; padding: 16rpx 32rpx; font-size: 28rpx; color: var(--muted); }