This commit is contained in:
2025-10-13 15:39:35 +08:00
parent f0069c2745
commit 4953b86bb3
27 changed files with 4771 additions and 2063 deletions
@@ -16,6 +16,8 @@ export class PurchasePanelItem extends Component {
@property(Sprite)
icon: Sprite;
@property(Sprite)
usdt: Sprite;
baseView: PurchasePanel;
goodId: number;
@@ -43,11 +45,13 @@ export class PurchasePanelItem extends Component {
path += "ui/shop/coin/";
const price = shopData.getOriginalUsdPriceById(this.goodId);
this.price.string = price.toString();
this.usdt.node.active = true;
} //cash
else {
path += "ui/shop/cash/";
const price = shopData.getOriginalPriceById(this.goodId);
this.price.string = "₹‌" + price.toString();
this.usdt.node.active = false;
}
path += this.goodId;