Commit e1c442a9 authored by XieChuanJin's avatar XieChuanJin

活动结束后不显示开奖时间

parent 50d7effd
...@@ -9,6 +9,7 @@ import Panel from "../MViews/MPanel"; ...@@ -9,6 +9,7 @@ import Panel from "../MViews/MPanel";
import { NetManager } from "../../../libs/tw/manager/NetManager"; import { NetManager } from "../../../libs/tw/manager/NetManager";
import PanelCtrl from "../MCtrls/MPanelCtrl"; import PanelCtrl from "../MCtrls/MPanelCtrl";
import WinnigPanel from "./WinnigPanel"; import WinnigPanel from "./WinnigPanel";
import GameMgr from "../Mgr/GameMgr";
interface Record { interface Record {
userId: number, userId: number,
...@@ -54,6 +55,11 @@ export default class RankListPanel extends Panel { ...@@ -54,6 +55,11 @@ export default class RankListPanel extends Panel {
onSkinComplete() { onSkinComplete() {
super.onSkinComplete(); super.onSkinComplete();
if (GameMgr.instance.activityEnd) {
this.prizedate.visible = false;
}
this.nowBG.pixelHitTest = true; this.nowBG.pixelHitTest = true;
this.lastBG.pixelHitTest = true; this.lastBG.pixelHitTest = true;
this.noprizelab.text = "很遗憾,未中奖" this.noprizelab.text = "很遗憾,未中奖"
......
...@@ -6,6 +6,6 @@ ...@@ -6,6 +6,6 @@
"leftTimes": 10, "leftTimes": 10,
"leftShareTimes": 1, "leftShareTimes": 1,
"minEnableCaptchaScore": 5000, "minEnableCaptchaScore": 5000,
"activityEnd": false "activityEnd": true
} }
} }
\ No newline at end of file
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