From 268d9f4fb2400796e8235c911e46d500f81520f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=8B=A4=E6=B0=91?= Date: Fri, 22 Nov 2024 10:11:57 +0800 Subject: [PATCH] =?UTF-8?q?16243=20=E7=BB=86=E8=8A=82=E7=AD=89=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E6=B1=87=E6=80=BB=EF=BC=8C=E8=AF=A6=E8=A7=A3=E6=88=AA?= =?UTF-8?q?=E5=9B=BE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/ets/view/SafeView.ets | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/main/ets/view/SafeView.ets b/src/main/ets/view/SafeView.ets index 66f7dae..0c0a68a 100644 --- a/src/main/ets/view/SafeView.ets +++ b/src/main/ets/view/SafeView.ets @@ -107,7 +107,9 @@ export struct SafeView { count: this.showBadgeLeft ? 1 : 0, style: { badgeSize: 6, - badgeColor: Color.Red + badgeColor: Color.Red, + fontSize:1, + color: '#FF6500', } }) { Text(`${this.onClickLeft?.text}` ?? '确定') @@ -123,7 +125,8 @@ export struct SafeView { style: { badgeSize: 6, badgeColor: '#FF6500', - color: '#FF6500' + color: '#FF6500', + fontSize:1 } }) { Image(this.onClickLeft.img) @@ -141,7 +144,8 @@ export struct SafeView { style: { badgeSize: 6, badgeColor: '#FF6500', - color: '#FF6500' + color: '#FF6500', + fontSize:1 } }) { Text(this.onClickRight?.text ?? '确定') @@ -160,7 +164,8 @@ export struct SafeView { style: { badgeSize: 6, badgeColor: '#FF6500', - color: '#FF6500' + color: '#FF6500', + fontSize:1 } }) { Image(this.onClickRight.img)