fix
This commit is contained in:
@@ -265,6 +265,13 @@ export class PurchasePanel extends li_BaseView {
|
||||
walletData.balance = Number(resData.balance);
|
||||
walletData.vipExpire = Number(resData.vipExpire);
|
||||
// 刷新界面
|
||||
|
||||
TipsPanel.show(LanguageUtils.getText("payment.succeed"));
|
||||
} else {
|
||||
if (res && res.code) {
|
||||
const key = "error_code_" + res.code;
|
||||
TipsPanel.show(LanguageUtils.getText(key));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -167,6 +167,7 @@ export class SettingPanel extends li_BaseView {
|
||||
// GButton.BandClick(this._nodeTab.Language2, this.swithcToHi, this);
|
||||
|
||||
GButton.BandClick(this._nodeTab.closeBtn, this.onClickClose, this);
|
||||
GButton.BandClick(this._nodeTab.bgClicker, this.onClickClose, this);
|
||||
|
||||
this.languageButtons.forEach((langBtn) => {
|
||||
if (langBtn.button) {
|
||||
|
||||
@@ -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()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user