增加了商务合作,去掉了医院页面

This commit is contained in:
lik
2026-10-07 16:28:04 +08:00
parent 136b3111cf
commit 179b059250
22 changed files with 356 additions and 1095 deletions
+87
View File
@@ -0,0 +1,87 @@
// pages/mine/business.js
// 商务合作 / 陪诊师入驻 / 陪诊师培训 三个方向共用本页:入口分别来自首页与
// 「我的」页页脚,靠 ?section= 定位到对应卡片(对应 wxml 里 wx:for 的 id)。
//
// 规则口径只写两类内容:国家标准 GB/T 47801—2026《社会化陪同就医服务 基本要求》
// 第 4.2 章(服务管理)、第 7 章(服务人员)已明确的要求,以及平台的通用流程。
// 不写任何未公示的收费标准——费用与排期一律指向客服确认,避免出现未公示费项。
//
// 培训卡里的证书口径:发证主体是国家开放大学培训中心,不是本平台,故只陈述
// 证书名称、颁发主体与证书性质(培训合格证明),不写"国家认可""全国通用"
// "持证上岗"等评价性或承诺性表述——那类说法无法核实,且涉嫌虚假宣传。
// 三个锚点白名单:?section= 来自页面路径,只接受这三张卡自己的 id
const SECTION_IDS = ['sec-biz', 'sec-join', 'sec-train']
Page({
data: {
// 三张卡的数据源:改文案只改这里,wxml 结构不动
sections: [{
id: 'sec-biz',
icon: 'user-business',
title: '商务合作',
points: [
'合作对象:医疗机构、社区、健康管理及养老服务机构,以及有员工就医协助需求的企业',
'合作方式:具体事项请联系客服沟通'
],
note: '以上为通用说明,具体合作方案请联系客服沟通'
},
{
id: 'sec-join',
icon: 'user-add',
title: '陪诊师入驻',
points: [
'基本条件:持有效健康证明,遵守医院规定,不干预医务人员判断',
'上岗要求:完成岗前培训并考核通过,上岗后定期参加专项培训',
'职业素养:守时、有责任心,尊重服务对象,保护其隐私',
'入驻流程:联系客服沟通'
],
note: '以上依据国家标准 GB/T 47801—2026《社会化陪同就医服务 基本要求》第 7 章,最终以资料核验结果为准'
},
{
id: 'sec-train',
icon: 'education',
title: '陪诊师培训',
points: [
'培训内容:操作、专业能力、安全应急、心理健康、人文素养',
'专业知识:挂号流程、科室分布、设备使用与应急常识',
'培训证书:国家开放大学培训中心《医疗陪诊顾问职业技能培训证书》(培训合格证明,非职业资格证书)',
'培训费用:980 元,报名请联系客服确认'
],
note: '本页仅作说明,不办理报名与收费'
}
]
},
// 从哪个入口进来就定位到哪张卡,避免点「陪诊师培训」却落在页首自己找
onLoad(options) {
const section = options && options.section
this.sectionId = SECTION_IDS.indexOf(section) > -1 ? section : ''
},
onReady() {
if (!this.sectionId) {
return
}
wx.pageScrollTo({
selector: `#${this.sectionId}`,
duration: 0
})
},
// 底部出口:合作咨询统一转联系我们页(热线、微信、邮箱都在那一页,
// 不在此页重复铺一遍联系方式,避免同一意图两个入口)
goToContact() {
wx.navigateTo({
url: '/pages/mine/contact'
})
},
onShareAppMessage() {
return {
title: '暖橙陪诊 · 合作与入驻',
path: '/pages/mine/business'
}
}
})
+6
View File
@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "合作与入驻",
"usingComponents": {
"t-icon": "tdesign-miniprogram/icon/icon"
}
}
+49
View File
@@ -0,0 +1,49 @@
<!--pages/mine/business.wxml-->
<view class="page-bg">
<view class="container">
<!-- 头部:小色带 + 深墨标题(内页规范,不做整块主色面板) -->
<view class="page-header">
<view class="header-accent"></view>
<text class="header-title">与我们合作</text>
<text class="header-subtitle">商务合作 · 陪诊师入驻 · 陪诊师培训</text>
</view>
<!-- 三个方向各一张白卡,结构完全相同:图标 + 标题 + 圆点规则 + 尾注。
区分只靠图标与标题,不靠颜色(DESIGN.md 硬约束 3「需区分时先改结构」) -->
<view class="card" wx:for="{{ sections }}" wx:key="id" id="{{ item.id }}">
<view class="card-head">
<!-- 卡头标识走全站「浅橙衬底 + 暖橙图标」语言;
t-icon 的 color 读不到 CSS 变量,硬编码对应 --brand-ink #9B4508 -->
<view class="card-mark">
<t-icon name="{{ item.icon }}" size="26rpx" color="#9B4508" />
</view>
<text class="card-title">{{ item.title }}</text>
</view>
<!-- 规则条目用陪诊指南页同一套圆点语言 -->
<view class="dot-list">
<view class="dot-item" wx:for="{{ item.points }}" wx:for-item="point" wx:key="*this">
<view class="dot"></view>
<text class="dot-text">{{ point }}</text>
</view>
</view>
<!-- 尾注:与条目用发丝线分开,说明口径而非补充规则 -->
<text class="card-note">{{ item.note }}</text>
</view>
<!-- 底部出口:浅橙入口卡(--brand-soft + 2rpx 描边托形 + 去阴影,
同 about 页「联系我们」配方)。整卡可点,右侧 chevron 作点击暗示。
chevron 用 muted 而非暖橙——项目里 chevron 一律 muted,不抢主色焦点 -->
<view class="contact-entry" bindtap="goToContact" hover-class="contact-entry-hover">
<!-- 一行两段:前半句作说明、后半"联系我们"留暖橙主色形成指向。
两段之间的间隙交给 .entry-title 的 margin-left,不靠空白字符——
text 节点内外的空白在 WXML 编译时会被压缩,不可靠 -->
<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="footer-space"></view>
</view>
</view>
+165
View File
@@ -0,0 +1,165 @@
/* pages/mine/business.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: 46rpx;
font-weight: 700;
color: var(--ink);
letter-spacing: 1rpx;
}
.header-subtitle {
display: block;
margin-top: 12rpx;
font-size: 26rpx;
color: var(--muted);
letter-spacing: 1rpx;
}
/* ===== 方向卡:白面走发丝边 + 中性紧阴影 ===== */
.card {
margin-top: 32rpx;
padding: 28rpx 26rpx;
border-radius: 28rpx;
background: var(--white);
border: 2rpx solid var(--line);
box-shadow: var(--shadow-card);
}
.card-head {
display: flex;
align-items: center;
margin-bottom: 20rpx;
}
/* 卡头标识:浅橙衬底 + 2rpx 描边托形,不用实心橙(全页无实心大色块) */
.card-mark {
width: 44rpx;
height: 44rpx;
border-radius: 12rpx;
background: var(--brand-soft);
border: 2rpx solid var(--brand-line);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.card-title {
margin-left: 14rpx;
font-size: 32rpx;
font-weight: 700;
color: var(--ink);
letter-spacing: 1rpx;
}
/* ===== 规则条目:与陪诊指南页同一套圆点语言 ===== */
.dot-item {
display: flex;
padding: 12rpx 0;
}
.dot {
width: 10rpx;
height: 10rpx;
border-radius: 50%;
background: var(--brand-strong);
margin: 16rpx 18rpx 0 4rpx;
flex-shrink: 0;
}
.dot-text {
flex: 1;
font-size: 28rpx;
color: var(--ink-2);
line-height: 1.7;
}
/* 尾注:与条目用发丝线切开,读到的是口径说明而非又一条规则 */
.card-note {
display: block;
margin-top: 8rpx;
padding-top: 20rpx;
border-top: 2rpx solid var(--line);
font-size: 24rpx;
color: var(--muted);
line-height: 1.7;
}
/* ===== 底部出口:浅橙入口卡(同 about 页「联系我们」配方)=====
靠 2rpx --brand-line 描边托形,不加阴影 */
.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);
transition: transform 0.15s ease;
}
.contact-entry:active,
.contact-entry-hover {
transform: scale(0.99);
}
/* chevron 绝对定位贴右缘:只作点击暗示,不参与居中计算,
否则会把文字往左挤偏半个箭头宽 */
.entry-arrow {
position: absolute;
right: 26rpx;
top: 50%;
transform: translateY(-50%);
}
/* 说明句:比主色文字小一号(26rpx)并转灰,退到背景层;
--muted 在浅橙底上 5.24:1,过 AA;26rpx 高于中文最小字号 24rpx */
.entry-prefix {
font-size: 26rpx;
color: var(--muted);
}
/* 落在"联系我们"上,保留暖橙主色与字重,成为这行文字的指向;
--brand-ink 就是为「浅橙底上的文字」定义的令牌(浅橙底 5.96:1,过 AA)。
margin-left 是两段之间的唯一间隙来源(不靠空白字符),
8rpx 约半个汉字宽,够断开语气又不至于把一句话读散 */
.entry-title {
margin-left: 8rpx;
font-size: 30rpx;
font-weight: 700;
color: var(--brand-ink);
}
.footer-space {
height: 60rpx;
}
+5 -4
View File
@@ -188,10 +188,11 @@ Page({
})
},
// 页脚 B 端合作链接:暂无独立页面,统一转接人工客服
onFooterTap() {
wx.makePhoneCall({
phoneNumber: '18618162956'
// 页脚三个 B 端入口:都进「合作与入驻」页,用 section 定位到各自的卡片
onFooterTap(e) {
const section = e.currentTarget.dataset.section || ''
wx.navigateTo({
url: `/pages/mine/business?section=${section}`
})
},
+5 -4
View File
@@ -85,16 +85,17 @@
</view>
<view class="footer-section">
<!-- B 端合作入口:与首页页脚取同一组三条。
<!-- B 端合作入口:与首页页脚取同一组三条,且同样都进「合作与入驻」页
(各自用 section 定位),咨询出口由该页底部统一转「联系我们」。
原先本页是「企业/机构合作 · 陪诊师入驻 · 商务合作」,
其中前两条同义(都转同一个服务电话),
违反「同一意图只保留一个入口」,故整体对齐首页那组 -->
<view class="footer-links">
<text class="footer-link" bindtap="onFooterTap">商务合作</text>
<text class="footer-link" data-section="sec-biz" bindtap="onFooterTap">商务合作</text>
<view class="footer-sep"></view>
<text class="footer-link" bindtap="onFooterTap">陪诊师入驻</text>
<text class="footer-link" data-section="sec-join" bindtap="onFooterTap">陪诊师入驻</text>
<view class="footer-sep"></view>
<text class="footer-link" bindtap="onFooterTap">陪诊师考证</text>
<text class="footer-link" data-section="sec-train" bindtap="onFooterTap">陪诊师考证</text>
</view>
<!-- 版本与版权合并为一行:两行元信息体量都很小,分行只制造空白;
中间复用 .footer-sep 细竖线,与上方链接行同一分隔语言(不用中点字符) -->