|
@@ -55,7 +55,8 @@ namespace GFGGame
|
|
|
});
|
|
|
|
|
|
_ui.m_btnSelect.onClick.Add(OnClickBtnSelect);
|
|
|
- _ui.m_btnRule.onClick.Add(OnClickBtnRule);
|
|
|
+ _ui.m_btnRule.onClick.Add(RuleController.ShowRuleView);
|
|
|
+ _ui.m_btnRule.data = 300019;
|
|
|
_ui.m_btnDecompose.onClick.Add(OnClickBtnDecompose);
|
|
|
|
|
|
_ui.m_list.itemRenderer = ListItemRander;
|
|
@@ -73,6 +74,11 @@ namespace GFGGame
|
|
|
{
|
|
|
_ui.m_listTab.selectedIndex = _curRarity - 1;
|
|
|
OnClickBtnRarity(_curRarity);
|
|
|
+
|
|
|
+ if (_ui.m_c1.selectedIndex == 0)
|
|
|
+ _ui.m_btnRule.data = 300019;
|
|
|
+ else
|
|
|
+ _ui.m_btnRule.data = 300020;
|
|
|
}
|
|
|
|
|
|
protected override void OnShown()
|
|
@@ -348,10 +354,6 @@ namespace GFGGame
|
|
|
LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.FU_ZHUANG_FEN_JIE, 2);
|
|
|
}
|
|
|
}
|
|
|
- private void OnClickBtnRule()
|
|
|
- {
|
|
|
- ViewManager.Show<ClothingDecomposeRuleView>();
|
|
|
- }
|
|
|
|
|
|
private void OnClickBtnBack()
|
|
|
{
|