dzduole 5 napja
szülő
commit
3220ff96c9

+ 1 - 0
art/fgui/.objs/fonts.json

@@ -1,3 +1,4 @@
 ui://isxx5ak7d33kv57a
 ui://isxx5ak7m0q7v4ic
 ui://isxx5ak7p4tr42d
+ui://37nctnhw83s7v4eo

+ 8 - 9
art/fgui/.objs/workspace.json

@@ -8,24 +8,23 @@
   ],
   "libview.iconScale": 0,
   "doc.openedDocs": [
-    "ui://isxx5ak7j69a40z",
-    "ui://isxx5ak7jaakv55x",
-    "ui://isxx5ak7m2h4v4e8",
-    "ui://isxx5ak7qlo041q",
-    "ui://isxx5ak7uqohv4m3"
+    "ui://isxx5ak7im8nv59o",
+    "ui://isxx5ak7im8nv59n",
+    "ui://isxx5ak7im8nv59g",
+    "ui://isxx5ak7im8nv59h",
+    "ui://isxx5ak7xs1r47l",
+    "ui://isxx5ak7xs1r482"
   ],
   "test.device": "Huawei Mate20 Pro",
   "canvasColor": 10066329,
   "auxline2": true,
-  "doc.activeDoc": "ui://isxx5ak7j69a40z",
+  "doc.activeDoc": "ui://isxx5ak7xs1r482",
   "libview.twoColumn": false,
   "libview.expandedNodes": [
     "isxx5ak7",
     "/",
     "isxx5ak7",
-    "/UISkill/",
-    "isxx5ak7",
-    "/UISkill/component/"
+    "/font/"
   ],
   "auxline1": true,
   "snapToGrid": true,

+ 4 - 4
art/fgui/assets/game/UIRepentProp/component/Component41_2.xml

@@ -5,7 +5,7 @@
     <image id="n0_p4tr" name="n0" src="hkrz3tc" fileName="_shareasset/ty_tc1.png" xy="0,0" size="601,378"/>
     <image id="n2_p4tr" name="n2" src="brgy3uw" fileName="UIWordsList/UIVideoShare/asset/bq4_5.png" xy="0,78" size="602,216"/>
     <image id="n19_trk9" name="n19" src="trk948x" fileName="UIRepentProp/asset/bq4_8.png" xy="96,87" size="410,38"/>
-    <component id="n7_p4tr" name="cancelBtn" src="hkrz3tm" fileName="_sharecomponent/cancelBtn.xml" xy="90,310" size="171,51" group="n9_p4tr" controller="c1,1"/>
+    <component id="n7_p4tr" name="cancelBtn" src="hkrz3tm" fileName="_sharecomponent/cancelBtn.xml" xy="90,310" size="171,51" group="n9_p4tr" controller="c1,0"/>
     <component id="n8_p4tr" name="videoBtn" src="hkrz3tn" fileName="_sharecomponent/shareBtn.xml" xy="341,310" size="171,51" group="n9_p4tr" controller="c1,3"/>
     <group id="n9_p4tr" name="n9" xy="90,310" size="422,51" advanced="true"/>
     <image id="n22_trk9" name="n22" src="trk948z" fileName="UIRepentProp/asset/bq4_3.png" xy="103,94" size="24,24" group="n23_trk9">
@@ -15,11 +15,11 @@
     <group id="n23_trk9" name="n23" xy="103,92" size="388,28" advanced="true" layout="hz" colGap="10" excludeInvisibles="true">
       <relation target="" sidePair="center-center"/>
     </group>
-    <text id="n24_trk9" name="n24" xy="131,170" size="339,39" font="Arial" fontSize="28" color="#697ab8" align="center" vAlign="middle" leading="0" autoSize="none" bold="true" text="Do you regret the ball?"/>
-    <text id="n26_trk9" name="n26" xy="140,211" size="320,26" font="Arial" fontSize="18" color="#697ab8" align="center" vAlign="middle" leading="0" autoSize="none" text="Try again, create brilliance again"/>
+    <text id="n24_trk9" name="n24" xy="92,151" size="417,104" font="Arial" fontSize="28" color="#697ab8" align="center" vAlign="middle" leading="0" autoSize="none" bold="true" text="Do you want to undo your last shot and make a comeback?"/>
+    <text id="n26_trk9" name="n26" xy="141,265" size="320,26" font="Arial" fontSize="18" color="#697ab8" align="center" vAlign="middle" leading="0" autoSize="none" text="Try again, create brilliance again"/>
     <text id="n27_trk9" name="n27" xy="141,371" size="324,26" visible="false" fontSize="18" color="#697ab8" align="center" vAlign="middle" vars="true" autoSize="none" text="本局剩余次数:{cishu=5}">
       <relation target="" sidePair="center-center"/>
     </text>
