This commit is contained in:
2025-09-26 11:50:20 +08:00
parent cd5b0670a0
commit 7f96c373a9
6 changed files with 377 additions and 274 deletions
@@ -87,6 +87,10 @@ export class PurchasePanel extends li_BaseView {
this.createOrRefreshWeb3PayPanel
);
Utils.addInnerEL(InnerMsgCode.LanguageChange, this, () => {
this.onVipExpireChange();
});
for (let index = 0; index < this.items.length; index++) {
const element = this.items[index];
element.init(this);
@@ -333,9 +337,12 @@ export class PurchasePanel extends li_BaseView {
Utils.removeInnerEL(InnerMsgCode.VipExpireChange, this, () => {
this.onVipExpireChange();
});
Utils.addInnerEL(InnerMsgCode.PayOrderCreateSucc, this, () => {
Utils.removeInnerEL(InnerMsgCode.PayOrderCreateSucc, this, () => {
this.createOrRefreshWeb3PayPanel;
});
Utils.removeInnerEL(InnerMsgCode.LanguageChange, this, () => {
this.onVipExpireChange();
});
super.onDestroy();
}
}
@@ -234,9 +234,9 @@ export class Web3PopPanel extends li_BaseView {
SDKManager.copyToClipboard(stringToCopy, (success: boolean) => {
if (success) {
TipsPanel.show("地址已复制到剪贴板");
TipsPanel.show(LanguageUtils.getText("web3panel.copyed"));
} else {
TipsPanel.show("复制失败,请手动复制地址");
TipsPanel.show(LanguageUtils.getText("web3panel.copyfail"));
}
});
}
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.