dzduole 13 小時之前
父節點
當前提交
8c79a28b4d

+ 1 - 15
art/fgui/.objs/workspace.json

@@ -16,21 +16,7 @@
     "isxx5ak7",
     "/",
     "isxx5ak7",
-    "/UIMain/",
-    "isxx5ak7",
-    "/UIMain/asset/",
-    "isxx5ak7",
-    "/UISecretary/",
-    "isxx5ak7",
-    "/UISecretary/UIFuli/",
-    "isxx5ak7",
-    "/UISecretary/UIFuli/asset/",
-    "isxx5ak7",
-    "/UISecretary/UIFuli/component/",
-    "isxx5ak7",
-    "/UISecretary/UIShop/",
-    "isxx5ak7",
-    "/UIUser/"
+    "/UIDraw/"
   ],
   "auxline1": true,
   "snapToGrid": true,

+ 15 - 9
art/fgui/assets/game/UIDraw/UIDraw.xml

@@ -1,15 +1,21 @@
 <?xml version="1.0" encoding="utf-8"?>
 <component size="1334,750">
   <displayList>
-    <image id="n1_wcn5" name="n1" src="bf9jv4ju" fileName="UISign/asset/qd_bg.jpg" xy="-183,0">
+    <graph id="n53_sfy8" name="n_bj" xy="-183,0" size="1700,750" type="rect" fillColor="#ff333333">
+      <relation target="" sidePair="center-center,middle-middle"/>
+    </graph>
+    <image id="n1_wcn5" name="n1" src="bf9jv4ju" fileName="UISign/asset/qd_bg.jpg" xy="-183,0" visible="false">
       <relation target="" sidePair="center-center,middle-middle"/>
     </image>
-    <component id="n43_wcn5" name="extraNode" src="wcn5v4lb" fileName="UIDraw/component/UITurntable_com12.xml" xy="191,664">
-      <relation target="n4_wcn5" sidePair="center-center,top-bottom"/>
-    </component>
-    <component id="n4_wcn5" name="myNode" src="wcn5v4kz" fileName="UIDraw/component/UITurntable_com5.xml" xy="65,121" pivot="0.5,0.5">
+    <loader id="n54_sfy8" name="n_zzq_bj" xy="-183,0" size="1700,750" url="ui://isxx5ak7udljv59w" align="center" vAlign="middle">
+      <relation target="" sidePair="center-center,middle-middle"/>
+    </loader>
+    <component id="n4_wcn5" name="myNode" src="wcn5v4kz" fileName="UIDraw/component/UITurntable_com5.xml" xy="65,120" pivot="0.5,0.5">
       <relation target="n1_wcn5" sidePair="left-left,top-top"/>
     </component>
+    <component id="n43_wcn5" name="extraNode" src="wcn5v4lb" fileName="UIDraw/component/UITurntable_com12.xml" xy="191,663">
+      <relation target="n4_wcn5" sidePair="center-center,top-bottom"/>
+    </component>
     <component id="n36_wcn5" name="closeNode" src="wehi3up" fileName="_sharecomponent/UIMoneyBtn.xml" xy="0,0">
       <relation target="" sidePair="width-width"/>
       <relation target="n1_wcn5" sidePair="top-top"/>
@@ -22,15 +28,15 @@
       <relation target="n4_wcn5" sidePair="center-center"/>
       <relation target="n1_wcn5" sidePair="top-top"/>
     </component>
+    <component id="n47_wcn5" name="talkNode" src="wcn5v4ld" fileName="UIDraw/component/UITurntable_com3.xml" xy="1045,143">
+      <relation target="n46_wcn5" sidePair="left-left,top-top"/>
+    </component>
     <loader id="n46_wcn5" name="secretary" xy="720,165" size="626,834" scale="0.7,0.7" url="ui://isxx5ak7wehi3ut" playing="false" clearOnPublish="true">
       <relation target="" sidePair="left-center%,bottom-bottom"/>
     </loader>
-    <component id="n51_iqrh" name="drawBtn" src="iqrhv4mt" fileName="_sharecomponent/drawBtn.xml" xy="580,630" controller="c1,9">
+    <component id="n51_iqrh" name="drawBtn" src="iqrhv4mt" fileName="_sharecomponent/drawBtn.xml" xy="580,629" controller="c1,9">
       <relation target="n4_wcn5" sidePair="center-center,top-bottom"/>
     </component>