-    <text id="n12_p4tr" name="titleTxt" xy="52,11" size="498,54" font="Arial" fontSize="36" color="#ffffff" align="center" vAlign="middle" leading="0" autoSize="none" bold="true" strokeColor="#000000" text="Regret ball reminder"/>
+    <text id="n12_p4tr" name="titleTxt" xy="52,11" size="498,54" font="Arial" fontSize="36" color="#ffffff" align="center" vAlign="middle" leading="0" autoSize="none" bold="true" strokeColor="#000000" text="Undo Shot"/>
   </displayList>
 </component>

+ 1 - 1
art/fgui/assets/game/UISecretary/UIFuli/UIFuli2.xml

@@ -2,6 +2,6 @@
 <component size="1700,750">
   <displayList>
     <graph id="n1_im8n" name="n1" xy="0,0" size="1700,750" alpha="0.6" type="rect" fillColor="#ff000000"/>
-    <component id="n0_im8n" name="n0" src="im8nv59n" fileName="UISecretary/UIFuli/component/Component_fl_2.xml" xy="183,0"/>
+    <component id="n0_im8n" name="n2" src="im8nv59n" fileName="UISecretary/UIFuli/component/Component_fl_2.xml" xy="183,0"/>
   </displayList>
 </component>

+ 2 - 2
art/fgui/assets/game/UISecretary/UIFuli/component/Component_fl_1.xml

@@ -8,8 +8,8 @@
     <text id="n5_im8n" name="n5" xy="572,187" size="458,101" touchable="false" fontSize="30" color="#ffff00" autoSize="none" bold="true" strokeColor="#000000" strokeSize="2" text="Remove interstitial ads &#xA;and banner ad" input="true"/>
     <text id="n9_im8n" name="n9" xy="572,294" size="365,43" touchable="false" fontSize="30" color="#ffff00" autoSize="none" bold="true" strokeColor="#000000" strokeSize="2" text="We&apos;ll give away a club" input="true"/>
     <text id="n10_im8n" name="n10" xy="572,348" size="355,43" touchable="false" fontSize="30" color="#ffff00" autoSize="none" bold="true" strokeColor="#000000" strokeSize="2" text="500 diamond" input="true"/>
-    <text id="n11_im8n" name="txt_price" xy="616,396" size="102,66" fontSize="50" color="#fefefe" bold="true" strokeColor="#d62c20" strokeSize="3" text="4.99"/>
+    <text id="n11_im8n" name="txt_price" xy="588,403" size="130,66" font="Arial" fontSize="50" color="#fefefe" align="center" vAlign="middle" bold="true" strokeColor="#d62c20" strokeSize="3" text="$4.99"/>
     <component id="n12_loyp" name="n_no" src="loypv59r" fileName="UISecretary/UIFuli/component/Button_h.xml" xy="372,470"/>
-    <component id="n13_loyp" name="n_buy" src="loypv59s" fileName="UISecretary/UIFuli/component/Button_lv.xml" xy="790,470"/>
+    <component id="n13_loyp" name="n_buy" src="loypv59s" fileName="UISecretary/UIFuli/component/Button_lv.xml" xy="756,470"/>
   </displayList>
 </component>

+ 2 - 2
art/fgui/assets/game/UISecretary/UIFuli/component/Component_fl_2.xml

@@ -2,7 +2,7 @@
 <component size="1334,750">
   <displayList>
     <image id="n0_im8n" name="n0" src="im8nv59i" fileName="UISecretary/UIFuli/asset/bj1.png" xy="67,15"/>
-    <text id="n3_im8n" name="txt_price" xy="602,401" size="130,66" fontSize="50" color="#fefefe" bold="true" strokeColor="#d62c20" strokeSize="3" text="14.99"/>
+    <text id="n3_im8n" name="txt_price" xy="565,403" size="204,73" fontSize="50" color="#fefefe" align="center" vAlign="middle" autoSize="none" bold="true" strokeColor="#d62c20" strokeSize="3" text="$14.99"/>
     <text id="n4_im8n" name="n4" xy="417,206" size="199,42" fontSize="30" color="#ffffff" autoSize="none" bold="true" text="Privilege 1:"/>
     <text id="n6_im8n" name="n6" xy="417,282" size="200,42" fontSize="30" color="#ffffff" autoSize="none" bold="true" text="Privilege 2:"/>
     <text id="n7_im8n" name="n7" xy="417,340" size="199,42" fontSize="30" color="#ffffff" autoSize="none" bold="true" text="Privilege 3:"/>
