Commit d7d99291 authored by wildfirecode's avatar wildfirecode

1

parent 4c09b2cb
......@@ -16,7 +16,7 @@ export default class IntroScene extends Scene {
this['btn1'].addEventListener(egret.TouchEvent.TOUCH_TAP,this.ontap_btn1,this);
this['lab1'].addEventListener(egret.TouchEvent.TOUCH_TAP,this.ontap_lab1,this);
this['content'].textFlow = (new HtmlTextParser).parser(window['rule']);
this['content'].textFlow = (new HtmlTextParser).parser(window['activeRule']);
const join_1_index: join_1_index = DataManager.ins.getData('yyh_join1_index');
this['dead'].text = `截止时间:${new Date(join_1_index.data.reviewDeadline).toLocaleDateString()}`;
......
......@@ -39,7 +39,7 @@ export default class ShareDreamScene extends Scene {
this['shareLayer'].visible = false;
}, this);
} else {
console.log('唤起ap');
console.log('唤起app');
const url = 'esports://openapp?url=http://aghzact.zjkczn.com/h5/defaultActive.html?activeUrl=' + encodeURIComponent(window['activeUrl']);
window.location.href = url;
......
......@@ -13,7 +13,7 @@ export default class RulePanel extends Panel {
group: eui.Group;
private addRule() {
const text ='<br>1<br>2<br>3<br>4<br>5<br>1<br>2<br>3<br>4<br>5<br>1<br>2<br>3<br>4<br>999';
const text =window['rule'];
this.labContent.textFlow = (new HtmlTextParser).parser(text);
}
protected get closeBtns(): eui.Button[] { return [this['closeBtn'],this['closeBtn1']] }
......
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