Commit 4dc39b03 authored by cc's avatar cc

update

parent d359f7bb
...@@ -102,10 +102,10 @@ ...@@ -102,10 +102,10 @@
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。") // alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
} }
</script> </script>
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1748515495704/assets/index-C4WqLk-b.js"></script> <script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1748516191853/assets/index-BSmG5KNg.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748515495704/assets/vendor-B3dVRLiE.js"> <link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748516191853/assets/vendor-Bd7U7hMI.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748515495704/assets/vendor-NZxPxbcK.css"> <link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748516191853/assets/vendor-NZxPxbcK.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748515495704/assets/index-Dx6Mk0Do.css"> <link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748516191853/assets/index-D6rMZgzN.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">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> <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> </head>
...@@ -113,8 +113,8 @@ ...@@ -113,8 +113,8 @@
<body> <body>
<div id="root"></div> <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>!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/1748515495704/assets/polyfills-legacy-C2MhNPfJ.js"></script> <script nomodule crossorigin id="vite-legacy-polyfill" src="https://yun.duiba.com.cn/db_games/spark/v3/1748516191853/assets/polyfills-legacy-C2MhNPfJ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1748515495704/assets/index-legacy-DcWKV6F7.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script> <script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1748516191853/assets/index-legacy-_yDaoWK1.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -22,7 +22,6 @@ class AgentSharepage extends React.Component { ...@@ -22,7 +22,6 @@ class AgentSharepage extends React.Component {
} }
this.startTime = +new Date(); this.startTime = +new Date();
this.shareRef = null; this.shareRef = null;
this.startTime = +new Date();
} }
async componentDidMount() { async componentDidMount() {
...@@ -49,6 +48,9 @@ class AgentSharepage extends React.Component { ...@@ -49,6 +48,9 @@ class AgentSharepage extends React.Component {
} }
componentWillUnmount() { componentWillUnmount() {
MatterViewDuration("b14316", +new Date() - this.startTime, {
page_name: "落地页",
});
} }
...@@ -74,7 +76,7 @@ class AgentSharepage extends React.Component { ...@@ -74,7 +76,7 @@ class AgentSharepage extends React.Component {
} }
handleShareAct = _throttle(() => { handleShareAct = _throttle(() => {
MatterShareOpt("b14316", "d14327", { MatterShareOpt("b14316", "d14317", {
button_name: "分享活动按钮", button_name: "分享活动按钮",
page_name: "落地页", page_name: "落地页",
}) })
......
...@@ -56,6 +56,9 @@ class Sharepage extends React.Component { ...@@ -56,6 +56,9 @@ class Sharepage extends React.Component {
} }
componentWillUnmount() { componentWillUnmount() {
MatterViewDuration("b14316", +new Date() - this.startTime, {
page_name: "落地页",
});
} }
......
...@@ -71,13 +71,18 @@ class Taskpop extends React.Component { ...@@ -71,13 +71,18 @@ class Taskpop extends React.Component {
/** 去完成 */ /** 去完成 */
taskDoHandle = _asyncThrottle(async (item) => { taskDoHandle = _asyncThrottle(async (item) => {
const {taskStatus, code} = item || {}; const {taskStatus, code} = item || {};
// if(code == TASK_CODE.INVITE){ if(code == TASK_CODE.INVITE){
// MatterShareOpt(LOG_KEY.click,"b7870","d8729") MatterShareOpt("b14312", "d14313", {
// } button_name: "做任务,赚次数弹窗",
sensorLog(LOG_KEY.click, "b14312", "d14313", { page_name: "去完成按钮",
page_name: "做任务,赚次数弹窗", })
button_name: "去完成按钮", }else{
});
sensorLog(LOG_KEY.click, "b14312", "d14313", {
page_name: "做任务,赚次数弹窗",
button_name: "去完成按钮",
});
}
await taskStore.doTask(item); await taskStore.doTask(item);
}) })
......
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