feat(train): 培训页改版为双档价格与规格说明
首页培训横幅点进来后需要更快看到「多少钱、怎么考、怎么报名」, 因此把原来的首屏主卡换成两档价格并列,把「考位与证书」长卡 收敛为一张规格表,并新增「报考联系」区块承载老师二维码, 报名流程由四步收口为三步(去掉单独的客服审核环节)。 去掉页面底部固定报名条与「立即报名」按钮:报名改为长按联系老师, 再留一个指向提交表单的按钮会与二维码路径冲突。
This commit is contained in:
@@ -5,8 +5,8 @@ page { background-color: var(--paper); }
|
||||
|
||||
.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); }
|
||||
.header-subtitle { display: block; margin-top: 12rpx; font-size: 26rpx; color: var(--muted); }
|
||||
.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,
|
||||
@@ -35,8 +35,8 @@ page { background-color: var(--paper); }
|
||||
.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: 34rpx; border-radius: 4rpx; background: var(--brand-strong); }
|
||||
.section-title { margin-left: 16rpx; font-size: 34rpx; font-weight: 700; color: var(--ink); }
|
||||
.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; }
|
||||
|
||||
+5
-10
@@ -7,10 +7,9 @@ Page({
|
||||
data: {
|
||||
certificateSampleUrl: `${config.BASE_URL}/health/static/certificate_sample.jpg`,
|
||||
steps: [
|
||||
{ title: '提交考位报名', desc: '填写考位信息,上传照片与身份证电子版' },
|
||||
{ title: '客服审核确认', desc: '核对报名资料、考试月份与相关事项' },
|
||||
{ title: '参加培训考核', desc: '按通知完成课程学习与结业考核' },
|
||||
{ title: '领取培训证书', desc: '考核通过后,按培训单位流程办理证书' }
|
||||
{ title: '联系老师报名', desc: '添加老师微信,提交资料与意向考试月份' },
|
||||
{ title: '培训与考核', desc: '按通知完成课程学习与结业考核' },
|
||||
{ title: '领取证书', desc: '考核通过后,由培训单位办理下发' }
|
||||
],
|
||||
faqs: [
|
||||
{
|
||||
@@ -22,16 +21,12 @@ Page({
|
||||
a: '需要姓名、身份证号、手机号、学历、考试月份,以及 2 寸蓝底照片电子版和身份证电子版。'
|
||||
},
|
||||
{
|
||||
q: '报名后什么时候考试?',
|
||||
a: '报名时选择 2026 年的意向考试月份。每月 25、26、27 日为正式考试,28、29 日为补考;具体考位与安排以客服审核确认为准。'
|
||||
q: '学习和考试怎么进行?',
|
||||
a: '学习和考试均支持手机或电脑,随时随地都能完成。'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
goToApply() {
|
||||
wx.navigateTo({ url: '/pages/train/apply' })
|
||||
},
|
||||
|
||||
goToContact() {
|
||||
wx.navigateTo({ url: '/pages/mine/contact' })
|
||||
},
|
||||
|
||||
+84
-73
@@ -2,89 +2,107 @@
|
||||
<view class="container">
|
||||
<view class="page-header">
|
||||
<view class="header-accent"></view>
|
||||
<text class="header-title">陪诊师培训考证</text>
|
||||
<text class="header-subtitle">2026 年考位报名 · 医疗陪诊顾问(高级)</text>
|
||||
<text class="header-title">医疗陪诊顾问(高级)</text>
|
||||
<text class="header-subtitle">国家开放大学培训中心 · 2026 年考位报名</text>
|
||||
</view>
|
||||
|
||||
<!-- 首屏主卡:课程身份 + 三项核心信息,价格不在这里重复出现 -->
|
||||
<!-- 首屏主卡:两档价格并列 -->
|
||||
<view class="intro-card">
|
||||
<text class="intro-kicker">国家开放大学培训中心</text>
|
||||
<text class="intro-title">把陪诊做成一份专业</text>
|
||||
<text class="intro-desc">系统学习医院流程、服务规范与安全应急,按标准动作完成每一次陪同就医。</text>
|
||||
<view class="intro-points">
|
||||
<text class="intro-point">线上培训</text>
|
||||
<text class="intro-point">40课时</text>
|
||||
<text class="intro-point">线上考核</text>
|
||||
<view class="plan-row">
|
||||
<view class="plan-item">
|
||||
<text class="plan-tag">纯考证</text>
|
||||
<view class="plan-price">
|
||||
<text class="price-symbol">¥</text>
|
||||
<text class="price-number">780</text>
|
||||
</view>
|
||||
<text class="price-origin">原价 ¥1580</text>
|
||||
</view>
|
||||
<view class="plan-divider"></view>
|
||||
<view class="plan-item">
|
||||
<text class="plan-tag">含带练 1 次</text>
|
||||
<view class="plan-price">
|
||||
<text class="price-symbol">¥</text>
|
||||
<text class="price-number">980</text>
|
||||
</view>
|
||||
<text class="price-origin">原价 ¥1780</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 培训与考试:合并三张长卡为一张规格表,左标签右取值 -->
|
||||
<view class="section">
|
||||
<view class="section-head">
|
||||
<view class="section-bar"></view>
|
||||
<text class="section-title">考位与证书</text>
|
||||
<text class="section-title">培训与考试</text>
|
||||
<text class="section-en">PROGRAM</text>
|
||||
</view>
|
||||
<view class="list-card info-card">
|
||||
<view class="info-row">
|
||||
<text class="info-label">培训形式</text>
|
||||
<text class="info-value">线上培训</text>
|
||||
<view class="list-card spec-card">
|
||||
<view class="spec-row">
|
||||
<text class="spec-label">培训单位</text>
|
||||
<text class="spec-value">国家开放大学培训中心</text>
|
||||
</view>
|
||||
<view class="info-row">
|
||||
<text class="info-label">培训时长</text>
|
||||
<text class="info-value">40 课时</text>
|
||||
<view class="spec-row">
|
||||
<text class="spec-label">培训形式</text>
|
||||
<text class="spec-value">线上培训,共 40 课时</text>
|
||||
</view>
|
||||
<view class="info-row">
|
||||
<text class="info-label">考核形式</text>
|
||||
<text class="info-value">线上考核</text>
|
||||
<view class="spec-row">
|
||||
<text class="spec-label">报考条件</text>
|
||||
<text class="spec-value">学完 80% 以上即可报考</text>
|
||||
</view>
|
||||
<view class="info-row">
|
||||
<text class="info-label">报考项目</text>
|
||||
<text class="info-value">医疗陪诊顾问(高级)</text>
|
||||
<view class="spec-row">
|
||||
<text class="spec-label">正式考试</text>
|
||||
<text class="spec-value">每月 25、26、27 日</text>
|
||||
</view>
|
||||
<view class="info-row">
|
||||
<text class="info-label">考试时间</text>
|
||||
<text class="info-value">每月 25、26、27 日正式考试</text>
|
||||
<view class="spec-row">
|
||||
<text class="spec-label">补考安排</text>
|
||||
<text class="spec-value">每月 28、29 日</text>
|
||||
</view>
|
||||
<view class="info-row">
|
||||
<text class="info-label">补考时间</text>
|
||||
<text class="info-value">每月 28、29 日</text>
|
||||
<view class="spec-row">
|
||||
<text class="spec-label">成绩公布</text>
|
||||
<text class="spec-value">考完 30 分钟内出成绩</text>
|
||||
</view>
|
||||
<view class="info-row">
|
||||
<text class="info-label">培训单位</text>
|
||||
<text class="info-value">国家开放大学培训中心</text>
|
||||
<view class="spec-row">
|
||||
<text class="spec-label">证书下发</text>
|
||||
<text class="spec-value">电子版约 1 周,纸质版约 45 天</text>
|
||||
</view>
|
||||
<view class="info-row">
|
||||
<text class="info-label">证书名称</text>
|
||||
<text class="info-value">医疗陪诊顾问(高级)证书</text>
|
||||
<view class="spec-row spec-row-link" bindtap="copyCertificateUrl" aria-role="button" aria-label="复制证书查询网址">
|
||||
<text class="spec-label">证书查询</text>
|
||||
<text class="spec-value spec-link">国开享学吧</text>
|
||||
</view>
|
||||
<view class="info-row">
|
||||
<text class="info-label">电子证书</text>
|
||||
<text class="info-value">考核通过后约 1 周下发</text>
|
||||
</view>
|
||||
<view class="info-row">
|
||||
<text class="info-label">纸质证书</text>
|
||||
<text class="info-value">考核通过后约 30 天下发</text>
|
||||
</view>
|
||||
<view class="info-row">
|
||||
<text class="info-label">证书性质</text>
|
||||
<text class="info-value">职业技能培训证书,非职业资格证书</text>
|
||||
</view>
|
||||
<view class="info-row" bindtap="copyCertificateUrl">
|
||||
<text class="info-label">证书查询</text>
|
||||
<text class="info-value info-link">国开享学吧 www.xiangxue8.com(点击复制)</text>
|
||||
</view>
|
||||
<text class="card-note">考位、考试安排与证书办理以客服及培训单位确认为准,不作就业或收入承诺。</text>
|
||||
<text class="card-note">具体考位与证书安排以客服和培训单位通知为准。</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 报考联系:紧接培训与考试,先联系老师再走流程 -->
|
||||
<view class="section">
|
||||
<view class="section-head">
|
||||
<view class="section-bar"></view>
|
||||
<text class="section-title">报考联系</text>
|
||||
<text class="section-en">CONTACT</text>
|
||||
</view>
|
||||
<view class="list-card contact-card">
|
||||
<view class="contact-main">
|
||||
<text class="contact-lead">长按联系老师报名</text>
|
||||
<view class="contact-link" bindtap="goToContact" aria-role="button" aria-label="查看其他联系方式">
|
||||
<text class="contact-link-text">查看其他联系方式</text>
|
||||
<t-icon name="chevron-right" size="24rpx" color="#9B4508" />
|
||||
</view>
|
||||
</view>
|
||||
<image class="contact-qr" src="/images/wechat_code.jpg" mode="aspectFit" show-menu-by-longpress="{{ true }}" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 报名流程:三步收口,去掉单独一步的客服审核 -->
|
||||
<view class="section">
|
||||
<view class="section-head">
|
||||
<view class="section-bar"></view>
|
||||
<text class="section-title">报名流程</text>
|
||||
<text class="section-en">PROCESS</text>
|
||||
</view>
|
||||
<view class="list-card step-card">
|
||||
<view class="step" wx:for="{{steps}}" wx:key="title">
|
||||
<view class="step-rail">
|
||||
<view class="step-dot">{{index + 1}}</view>
|
||||
<view class="step-dot {{index === 0 ? 'step-dot-active' : ''}}">{{index + 1}}</view>
|
||||
<view class="step-line" wx:if="{{index < steps.length - 1}}"></view>
|
||||
</view>
|
||||
<view class="step-body">
|
||||
@@ -95,45 +113,38 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 常见问题 -->
|
||||
<view class="section">
|
||||
<view class="section-head">
|
||||
<view class="section-bar"></view>
|
||||
<text class="section-title">常见问题</text>
|
||||
<text class="section-en">FAQ</text>
|
||||
</view>
|
||||
<view class="list-card faq-card">
|
||||
<view class="faq-item" wx:for="{{faqs}}" wx:key="q">
|
||||
<text class="faq-q">{{item.q}}</text>
|
||||
<view class="faq-q-row">
|
||||
<text class="faq-badge">问</text>
|
||||
<text class="faq-q">{{item.q}}</text>
|
||||
</view>
|
||||
<text class="faq-a">{{item.a}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 证书样本:限宽居中,避免整幅图占满一屏 -->
|
||||
<view class="section">
|
||||
<view class="section-head">
|
||||
<view class="section-bar"></view>
|
||||
<text class="section-title">证书样本</text>
|
||||
<text class="section-en">SAMPLE</text>
|
||||
</view>
|
||||
<view class="list-card sample-card">
|
||||
<image class="sample-image" src="{{certificateSampleUrl}}" mode="widthFix" bindtap="previewCertificateSample" />
|
||||
<text class="sample-note">证书样本仅供参考,以实际下发证书为准(点击可放大)</text>
|
||||
<view class="sample-frame">
|
||||
<image class="sample-image" src="{{certificateSampleUrl}}" mode="widthFix" lazy-load bindtap="previewCertificateSample" />
|
||||
</view>
|
||||
<text class="sample-note">样本仅供参考,以实际下发为准(点击可放大)</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="contact-entry" bindtap="goToContact">
|
||||
<text class="entry-prefix">报名前有疑问?</text>
|
||||
<text class="entry-title">联系客服</text>
|
||||
<t-icon class="entry-arrow" name="chevron-right" size="28rpx" color="#6F655C" />
|
||||
</view>
|
||||
|
||||
<view class="bottom-placeholder"></view>
|
||||
</view>
|
||||
|
||||
<!-- 全页唯一实心橙块:固定报名入口 -->
|
||||
<view class="bottom-bar">
|
||||
<view class="bar-info">
|
||||
<text class="bar-title">2026 年考位报名</text>
|
||||
<text class="bar-desc">医疗陪诊顾问(高级)</text>
|
||||
</view>
|
||||
<view class="bar-btn" bindtap="goToApply">报名</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
+201
-48
@@ -1,74 +1,227 @@
|
||||
/* pages/train/index.wxss:配色令牌来自 app.wxss,本页不留副本 */
|
||||
page { background-color: var(--paper); }
|
||||
.page-bg { min-height: 100vh; background: var(--paper); }
|
||||
.container { padding: 32rpx 32rpx 0; }
|
||||
/* pages/train/index.wxss:配色令牌来自 app.wxss,本页不留副本
|
||||
|
||||
===== 版式顺序 =====
|
||||
价格 → 培训与考试 → 报考联系 → 报名流程 → 常见问题 → 证书样本。
|
||||
区块合并、间距收紧,靠发丝线与留白分层,不靠卡片堆叠。
|
||||
|
||||
===== 字体系统 =====
|
||||
字体栈与 app.wxss 一致:iOS 落到苹方、Windows/安卓落到雅黑或系统黑体,
|
||||
都属同一类无衬线,不强行加载外部字体,避免首屏体积与闪烁问题。
|
||||
字号、字重、字距全部收在下方的 --t-* / --tracking-* 令牌里,
|
||||
页面内不再出现散落的 font-size 字面量:
|
||||
展示数字 88 / 页面标题 44 / 区块标题 36 / 卡片主值 32 / 正文 28 / 注释 26
|
||||
中文只用 400、700 两档字重;大字标题字距为 0,小号英文标反而放宽到 4rpx,
|
||||
让"大标题紧、小标签松"形成对比,这是最省力的秩序感来源。
|
||||
价格等数字统一 tabular-nums,切数与位数变化时不会左右跳。
|
||||
|
||||
===== 行高 =====
|
||||
单行标题 1.4–1.45,多行正文 1.7–1.75;中文方块字低于 1.4 发挤、高于 1.8 发散 */
|
||||
|
||||
.page-bg {
|
||||
min-height: 100vh;
|
||||
background: var(--paper);
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
|
||||
--t-display: 88rpx;
|
||||
--t-h1: 44rpx;
|
||||
--t-h2: 36rpx;
|
||||
--t-title: 32rpx;
|
||||
--t-body: 28rpx;
|
||||
--t-caption: 26rpx;
|
||||
--tracking-tight: -1rpx;
|
||||
--tracking-title: 1rpx;
|
||||
--tracking-label: 4rpx;
|
||||
}
|
||||
|
||||
.container { padding: 32rpx 32rpx calc(48rpx + env(safe-area-inset-bottom)); }
|
||||
|
||||
/* ===== 页首 ===== */
|
||||
.page-header { padding: 24rpx 0 8rpx; }
|
||||
/* 短横色标:页面级记号(首页 .page-accent 同一支),区块级留给竖条 */
|
||||
.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); }
|
||||
.header-title {
|
||||
display: block; margin-top: 20rpx;
|
||||
font-size: var(--t-h1); font-weight: 700; line-height: 1.35;
|
||||
letter-spacing: 0; color: var(--ink);
|
||||
}
|
||||
.header-subtitle {
|
||||
display: block; margin-top: 10rpx;
|
||||
font-size: var(--t-body); font-weight: 400; line-height: 1.6;
|
||||
letter-spacing: 0; color: var(--muted);
|
||||
}
|
||||
|
||||
/* 首屏主卡:两档价格并列,整卡走暖橙衬底,成为全页唯一的暖色块
|
||||
价格文字用 --brand-ink(浅橙底 5.96:1,过 AA),分隔线用 --brand-line */
|
||||
.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); }
|
||||
.intro-card {
|
||||
margin-top: 32rpx; padding: 40rpx 24rpx; border-radius: 28rpx;
|
||||
background: var(--brand-soft); border-color: var(--brand-line);
|
||||
}
|
||||
|
||||
.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; }
|
||||
/* 两栏等宽,数字同样大小,中缝一条 --brand-line 竖线 */
|
||||
.plan-row { display: flex; align-items: stretch; }
|
||||
.plan-item { flex: 1; min-width: 0; padding: 0 20rpx; text-align: center; }
|
||||
.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;
|
||||
letter-spacing: 0; color: var(--muted);
|
||||
}
|
||||
.plan-price { display: flex; align-items: baseline; justify-content: center; margin-top: 18rpx; }
|
||||
.price-symbol {
|
||||
margin-right: 4rpx;
|
||||
font-size: var(--t-title); font-weight: 700; line-height: 1;
|
||||
color: var(--brand-ink);
|
||||
}
|
||||
.price-number {
|
||||
font-size: var(--t-display); font-weight: 700; line-height: 1;
|
||||
letter-spacing: var(--tracking-tight);
|
||||
font-variant-numeric: tabular-nums;
|
||||
color: var(--brand-ink);
|
||||
}
|
||||
.price-origin {
|
||||
display: block; margin-top: 14rpx;
|
||||
font-size: var(--t-body); font-weight: 400; line-height: 1.4;
|
||||
color: var(--muted); text-decoration: line-through;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.list-card { padding: 8rpx 26rpx; border-radius: 28rpx; }
|
||||
/* ===== 区块标题 =====
|
||||
竖条高 = 标题字号(36rpx),与首页 / itemlist 同一支记号;
|
||||
右侧英文小标只做节奏与秩序感,宽字距 + muted,不与中文标题争层级 */
|
||||
.section { margin-top: 44rpx; }
|
||||
.section-head { display: flex; align-items: baseline; margin-bottom: 20rpx; }
|
||||
.section-bar { width: 8rpx; height: 36rpx; 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;
|
||||
letter-spacing: var(--tracking-title); color: var(--ink);
|
||||
}
|
||||
.section-en {
|
||||
margin-left: 14rpx;
|
||||
font-size: var(--t-caption); font-weight: 700; line-height: 1.4;
|
||||
letter-spacing: var(--tracking-label); color: var(--muted);
|
||||
}
|
||||
|
||||
/* ===== 白卡 ===== */
|
||||
.list-card { padding: 6rpx 26rpx; border-radius: 28rpx; }
|
||||
|
||||
/* ===== 培训与考试:规格表 =====
|
||||
左标签 muted 小字、右取值 ink 粗体,一行一条,横向扫读最快 */
|
||||
.spec-card { padding-top: 4rpx; }
|
||||
.spec-row { display: flex; align-items: baseline; justify-content: space-between; padding: 24rpx 0; border-bottom: 2rpx solid var(--line); }
|
||||
.spec-row:last-of-type { border-bottom: none; }
|
||||
.spec-label {
|
||||
flex-shrink: 0;
|
||||
font-size: var(--t-body); font-weight: 400; line-height: 1.5;
|
||||
letter-spacing: 0; color: var(--muted);
|
||||
}
|
||||
.spec-value {
|
||||
flex: 1; min-width: 0; margin-left: 32rpx; text-align: right;
|
||||
font-size: var(--t-title); font-weight: 700; line-height: 1.5;
|
||||
letter-spacing: 0; color: var(--ink); word-break: break-word;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.spec-row-link { transition: background-color 0.15s ease; }
|
||||
.spec-row-link:active { background: var(--brand-soft); }
|
||||
.spec-link { color: var(--brand-ink); }
|
||||
.spec-link::after { content: ' ↗'; font-size: var(--t-caption); }
|
||||
|
||||
/* 卡片尾部说明:--muted 注释字号,比正文轻一档,是"以…为准"的免责声明 */
|
||||
.card-note {
|
||||
display: block; padding: 22rpx 0;
|
||||
font-size: var(--t-caption); font-weight: 400; line-height: 1.7;
|
||||
letter-spacing: 0; color: var(--muted);
|
||||
}
|
||||
|
||||
/* ===== 报名流程(时间轴)===== */
|
||||
.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-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);
|
||||
font-size: var(--t-caption); font-weight: 700; line-height: 1;
|
||||
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-dot-active { background: var(--brand-strong); border-color: var(--brand-strong); color: var(--white); box-shadow: var(--shadow-cta); }
|
||||
.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-body { flex: 1; min-width: 0; margin-left: 20rpx; padding-bottom: 26rpx; }
|
||||
.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; }
|
||||
.step-title {
|
||||
display: block;
|
||||
font-size: var(--t-title); font-weight: 700; line-height: 1.45;
|
||||
letter-spacing: 0; color: var(--ink);
|
||||
}
|
||||
.step-desc {
|
||||
display: block; margin-top: 6rpx;
|
||||
font-size: var(--t-body); font-weight: 400; line-height: 1.7;
|
||||
letter-spacing: 0; color: var(--muted);
|
||||
}
|
||||
|
||||
/* ===== 报考联系:文字与二维码并排 =====
|
||||
二维码不必独占一行,说明与入口压在同一张卡里 */
|
||||
.contact-card { display: flex; align-items: center; padding: 20rpx 24rpx; }
|
||||
.contact-main { flex: 1; min-width: 0; padding-right: 24rpx; }
|
||||
.contact-lead {
|
||||
display: block;
|
||||
font-size: var(--t-title); font-weight: 700; 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;
|
||||
letter-spacing: 0; color: var(--brand-ink);
|
||||
}
|
||||
.contact-qr { width: 280rpx; height: 260rpx; flex-shrink: 0; border-radius: 16rpx; }
|
||||
|
||||
/* ===== 常见问题 =====
|
||||
问:一行粗体墨色;答:缩进到问句正文左缘,常规字重 ink-2 */
|
||||
.faq-card { padding-top: 4rpx; padding-bottom: 4rpx; }
|
||||
.faq-item { padding: 24rpx 0; border-bottom: 2rpx solid var(--line); }
|
||||
.faq-item { padding: 26rpx 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; }
|
||||
.faq-q-row { display: flex; align-items: flex-start; }
|
||||
.faq-badge {
|
||||
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;
|
||||
color: var(--brand-ink);
|
||||
}
|
||||
.faq-q {
|
||||
flex: 1;
|
||||
font-size: var(--t-title); font-weight: 700; line-height: 1.45;
|
||||
letter-spacing: 0; color: var(--ink);
|
||||
}
|
||||
/* 答案缩进 60rpx:与问句正文左缘对齐(徽标 44 + 间距 16),读成一问一答 */
|
||||
.faq-a {
|
||||
display: block; margin-top: 12rpx; padding-left: 60rpx;
|
||||
font-size: var(--t-body); font-weight: 400; line-height: 1.75;
|
||||
letter-spacing: 0; color: var(--ink-2);
|
||||
}
|
||||
|
||||
/* ===== 证书样本 =====
|
||||
样本图限宽居中,不必铺满整卡,否则一张图吃掉大半屏 */
|
||||
.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; }
|
||||
.sample-frame { padding: 12rpx; border-radius: 20rpx; background: var(--paper); border: 2rpx dashed var(--sep); }
|
||||
.sample-image { display: block; width: 100%; max-width: 380rpx; margin: 0 auto; border-radius: 12rpx; background: var(--brand-soft); }
|
||||
.sample-note {
|
||||
display: block; margin-top: 16rpx;
|
||||
font-size: var(--t-caption); font-weight: 400; line-height: 1.6;
|
||||
letter-spacing: 0; color: var(--muted); 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); }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.spec-row-link { transition: none; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user