-    <component id="n47_wcn5" name="talkNode" src="wcn5v4ld" fileName="UIDraw/component/UITurntable_com3.xml" xy="1045,143">
-      <relation target="n46_wcn5" sidePair="left-left,top-top"/>
-    </component>
   </displayList>
   <transition name="t0" autoPlay="true">
     <item time="0" type="Alpha" target="n43_wcn5" tween="true" startValue="0" endValue="1" duration="12"/>

+ 3 - 0
art/fgui/assets/game/UISign/UISign.xml

@@ -1,6 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
 <component size="1334,750" designImageLayer="1">
   <displayList>
+    <loader id="n35_sfy8" name="n_zzq_bj" xy="-183,0" size="1700,750">
+      <relation target="" sidePair="center-center,middle-middle"/>
+    </loader>
     <image id="n6_bf9j" name="n6" src="bf9jv4ju" fileName="UISign/asset/qd_bg.jpg" xy="-183,0">
       <relation target="" sidePair="center-center,middle-middle"/>
     </image>

+ 2 - 2
art/fgui/assets/game/package.xml

@@ -709,7 +709,7 @@
     <image id="bf9jv4jq" name="qd_2.png" path="/UISign/asset/" scale="9grid" scale9grid="2,40,4,80"/>
     <image id="bf9jv4jr" name="qd_3.png" path="/UISign/asset/" scale="9grid" scale9grid="2,0,4,191"/>
     <image id="bf9jv4js" name="每日签到.png" path="/UISign/asset/"/>
-    <image id="bf9jv4ju" name="qd_bg.jpg" path="/UISign/asset/"/>
+    <image id="bf9jv4ju" name="qd_bg.jpg" path="/UISign/asset/" scale9grid="425,187,850,374"/>
     <component id="bf9jv4jv" name="SignNormal.xml" path="/UISign/component/"/>
     <component id="wcn5v4k1" name="Sign_com2.xml" path="/UISign/component/"/>
     <image id="wcn5v4k2" name="矩形 1 拷贝.png" path="/UISign/asset/"/>
@@ -1346,7 +1346,7 @@
     <image id="udljv59t" name="n1.png" path="/"/>
     <image id="udljv59u" name="bj.jpg" path="/UIDraw/asset/"/>
     <image id="udljv59v" name="bj22.jpg" path="/UIDraw/asset/"/>
-    <image id="udljv59w" name="qd_bg.jpg" path="/UIDraw/asset/"/>
+    <image id="udljv59w" name="qd_bg.jpg" path="/UIDraw/asset/" exported="true"/>
     <component id="udljv59x" name="Component1304.xml" path="/UIDraw/component/"/>
     <image id="udljv59y" name="qd_bg.png" path="/UISign/asset/"/>
     <component id="e1lxv59z" name="Component1_debug_pay_ok.xml" path="/UIMain/"/>

二進制
client/laya/bin/asset/fgui/game.obj


二進制
client/laya/bin/asset/fgui/game_atlas0.png


二進制
client/laya/bin/asset/fgui/game_atlas0_1.png


二進制
client/laya/bin/asset/fgui/game_atlas0_2.png


二進制
client/laya/bin/asset/fgui/game_atlas0_3.png


二進制
client/laya/bin/asset/fgui/game_atlas0_4.png


+ 10 - 7
client/laya/bin/js/bundle.js

@@ -854,7 +854,7 @@
 
     class HttpMgr {
         constructor() {
-            this.isDev = false;
+            this.isDev = true;
             HttpMgr._instance = this;
         }
         static getInstance() {
@@ -1119,15 +1119,17 @@
             return (fgui.UIPackage.createObject("game", "UIDraw"));
         }
         onConstruct() {
+            this.n_bj = (this.getChild("n_bj"));
             this.n1 = (this.getChild("n1"));
-            this.extraNode = (this.getChild("extraNode"));
+            this.n_zzq_bj = (this.getChild("n_zzq_bj"));
             this.myNode = (this.getChild("myNode"));
+            this.extraNode = (this.getChild("extraNode"));
             this.closeNode = (this.getChild("closeNode"));
             this.moneyNode = (this.getChild("moneyNode"));
             this.n38 = (this.getChild("n38"));
+            this.talkNode = (this.getChild("talkNode"));
             this.secretary = (this.getChild("secretary"));
             this.drawBtn = (this.getChild("drawBtn"));
-            this.talkNode = (this.getChild("talkNode"));
             this.t0 = this.getTransition("t0");
         }
     }
