继续修改样式
This commit is contained in:
+2
-2
@@ -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
|
||||
))
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user