From e6853046166ba82c87c57f63a4075e1332d43558 Mon Sep 17 00:00:00 2001 From: xinjie <> Date: Tue, 15 Nov 2022 14:59:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF-=E8=B5=84=E8=AE=AF?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E4=B8=8B=E6=8B=89=E5=AF=BC=E8=88=AA=E6=A0=8F?= =?UTF-8?q?=E6=B6=88=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uniapp/src/pages.json | 3 ++- uniapp/src/pages/news/news.vue | 2 +- .../uni_modules/vk-uview-ui/components/u-tabbar/u-tabbar.vue | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/uniapp/src/pages.json b/uniapp/src/pages.json index e2e7ef9e..763f76ba 100644 --- a/uniapp/src/pages.json +++ b/uniapp/src/pages.json @@ -9,7 +9,8 @@ { "path": "pages/news/news", "style": { - "navigationBarTitleText": "资讯" + "navigationBarTitleText": "资讯", + "disableScroll": true } }, { diff --git a/uniapp/src/pages/news/news.vue b/uniapp/src/pages/news/news.vue index 0e54af2f..46865b54 100644 --- a/uniapp/src/pages/news/news.vue +++ b/uniapp/src/pages/news/news.vue @@ -54,7 +54,7 @@ onLoad((options) => { } &-list { - height: calc(100vh - 86px); + height: calc(100vh - 272rpx - env(safe-area-inset-bottom)); } } diff --git a/uniapp/src/uni_modules/vk-uview-ui/components/u-tabbar/u-tabbar.vue b/uniapp/src/uni_modules/vk-uview-ui/components/u-tabbar/u-tabbar.vue index 6e8cb165..f474b202 100644 --- a/uniapp/src/uni_modules/vk-uview-ui/components/u-tabbar/u-tabbar.vue +++ b/uniapp/src/uni_modules/vk-uview-ui/components/u-tabbar/u-tabbar.vue @@ -100,7 +100,7 @@ export default { // tabbar的高度,默认50px,单位任意,如果为数值,则为rpx单位 height: { type: [String, Number], - default: "50px" + default: 100 }, // 非凸起图标的大小,单位任意,数值默认rpx iconSize: {