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,