From b7dec68dd63a561713f2fa028ff599741e2eaba5 Mon Sep 17 00:00:00 2001 From: richarjiang Date: Tue, 12 May 2026 21:07:49 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=AE=8C=E5=96=84=E4=BA=8C=E6=AC=A1?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/prefabs/CommonModal.prefab | 8 ++++---- assets/prefabs/PageLevel.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/prefabs/CommonModal.prefab b/assets/prefabs/CommonModal.prefab index eb15e5e..2dddd2a 100644 --- a/assets/prefabs/CommonModal.prefab +++ b/assets/prefabs/CommonModal.prefab @@ -773,8 +773,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 450, - "height": 69.3 + "width": 507.3482666015625, + "height": 124.29999999999998 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -809,14 +809,14 @@ "b": 40, "a": 255 }, - "_string": "哎呀,再仔细想想看?", + "_string": "哎呀,\n 再仔细想想看?", "_horizontalAlign": 1, "_verticalAlign": 1, "_actualFontSize": 45, "_fontSize": 45, "_fontFamily": "Arial", "_lineHeight": 55, - "_overflow": 0, + "_overflow": 3, "_enableWrapText": true, "_font": { "__uuid__": "fb4acba6-6bc7-4eb3-be34-8f2ac9823a80", diff --git a/assets/prefabs/PageLevel.ts b/assets/prefabs/PageLevel.ts index e9f5136..7fd9c73 100644 --- a/assets/prefabs/PageLevel.ts +++ b/assets/prefabs/PageLevel.ts @@ -2133,7 +2133,7 @@ export class PageLevel extends BaseView { const modal = CommonModal.show(this.commonModalPrefab, { title: '提示', - content: '还有时间,确认进入下一题吗?', + content: '还有时间\n确认进入下一题吗?', buttonConfirm: '确认', buttonCancel: '再想想', zIndex: CommonModal.MODAL_Z_INDEX + 1,