From d81382feda8335935cfb3de51ce387a48a9564a5 Mon Sep 17 00:00:00 2001 From: WangLin305 Date: Thu, 4 Dec 2025 16:47:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=A1=A8=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/Index.ets | 1 + entry/src/main/resources/zh_CN/element/string.json | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/entry/src/main/ets/pages/Index.ets b/entry/src/main/ets/pages/Index.ets index ccde7f6..3a0aa6f 100644 --- a/entry/src/main/ets/pages/Index.ets +++ b/entry/src/main/ets/pages/Index.ets @@ -58,6 +58,7 @@ struct Index { .width(StyleConstants.FULL_PERCENT) .height(StyleConstants.FULL_PERCENT) .backgroundColor($r('app.color.main_background_color')) + .expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.TOP, SafeAreaEdge.BOTTOM]) } async aboutToAppear() { diff --git a/entry/src/main/resources/zh_CN/element/string.json b/entry/src/main/resources/zh_CN/element/string.json index 7eda63c..2077976 100644 --- a/entry/src/main/resources/zh_CN/element/string.json +++ b/entry/src/main/resources/zh_CN/element/string.json @@ -14,15 +14,15 @@ }, { "name": "fruit_text", - "value": "Fruit" + "value": "水果" }, { "name": "fruit_placeholder", - "value": "Oranges" + "value": "橙子" }, { "name": "number_text", - "value": "Number" + "value": "数量" }, { "name": "number_placeholder", @@ -30,15 +30,15 @@ }, { "name": "write_data_btn_text", - "value": "Write DB" + "value": "写入数据库" }, { "name": "read_data_btn_text", - "value": "Read DB" + "value": "读取数据库" }, { "name": "delete_data_file_btn_text", - "value": "Delete DB File" + "value": "删除数据库文件" }, { "name": "delete_success_msg", @@ -62,7 +62,7 @@ }, { "name": "empty", - "value": "empty" + "value": "空" } ] } \ No newline at end of file -- Gitee