@@ -10,6 +10,6 @@
     <text id="n8_im8n" name="n8" xy="632,282" size="366,49" touchable="false" fontSize="30" color="#ffff00" autoSize="none" bold="true" strokeColor="#000000" strokeSize="2" text="3000 diamond" input="true"/>
     <text id="n9_im8n" name="n9" xy="632,340" size="366,49" touchable="false" fontSize="30" color="#ffff00" autoSize="none" bold="true" strokeColor="#000000" strokeSize="2" text="No ads at all" input="true"/>
     <component id="n10_loyp" name="n_no" src="loypv59r" fileName="UISecretary/UIFuli/component/Button_h.xml" xy="372,470"/>
-    <component id="n11_loyp" name="n_buy" src="loypv59s" fileName="UISecretary/UIFuli/component/Button_lv.xml" xy="790,470"/>
+    <component id="n11_loyp" name="n_buy" src="loypv59s" fileName="UISecretary/UIFuli/component/Button_lv.xml" xy="780,470"/>
   </displayList>
 </component>

+ 5 - 5
art/fgui/assets/game/_sharecomponent/shareBtn.xml

@@ -3,20 +3,20 @@
   <controller name="c1" alias="小按钮" exported="true" pages="0,分享,1,拿来吧你,2,退出,3,悔球,4,使用,5,继续,12,充满体力,13,立即体验,14,确定" selected="3"/>
   <displayList>
     <image id="n2_hkrz" name="n2" src="hkrz3tb" fileName="_shareasset/ty_an2.png" xy="0,0" size="165,51" aspect="true"/>
-    <text id="n1_hkrz" name="n1" xy="14,0" size="164,48" font="Arial" fontSize="22" color="#ffffff" align="center" vAlign="middle" autoSize="none" bold="true" strokeColor="#000000" text="Undo">
+    <text id="n1_hkrz" name="n1" xy="0,0" size="164,48" font="Arial" fontSize="22" color="#ffffff" align="center" vAlign="middle" autoSize="none" bold="true" strokeColor="#000000" text="Undo">
       <gearDisplay controller="c1" pages="0,3,4"/>
-      <gearXY controller="c1" pages="3,4" values="14,0|23,3" default="0,3"/>
+      <gearXY controller="c1" pages="3,4" values="0,0|0,1" default="0,3"/>
       <gearText controller="c1" pages="0,3,4,14" values="share|Undo|USE|确定&#xA;" default="悔球"/>
     </text>
     <text id="n3_p4tr" name="n3" xy="11,11" size="142,29" font="Arial" fontSize="20" color="#ffffff" align="center" vAlign="middle" autoSize="none" bold="true" strokeColor="#000000" text="充满体力">
       <gearDisplay controller="c1" pages="1,12,13"/>
       <gearText controller="c1" pages="1,12,13" values="Get|Full of energy|Now" default="充满体力"/>
     </text>
-    <image id="n4_p4tr" name="n4" src="hkrz3te" fileName="_shareasset/1.png" xy="1,15" pivot="0.5,0.5" size="28,20" aspect="true">
+    <image id="n4_p4tr" name="n4" src="hkrz3te" fileName="_shareasset/1.png" xy="18,17" size="25,17" aspect="true">
       <gearDisplay controller="c1" pages="1,3,4,12,13"/>
-      <gearXY controller="c1" pages="3,4,12" values="1,15|37,14|2,0" default="19,14"/>
+      <gearXY controller="c1" pages="1,3,4,12,13" values="19,17|18,17|30,17|2,0|19,17" default="19,14"/>
     </image>
-    <text id="n5_mnrs" name="n5" xy="1,1" size="164,48" font="Arial" fontSize="26" color="#ffffff" align="center" vAlign="middle" leading="0" autoSize="none" bold="true" strokeColor="#000000" text="退出&#xA;">
+    <text id="n5_mnrs" name="n5" xy="0,1" size="164,48" font="Arial" fontSize="26" color="#ffffff" align="center" vAlign="middle" leading="0" autoSize="none" bold="true" strokeColor="#000000" text="退出&#xA;">
       <gearDisplay controller="c1" pages="2,14"/>
       <gearText controller="c1" pages="2,14" values="Exit|OK" default="退出&#xA;"/>
     </text>

