Commit bd582a83 authored by 王勇霞's avatar 王勇霞

移除sendLog

parent 39ac0990
...@@ -2,7 +2,7 @@ import { Panel } from "../../module/views/Panel"; ...@@ -2,7 +2,7 @@ import { Panel } from "../../module/views/Panel";
import { changeScene, getCurrentScene, showPanel, showToast } from "../../module/ctrls"; import { changeScene, getCurrentScene, showPanel, showToast } from "../../module/ctrls";
import { StartScene } from "../scenes/StartScene"; import { StartScene } from "../scenes/StartScene";
import { GuidePanel } from "./GuidePanel"; import { GuidePanel } from "./GuidePanel";
import { getWebData, WebNetName, sendLog, LOG_TYPE, getPxTokenSave, sendWebNet } from "../webNet"; import { getWebData, WebNetName, LOG_TYPE, getPxTokenSave, sendWebNet } from "../webNet";
export class FailPanel extends Panel { export class FailPanel extends Panel {
get groupNames() { return ["FailPanel"] }; get groupNames() { return ["FailPanel"] };
get skinName() { return "FailPanel" }; get skinName() { return "FailPanel" };
...@@ -24,18 +24,13 @@ export class FailPanel extends Panel { ...@@ -24,18 +24,13 @@ export class FailPanel extends Panel {
this.score.x = 92 this.score.x = 92
this.score.textWidth = 568 this.score.textWidth = 568
this.score.textAlign = FYGE.TEXT_ALIGN.CENTER this.score.textAlign = FYGE.TEXT_ALIGN.CENTER
sendLog(LOG_TYPE.EXPOSURE, 40)
sendLog(LOG_TYPE.EXPOSURE, 39)
} }
back() { back() {
this.hidePanel() this.hidePanel()
sendLog(LOG_TYPE.CLICK, 40)
changeScene(StartScene) changeScene(StartScene)
} }
isOpen = false isOpen = false
async restart() { async restart() {
sendLog(LOG_TYPE.CLICK, 39)
this.btnDelay(this.restartbtn) this.btnDelay(this.restartbtn)
if (!this.isOpen) { if (!this.isOpen) {
this.isOpen = true this.isOpen = true
......
import { Panel } from "../../module/views/Panel"; import { Panel } from "../../module/views/Panel";
import { sendWebNet, WebNetName, sendLog, LOG_TYPE } from "../webNet"; import { sendWebNet, WebNetName, LOG_TYPE } from "../webNet";
import { showToast } from "../../module/ctrls"; import { showToast } from "../../module/ctrls";
import { RES } from "../../module/RES"; import { RES } from "../../module/RES";
export class RulePanel extends Panel { export class RulePanel extends Panel {
......
...@@ -2,7 +2,7 @@ import { Panel } from "../../module/views/Panel"; ...@@ -2,7 +2,7 @@ import { Panel } from "../../module/views/Panel";
import { RES } from "../../module/RES"; import { RES } from "../../module/RES";
import { changeScene } from "../../module/ctrls"; import { changeScene } from "../../module/ctrls";
import { StartScene } from "../scenes/StartScene"; import { StartScene } from "../scenes/StartScene";
import { getWebData, WebNetName, sendLog, LOG_TYPE } from "../webNet"; import { getWebData, WebNetName, LOG_TYPE } from "../webNet";
export class SuccessPanel extends Panel { export class SuccessPanel extends Panel {
get groupNames() { return ["SuccessPanel"] }; get groupNames() { return ["SuccessPanel"] };
get skinName() { return "SuccessPanel" }; get skinName() { return "SuccessPanel" };
...@@ -38,11 +38,9 @@ export class SuccessPanel extends Panel { ...@@ -38,11 +38,9 @@ export class SuccessPanel extends Panel {
let endInfo = getWebData(WebNetName.submitGame).data let endInfo = getWebData(WebNetName.submitGame).data
this.score.text = endInfo.score+"" this.score.text = endInfo.score+""
this.sunscore.text = "x"+endInfo.sunNum+"" this.sunscore.text = "x"+endInfo.sunNum+""
sendLog(LOG_TYPE.EXPOSURE,38)
} }
back(){ back(){
this.hidePanel() this.hidePanel()
sendLog(LOG_TYPE.CLICK,38)
changeScene(StartScene) changeScene(StartScene)
} }
initEvents() { initEvents() {
......
...@@ -3,7 +3,7 @@ import Role from "./components/Role"; ...@@ -3,7 +3,7 @@ import Role from "./components/Role";
import { RES } from "../../module/RES"; import { RES } from "../../module/RES";
import Cloud from "./components/Cloud"; import Cloud from "./components/Cloud";
import Word from "./components/word"; import Word from "./components/word";
import { getWebData, WebNetName, sendWebNet, sendLog, LOG_TYPE } from "../webNet"; import { getWebData, WebNetName, sendWebNet, LOG_TYPE } from "../webNet";
import { showPanel, showToast, changeScene } from "../../module/ctrls"; import { showPanel, showToast, changeScene } from "../../module/ctrls";
import { GuidePanel } from "../panels/GuidePanel"; import { GuidePanel } from "../panels/GuidePanel";
import { StartScene } from "./StartScene"; import { StartScene } from "./StartScene";
......
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