|
@@ -4,18 +4,22 @@ using FairyGUI;
|
|
|
|
|
|
namespace UI.ActivityMain
|
|
|
{
|
|
|
- public partial class UI_ZCJBExchangeTips
|
|
|
+ public partial class UI_ZCJBBuyTips
|
|
|
{
|
|
|
public GComponent target;
|
|
|
- public GTextField m_timesText;
|
|
|
- public const string URL = "ui://4ht5s77uqbf4t";
|
|
|
+ public GGraph m_graphBg;
|
|
|
+ public GTextField m_txtContent;
|
|
|
+ public GTextField m_txtTips;
|
|
|
+ public GButton m_btnLeft;
|
|
|
+ public GButton m_btnRight;
|
|
|
+ public const string URL = "ui://4ht5s77uqzw81c";
|
|
|
public const string PACKAGE_NAME = "ActivityMain";
|
|
|
- public const string RES_NAME = "ZCJBExchangeTips";
|
|
|
- private static UI_ZCJBExchangeTips _proxy;
|
|
|
+ public const string RES_NAME = "ZCJBBuyTips";
|
|
|
+ private static UI_ZCJBBuyTips _proxy;
|
|
|
|
|
|
- public static UI_ZCJBExchangeTips Create(GObject gObject = null)
|
|
|
+ public static UI_ZCJBBuyTips Create(GObject gObject = null)
|
|
|
{
|
|
|
- var ui = new UI_ZCJBExchangeTips();
|
|
|
+ var ui = new UI_ZCJBBuyTips();
|
|
|
if(gObject == null)
|
|
|
ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
|
|
|
else
|
|
@@ -24,11 +28,11 @@ namespace UI.ActivityMain
|
|
|
return ui;
|
|
|
}
|
|
|
|
|
|
- public static UI_ZCJBExchangeTips Proxy(GObject gObject = null)
|
|
|
+ public static UI_ZCJBBuyTips Proxy(GObject gObject = null)
|
|
|
{
|
|
|
if(_proxy == null)
|
|
|
{
|
|
|
- _proxy = new UI_ZCJBExchangeTips();
|
|
|
+ _proxy = new UI_ZCJBBuyTips();
|
|
|
}
|
|
|
var ui = _proxy;
|
|
|
if(gObject == null)
|
|
@@ -55,11 +59,19 @@ namespace UI.ActivityMain
|
|
|
|
|
|
private void Init(GComponent comp)
|
|
|
{
|
|
|
- m_timesText = (GTextField)comp.GetChild("timesText");
|
|
|
+ m_graphBg = (GGraph)comp.GetChild("graphBg");
|
|
|
+ m_txtContent = (GTextField)comp.GetChild("txtContent");
|
|
|
+ m_txtTips = (GTextField)comp.GetChild("txtTips");
|
|
|
+ m_btnLeft = (GButton)comp.GetChild("btnLeft");
|
|
|
+ m_btnRight = (GButton)comp.GetChild("btnRight");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
- m_timesText = null;
|
|
|
+ m_graphBg = null;
|
|
|
+ m_txtContent = null;
|
|
|
+ m_txtTips = null;
|
|
|
+ m_btnLeft = null;
|
|
|
+ m_btnRight = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|