|
@@ -969,6 +969,7 @@ namespace GFGGame
|
|
|
GObject obj = context.sender as GObject;
|
|
|
AdCfg adCfg = obj.data as AdCfg;
|
|
|
object[] param = null;
|
|
|
+ int jumpIndex = 0;
|
|
|
if (adCfg.jumpId == nameof(LimitChargeView))
|
|
|
{
|
|
|
param = new object[] { adCfg.activityId };
|
|
@@ -977,7 +978,15 @@ namespace GFGGame
|
|
|
{
|
|
|
param = new object[] { adCfg.activityId };
|
|
|
}
|
|
|
- ViewManager.Show($"GFGGame.{adCfg.jumpId}", param);
|
|
|
+ if (adCfg.jumpId == nameof(LuckyBoxView))
|
|
|
+ {
|
|
|
+ jumpIndex = adCfg.jumpParamArr[0];
|
|
|
+ }
|
|
|
+
|
|
|
+ if(jumpIndex != 0)
|
|
|
+ ViewManager.Show($"GFGGame.{adCfg.jumpId}", jumpIndex);
|
|
|
+ else
|
|
|
+ ViewManager.Show($"GFGGame.{adCfg.jumpId}", param);
|
|
|
}
|
|
|
private void OnListAdScrollEnd()
|
|
|
{
|