Commit e8f0cb64 authored by Master Q's avatar Master Q

首页埋点

parent 8899b1df
......@@ -4,7 +4,7 @@ import { Scene } from "../../../module/views/Scene";
import { RuleModal } from "../../panels/RulePanel";
import { Tools } from "../../tools/Tools";
import UI from "../../tools/UI";
import { getWebData, sendWebNet, WebNetName } from "../../tools/WebNet";
import { getWebData, LOG_TYPE, sendLog, sendWebNet, WebNetName } from "../../tools/WebNet";
import { ParkourScene } from "../ParkourGameScene";
import { PromiseAwait } from "../utils";
......@@ -46,6 +46,8 @@ export class IndexScene extends Scene {
const startBtnCont = UI.Ctn(this, (750 - 374) / 2, 1150)
this.startBtn = UI.Btn(startBtnCont, 'startBtn.png', this.onJump2Scene, this)
UI.Txt(startBtnCont, `消耗${this.IndexSceneData.needTikectCount}门票`, 24, '#000000', FYGE.TEXT_ALIGN.CENTER, 374, 0, 120)
sendLog(LOG_TYPE.EXPOSURE, 1)
}
@PromiseAwait
......
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