BIN
art/fgui/assets/game/arial.ttf


+ 7 - 1
art/fgui/assets/game/package.xml

@@ -1268,7 +1268,6 @@
     <image id="r4l5v576" name="zjm_db6-old.png" path="/UIMain/asset/"/>
     <component id="r4l5v577" name="Component1302.xml" path="/UIMain/component/"/>
     <image id="h498v579" name="234_2025.png" path="/UIRepentProp/asset/"/>
-    <font id="d33kv57a" name="arial.ttf" path="/" renderMode="" samplePointSize="16"/>
     <component id="q5n8v57b" name="Component1303.xml" path="/UIGame/component/"/>
     <component id="ixgmv57c" name="Component_phb.xml" path="/UIMain/component/"/>
     <image id="jobkv57d" name="me_icon.jpg" path="/UIPower/UIRanking/asset/"/>
@@ -1355,6 +1354,13 @@
     <image id="wss0v5a2" name="logout.png" path="/UIMain/asset/"/>
     <image id="wss0v5a3" name="qd_bg.jpg" path="/UIMain/asset/new2025/yasuoDir/"/>
     <image id="wss0v5a4" name="Login.png" path="/UIUser/asset/"/>
+    <image id="wss0v5a5" name="zhuxiao.png" path="/UIMain/asset/"/>
+    <image id="wss0v5a6" name="signin.png" path="/UIUser/asset/"/>
+    <font id="wss0v5a7" name="arial.ttf" path="/font/" exported="true" renderMode="" samplePointSize="16"/>
+    <font id="wss0v5a8" name="arialbd.ttf" path="/font/" exported="true" renderMode="" samplePointSize="16"/>
+    <font id="wss0v5a9" name="arialbi.ttf" path="/font/" exported="true" renderMode="" samplePointSize="16"/>
+    <font id="wss0v5aa" name="ariali.ttf" path="/font/" exported="true" renderMode="" samplePointSize="16"/>
+    <font id="wss0v5ab" name="ariblk.ttf" path="/font/" exported="true" renderMode="" samplePointSize="16"/>
   </resources>
   <publish name="game" path="..\..\client\laya\bin\asset\fgui" packageCount="2" genCode="true" codePath="..\..\client\laya\src\fgui\res"/>
 </packageDescription>

+ 6 - 0
client/laya/bin/.rec

@@ -1 +1,7 @@
 D .
+D font
+R B47056FE arial.ttf
+R 968F3DE2 arialbd.ttf
+R E22A15E2 arialbi.ttf
+R 20FF69CD ariali.ttf
+R A4C70369 ariblk.ttf

BIN
client/laya/bin/asset/fgui/game.obj


+ 30 - 6
client/laya/bin/js/bundle.js

@@ -5072,9 +5072,17 @@
             this.firstPos = 385;
             this.secondPos = 467;
             this.showItemArr = [];
