增加了商务合作,去掉了医院页面
This commit is contained in:
+5
-14
@@ -22,9 +22,6 @@ const SERVICE_ORDER = [1, 2, 7, 3, 4, 5, 8, 6]
|
||||
// 计入"待服务订单"的订单状态:待确认 / 已确认 / 进行中
|
||||
const PENDING_ORDER_STATUS = ['pending', 'confirmed', 'in_progress']
|
||||
|
||||
// 人工客服电话
|
||||
const SERVICE_PHONE = '18618162956'
|
||||
|
||||
Page({
|
||||
data: {
|
||||
escortServices: [], // 陪诊服务(来自后端,按 SERVICE_ORDER 展示)
|
||||
@@ -138,10 +135,11 @@ Page({
|
||||
})
|
||||
},
|
||||
|
||||
// 页脚 B 端合作入口仍直接转服务电话
|
||||
goToContact() {
|
||||
wx.makePhoneCall({
|
||||
phoneNumber: SERVICE_PHONE
|
||||
// 页脚三个 B 端入口:都进「合作与入驻」页,用 section 定位到各自的卡片
|
||||
goToBusiness(e) {
|
||||
const section = e.currentTarget.dataset.section || ''
|
||||
wx.navigateTo({
|
||||
url: `/pages/mine/business?section=${section}`
|
||||
});
|
||||
},
|
||||
|
||||
@@ -160,13 +158,6 @@ Page({
|
||||
});
|
||||
},
|
||||
|
||||
// 介绍卡信任行:「实名专业陪诊师」→ 陪诊师公示页
|
||||
goToAttendants() {
|
||||
wx.navigateTo({
|
||||
url: '/pages/attendant/attendantlist'
|
||||
});
|
||||
},
|
||||
|
||||
// 点击陪诊服务,直达服务详情下单
|
||||
goToServiceDetail(e) {
|
||||
const id = e.currentTarget.dataset.id
|
||||
|
||||
+9
-12
@@ -81,15 +81,11 @@
|
||||
<view class="intro-card">
|
||||
<text class="intro-desc">做你和医生之间,最省心的那座桥。</text>
|
||||
<!-- 信任行:三项信任背书单行小字,从首屏下沉至此。
|
||||
"专业"是定性描述,故不称"可验证事实" -->
|
||||
"专业"是定性描述,故不称"可验证事实"。
|
||||
三项现状均纯展示不可点——「实名专业陪诊师」原先带 chevron 跳陪诊师公示页,
|
||||
现已摘掉入口,故连 chevron 一并去掉,否则会留一个点了没反应的点击暗示 -->
|
||||
<view class="intro-trust">
|
||||
<!-- 「实名专业陪诊师」是陪诊师公示页的入口。
|
||||
按全站约定「可点项必须有显性暗示」,故在其后补一个 chevron;
|
||||
另两项保持纯展示 -->
|
||||
<view class="intro-trust-link" bindtap="goToAttendants">
|
||||
<text class="intro-trust-item">实名专业陪诊师</text>
|
||||
<t-icon name="chevron-right" size="22rpx" color="#6F655C" />
|
||||
</view>
|
||||
<text class="intro-trust-item">实名专业陪诊师</text>
|
||||
<view class="intro-trust-sep"></view>
|
||||
<text class="intro-trust-item">熟悉医院流程</text>
|
||||
<view class="intro-trust-sep"></view>
|
||||
@@ -132,14 +128,15 @@
|
||||
</view>
|
||||
|
||||
<!-- ④ 页脚:B 端合作入口(商务合作 / 陪诊师入驻 / 陪诊师考证),
|
||||
点击统一转服务电话,与「我的」页页脚同构 -->
|
||||
三条都进「合作与入驻」页,各自用 section 定位到对应卡片。
|
||||
该页底部再转「联系我们」——咨询出口只保留一个,避免同一意图两个入口 -->
|
||||
<view class="page-footer">
|
||||
<view class="footer-links">
|
||||
<text class="footer-link" bindtap="goToContact">商务合作</text>
|
||||
<text class="footer-link" data-section="sec-biz" bindtap="goToBusiness">商务合作</text>
|
||||
<view class="footer-sep"></view>
|
||||
<text class="footer-link" bindtap="goToContact">陪诊师入驻</text>
|
||||
<text class="footer-link" data-section="sec-join" bindtap="goToBusiness">陪诊师入驻</text>
|
||||
<view class="footer-sep"></view>
|
||||
<text class="footer-link" bindtap="goToContact">陪诊师考证</text>
|
||||
<text class="footer-link" data-section="sec-train" bindtap="goToBusiness">陪诊师考证</text>
|
||||
</view>
|
||||
<text class="footer-note">WARM ESCORT · 用心陪好每一步</text>
|
||||
</view>
|
||||
|
||||
@@ -214,24 +214,6 @@ page {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* 信任行里唯一的可点项:「实名专业陪诊师」→ 陪诊师公示页。
|
||||
用 padding 16rpx 把热区撑到 56rpx(28px),再配等量负外边距抵消,
|
||||
信任行的行高与另两项保持完全不变 */
|
||||
.intro-trust-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 16rpx 0;
|
||||
margin: -16rpx 0;
|
||||
}
|
||||
|
||||
.intro-trust-link:active {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.intro-trust-link .intro-trust-item {
|
||||
margin-right: 4rpx;
|
||||
}
|
||||
|
||||
/* ===== 通用区块 ===== */
|
||||
.section {
|
||||
margin-top: 56rpx;
|
||||
|
||||
Reference in New Issue
Block a user