Commit 4be17618 authored by wildfirecode13's avatar wildfirecode13

Merge branch 'disu0811' of http://gitlab2.dui88.com/wildfirecode13/wfc13 into disu0811

parents 7b020e4c 52e98f71
import { showPanel } from "../../module/ctrls";
import { RES } from "../../module/RES";
import { Scene } from "../../module/views/Scene";
import getObject from "../common/getObject";
import { SharePanel } from "../panels/share";
import { Box } from "./Box";
import { BoxGroup } from "./BoxGroup";
import { ScrollItem } from "./ScrollItem";
......@@ -48,13 +50,18 @@ export class IndexScene extends Scene {
initEvents() {
super.initEvents();
this.addEventListener(FYGE.Event.ENTER_FRAME, this.onEnterFrame , this);
this.addEventListener(FYGE.Event.ENTER_FRAME, this.onEnterFrame, this);
const rulePop = getObject(this,'index_rule');
rulePop && rulePop.addEventListener(FYGE.MouseEvent.CLICK, this.toRule, this);
}
onEnterFrame() {
boxGroup.move();
boxGroup && boxGroup.move();
}
toRule() {
// showPanel(SharePanel);
console.log("1111111")
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment