From d46cfd39431bf2a5ef5aa2df7f4c3ef22b0bbc38 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Wed, 22 Jan 2025 10:56:33 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E3=80=91TabBar=20=E8=A7=92=E6=A0=87=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 +- sheep/components/s-tabbar/s-tabbar.vue | 4 ++ sheep/store/app.js | 8 +++ sheep/ui/su-tabbar-item/su-tabbar-item.vue | 59 ++++++++++--------- uni_modules/uni-badge/changelog.md | 4 ++ .../components/uni-badge/uni-badge.vue | 16 ++--- uni_modules/uni-badge/package.json | 13 ++-- 7 files changed, 61 insertions(+), 45 deletions(-) diff --git a/App.vue b/App.vue index 485b5cbb..9f8b1f5c 100644 --- a/App.vue +++ b/App.vue @@ -19,7 +19,7 @@ // 获取urlSchemes参数 const args = plus.runtime.arguments; if (args) { - } + } // 获取剪贴板 uni.getClipboardData({ diff --git a/sheep/components/s-tabbar/s-tabbar.vue b/sheep/components/s-tabbar/s-tabbar.vue index 369a8232..4ff23404 100644 --- a/sheep/components/s-tabbar/s-tabbar.vue +++ b/sheep/components/s-tabbar/s-tabbar.vue @@ -15,6 +15,9 @@ :key="item.text" :text="item.text" :name="item.url" + :badge="item.badge" + :dot="item.dot" + :badgeStyle="tabbar.badgeStyle" :isCenter="getTabbarCenter(index)" :centerImage="sheep.$url.cdn(item.iconUrl)" @tap="sheep.$router.go(item.url)" @@ -33,6 +36,7 @@ -