|
@@ -130,7 +130,7 @@ namespace GFGGame
|
|
|
|
|
|
private void OnListActivityClick(EventContext context)
|
|
private void OnListActivityClick(EventContext context)
|
|
{
|
|
{
|
|
- AdCfg adCfg = (AdCfg)(context.data as GObject).data;
|
|
|
|
|
|
+ AdCfg adCfg = (AdCfg)(context.sender as GObject).data;
|
|
object[] param = null;
|
|
object[] param = null;
|
|
int jumpIndex = 0;
|
|
int jumpIndex = 0;
|
|
if (adCfg.jumpId == nameof(LimitChargeView))
|
|
if (adCfg.jumpId == nameof(LimitChargeView))
|
|
@@ -147,9 +147,15 @@ namespace GFGGame
|
|
}
|
|
}
|
|
|
|
|
|
if (jumpIndex != 0)
|
|
if (jumpIndex != 0)
|
|
|
|
+ {
|
|
|
|
+ this.Hide();
|
|
ViewManager.Show($"GFGGame.{adCfg.jumpId}", jumpIndex);
|
|
ViewManager.Show($"GFGGame.{adCfg.jumpId}", jumpIndex);
|
|
|
|
+ }
|
|
else
|
|
else
|
|
|
|
+ {
|
|
|
|
+ this.Hide();
|
|
ViewManager.Show($"GFGGame.{adCfg.jumpId}", param);
|
|
ViewManager.Show($"GFGGame.{adCfg.jumpId}", param);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
private void ListNoticeItemRender(int index, GObject obj)
|
|
private void ListNoticeItemRender(int index, GObject obj)
|