Bladeren bron

16243 细节等问题汇总,详解截图。

徐勤民 1 maand geleden
bovenliggende
commit
268d9f4fb2
1 gewijzigde bestanden met toevoegingen van 9 en 4 verwijderingen
  1. 9 4
      src/main/ets/view/SafeView.ets

+ 9 - 4
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)