|
@@ -165,7 +165,7 @@ namespace GFGGame
|
|
|
if (_ui.m_c1.selectedIndex == 0)
|
|
|
{
|
|
|
_ui.m_listTravel.numItems = 0;
|
|
|
-
|
|
|
+ _ui.m_descText.visible = false;
|
|
|
_photoInfos = PoemPhotoDataManager.Instance.PersonalPhotoInfos;
|
|
|
_sourceType = (int)PictureSourceType.PersonalAlbum;
|
|
|
_ui.m_list.numItems = _photoInfos.Count;
|
|
@@ -174,7 +174,7 @@ namespace GFGGame
|
|
|
else if(_ui.m_c1.selectedIndex == 1)
|
|
|
{
|
|
|
_ui.m_list.numItems = 0;
|
|
|
-
|
|
|
+ _ui.m_descText.visible = false;
|
|
|
_photoInfos = PoemPhotoDataManager.Instance.WsqsPhotoInfos;
|
|
|
_sourceType = (int)PictureSourceType.WanShuiQianShan;
|
|
|
_ui.m_listTravel.numItems = _photoInfos.Count;
|
|
@@ -188,6 +188,14 @@ namespace GFGGame
|
|
|
_photoInfos = MatchingCompetitionDataManager.Instance.MatchingPhotoInfos;
|
|
|
_sourceType = 2;
|
|
|
_ui.m_listCompetion.numItems = _photoInfos.Count;
|
|
|
+ if (_photoInfos.Count == 0)
|
|
|
+ {
|
|
|
+ _ui.m_descText.visible = true;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ _ui.m_descText.visible = false;
|
|
|
+ }
|
|
|
_ui.m_txtCount.text = "";
|
|
|
|
|
|
_ui.m_btnDelete.visible = false;
|