Browse Source

工作室,万水千山,月卡提示加入

hexiaojie 2 years ago
parent
commit
7c7497be55

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/poem/UI_PoemPhotoUI.cs

@@ -18,6 +18,7 @@ namespace UI.Poem
         public UI_Button7 m_btnConfirmDelete;
         public GButton m_btnDelete;
         public GTextField m_txtCount;
+        public GButton m_btnRule;
         public const string URL = "ui://iyz778gkv4825";
         public const string PACKAGE_NAME = "Poem";
         public const string RES_NAME = "PoemPhotoUI";
@@ -76,6 +77,7 @@ namespace UI.Poem
             m_btnConfirmDelete = (UI_Button7)UI_Button7.Create(comp.GetChild("btnConfirmDelete"));
             m_btnDelete = (GButton)comp.GetChild("btnDelete");
             m_txtCount = (GTextField)comp.GetChild("txtCount");
+            m_btnRule = (GButton)comp.GetChild("btnRule");
         }
         public void Dispose(bool disposeTarget = false)
         {
@@ -91,6 +93,7 @@ namespace UI.Poem
             m_btnConfirmDelete = null;
             m_btnDelete = null;
             m_txtCount = null;
+            m_btnRule = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/CommonGame/BuyConfirmView.cs

@@ -50,7 +50,7 @@ namespace GFGGame
         {
             ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(GlobalCfgArray.globalCfg.costIdBuyFightTimes);
 
-            _ui.m_txtMessage.text = string.Format("是否使用{0}{1}增加1次飞花令挑战次数?", GlobalCfgArray.globalCfg.costNumBuyFightTimes, itemCfg.name);
+            _ui.m_txtMessage.text = string.Format("是否使用{0}{1}增加1次飞花令挑战次数? \n\u3000\u3000\u3000\u3000(开通璇玑卡可储存次数)", GlobalCfgArray.globalCfg.costNumBuyFightTimes, itemCfg.name);
             _ui.m_txtTips.text = string.Format("(今天已购买{0}/{1}次)", GlobalCfgArray.globalCfg.limitDailyBuyFightTimes - RoleDataManager.ArenaBuyFightTimes, GlobalCfgArray.globalCfg.limitDailyBuyFightTimes);
         }
         private void OnClickBtnSure()

+ 2 - 0
GameClient/Assets/Game/HotUpdate/Views/Poem/PoemPhotoView.cs

@@ -36,6 +36,8 @@ namespace GFGGame
             _ui.m_list.itemRenderer = RenderListItem;
             _ui.m_listTravel.SetVirtual();
             _ui.m_listTravel.itemRenderer = RenderListTravelItem;
+            _ui.m_btnRule.onClick.Add(RuleController.ShowRuleView);
+            _ui.m_btnRule.data = 300018;
 
             _ui.m_btnback.onClick.Add(OnBtnBackClick);
             _ui.m_btnDelete.onClick.Add(OnBtnDeleteClick);

+ 0 - 2
GameClient/Assets/Game/HotUpdate/Views/Poem/PoemView.cs

@@ -1,7 +1,5 @@
-using ET;
 using FairyGUI;
 using UI.Poem;
-using UnityEngine;
 
 namespace GFGGame
 {

BIN
GameClient/Assets/ResIn/UI/Poem/Poem_fui.bytes


BIN
GameClient/Assets/ResIn/UI/Studio/Studio_fui.bytes