弹窗icon适老化方案变更

Signed-off-by: fanchenxuan <fanchenxuan@huawei.com>
This commit is contained in:
fanchenxuan
2024-08-13 09:58:28 +08:00
parent b08079fcbd
commit 08ca5dd34b
2 changed files with 2 additions and 2 deletions
@@ -71,7 +71,7 @@ export default class Constants {
public static TEXT_MIDDLE_FONT_SIZE = 16;
public static TEXT_SMALL_FONT_SIZE = 14;
public static TEXT_SMALLER_FONT_SIZE = 12;
public static FONT_SIZE_28 = 28;
public static FONT_SIZE_28 = '28vp';
public static TEXT_LINE_HEIGHT = 22;
public static TEXT_LINE_HEIGHT_24 = 24;
public static TEXT_LINE_HEIGHT_27 = 27;
@@ -104,7 +104,7 @@ struct SecurityDialog {
SymbolGlyph($r('sys.symbol.person_shield_fill'))
.width(Constants.SECURITY_ICON_WIDTH)
.height(Constants.SECURITY_ICON_HEIGHT)
.fontSize(Constants.FONT_SIZE_28 / getFontSizeScale())
.fontSize(Constants.FONT_SIZE_28)
.fontColor([$r('sys.color.brand')])
.border({
width: Constants.BORDER_WIDTH_1,