@@ -6263,6 +6265,7 @@
             return (fgui.UIPackage.createObject("game", "UISign"));
         }
         onConstruct() {
+            this.n_zzq_bj = (this.getChild("n_zzq_bj"));
             this.n6 = (this.getChild("n6"));
             this.closeNode = (this.getChild("closeNode"));
             this.myNode = (this.getChild("myNode"));
@@ -6385,6 +6388,7 @@
             this.ui.t0.play();
             this.playSecretaryIdle();
             this.updateSign();
+            this.ui.n_zzq_bj.url = 'res/qd_bg.jpg';
         }
         initSignItem() {
             this.signArr = [];
@@ -12160,8 +12164,6 @@
             this.initDraw();
             this.initUI();
             this.ui.myNode.flashNode.c1.selectedIndex = 1;
-            if (Moyu.isKs)
-                this.ui.closeNode.closeBtn.x += 100;
         }
         show() {
             super.show();
@@ -12176,6 +12178,7 @@
                 });
             }
             PlatMgr.showRateBanner();
+            this.ui.n_zzq_bj.url = 'res/qd_bg.jpg';
         }
         hide() {
             Laya.timer.clearAll(this);
@@ -22616,8 +22619,6 @@
             this.initDraw();
             this.initUI();
             this.ui.myNode.flashNode.c1.selectedIndex = 1;
-            if (Moyu.isKs)
-                this.ui.closeNode.closeBtn.x += 100;
         }
         show() {
             super.show();
@@ -22632,6 +22633,7 @@
                 });
             }
             PlatMgr.showRateBanner();
