فهرست منبع

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

- 新增系统消息展示功能
- 优化用户头像和消息布局
- 添加消息类型判断和对应展示逻辑
- 调整聊天背景颜色- 优化切换身份对话框文本
徐勤民 1 ماه پیش
والد
کامیت
7ac373b195
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      src/main/ets/view/RefreshView.ets

+ 1 - 2
src/main/ets/view/RefreshView.ets

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