From c89c9a3ca433601571055aeb0da212843b769011 Mon Sep 17 00:00:00 2001 From: xsx <825657193@qq.com> Date: Sat, 10 May 2025 16:41:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A5=BD=E5=8F=8B=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=AF=BC=E8=88=AA=E6=9D=A1=E5=BC=82=E5=B8=B8=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-uniapp/pages/friend/friend.vue | 4 ---- .../uview-plus/components/u-index-list/u-index-list.vue | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/im-uniapp/pages/friend/friend.vue b/im-uniapp/pages/friend/friend.vue index 2702702..b114171 100644 --- a/im-uniapp/pages/friend/friend.vue +++ b/im-uniapp/pages/friend/friend.vue @@ -118,10 +118,6 @@ export default { color: $im-text-color !important; } - :deep(.u-index-list__letter) { - margin-top: 50px; - } - :deep(.u-index-list__letter__item) { width: 40rpx !important; height: 40rpx !important; diff --git a/im-uniapp/uni_modules/uview-plus/components/u-index-list/u-index-list.vue b/im-uniapp/uni_modules/uview-plus/components/u-index-list/u-index-list.vue index b0aa31d..c55eafb 100644 --- a/im-uniapp/uni_modules/uview-plus/components/u-index-list/u-index-list.vue +++ b/im-uniapp/uni_modules/uview-plus/components/u-index-list/u-index-list.vue @@ -265,8 +265,8 @@ customNavHeight = sysData.windowTop // #endif // #ifndef H5 - // 在非H5中,为原生导航栏,其高度不算在windowHeight内,这里设置为负值,后面相加时变成减去其高度的一半 - customNavHeight = -(sysData.statusBarHeight + 44) + // 在非H5中,为原生导航栏,其高度不算在windowHeight内 + customNavHeight = sysData.statusBarHeight // #endif } else { customNavHeight = getPx(this.customNavHeight)