- 页首:itemorder / guide / contact / attendants 删除与导航栏重复的大标题,统一为「短横 + 一句导语」 - 字号:页面主标题 44、区块标题 34、卡内标题 32;卡片圆角 28;容器内距 32(DESIGN.md 新增 §九) - 状态色:utils/order.js 只产出语气档,两页胶囊改 .chip-tone-* 读 --status-* 令牌,删除内联 style 与 JS 色值 - 下单:字段标签去浅橙药丸改裸字,医院选择组件同步;搜索/手填输入框去掉旧绿底 - 文案:清除英文大写小标、粘字箭头与中点串,统一细竖线/留白分隔 - 修复:预约记录空值整行剔除、陪诊师卡片与重试态补按下反馈、三处无限动画补减动效回退 - aichat:消息时间改为距上条满 5 分钟才显示
72 lines
5.8 KiB
Plaintext
72 lines
5.8 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: var(--fs-26); 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: var(--fs-30); font-weight: 700; color: var(--ink); }
|
|
.course-issuer { display: block; margin-top: 6rpx; font-size: var(--fs-24); 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: var(--fs-28); color: var(--ink-2); }
|
|
.form-control { flex: 1; min-width: 0; }
|
|
.form-input { height: 48rpx; font-size: var(--fs-28); color: var(--ink); text-align: right; }
|
|
.form-picker { min-height: 48rpx; font-size: var(--fs-28); color: var(--ink); text-align: right; line-height: 48rpx; }
|
|
.form-picker.placeholder { color: var(--faint); }
|
|
.field-tip { display: block; margin-top: 8rpx; font-size: var(--fs-24); color: var(--muted); line-height: 1.5; text-align: right; }
|
|
.form-static { flex: 1; min-width: 0; padding-top: 8rpx; font-size: var(--fs-28); font-weight: 700; color: var(--ink); text-align: right; line-height: 1.6; }
|
|
.form-error { display: block; margin-top: 8rpx; font-size: var(--fs-24); 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: 34rpx; border-radius: 4rpx; background: var(--brand-strong); flex-shrink: 0; }
|
|
.section-title { margin-left: 16rpx; font-size: var(--fs-34); font-weight: 700; color: var(--ink); line-height: 1.4; letter-spacing: 1rpx; }
|
|
.material-tip { margin-top: 12rpx; font-size: var(--fs-24); 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: 28rpx; 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: var(--fs-26); font-weight: 700; color: var(--brand-ink); }
|
|
.material-name { display: block; margin-top: 14rpx; font-size: var(--fs-26); 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: var(--fs-24); 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: var(--fs-32); 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: 44rpx; font-weight: 700; color: var(--ink); }
|
|
.success-desc { margin-top: 16rpx; max-width: 580rpx; font-size: var(--fs-26); 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: var(--fs-26); color: var(--muted); }
|
|
.success-value { flex: 1; font-size: var(--fs-28); 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: var(--fs-30); font-weight: 700; color: var(--white); text-align: center; }
|
|
.success-secondary { margin-top: 24rpx; padding: 16rpx 32rpx; font-size: var(--fs-28); color: var(--muted); }
|