Commit 9a670999 authored by zhangyuan's avatar zhangyuan

提交

parent 297176c1
......@@ -65,10 +65,10 @@
}
</script>
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1753777390161/assets/index-sn_TNL7Q.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1753777390161/assets/vendor-BiCVt3x5.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1753777390161/assets/vendor-BQh5NVNk.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1753777390161/assets/index-DafpFpeH.css">
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1753778214720/assets/index-B1aWg_Iq.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1753778214720/assets/vendor-BiCVt3x5.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1753778214720/assets/vendor-BQh5NVNk.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1753778214720/assets/index-bWH1nCZq.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>
......@@ -76,8 +76,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/1753777390161/assets/polyfills-legacy-D0AVcSo7.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1753777390161/assets/index-legacy-CThZb3Nt.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/1753778214720/assets/polyfills-legacy-D0AVcSo7.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1753778214720/assets/index-legacy-QiFfcNYd.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>
\ No newline at end of file
......@@ -33,6 +33,7 @@ export function handleLogExposure(id: number | string, id2: number | string = 1)
logExposure({
dpm: `${appId}.110.${id}.${id2}`,
dcm,
dom,
domain,
appId,
});
......@@ -42,6 +43,7 @@ export function handleLogClick(id: number | string, id2: number | string = 1) {
logClick({
dpm: `${appId}.110.${id}.${id2}`,
dcm,
dom,
domain,
appId,
});
......@@ -52,6 +54,7 @@ export function handleTaskLogClick(id, id2 = 1, btnStatus) {
logClick({
dpm: `${appId}.110.${id}.${id2}`,
dcm: `202.${CFG.projectId}.0.${btnStatus}'`,
dom,
domain,
appId,
});
......@@ -60,6 +63,7 @@ export function handleTaskLogExposure(id, id2 = 1, btnStatus) {
logExposure({
dpm: `${appId}.110.${id}.${id2}`,
dcm: `202.${CFG.projectId}.0.${btnStatus}'`,
dom,
domain,
appId,
});
......
......@@ -93,7 +93,7 @@ class HomePage extends React.Component<any, any> {
/** 跳转模拟交易记录 */
recordHadnle = _asyncThrottle(() => {
if (!store.judgeActTime()) return
PageCtrl.changePage(NewRecordPage);
PageCtrl.changePage(NewRecordPage, { tab: 1 });
})
......
......@@ -52,11 +52,11 @@ class TaskPanel extends React.Component {
<span className='taskTitle'>{`${el.title}(${el.completeSize || 0}/${el.intervalLimit || 0})`}</span>
<span className='taskSubTitle'>{el.subtitle}</span>
{el.taskStatus == 0 && <Button className='goToBtn' onClick={_asyncThrottle(() => {
handleTaskLogClick(28, el.id, 1);
handleTaskLogClick(28, el.code, 1);
taskStore.doComplete(el)
})}></Button>}
{el.taskStatus == 1 && <Button className='dailingqu' onClick={_asyncThrottle(() => {
handleTaskLogClick(28, el.id, 2);
handleTaskLogClick(28, el.code, 2);
taskStore.sendPrize(el.code);
})}></Button>}
{el.taskStatus == 2 && <Button className='completed'></Button>}
......
......@@ -26,12 +26,12 @@ const taskStore = makeAutoObservable({
const arr3 = data.item.filter((el) => { return Number(el.taskStatus) === 2; });
this.taskList = arr1.concat(arr2, arr3);
this.taskList.forEach(el => {
const { id } = el;
const { code } = el;
if (el.taskStatus == 0) {
handleTaskLogExposure(28, id, 1);
handleTaskLogExposure(28, code, 1);
}
if (el.taskStatus == 1) {
handleTaskLogExposure(28, id, 2);
handleTaskLogExposure(28, code, 2);
}
});
}
......
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