From 6d9b5ad51b78bc87c2971ef26d22f4c2a90bdf8e Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Fri, 23 Aug 2024 18:01:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E9=A6=96=E9=A1=B5=E5=92=8C?= =?UTF-8?q?=E5=8A=A8=E6=80=81=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/base/navbar.vue | 9 +- components/base/tabbar.vue | 1 + pages.json | 7 ++ pages/index/index.vue | 175 +++++++++++++++++++++++++++++++- static/image/素材8.21/画板 1@2x.png | Bin 91708 -> 0 bytes static/image/素材8.21/画板 3@2x.png | Bin 46325 -> 0 bytes static/image/素材8.21/画板 @2x.png | Bin 31555 -> 0 bytes uni.scss | 6 +- 8 files changed, 188 insertions(+), 10 deletions(-) delete mode 100644 static/image/素材8.21/画板 1@2x.png delete mode 100644 static/image/素材8.21/画板 3@2x.png delete mode 100644 static/image/素材8.21/画板 @2x.png diff --git a/components/base/navbar.vue b/components/base/navbar.vue index b5151ad..bf7253b 100644 --- a/components/base/navbar.vue +++ b/components/base/navbar.vue @@ -4,7 +4,7 @@ {{ title }} @@ -44,7 +44,7 @@ default : '' }, leftClick : { - type : Function, + type : Boolean, }, moreClick : { type : Function, @@ -79,15 +79,16 @@ .navbar{ width: 100%; height: 100rpx; + padding-top: calc(var(--status-bar-height)); } .title{ position: fixed; top: 0; left: 0; - padding-top: var(--status-bar-height); + padding-top: calc(var(--status-bar-height) + 20rpx); width: 100%; height: 100rpx; - background-color: #f7f7f7; + background-color: #fff; display: flex; justify-content: center; font-size: 32rpx; diff --git a/components/base/tabbar.vue b/components/base/tabbar.vue index cf9aa8f..bf84ad5 100644 --- a/components/base/tabbar.vue +++ b/components/base/tabbar.vue @@ -3,6 +3,7 @@ + + + + 首页 + + + 北京 + + + + + + + + + + + 搜索 + + + + + + + + + + + 认证演员 + + + 查看全部 + + + + + + + + + + + + 动态帖子 + + + 查看全部 + + + + + + @@ -9,12 +77,52 @@