update 音效 - 主题图
This commit is contained in:
@@ -60,6 +60,9 @@ export class GirlDetailPanel extends li_BaseView {
|
||||
|
||||
@property(Node)
|
||||
chatBtn: Node;
|
||||
|
||||
@property(Node)
|
||||
descContent: Node;
|
||||
id = 0;
|
||||
|
||||
@property(DetailImageItem)
|
||||
@@ -75,10 +78,18 @@ export class GirlDetailPanel extends li_BaseView {
|
||||
onLoadCT() {
|
||||
super.onLoadCT();
|
||||
this.imgItemInst.node.active = false;
|
||||
this.videoAreaPos = this.videoArea.node.getWorldPosition();
|
||||
this.videoAreaPos = new Vec3(540, 1384);
|
||||
|
||||
this.node.scale = Vec3.ZERO;
|
||||
tween(this.node).to(0.3, { scale: Vec3.ONE }).start();
|
||||
const pos = new Vec3(
|
||||
this.descContent.position.x,
|
||||
this.descContent.position.y,
|
||||
this.descContent.position.z
|
||||
);
|
||||
this.descContent.position = new Vec3(pos.x, pos.y - 1000, pos.z);
|
||||
//this.node.scale = Vec3.ZERO;
|
||||
tween(this.descContent)
|
||||
.to(0.3, { position: pos }, { easing: "quadOut" })
|
||||
.start();
|
||||
|
||||
// 检查 SceneBgVideoLayer 是否可用
|
||||
if (!this.videoLayer) {
|
||||
|
||||
Reference in New Issue
Block a user