优化加载显示
This commit is contained in:
@@ -53,7 +53,7 @@ export class ThemePanel extends li_BaseView {
|
||||
this.coinNum = this._nodeTab.coinNum.getComponent(Label);
|
||||
this.uid = this._nodeTab.uid.getComponent(Label);
|
||||
this.recName = this._nodeTab.characterNameText.getComponent(Label);
|
||||
this.recSprite = this._nodeTab.recPicSlot.getComponent(Sprite);
|
||||
this.recSprite = this._nodeTab.recPic.getComponent(Sprite);
|
||||
this.vipLeftTime = this._nodeTab.vipText.getComponent(Label);
|
||||
|
||||
this.registerListener();
|
||||
@@ -66,6 +66,7 @@ export class ThemePanel extends li_BaseView {
|
||||
|
||||
rectNameKey: string;
|
||||
async Show() {
|
||||
this._nodeTab.loadingRec.active = true;
|
||||
//some temp data
|
||||
this.refreshCoinNum();
|
||||
this.refreshVipExpire();
|
||||
@@ -121,6 +122,7 @@ export class ThemePanel extends li_BaseView {
|
||||
}
|
||||
);
|
||||
}
|
||||
this._nodeTab.loadingRec.active = false;
|
||||
|
||||
// 获取商品列表,提前把数据拿下来
|
||||
this.reqShopList();
|
||||
|
||||
Reference in New Issue
Block a user