mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-08-17 11:37:06 +08:00
fix: 优化移动端导出消息布局与计数
- 调整移动端消息栈宽度,统一约束来源标签与消息内容\n- 精简档案计数文案,移除虚拟窗口已显示数量\n- 补充搜索前后消息保持单行展示的移动端回归测试
This commit is contained in:
@@ -789,8 +789,8 @@ body {
|
||||
overscroll-behavior-x: none;
|
||||
touch-action: pan-y;
|
||||
}
|
||||
.message:not(.system) .bubble { max-width: calc(100% - 50px); }
|
||||
.message:not(.system) .row.has-locate .bubble { max-width: calc(100% - 90px); }
|
||||
.message:not(.system) .message-stack { max-width: calc(100% - 50px); }
|
||||
.message:not(.system) .row.has-locate .message-stack { max-width: calc(100% - 90px); }
|
||||
.audio-wrap { width: min(260px, 100%); }
|
||||
}
|
||||
`
|
||||
@@ -1367,12 +1367,10 @@ const renderExportScript = (name: string): string => `
|
||||
})
|
||||
}
|
||||
const updateCount = () => {
|
||||
const shown = Math.max(0, windowEnd - windowStart)
|
||||
const scopeTotal = activeConversation === 'all'
|
||||
? allMessages.length
|
||||
: allMessages.filter((message) => message.exportConversationId === activeConversation).length
|
||||
const scopeLabel = activeConversation === 'all' ? '全部' : '当前聊天'
|
||||
count.textContent = '已显示 ' + shown + ' / 筛选 ' + filtered.length + ' / ' + scopeLabel + ' ' + scopeTotal
|
||||
count.textContent = '筛选 ' + filtered.length + ' / 全部 ' + scopeTotal
|
||||
}
|
||||
const setScrollTop = (value) => {
|
||||
scrollLoadSuppressed = true
|
||||
|
||||
Reference in New Issue
Block a user