Commit 75c8519c authored by haiyoucuv's avatar haiyoucuv

11

parent 11ccf078
......@@ -102,10 +102,10 @@
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}
</script>
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1748943646315/assets/index-Tjo5_CbP.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748943646315/assets/vendor-gTwSZPag.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748943646315/assets/vendor-NZxPxbcK.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748943646315/assets/index-Cdun9kpB.css">
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1748946830910/assets/index-CFKC3J02.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748946830910/assets/vendor-aOeF-00t.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748946830910/assets/vendor-NZxPxbcK.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748946830910/assets/index-DheBBf5D.css">
<script type="module">import.meta.url;import("_").catch(()=>1);(async function*(){})().next();if(location.protocol!="file:"){window.__vite_is_modern_browser=true}</script>
<script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
</head>
......@@ -113,8 +113,8 @@
<body>
<div id="root"></div>
<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
<script nomodule crossorigin id="vite-legacy-polyfill" src="https://yun.duiba.com.cn/db_games/spark/v3/1748943646315/assets/polyfills-legacy-C2MhNPfJ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1748943646315/assets/index-legacy-BAYgjx32.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
<script nomodule crossorigin id="vite-legacy-polyfill" src="https://yun.duiba.com.cn/db_games/spark/v3/1748946830910/assets/polyfills-legacy-C2MhNPfJ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1748946830910/assets/index-legacy-B269HQCY.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>
\ No newline at end of file
......@@ -49,7 +49,8 @@ export default [
data: {
drawChance: 3,
title: "5555",
desc: "123123123"
desc: "123123123",
score: 10,
}
}
},
......
......@@ -126,6 +126,6 @@ export class Game extends Base {
onDestroy() {
super.onDestroy();
clearInterval(this.intervalId);
globalEvent.off(GameEvent.NextLevel, this.nextLevel, this);
globalEvent.removeAllListeners();
}
}
......@@ -57,6 +57,7 @@ class GameStore {
score,
timestamp: Date.now(),
};
console.log(d);
const param = AESEncrypt(JSON.stringify(d), "7A2F4B8D1E6C3905", "cDOiBC1n2QrkAY2P");
const { success, data } = await API.middleSubmit({ param });
......@@ -75,6 +76,7 @@ class GameStore {
score,
timestamp: Date.now(),
};
console.log(d);
const param = AESEncrypt(JSON.stringify(d), "7A2F4B8D1E6C3905", "cDOiBC1n2QrkAY2P");
const { success, data } = await API.submit({ param });
......
......@@ -79,7 +79,7 @@ export const initSensors = (uid) => {
app_js_bridge: true,
is_track_single_page: true,
use_client_time: true,
show_log: true,
show_log: false,
send_type: "beacon",
heatmap: {
clickmap: "default",
......@@ -253,4 +253,3 @@ export const appJump = (module, method, params, callback) => {
callback: callback,
});
}
\ 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