This commit is contained in:
2025-08-01 18:28:36 +08:00
parent f91430728f
commit 0f8902405d
97 changed files with 6650 additions and 3608 deletions
+5 -4
View File
@@ -12,13 +12,13 @@ export class ImagePopup extends Component {
start()
{
this.node.setPosition(new Vec3(-1000,493,0));
this.node.setPosition(new Vec3(-1500,493,0));
this.image.node.on(Node.EventType.TOUCH_START,this.openImage);
}
onDestroy()
{
this.image.node.off(Node.EventType.TOUCH_START,this.openImage);
//this.image.node.off(Node.EventType.TOUCH_START,this.openImage);
}
refresh(path:string)
@@ -33,7 +33,8 @@ export class ImagePopup extends Component {
openImage()
{
ViewManager.I.openBundlesView('ShowPanel');
let data = {url:"Image/Girls/10001/DetailImg/10001_3"};
ViewManager.I.openBundlesView('ShowPanel',data);
}
popUp()
{
@@ -44,7 +45,7 @@ export class ImagePopup extends Component {
}
popDown()
{
tween(this.node).to(0.5,{position:new Vec3(-1000,493,0)},{easing:"backIn"}).start();
tween(this.node).to(0.5,{position:new Vec3(-1500,493,0)},{easing:"backIn"}).start();
}
}