From 7ac373b1953fa155102d1e4f74d994ea0504b86c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=8B=A4=E6=B0=91?= Date: Wed, 12 Mar 2025 18:28:54 +0800 Subject: [PATCH] =?UTF-8?q?feat(hospital):=20=E4=BC=98=E5=8C=96=E8=81=8A?= =?UTF-8?q?=E5=A4=A9=E9=A1=B5=E9=9D=A2=E5=B1=95=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增系统消息展示功能 - 优化用户头像和消息布局 - 添加消息类型判断和对应展示逻辑 - 调整聊天背景颜色- 优化切换身份对话框文本 --- src/main/ets/view/RefreshView.ets | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/ets/view/RefreshView.ets b/src/main/ets/view/RefreshView.ets index 84edc44..1ce4e0b 100644 --- a/src/main/ets/view/RefreshView.ets +++ b/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