|
@@ -210,7 +210,14 @@ namespace GFGGame
|
|
|
PromptController.Instance.ShowFloatTextPrompt("已售罄");
|
|
|
return;
|
|
|
}
|
|
|
- ViewManager.Show<GiftBagBuyView>(btn.data);
|
|
|
+ if (cfg.price == 0 || cfg.costType == CostType.FREE)
|
|
|
+ {
|
|
|
+ RechargeSProxy.ReqBuyGiftBag((int)btn.data).Coroutine();
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ ViewManager.Show<GiftBagBuyView>(btn.data);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
private void ListExchangeItemRenderer(int index, GObject obj)
|