+            this.ui.n_zzq_bj.url = 'res/qd_bg.jpg';
         }
         hide() {
             Laya.timer.clearAll(this);
@@ -23590,6 +23592,7 @@
             this.ui.t0.play();
             this.playSecretaryIdle();
             this.updateSign();
+            this.ui.n_zzq_bj.url = 'res/qd_bg.jpg';
         }
         initSignItem() {
             this.signArr = [];

File diff suppressed because it is too large
+ 0 - 0
client/laya/bin/js/bundle.js.map


+ 1 - 1
client/laya/src/core/mgrs/HttpMgr.ts

@@ -50,7 +50,7 @@ export class HttpMgr {
     }
 
 
-    private isDev: boolean = false;//是否是开发环境
+    private isDev: boolean = true;//是否是开发环境
     public getReqData() {
         let reqData = JSON.stringify({
             gameName: "TQ",

+ 10 - 6
client/laya/src/fgui/res/game/ui_UIDraw.ts

@@ -1,24 +1,26 @@
 /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
 
-import ui_UITurntable_com12 from "./ui_UITurntable_com12";
 import ui_UITurntable_com5 from "./ui_UITurntable_com5";
+import ui_UITurntable_com12 from "./ui_UITurntable_com12";
 import ui_UIMoneyBtn from "./ui_UIMoneyBtn";
 import ui_UIMoney from "./ui_UIMoney";
 import ui_UITurntable_com11 from "./ui_UITurntable_com11";
-import ui_drawBtn from "./ui_drawBtn";
 import ui_UITurntable_com3 from "./ui_UITurntable_com3";
+import ui_drawBtn from "./ui_drawBtn";
 
 export default class ui_UIDraw extends fgui.GComponent {
 
+	public n_bj:fgui.GGraph;
 	public n1:fgui.GImage;
-	public extraNode:ui_UITurntable_com12;
+	public n_zzq_bj:fgui.GLoader;
 	public myNode:ui_UITurntable_com5;
+	public extraNode:ui_UITurntable_com12;
 	public closeNode:ui_UIMoneyBtn;
 	public moneyNode:ui_UIMoney;
 	public n38:ui_UITurntable_com11;
+	public talkNode:ui_UITurntable_com3;
 	public secretary:fgui.GLoader;
 	public drawBtn:ui_drawBtn;
-	public talkNode:ui_UITurntable_com3;
 	public t0:fgui.Transition;
 	public static URL:string = "ui://isxx5ak7wcn5v4ke";
 
@@ -27,15 +29,17 @@ export default class ui_UIDraw extends fgui.GComponent {
 	}
 
 	protected onConstruct():void {
+		this.n_bj = <fgui.GGraph>(this.getChild("n_bj"));
 		this.n1 = <fgui.GImage>(this.getChild("n1"));
-		this.extraNode = <ui_UITurntable_com12>(this.getChild("extraNode"));
+		this.n_zzq_bj = <fgui.GLoader>(this.getChild("n_zzq_bj"));
 		this.myNode = <ui_UITurntable_com5>(this.getChild("myNode"));
+		this.extraNode = <ui_UITurntable_com12>(this.getChild("extraNode"));
 		this.closeNode = <ui_UIMoneyBtn>(this.getChild("closeNode"));
 		this.moneyNode = <ui_UIMoney>(this.getChild("moneyNode"));
 		this.n38 = <ui_UITurntable_com11>(this.getChild("n38"));
+		this.talkNode = <ui_UITurntable_com3>(this.getChild("talkNode"));
 		this.secretary = <fgui.GLoader>(this.getChild("secretary"));
 		this.drawBtn = <ui_drawBtn>(this.getChild("drawBtn"));
-		this.talkNode = <ui_UITurntable_com3>(this.getChild("talkNode"));
 		this.t0 = this.getTransition("t0");
 	}
 }

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

@@ -10,6 +10,7 @@ import ui_againBtn from "./ui_againBtn";
 
 export default class ui_UISign extends fgui.GComponent {
 
+	public n_zzq_bj:fgui.GLoader;
 	public n6:fgui.GImage;
 	public closeNode:ui_UIMoneyBtn;
 	public myNode:ui_Sign_com5;
@@ -28,6 +29,7 @@ export default class ui_UISign extends fgui.GComponent {
 	}
 
 	protected onConstruct():void {
+		this.n_zzq_bj = <fgui.GLoader>(this.getChild("n_zzq_bj"));
 		this.n6 = <fgui.GImage>(this.getChild("n6"));
 		this.closeNode = <ui_UIMoneyBtn>(this.getChild("closeNode"));
 		this.myNode = <ui_Sign_com5>(this.getChild("myNode"));

+ 7 - 3
client/laya/src/ui/UIDraw.ts

@@ -24,16 +24,18 @@ export default class UIDraw extends UIBase {
         this.ui = ui_UIDraw.createInstance();
         this.contentPane = this.ui;
         this.isEject = false;
+        // 
         //
         this.moneyNode = new MoneyNode(this.ui.moneyNode);
         this.addUIClick(this.ui.closeNode.closeBtn, this.closeSelf);
         this.addUIClick(this.ui.drawBtn, this.startDraw);
+
         //
         this.initDraw();
         this.initUI();
         this.ui.myNode.flashNode.c1.selectedIndex = 1;
-        if (Moyu.isKs)
-            this.ui.closeNode.closeBtn.x += 100;
+        // if (Moyu.isKs)
+        //     this.ui.closeNode.closeBtn.x += 100;
     }
     public show(): void {
         super.show();
@@ -48,6 +50,9 @@ export default class UIDraw extends UIBase {
             })
         }
         PlatMgr.showRateBanner();
+
+       // this.ui.n1.visible = true;
+        this.ui.n_zzq_bj.url ='res/qd_bg.jpg';// xGame.common.getGameIconUrl("turntable_bj");
     }
     public hide() {
         Laya.timer.clearAll(this);
@@ -127,7 +132,6 @@ export default class UIDraw extends UIBase {
                     return;
                 }
             }
-
             if (JSBridgeUtils.instance.showRewardAd('qjff_chouJiang')) {
 
             } else {

+ 1 - 0
client/laya/src/ui/UISign.ts

@@ -43,6 +43,7 @@ export default class UISign extends UIBase {
         this.ui.t0.play();
         this.playSecretaryIdle();
         this.updateSign();
+        this.ui.n_zzq_bj.url ='res/qd_bg.jpg';// xGame.common.getGameIconUrl("turntable_bj");
     }
     initSignItem() {
         this.signArr = [];

Some files were not shown because too many files changed in this diff