This commit is contained in:
2025-09-21 21:10:41 +08:00
parent 4431c100b5
commit fe534cacaf
4 changed files with 769 additions and 507 deletions
@@ -36,7 +36,7 @@ export class PurchasePanelItem extends Component {
const count = shopData.getCountById(this.goodId);
this.count.string = count.toString();
const price = shopData.getOriginalPriceById(this.goodId);
this.price.string = price.toString();
this.price.string = "$" + price.toString();
let path = "";
if (type == 1) {
@@ -52,6 +52,9 @@ export class PurchasePanelItem extends Component {
}
async onClickThis() {
this.baseView.purchaseGood(this.goodId,this.baseView.getDefaultNetworkType());
this.baseView.purchaseGood(
this.goodId,
this.baseView.getDefaultNetworkType()
);
}
}