fix(group-stats): 群统计「查看详情」进纯聊天窗——无会话侧栏,操作列单按钮
用户反馈:微信群统计列表点查看聊天记录进入的页面带「好友列表/群列表」 侧栏不合适——云客该入口是专注的群详情聊天页(截图验证:无会话侧栏, 仅系统菜单+群名+工具栏+消息流)。 - ChatTimeline 增 bare 专注模式(?bare=1 隐藏会话侧栏);员工聊天窗口 入口(不带 bare)侧栏常驻——昨天 WA 侧栏修复的场景不受影响 - GroupList 微信 tab 操作列精简为单按钮「查看详情」(=查看聊天记录, 跳 bare 模式;导出HTML移除——聊天页头部本有导出),WA tab 不动 本地双路径验证:bare 无好友列表/有群聊标题;无 bare 侧栏在;列表点击 跳转 ?bare=1 正常。 Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -53,6 +53,13 @@ const channelTyped = computed(() => props.channel as Channel)
|
||||
/** True when this timeline is a group chat (drives the query + title). */
|
||||
const isGroup = computed(() => !!props.roomId)
|
||||
|
||||
/**
|
||||
* 专注模式(?bare=1):群统计等列表入口的「查看详情」——隐藏会话侧栏,
|
||||
* 对齐云客群详情页(无好友/群列表,纯聊天记录窗)。员工聊天窗口入口
|
||||
* (不带 bare)侧栏常驻(2026-09-09 修复保持)。
|
||||
*/
|
||||
const isBare = computed(() => route.query.bare === '1')
|
||||
|
||||
/** 当前会话类型(高亮 sidebar + 驱动空态)。账号级入口(无 talkerId/roomId)→ null。 */
|
||||
const activeType = computed<'friend' | 'group' | null>(() =>
|
||||
isGroup.value ? 'group' : props.talkerId ? 'friend' : null,
|
||||
@@ -344,8 +351,11 @@ onMounted(() => {
|
||||
<div class="yk-chat__body">
|
||||
<!-- 侧栏常驻(含群聊路由):好友/群列表随时可切,对齐云客聊天窗体验。
|
||||
旧版 v-if="!isGroup" 在群路由下藏侧栏,点群后「好友列表/群列表」
|
||||
消失(2026-09-09 用户报);onSelectSession 本就双类型导航。 -->
|
||||
消失(2026-09-09 用户报);onSelectSession 本就双类型导航。
|
||||
bare 模式(群统计「查看详情」入口)例外——纯聊天记录窗无侧栏,
|
||||
对齐云客群详情页(2026-09-10 用户反馈)。 -->
|
||||
<ChatSidebar
|
||||
v-if="!isBare"
|
||||
:channel="channelTyped"
|
||||
:owner-id="props.ownerId"
|
||||
:active-type="activeType"
|
||||
|
||||
Reference in New Issue
Block a user