+            try {
+                Laya.loader.load("res/font/arial.fnt", Laya.Handler.create(this, this.onFontLoaded));
+                console.log("zh: constructor加载arial字体成功");
+            }
+            catch (error) {
+                console.log("zh: constructor加载arial字体失败");
+            }
         }
         onFontLoaded() {
             try {
+                Laya.Text.defaultFont = "arial";
                 this.ui.myNode.conditionTxt.font = "arial";
                 console.log("zh: onFontLoaded 设置arial字体成功");
             }
@@ -7147,6 +7155,7 @@
     class UIFuli1 extends UIBase {
         constructor() {
             super();
+            this.jiage = 4.99;
         }
         onConstructor() {
             this.ui = ui_UIFuli1.createInstance();
@@ -7159,6 +7168,7 @@
             super.show();
             this.x = (Laya.stage.width - this.width) / 2;
             this.y = (Laya.stage.height - this.height) / 2;
+            this.ui.n2.txt_price.text = "$" + this.jiage;
         }
         closeSelf() {
             DataMgr.loadUserSpOrderForAd();
@@ -7225,7 +7235,7 @@
         }
         onConstruct() {
             this.n1 = (this.getChild("n1"));
-            this.n0 = (this.getChild("n0"));
+            this.n2 = (this.getChild("n2"));
         }
     }
     ui_UIFuli2.URL = "ui://isxx5ak7im8nv59o";
@@ -7233,18 +7243,20 @@
     class UIFuli2 extends UIBase {
         constructor() {
             super();
+            this.jiage = 14.99;
         }
         onConstructor() {
             this.ui = ui_UIFuli2.createInstance();
             this.contentPane = this.ui;
             this.isEject = false;
-            this.addUIClick(this.ui.n0.n_buy, this.gotoBuy);
-            this.addUIClick(this.ui.n0.n_no, this.closeSelf);
+            this.addUIClick(this.ui.n2.n_buy, this.gotoBuy);
+            this.addUIClick(this.ui.n2.n_no, this.closeSelf);
         }
         show() {
             super.show();
             this.x = (Laya.stage.width - this.width) / 2;
             this.y = (Laya.stage.height - this.height) / 2;
+            this.ui.n2.txt_price.text = "$" + this.jiage;
         }
         closeSelf() {
             DataMgr.loadUserSpOrderForAd();
@@ -17375,7 +17387,7 @@
         init() {
             this.setStage(Laya.stage);
             fairygui.UIConfig.defaultFont = "微软雅黑";
-            fairygui.UIConfig.modalLayerColor = "rgba(0,0,0,0.9)";
+            fairygui.UIConfig.modalLayerColor = "rgba(29, 22, 22, 0.9)";
             fairygui.UIConfig.packageFileExtension = "obj";
             fairygui.UIConfig.bringWindowToFrontOnClick = false;
             Laya.stage.addChild(fairygui.GRoot.inst.displayObject);
@@ -21771,9 +21783,17 @@
             this.firstPos = 385;
             this.secondPos = 467;
             this.showItemArr = [];
+            try {
+                Laya.loader.load("res/font/arial.fnt", Laya.Handler.create(this, this.onFontLoaded));
+                console.log("zh: constructor加载arial字体成功");
+            }
+            catch (error) {
+                console.log("zh: constructor加载arial字体失败");
+            }
         }
         onFontLoaded() {
             try {
+                Laya.Text.defaultFont = "arial";
                 this.ui.myNode.conditionTxt.font = "arial";
                 console.log("zh: onFontLoaded 设置arial字体成功");
             }
@@ -24158,6 +24178,7 @@
     class UIFuli1$1 extends UIBase {
         constructor() {
             super();
+            this.jiage = 4.99;
         }
         onConstructor() {
             this.ui = ui_UIFuli1.createInstance();
@@ -24170,6 +24191,7 @@
             super.show();
             this.x = (Laya.stage.width - this.width) / 2;
             this.y = (Laya.stage.height - this.height) / 2;
+            this.ui.n2.txt_price.text = "$" + this.jiage;
         }
         closeSelf() {
             DataMgr.loadUserSpOrderForAd();
@@ -24233,18 +24255,20 @@
     class UIFuli2$1 extends UIBase {
         constructor() {
             super();
+            this.jiage = 14.99;
         }
         onConstructor() {
             this.ui = ui_UIFuli2.createInstance();
             this.contentPane = this.ui;
             this.isEject = false;
-            this.addUIClick(this.ui.n0.n_buy, this.gotoBuy);
-            this.addUIClick(this.ui.n0.n_no, this.closeSelf);
+            this.addUIClick(this.ui.n2.n_buy, this.gotoBuy);
+            this.addUIClick(this.ui.n2.n_no, this.closeSelf);
         }
         show() {
             super.show();
             this.x = (Laya.stage.width - this.width) / 2;
             this.y = (Laya.stage.height - this.height) / 2;
+            this.ui.n2.txt_price.text = "$" + this.jiage;
         }
         closeSelf() {
             DataMgr.loadUserSpOrderForAd();

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
client/laya/bin/js/bundle.js.map


+ 1 - 1
client/laya/src/fgui/core/UIMgr.ts

@@ -50,7 +50,7 @@ export default class UIMgr {
 	public init(): void {
 		this.setStage(Laya.stage);
 		fairygui.UIConfig.defaultFont = "微软雅黑";
-		fairygui.UIConfig.modalLayerColor = "rgba(0,0,0,0.9)";
+		fairygui.UIConfig.modalLayerColor = "rgba(29, 22, 22, 0.9)";
 		fairygui.UIConfig.packageFileExtension = "obj";
 		fairygui.UIConfig.bringWindowToFrontOnClick = false;
 		Laya.stage.addChild(fairygui.GRoot.inst.displayObject);

+ 2 - 2
client/laya/src/fgui/res/game/ui_UIFuli2.ts

@@ -5,7 +5,7 @@ import ui_Component_fl_2 from "./ui_Component_fl_2";
 export default class ui_UIFuli2 extends fgui.GComponent {
 
 	public n1:fgui.GGraph;
-	public n0:ui_Component_fl_2;
+	public n2:ui_Component_fl_2;
 	public static URL:string = "ui://isxx5ak7im8nv59o";
 
 	public static createInstance():ui_UIFuli2 {
@@ -14,6 +14,6 @@ export default class ui_UIFuli2 extends fgui.GComponent {
 
 	protected onConstruct():void {
 		this.n1 = <fgui.GGraph>(this.getChild("n1"));
-		this.n0 = <ui_Component_fl_2>(this.getChild("n0"));
+		this.n2 = <ui_Component_fl_2>(this.getChild("n2"));
 	}
 }

+ 4 - 0
client/laya/src/ui/UIFuli1.ts

@@ -14,6 +14,9 @@ import JSBridgeUtils from "../utils/JSBridgeUtils";
 export default class UIFuli1 extends UIBase {
     protected ui: ui_UIFuli1;
 
+    
+    private jiage: number = 4.99;
+
     public constructor() {
         super();
     }
@@ -29,6 +32,7 @@ export default class UIFuli1 extends UIBase {
         super.show();
         this.x = (Laya.stage.width - this.width) / 2;
         this.y = (Laya.stage.height - this.height) / 2;
+        this.ui.n2.txt_price.text = "$" + this.jiage;
     }
 
     closeSelf() {

+ 4 - 3
client/laya/src/ui/UIFuli2.ts

@@ -17,7 +17,7 @@ import JSBridgeUtils from "../utils/JSBridgeUtils";
 
 export default class UIFuli2 extends UIBase {
     protected ui: ui_UIFuli2;
-
+    private jiage: number = 14.99;
     public constructor() {
         super();
     }
@@ -25,14 +25,15 @@ export default class UIFuli2 extends UIBase {
         this.ui = ui_UIFuli2.createInstance();
         this.contentPane = this.ui;
         this.isEject = false;
-        this.addUIClick(this.ui.n0.n_buy, this.gotoBuy);
-        this.addUIClick(this.ui.n0.n_no, this.closeSelf);
+        this.addUIClick(this.ui.n2.n_buy, this.gotoBuy);
+        this.addUIClick(this.ui.n2.n_no, this.closeSelf);
 
     }
     public show(): void {
         super.show();
         this.x = (Laya.stage.width - this.width) / 2;
         this.y = (Laya.stage.height - this.height) / 2;
+        this.ui.n2.txt_price.text = "$" + this.jiage;
     }
     closeSelf() {
         DataMgr.loadUserSpOrderForAd();

+ 10 - 8
client/laya/src/ui/UILevelProp.ts

@@ -28,22 +28,24 @@ export default class UILevelProp extends UIBase {
     public constructor() {
         super();
 
-        // try {
-        //     Laya.loader.load("res/font/arial.fnt", Laya.Handler.create(this, this.onFontLoaded)); 
-        //     console.log("zh: constructor加载arial字体成功");
-        // } catch (error) {
-        //     console.log("zh: constructor加载arial字体失败");
-        // }
+        try {
+            Laya.loader.load("res/font/arial.fnt", Laya.Handler.create(this, this.onFontLoaded));
+
+            console.log("zh: constructor加载arial字体成功");
+        } catch (error) {
+            console.log("zh: constructor加载arial字体失败");
+        }
 
 
     }
     private onFontLoaded(): void {
         try {
+            
+            Laya.Text.defaultFont = "arial";
             this.ui.myNode.conditionTxt.font = "arial";
             console.log("zh: onFontLoaded 设置arial字体成功");
         } catch (error) {
             console.log("zh: constructor onFontLoaded加载arial字体失败");
-
         }
 
     }
@@ -202,7 +204,7 @@ export default class UILevelProp extends UIBase {
             if (level > d.level) {
                 jsonStr.count = d.count + 1;
                 LocalStorageManager.setItem(keyStr, jsonStr);
-            }else{
+            } else {
                 //NO 
             }
         } else {

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott