|
@@ -13,13 +13,13 @@ namespace GFGGame
|
|
|
private UI_MailUI _ui;
|
|
|
private MailDataManager mailDataMgr;
|
|
|
private const int _maxMailCount = 300;
|
|
|
- private const int _retainDay = 30;//邮件保存时间
|
|
|
+ private const int _retainDay = 30;//閭�欢淇濆瓨鏃堕棿
|
|
|
// private const int _showCount = 5;//??????????
|
|
|
|
|
|
- private int _firstPage = 0;//当前页面
|
|
|
- private int _endPage = 0;//当前页面
|
|
|
+ private int _firstPage = 0;//褰撳墠椤甸潰
|
|
|
+ private int _endPage = 0;//褰撳墠椤甸潰
|
|
|
|
|
|
- public bool _canShowContent = false;//获取内容数据返回前不可查看
|
|
|
+ public bool _canShowContent = false;//鑾峰彇鍐呭�鏁版嵁杩斿洖鍓嶄笉鍙�煡鐪�
|
|
|
public List<MailInfo> mailInfos;//= new List<MailInfo>();
|
|
|
|
|
|
public override void Dispose()
|
|
@@ -81,8 +81,8 @@ namespace GFGGame
|
|
|
{
|
|
|
_ui.m_list.numItems = mailDataMgr.TotolCount;
|
|
|
_ui.m_txtTips.visible = mailDataMgr.TotolCount == 0 ? true : false;
|
|
|
- _ui.m_txtCount.text = string.Format("当前邮件:{0}/{1}", StringUtil.GetColorText(mailDataMgr.TotolCount.ToString(), mailDataMgr.TotolCount >= _maxMailCount ? "#B19977" : "#E27D78"), _maxMailCount);
|
|
|
- _ui.m_txtMaxCount.text = string.Format("最高可储存{0}封邮箱,请及时查看", _maxMailCount);
|
|
|
+ _ui.m_txtCount.text = string.Format("褰撳墠閭�欢锛歿0}/{1}", StringUtil.GetColorText(mailDataMgr.TotolCount.ToString(), mailDataMgr.TotolCount >= _maxMailCount ? "#B19977" : "#E27D78"), _maxMailCount);
|
|
|
+ _ui.m_txtMaxCount.text = string.Format("鏈€楂樺彲鍌ㄥ瓨{0}灏侀偖绠憋紝璇峰強鏃舵煡鐪�", _maxMailCount);
|
|
|
RefreshMailInfo(true);
|
|
|
}
|
|
|
|
|
@@ -97,7 +97,7 @@ namespace GFGGame
|
|
|
// item.m_btnLook.data = mailId;
|
|
|
if (mailId < 0)
|
|
|
{
|
|
|
- item.m_txtTitle.text = "请稍后...";
|
|
|
+ item.m_txtTitle.text = "璇风◢鍚�...";
|
|
|
item.m_txtTime.text = "";
|
|
|
return;
|
|
|
}
|
|
@@ -109,7 +109,7 @@ namespace GFGGame
|
|
|
item.m_txtTitle.text = data.title;
|
|
|
long endTime = (data.timeSec + _retainDay * TimeUtil.SECOND_PER_DAY * 1000);
|
|
|
string str = TimeUtil.FormattingTime(TimeHelper.ServerNow(), endTime);
|
|
|
- item.m_txtTime.text = string.Format("剩余时间:{0}", str);
|
|
|
+ item.m_txtTime.text = string.Format("鍓╀綑鏃堕棿锛歿0}", str);
|
|
|
if (item.m_btnLook.data == null)
|
|
|
{
|
|
|
item.m_btnLook.onClick.Add(OnClickBtnLook);
|
|
@@ -182,10 +182,10 @@ namespace GFGGame
|
|
|
{
|
|
|
if (mailDataMgr.TotolCount == 0)
|
|
|
{
|
|
|
- PromptController.Instance.ShowFloatTextPrompt("暂无邮件可删除");
|
|
|
+ PromptController.Instance.ShowFloatTextPrompt("鏆傛棤閭�欢鍙�垹闄�");
|
|
|
return;
|
|
|
}
|
|
|
- AlertUI.Show("是否删除所有已读文件?").SetLeftButton(true).SetRightButton(true, "确认", (object data) =>
|
|
|
+ AlertUI.Show("鏄�惁鍒犻櫎鎵€鏈夊凡璇绘枃浠讹紵").SetLeftButton(true).SetRightButton(true, "纭��", (object data) =>
|
|
|
{
|
|
|
SendDeleteAll();
|
|
|
});
|