|
@@ -126,7 +126,7 @@ namespace GFGGame
|
|
_photoInfos = PoemPhotoDataManager.Instance.PersonalPhotoInfos;
|
|
_photoInfos = PoemPhotoDataManager.Instance.PersonalPhotoInfos;
|
|
_sourceType = (int)PictureSourceType.PersonalAlbum;
|
|
_sourceType = (int)PictureSourceType.PersonalAlbum;
|
|
_ui.m_list.numItems = _photoInfos.Count;
|
|
_ui.m_list.numItems = _photoInfos.Count;
|
|
- _ui.m_txtCount.text = string.Format("({0}/{1})", _photoInfos.Count, GlobalCfgArray.globalCfg.maxPhotoCount);
|
|
|
|
|
|
+ _ui.m_txtCount.text = string.Format("{0}/{1}", _photoInfos.Count, GlobalCfgArray.globalCfg.maxPhotoCount);
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
@@ -135,11 +135,11 @@ namespace GFGGame
|
|
_photoInfos = PoemPhotoDataManager.Instance.WsqsPhotoInfos;
|
|
_photoInfos = PoemPhotoDataManager.Instance.WsqsPhotoInfos;
|
|
_sourceType = (int)PictureSourceType.WanShuiQianShan;
|
|
_sourceType = (int)PictureSourceType.WanShuiQianShan;
|
|
_ui.m_listTravel.numItems = _photoInfos.Count;
|
|
_ui.m_listTravel.numItems = _photoInfos.Count;
|
|
- _ui.m_txtCount.text = string.Format("({0}/{1})", _photoInfos.Count, RoleDataManager.WanShuiQianShanMaxStorageCount);
|
|
|
|
|
|
+ _ui.m_txtCount.text = string.Format("{0}/{1}", _photoInfos.Count, RoleDataManager.WanShuiQianShanMaxStorageCount);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- _ui.m_btnConfirmDelete.m_txtTitle.text = string.Format("删除({0}/{1})", _listDelete.Count, _photoInfos.Count);
|
|
|
|
|
|
+ _ui.m_btnConfirmDelete.m_txtTitle.text = string.Format("删除 {0}/{1}", _listDelete.Count, _photoInfos.Count);
|
|
}
|
|
}
|
|
|
|
|
|
private void RenderListItem(int index, GObject obj)
|
|
private void RenderListItem(int index, GObject obj)
|
|
@@ -193,7 +193,7 @@ namespace GFGGame
|
|
|
|
|
|
UI_ComPhotoPostcard item = UI_ComPhotoPostcard.Proxy(obj);
|
|
UI_ComPhotoPostcard item = UI_ComPhotoPostcard.Proxy(obj);
|
|
|
|
|
|
- item.m_imgSelect.visible = _ui.m_c2.selectedIndex == 1 && _listDelete.IndexOf(_photoInfos[index].PictureId) >= 0;
|
|
|
|
|
|
+ item.m_c1.selectedIndex = _ui.m_c2.selectedIndex == 1 && _listDelete.IndexOf(_photoInfos[index].PictureId) >= 0 ? 1 : 0;
|
|
item.m_comTravel.m_loaBg.url = ResPathUtil.GetTravelBgPath(loactionCfg.res);
|
|
item.m_comTravel.m_loaBg.url = ResPathUtil.GetTravelBgPath(loactionCfg.res);
|
|
item.m_comTravel.m_loaRole.url = "";
|
|
item.m_comTravel.m_loaRole.url = "";
|
|
if (poemPhotoData.TravelSuitId > 0)
|
|
if (poemPhotoData.TravelSuitId > 0)
|
|
@@ -311,6 +311,7 @@ namespace GFGGame
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
|
|
+
|
|
private void OnBtnUpClick(EventContext context)
|
|
private void OnBtnUpClick(EventContext context)
|
|
{
|
|
{
|
|
if (_ui.m_c2.selectedIndex == 1)
|
|
if (_ui.m_c2.selectedIndex == 1)
|