FullScreenImg.on(Laya.Event.CLICK, this, ()=>{
if (this.width != Laya.stage.width && this.height != Laya.stage.height) {
this.width = Laya.stage.width
this.height = Laya.stage.height
this.pivotX = this.width/2
this.pivotY = this.height/2
this.pos(Laya.stage.width/2,Laya.stage.height/2)
}else{
this.width = 875
this.height = 605
this.pivotX = 0
this.pivotY = 0
this.pos((Laya.stage.width-this.width)/2,(Laya.stage.height-this.height)/2)
}
});