From 989cdc669ac7457e32044d7b5ecd946bd30b0ec0 Mon Sep 17 00:00:00 2001 From: jixinbao Date: Fri, 14 Jun 2024 17:31:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A1=A5=E5=85=85=20setTabBarStyle=20?= =?UTF-8?q?=E7=9A=84=20borderColor=20=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/api-set-tabbar/api-set-tabbar.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/api-set-tabbar/api-set-tabbar.vue b/components/api-set-tabbar/api-set-tabbar.vue index 4dbe4079..4db6e794 100644 --- a/components/api-set-tabbar/api-set-tabbar.vue +++ b/components/api-set-tabbar/api-set-tabbar.vue @@ -112,14 +112,16 @@ color: '#7A7E83', selectedColor: '#007AFF', backgroundColor: '#F8F8F8', - borderStyle: 'black' + borderStyle: 'black', + // 新增 borderColor,优先级高于 borderStyle + borderColor:'red' }) } else { uni.setTabBarStyle({ color: '#FFF', selectedColor: '#007AFF', backgroundColor: '#000000', - borderStyle: 'black' + borderStyle: 'black', }) } this.hasCustomedStyle = !this.hasCustomedStyle -- GitLab