feat(hospital): 优化聊天页面展示逻辑

- 新增系统消息展示功能
- 优化用户头像和消息布局
- 添加消息类型判断和对应展示逻辑
- 调整聊天背景颜色- 优化切换身份对话框文本
这个提交包含在:
徐勤民 2025-03-12 18:28:54 +08:00
父节点 d9a0ae8b49
当前提交 7ac373b195

查看文件

@ -47,7 +47,6 @@ export struct RefreshView {
if (this.endY - this.startY < -100 && this._openMore) { if (this.endY - this.startY < -100 && this._openMore) {
const v = this.data && (this.data.length % this.pageSize) === 0 const v = this.data && (this.data.length % this.pageSize) === 0
if (v) { if (v) {
const cTime = new Date().getTime() const cTime = new Date().getTime()
// 2024.11.21 测试觉得刷新太多了,暂时改为1秒5间隔 // 2024.11.21 测试觉得刷新太多了,暂时改为1秒5间隔
if (cTime - this._oTime > 1500) { if (cTime - this._oTime > 1500) {
@ -55,7 +54,7 @@ export struct RefreshView {
this._oTime = cTime this._oTime = cTime
} }
} else { } else {
ToolsHelper.showMessage('没有更多数据了') this.onLoadMore && ToolsHelper.showMessage('没有更多数据了')
} }
} }
break break