Commit b56f8d02 authored by 邱旭's avatar 邱旭

1

parent 2a784a17
...@@ -4,6 +4,7 @@ import PanelCtrl from "../../../libs/new_wx/ctrls/panelCtrl"; ...@@ -4,6 +4,7 @@ import PanelCtrl from "../../../libs/new_wx/ctrls/panelCtrl";
import { NetManager } from "../../../libs/tw/manager/NetManager"; import { NetManager } from "../../../libs/tw/manager/NetManager";
import HbRule from "./HbRule"; import HbRule from "./HbRule";
import { getlogItem } from "../../Main"; import { getlogItem } from "../../Main";
import { GDispatcher } from "../../../libs/tc/util/GDispatcher";
/** /**
* 红包雨倒计时 * 红包雨倒计时
...@@ -44,7 +45,10 @@ export default class HbCutTime extends Panel { ...@@ -44,7 +45,10 @@ export default class HbCutTime extends Panel {
this.ok_btn.removeEventListener(egret.TouchEvent.TOUCH_TAP, this.onTouchOK, this); this.ok_btn.removeEventListener(egret.TouchEvent.TOUCH_TAP, this.onTouchOK, this);
return; return;
} }
this.cutTimer = new CutTimer(this.cutTimeLabel, 'hh时mm分ss秒', () => this.hidePanel()); this.cutTimer = new CutTimer(this.cutTimeLabel, 'hh时mm分ss秒', () => {
this.hidePanel();
GDispatcher.dispatchEvent('updateHbRainIcon');
});
let sysTime = res.timestamp; // 当前系统时间 let sysTime = res.timestamp; // 当前系统时间
let time; let time;
if(data.currentSession) { if(data.currentSession) {
......
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