|
@@ -126,9 +126,17 @@ namespace GFGGame
|
|
|
item.m_loaTitle.visible = true;
|
|
|
if (ActivityDataManager.Instance.actLimitChargeId > 0)
|
|
|
{
|
|
|
- string path = "xslc_" + openCfg.res;
|
|
|
- item.m_loaIcon.url = ResPathUtil.GetActivityPath(path);//"ui://DailyWelfare/hdbn_xslc_" + openCfg.res;
|
|
|
+ //string path = "xslc_" + openCfg.res;
|
|
|
+ item.m_loaIcon.url = ResPathUtil.GetActivityPath(openCfg.res);//"ui://DailyWelfare/hdbn_xslc_" + openCfg.res;
|
|
|
//item.m_loaTitle.url = "ui://DailyWelfare/hdbn_wz_xslc_" + openCfg.res;
|
|
|
+ if(openCfg.res == "")
|
|
|
+ {
|
|
|
+ if (openCfg.id == 509)
|
|
|
+ {
|
|
|
+ item.m_loaIcon.url = ResPathUtil.GetActivityPath("hdbn_xslc_suxx", "png"); ;
|
|
|
+ item.m_loaTitle.visible = false;
|
|
|
+ }
|
|
|
+ }
|
|
|
item.m_loaTitle.visible = false;
|
|
|
}
|
|
|
else if (openCfg.id == 501)
|