Commit b656c8ce authored by wildfirecode's avatar wildfirecode

1

parent 65bbe703
......@@ -2,6 +2,7 @@ import Panel from "../../libs/new_wx/components/Panel";
import { NetManager } from "../../libs/tw/manager/NetManager";
import { DataManager } from "../../libs/tw/manager/DataManager";
import { getlogItem } from "../Main";
import wait from "../../libs/new_tc/wait";
export default class ADPanel extends Panel {
start(data) {
......@@ -23,7 +24,10 @@ export default class ADPanel extends Panel {
this.data.img = result.img;
this['adBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, () => {
NetManager.ins.clickLog(getlogItem(25));
wait(100).then(()=>{
window.location.href = result.url;
});
}, this);
}
......@@ -39,7 +43,7 @@ export default class ADPanel extends Panel {
onTouchTap_closeBtn(){
super.onTouchTap_closeBtn();
NetManager.ins.clickLog(getlogItem(25));
//
}
onTapInvite() {
......
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