feat(training): 新增培训宣传与考位报名入口
This commit is contained in:
+10
-3
@@ -46,10 +46,11 @@ Page({
|
||||
points: [
|
||||
'培训内容:操作、专业能力、安全应急、心理健康、人文素养',
|
||||
'专业知识:挂号流程、科室分布、设备使用与应急常识',
|
||||
'培训证书:国家开放大学培训中心《医疗陪诊顾问职业技能培训证书》(培训合格证明,非职业资格证书)',
|
||||
'培训费用:980 元,报名请联系客服确认'
|
||||
'培训证书:医疗陪诊顾问(高级)证书(国家开放大学培训中心,培训合格证明,非职业资格证书)',
|
||||
'报名材料:2 寸蓝底照片电子版、身份证电子版'
|
||||
],
|
||||
note: '本页仅作说明,不办理报名与收费'
|
||||
note: '2026 年考位信息可在培训页提交,具体考位与考试安排以客服确认为准',
|
||||
action: { label: '进入培训页报名', url: '/pages/train/index' }
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -84,6 +85,12 @@ Page({
|
||||
})
|
||||
},
|
||||
|
||||
// 培训卡 → 培训宣传页(再转考位报名);其余卡仍统一联系客服
|
||||
goToAction(e) {
|
||||
const { url } = e.currentTarget.dataset
|
||||
if (url) wx.navigateTo({ url })
|
||||
},
|
||||
|
||||
onShareAppMessage() {
|
||||
return {
|
||||
title: '暖橙陪诊 · 合作与入驻',
|
||||
|
||||
@@ -31,6 +31,10 @@
|
||||
|
||||
<!-- 尾注:与条目用发丝线分开,说明口径而非补充规则 -->
|
||||
<text class="card-note">{{ item.note }}</text>
|
||||
<view class="card-action" wx:if="{{ item.action }}" data-url="{{ item.action.url }}" bindtap="goToAction">
|
||||
<text class="card-action-text">{{ item.action.label }}</text>
|
||||
<t-icon name="chevron-right" size="24rpx" color="#9B4508" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 底部出口:浅橙入口卡(--brand-soft + 2rpx 描边托形 + 去阴影,
|
||||
|
||||
@@ -113,6 +113,29 @@ page {
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
/* 培训卡的报名入口:软填充胶囊,不与其他实心主按钮争层级 */
|
||||
.card-action {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-top: 20rpx;
|
||||
padding: 18rpx 24rpx;
|
||||
border-radius: 999rpx;
|
||||
background: var(--brand-soft);
|
||||
border: 2rpx solid var(--brand-line);
|
||||
}
|
||||
|
||||
.card-action:active {
|
||||
transform: scale(0.99);
|
||||
}
|
||||
|
||||
.card-action-text {
|
||||
margin-right: 6rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 700;
|
||||
color: var(--brand-ink);
|
||||
}
|
||||
|
||||
/* ===== 底部出口:浅橙入口卡(同 about 页「联系我们」配方)=====
|
||||
靠 2rpx --brand-line 描边托形,不加阴影 */
|
||||
.contact-entry {
|
||||
|
||||
Reference in New Issue
Block a user