update 历史聊天妹子页
This commit is contained in:
@@ -235,9 +235,15 @@ export class Web3PopPanel extends li_BaseView {
|
||||
const secs = seconds % 60;
|
||||
|
||||
if (hours > 0) {
|
||||
return `${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}:${secs.toString().padStart(2, '0')}`;
|
||||
return `${Utils.padStart(hours.toString(), 2)}:${Utils.padStart(
|
||||
minutes.toString(),
|
||||
2
|
||||
)}:${Utils.padStart(secs.toString(), 2)}`;
|
||||
} else {
|
||||
return `${minutes.toString().padStart(2, '0')}:${secs.toString().padStart(2, '0')}`;
|
||||
return `${Utils.padStart(minutes.toString(), 2)}:${Utils.padStart(
|
||||
secs.toString(),
|
||||
2
|
||||
)}`;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -286,7 +292,7 @@ export class Web3PopPanel extends li_BaseView {
|
||||
private resetButtonStates(): void {
|
||||
const copyBtn = this._nodeTab.CopyBtn;
|
||||
if (copyBtn) {
|
||||
const btnComponent = copyBtn.getComponent('Button');
|
||||
const btnComponent = copyBtn.getComponent("Button");
|
||||
if (btnComponent) {
|
||||
btnComponent.interactable = true;
|
||||
}
|
||||
@@ -294,7 +300,7 @@ export class Web3PopPanel extends li_BaseView {
|
||||
|
||||
const coinTypeSelectBtn = this._nodeTab.CoinTypeSelectBtn;
|
||||
if (coinTypeSelectBtn) {
|
||||
const btnComponent = coinTypeSelectBtn.getComponent('Button');
|
||||
const btnComponent = coinTypeSelectBtn.getComponent("Button");
|
||||
if (btnComponent) {
|
||||
btnComponent.interactable = true;
|
||||
}
|
||||
@@ -304,7 +310,7 @@ export class Web3PopPanel extends li_BaseView {
|
||||
private disableButtons(): void {
|
||||
const copyBtn = this._nodeTab.CopyBtn;
|
||||
if (copyBtn) {
|
||||
const btnComponent = copyBtn.getComponent('Button');
|
||||
const btnComponent = copyBtn.getComponent("Button");
|
||||
if (btnComponent) {
|
||||
btnComponent.interactable = false;
|
||||
}
|
||||
@@ -312,7 +318,7 @@ export class Web3PopPanel extends li_BaseView {
|
||||
|
||||
const coinTypeSelectBtn = this._nodeTab.CoinTypeSelectBtn;
|
||||
if (coinTypeSelectBtn) {
|
||||
const btnComponent = coinTypeSelectBtn.getComponent('Button');
|
||||
const btnComponent = coinTypeSelectBtn.getComponent("Button");
|
||||
if (btnComponent) {
|
||||
btnComponent.interactable = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user