继续修改样式

This commit is contained in:
lik
2026-11-03 16:58:09 +08:00
parent 20a64ffdf3
commit 4002ba50b1
8 changed files with 21 additions and 20 deletions
+2 -2
View File
@@ -103,7 +103,7 @@ Page({
onShow() {
this.getAiQuickQuestions()
this.syncLoginState()
// 同步自定义 tabBar 选中态(AI客服为第 1 项)
// 同步自定义 tabBar 选中态(陪诊助手为第 1 项)
if (typeof this.getTabBar === 'function' && this.getTabBar()) {
this.getTabBar().setData({
selected: 1
@@ -1419,7 +1419,7 @@ Page({
// (标 failed 会挂上「点击重试」,而这种失败重试必然再失败一次)
// markLoggedOut:本地已确认未登录时同步顶部提示条;服务端判定失效时不动本地会话,
// 避免把网络抖动导致的「查不到人」误当成退出登录
handleLoginRequired(content = '尚未登录,无法与 AI 客服对话', markLoggedOut = true) {
handleLoginRequired(content = '尚未登录,无法与陪诊助手对话', markLoggedOut = true) {
const messages = this.data.messages.map(item => (
item.id === this.activeUserMessageId ? { ...item, status: 'blocked' } : item
))
+1 -1
View File
@@ -2,7 +2,7 @@
<!-- 未登录提示条:提前说明「能不能聊」,把登录入口放在这里,
用户不必等打完字被拦下来才知道要先登录 -->
<view class="login-notice" wx:if="{{authChecked && !isLoggedIn}}">
<text class="login-notice-text">尚未登录,暂时无法与 AI 客服对话</text>
<text class="login-notice-text">尚未登录,暂时无法与陪诊助手对话</text>
<text class="login-notice-link" bindtap="goLogin" aria-role="link">去登录</text>
</view>
+11 -10
View File
@@ -25,7 +25,7 @@
</view>
</view>
<!-- 本页面向就诊人或家属,默认只回答「何时、给谁、去哪、什么服务、多少钱」。
<!-- 本页面向就诊人或家属,默认只回答「何时、去哪、给谁、什么服务、多少钱」。
档案、支付明细和订单技术信息收进展开区;所有修改仍沿用分区入口 -->
<!-- 就诊基本信息卡:这页是就诊人自己看「哪天几点去哪、谁陪我」,
@@ -73,15 +73,9 @@
<t-icon name="edit" size="28rpx" color="#6F655C" />
</view>
</view>
<view class="appt-row">
<text class="appt-label">服务</text>
<view class="appt-value">
<text class="appt-text">{{record.escortServiceName || '陪诊服务'}}</text>
<text class="appt-text" wx:if="{{record.sexRequirementText}}"> · 性别要求{{record.sexRequirementText}}</text>
</view>
</view>
<!-- 陪诊师不在此行重复,下方独立卡片承载姓名与电话。
就诊人降为一行:核对「是不是我」即可,入口跳健康档案页 -->
<!-- 就诊人先于服务:家属打开单据第一件事往往是核对「是不是我家老人」,
这比看订的是哪项服务更靠前;就诊人降为一行即可,
陪诊师不在此行重复,下方独立卡片承载姓名与电话 -->
<view class="appt-row">
<text class="appt-label">就诊人</text>
<view class="appt-value">
@@ -99,6 +93,13 @@
<t-icon name="chevron-right" size="28rpx" color="#6F655C" />
</view>
</view>
<view class="appt-row">
<text class="appt-label">服务</text>
<view class="appt-value">
<text class="appt-text">{{record.escortServiceName || '陪诊服务'}}</text>
<text class="appt-text" wx:if="{{record.sexRequirementText}}"> · 性别要求{{record.sexRequirementText}}</text>
</view>
</view>
</view>
<!-- 费用:标签与金额同行对齐;支付状态胶囊收在行尾 -->
+1 -1
View File
@@ -31,7 +31,7 @@
<view class="hero-trust-sep"></view>
<text class="hero-trust-item">熟悉医院流程</text>
<view class="hero-trust-sep"></view>
<text class="hero-trust-item">一对一服务</text>
<text class="hero-trust-item">全程专属陪诊</text>
</view>
</view>
<!-- 主行动按钮:通栏胶囊,直达服务列表(下单路径最短化) -->