From 609915831370c54ec5446f1bc1427954fd02144f Mon Sep 17 00:00:00 2001 From: lik Date: Mon, 16 Nov 2026 19:31:00 +0800 Subject: [PATCH] =?UTF-8?q?style(train):=20=E5=9F=B9=E8=AE=AD=E9=A1=B5?= =?UTF-8?q?=E5=8E=BB=E8=A3=85=E9=A5=B0=E5=B9=B6=E7=BB=9F=E4=B8=80=E5=AD=97?= =?UTF-8?q?=E9=87=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除页内重复页名色带与区块竖条,课程信息卡并入页首说明, 标题与主操作字重统一 600、表单值 500,错误色改用状态令牌。 --- pages/train/apply.wxml | 12 +----------- pages/train/apply.wxss | 29 ++++++++++------------------- pages/train/index.wxml | 6 ------ pages/train/index.wxss | 30 ++++++++++++++---------------- 4 files changed, 25 insertions(+), 52 deletions(-) diff --git a/pages/train/apply.wxml b/pages/train/apply.wxml index 214715c..88f813f 100644 --- a/pages/train/apply.wxml +++ b/pages/train/apply.wxml @@ -21,19 +21,10 @@ - 考位信息表 2026 年国开培训中心 · 医疗陪诊顾问(高级) - - - - 医疗陪诊顾问(高级) - 培训单位:国家开放大学培训中心 - - - @@ -87,7 +78,6 @@ - 报名材料 请上传清晰的 JPG/PNG 图片,单张不超过 5MB @@ -117,7 +107,7 @@ - + 以上信息仅用于考位报名、资料审核与证书办理,我们会严格保密。 diff --git a/pages/train/apply.wxss b/pages/train/apply.wxss index 2905987..9f34e99 100644 --- a/pages/train/apply.wxss +++ b/pages/train/apply.wxss @@ -4,23 +4,15 @@ page { background-color: 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-title { display: block; margin-top: 0; font-size: 44rpx; font-weight: 600; 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); } @@ -29,14 +21,13 @@ page { background-color: var(--paper); } .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); } +.form-picker.placeholder { color: var(--muted); } .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; } +.form-static { flex: 1; min-width: 0; padding-top: 8rpx; font-size: var(--fs-28); font-weight: 500; color: var(--ink); text-align: right; line-height: 1.6; } +.form-error { display: block; margin-top: 8rpx; font-size: var(--fs-24); color: var(--status-cancel-ink); 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; } +.section-title { margin-left: 0; font-size: var(--fs-34); font-weight: 600; 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; } @@ -45,7 +36,7 @@ page { background-color: var(--paper); } .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); } +.upload-action { margin-top: 16rpx; font-size: var(--fs-26); font-weight: 600; 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; } @@ -53,19 +44,19 @@ page { background-color: var(--paper); } .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 { width: 100%; padding: 26rpx 0; border-radius: 999rpx; background: var(--brand-strong); box-shadow: var(--shadow-cta); font-size: var(--fs-32); font-weight: 600; 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-title { margin-top: 28rpx; font-size: 44rpx; font-weight: 600; 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-value { flex: 1; font-size: var(--fs-28); font-weight: 500; 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: 600; color: var(--white); text-align: center; } .success-secondary { margin-top: 24rpx; padding: 16rpx 32rpx; font-size: var(--fs-28); color: var(--muted); } diff --git a/pages/train/index.wxml b/pages/train/index.wxml index 9a7d86a..421d37f 100644 --- a/pages/train/index.wxml +++ b/pages/train/index.wxml @@ -1,7 +1,6 @@ - 医疗陪诊顾问(高级) 国家开放大学培训中心 · 2026 年考位报名 @@ -33,7 +32,6 @@ - 培训与考试 @@ -75,7 +73,6 @@ - 报考联系 @@ -93,7 +90,6 @@ - 报名流程 @@ -113,7 +109,6 @@ - 常见问题 @@ -130,7 +125,6 @@ - 证书样本 diff --git a/pages/train/index.wxss b/pages/train/index.wxss index cd12261..a1b3240 100644 --- a/pages/train/index.wxss +++ b/pages/train/index.wxss @@ -7,7 +7,8 @@ ===== 字体系统 ===== 字体栈与 app.wxss 一致,不加载外部字体。 全页只保留四档字号:价格 64 / 页面标题 40 / 区块与卡片标题 32 / 正文与注释 28。 - 辅助信息通过颜色和字重区分,不再额外增加字号;中文只用 400、700 两档字重。 + 辅助信息通过颜色和字重区分,不再额外增加字号; + 字重按新版规范:400 正文、500 局部强调、600 标题与主操作,价格等强调数值保留 700。 价格等数字统一 tabular-nums,避免位数变化时左右跳动。 ===== 行高 ===== @@ -34,10 +35,9 @@ /* ===== 页首 ===== */ .page-header { padding: 20rpx 4rpx 4rpx; } /* 短横色标:页面级记号(首页 .page-accent 同一支),区块级留给竖条 */ -.header-accent { width: 64rpx; height: 8rpx; border-radius: 4rpx; background: var(--brand-strong); } .header-title { - display: block; margin-top: 20rpx; - font-size: var(--t-h1); font-weight: 700; line-height: 1.35; + display: block; margin-top: 0; + font-size: var(--t-h1); font-weight: 600; line-height: 1.35; letter-spacing: 0; color: var(--ink); } .header-subtitle { @@ -52,7 +52,6 @@ .list-card { background: var(--white); border: 2rpx solid var(--line); - box-shadow: var(--shadow-card); } .intro-card { margin-top: 28rpx; padding: 32rpx 16rpx; border-radius: 28rpx; @@ -65,7 +64,7 @@ .plan-divider { width: 2rpx; flex-shrink: 0; background: var(--brand-line); } .plan-tag { display: block; - font-size: var(--t-body); font-weight: 700; line-height: 1.4; + font-size: var(--t-body); font-weight: 600; line-height: 1.4; letter-spacing: 0; color: var(--muted); } .plan-price { display: flex; align-items: baseline; justify-content: center; margin-top: 18rpx; } @@ -97,10 +96,9 @@ 竖条高 = 标题字号(34rpx),与首页 / 清单页 / 记录详情同一支记号 */ .section { margin-top: 36rpx; } .section-head { display: flex; align-items: baseline; margin-bottom: 16rpx; padding: 0 4rpx; } -.section-bar { width: 8rpx; height: 34rpx; border-radius: 4rpx; background: var(--brand-strong); flex-shrink: 0; align-self: center; } .section-title { - margin-left: 16rpx; - font-size: var(--t-h2); font-weight: 700; line-height: 1.4; + margin-left: 0; + font-size: var(--t-h2); font-weight: 600; line-height: 1.4; letter-spacing: var(--tracking-title); color: var(--ink); } @@ -119,7 +117,7 @@ } .spec-value { flex: 1; min-width: 0; margin-left: 32rpx; text-align: right; - font-size: var(--t-body); font-weight: 700; line-height: 1.5; + font-size: var(--t-body); font-weight: 500; line-height: 1.5; letter-spacing: 0; color: var(--ink); word-break: break-word; font-variant-numeric: tabular-nums; } @@ -147,7 +145,7 @@ 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: var(--t-caption); font-weight: 700; line-height: 1; + font-size: var(--t-caption); font-weight: 600; line-height: 1; color: var(--brand-ink); } .step-dot-active { background: var(--brand-strong); border-color: var(--brand-strong); color: var(--white); box-shadow: var(--shadow-cta); } @@ -156,7 +154,7 @@ .step:last-child .step-body { padding-bottom: 0; } .step-title { display: block; - font-size: var(--t-title); font-weight: 700; line-height: 1.45; + font-size: var(--t-title); font-weight: 600; line-height: 1.45; letter-spacing: 0; color: var(--ink); } .step-desc { @@ -171,13 +169,13 @@ .contact-main { flex: 1; min-width: 0; padding-right: 20rpx; } .contact-lead { display: block; - font-size: var(--t-title); font-weight: 700; line-height: 1.45; + font-size: var(--t-title); font-weight: 600; line-height: 1.45; letter-spacing: 0; color: var(--ink); } /* 客服入口:暖橙文字 + chevron 点击暗示,与本站其他入口同一口径 */ .contact-link { display: flex; align-items: center; margin-top: 20rpx; } .contact-link-text { - font-size: var(--t-body); font-weight: 700; line-height: 1.5; + font-size: var(--t-body); font-weight: 600; line-height: 1.5; letter-spacing: 0; color: var(--brand-ink); } .contact-qr { width: 240rpx; height: 220rpx; flex-shrink: 0; border-radius: 16rpx; } @@ -192,12 +190,12 @@ flex-shrink: 0; width: 44rpx; height: 44rpx; margin-right: 16rpx; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); border: 2rpx solid var(--brand-line); - font-size: var(--t-caption); font-weight: 700; line-height: 1; + font-size: var(--t-caption); font-weight: 600; line-height: 1; color: var(--brand-ink); } .faq-q { flex: 1; - font-size: var(--t-title); font-weight: 700; line-height: 1.45; + font-size: var(--t-title); font-weight: 600; line-height: 1.45; letter-spacing: 0; color: var(--ink); } /* 答案缩进 60rpx:与问句正文左缘对齐(徽标 44 + 间距 16),读成一问一答 */