From 6fde3b0ea6117257e076d973a2880a6c5e6ca1ef Mon Sep 17 00:00:00 2001 From: hdx Date: Thu, 2 Nov 2023 11:13:02 +0800 Subject: [PATCH] =?UTF-8?q?custom-tab-bar:=20=E8=B0=83=E6=95=B4=20+=20?= =?UTF-8?q?=E5=8F=B7=E6=8C=89=E9=92=AE=E5=B8=83=E5=B1=80=EF=BC=8C=E6=8F=90?= =?UTF-8?q?=E5=8F=96=E5=88=B0=E5=A4=96=E5=B1=82=EF=BC=8C=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E8=A7=A6=E5=8F=91=E9=97=AE=E9=A2=98=E3=80=82?= =?UTF-8?q?=E7=94=B1=E4=BA=8E=E7=BB=9D=E5=AF=B9=E5=AE=9A=E4=BD=8D=E4=B8=8D?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20margin:=20auto,=20=E9=87=87=E7=94=A8?= =?UTF-8?q?=E4=BA=86=20left:=2050%,=20margin-left:=20-35px=20=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0=E5=B7=A6=E5=8F=B3=E5=B1=85=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../template/custom-tab-bar/custom-tab-bar.uvue | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pages/template/custom-tab-bar/custom-tab-bar.uvue b/pages/template/custom-tab-bar/custom-tab-bar.uvue index 7c04890f..fd94a2ae 100644 --- a/pages/template/custom-tab-bar/custom-tab-bar.uvue +++ b/pages/template/custom-tab-bar/custom-tab-bar.uvue @@ -18,11 +18,8 @@ - + - - + - @@ -34,6 +31,9 @@ + + + + @@ -179,15 +179,14 @@ .btn-plus { position: absolute; - left: 43px; + left: 50%; width: 70px; height: 70px; + bottom: 20px; border-radius: 50px; background-color: #FE5722; box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); - /* margin-left: auto; - margin-right: auto; */ - margin-top: -35px; + margin-left: -35px; align-items: center; justify-content: center; overflow: visible; @@ -197,4 +196,4 @@ color: #fff; font-size: 32px; } - \ No newline at end of file + -- GitLab