头像入版 页面跳转优化
This commit is contained in:
@@ -7,6 +7,8 @@ import {
|
||||
View,
|
||||
Sprite,
|
||||
UITransform,
|
||||
Vec3,
|
||||
tween,
|
||||
} from "cc";
|
||||
import li_BaseView from "../../../Main/Common/li_BaseView";
|
||||
import Utils from "../../../Main/Common/Utils";
|
||||
@@ -43,6 +45,9 @@ export class GirlListPopupPanel extends li_BaseView {
|
||||
this.base = data.base;
|
||||
}
|
||||
onLoadCT() {
|
||||
this.node.scale = Vec3.ZERO;
|
||||
tween(this.node).to(0.3, { scale: Vec3.ONE }).start();
|
||||
|
||||
Utils.parseNode(this.node, this._nodeTab);
|
||||
this.img = this._nodeTab.img.getComponent(Sprite);
|
||||
this.uitransform = this._nodeTab.Img_Frame.getComponent(UITransform);
|
||||
|
||||
Reference in New Issue
Block a user