From daae887c021d8417dd23c2df2446038b239f1862 Mon Sep 17 00:00:00 2001 From: dgflash Date: Thu, 24 Apr 2025 09:27:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=E6=9C=80=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=A1=86=E6=9E=B6=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/resources/common/prefab/confirm.prefab | 10 +++++----- assets/script/game/common/config/GameUIConfig.ts | 4 +++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/assets/resources/common/prefab/confirm.prefab b/assets/resources/common/prefab/confirm.prefab index 7986e27..a73512a 100644 --- a/assets/resources/common/prefab/confirm.prefab +++ b/assets/resources/common/prefab/confirm.prefab @@ -142,7 +142,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 59.98642743644068, + "width": 59.989969099813436, "height": 50.400000000000006 }, "_anchorPoint": { @@ -181,7 +181,7 @@ "_string": "标题", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 33.1875, + "_actualFontSize": 34.895833333333336, "_fontSize": 30, "_fontFamily": "Arial", "_lineHeight": 40, @@ -363,7 +363,7 @@ "_string": "内容", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 28.7625, + "_actualFontSize": 30.243055555555554, "_fontSize": 26, "_fontFamily": "Arial", "_lineHeight": 40, @@ -605,7 +605,7 @@ "_string": "确认", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 22.125, + "_actualFontSize": 23.26388888888889, "_fontSize": 20, "_fontFamily": "Arial", "_lineHeight": 40, @@ -1053,7 +1053,7 @@ "_string": "取消", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 22.125, + "_actualFontSize": 23.26388888888889, "_fontSize": 20, "_fontFamily": "Arial", "_lineHeight": 40, diff --git a/assets/script/game/common/config/GameUIConfig.ts b/assets/script/game/common/config/GameUIConfig.ts index fd6aa02..81975b3 100644 --- a/assets/script/game/common/config/GameUIConfig.ts +++ b/assets/script/game/common/config/GameUIConfig.ts @@ -4,7 +4,9 @@ * @LastEditTime: 2022-11-11 17:41:53 */ -import { LayerType, UIConfig } from "../../../../../extensions/oops-plugin-framework/assets/core/gui/layer/LayerManager"; +import { LayerType } from "db://oops-framework/core/gui/layer/LayerEnum"; +import { UIConfig } from "db://oops-framework/core/gui/layer/UIConfig"; + /** 界面唯一标识(方便服务器通过编号数据触发界面打开) */ export enum UIID {