|
@@ -47,7 +47,7 @@ namespace GFGGame
|
|
|
protected override void OnShown()
|
|
|
{
|
|
|
base.OnShown();
|
|
|
- _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("gxhd_bjbj");
|
|
|
+ _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("fuben_bjbj");
|
|
|
_ui.m_listGuide.numItems = _listGuideDatas.Length;
|
|
|
UpdatePrgress();
|
|
|
_ui.m_compBanner.m_listTab.selectedIndex = 0;
|
|
@@ -159,19 +159,19 @@ namespace GFGGame
|
|
|
private void UpdateListBannerItems()
|
|
|
{
|
|
|
int num = _ui.m_compBanner.m_listTab.numChildren;
|
|
|
- for (int i = 0; i < num; i++)
|
|
|
- {
|
|
|
- UI_ButtonBannerPage listItem = UI_ButtonBannerPage.Proxy(_ui.m_compBanner.m_listTab.GetChildAt(i));
|
|
|
- if (listItem.target.selected)
|
|
|
- {
|
|
|
- listItem.target.width = 47;
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- listItem.target.width = 15;
|
|
|
- }
|
|
|
- }
|
|
|
- _ui.m_compBanner.m_listTab.ResizeToFit();
|
|
|
+ // for (int i = 0; i < num; i++)
|
|
|
+ // {
|
|
|
+ // UI_ButtonBannerPage listItem = UI_ButtonBannerPage.Proxy(_ui.m_compBanner.m_listTab.GetChildAt(i));
|
|
|
+ // if (listItem.target.selected)
|
|
|
+ // {
|
|
|
+ // listItem.target.width = 47;
|
|
|
+ // }
|
|
|
+ // else
|
|
|
+ // {
|
|
|
+ // listItem.target.width = 15;
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // _ui.m_compBanner.m_listTab.ResizeToFit();
|
|
|
}
|
|
|
|
|
|
private void SwitchBannerPic(object param)
|