Commit 577b933f authored by 俞嘉婷's avatar 俞嘉婷

测试问题fix

parent 2314a1ee
...@@ -84,10 +84,10 @@ ...@@ -84,10 +84,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/1750596681786/assets/index-DFyFtdTQ.js"></script> <script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1750665569191/assets/index-qir2wxg9.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750596681786/assets/vendor-DWHb8WZT.js"> <link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750665569191/assets/vendor-D1rzGs91.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750596681786/assets/vendor-DhjHFO43.css"> <link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750665569191/assets/vendor-DhjHFO43.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750596681786/assets/index-DmQfCqdL.css"> <link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750665569191/assets/index-vAY-Do_r.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>
...@@ -96,8 +96,8 @@ ...@@ -96,8 +96,8 @@
<div id="root"></div> <div id="root"></div>
<!-- <script src="https://yun.duiba.com.cn/db_games/RB_yanxue/250620/js/output.js"></script> --> <!-- <script src="https://yun.duiba.com.cn/db_games/RB_yanxue/250620/js/output.js"></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>!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/1750596681786/assets/polyfills-legacy-C2MhNPfJ.js"></script> <script nomodule crossorigin id="vite-legacy-polyfill" src="https://yun.duiba.com.cn/db_games/spark/v3/1750665569191/assets/polyfills-legacy-C2MhNPfJ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1750596681786/assets/index-legacy-mXsV-BKH.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/1750665569191/assets/index-legacy-Dki-0Rrw.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -18,7 +18,7 @@ class Rulepop extends React.Component { ...@@ -18,7 +18,7 @@ class Rulepop extends React.Component {
componentDidMount() { componentDidMount() {
store.initRule(); store.initRule();
API.completeGuide({ flag: 1}) store.indexData.newGuideFlag === 0 && API.completeGuide({ flag: 1})
pageView("b14294", { pageView("b14294", {
page_name: "活动规则弹窗", page_name: "活动规则弹窗",
......
...@@ -120,8 +120,6 @@ class Taskpop extends React.Component { ...@@ -120,8 +120,6 @@ class Taskpop extends React.Component {
{ {
taskList?.length > 0 && taskList?.length > 0 &&
taskList.map((val, key) => { taskList.map((val, key) => {
val?.taskStatus == 0 && handleLogExposure(24, val?.code, 1)
val?.taskStatus == 1 && handleLogExposure(24, val?.code, 2)
return ( return (
<div className="item" key={key}> <div className="item" key={key}>
<span className="bg_item"></span> <span className="bg_item"></span>
......
...@@ -214,7 +214,7 @@ const shareStore = makeAutoObservable({ ...@@ -214,7 +214,7 @@ const shareStore = makeAutoObservable({
goAppPrize() { goAppPrize() {
// windowJumpUrl(CFG.toAppPrizeUrl); // windowJumpUrl(CFG.toAppPrizeUrl);
//CFG.projectId三元判断为真,前面的是正式,需要修改的地方为中间页链接,可咨询东哥链接(奖品页唤端) ios需要多encode一次 //CFG.projectId三元判断为真,前面的是正式,需要修改的地方为中间页链接,可咨询东哥链接(奖品页唤端) ios需要多encode一次
const testCustomId = "Did1NjEwNzk"; //奖品-测试中间页 const testCustomId = "Did1NjE0NDc"; //奖品-测试中间页
const prodCustomId = "Did1NjExMjc"; //奖品-正式中间页 const prodCustomId = "Did1NjExMjc"; //奖品-正式中间页
//pd3ee4a37 为正式项目 需替换为正式项目ID //pd3ee4a37 为正式项目 需替换为正式项目ID
// TODO // TODO
......
...@@ -129,7 +129,7 @@ class Store { ...@@ -129,7 +129,7 @@ class Store {
} }
if (data.rulePop) { if (data.newGuideFlag === 0) {
ModalCtrl.showModal(RulePop) ModalCtrl.showModal(RulePop)
} }
} }
...@@ -182,7 +182,7 @@ class Store { ...@@ -182,7 +182,7 @@ class Store {
// 抽奖次数为0 // 抽奖次数为0
if (!leftDrawTimes) { if (!leftDrawTimes) {
return Toast.show("抽奖次数不足,快去猜谜赚次数吧~"); return Toast.show("抽奖次数不足~");
} }
// 打开抽奖出奖弹窗 // 打开抽奖出奖弹窗
......
...@@ -12,6 +12,7 @@ import { Toast } from "@grace/ui"; ...@@ -12,6 +12,7 @@ import { Toast } from "@grace/ui";
import { ModalCtrl } from "@/core/ctrls/ModalCtrl"; import { ModalCtrl } from "@/core/ctrls/ModalCtrl";
import LongImgPop from "@/panels/longImgPop/longImgPop.jsx"; import LongImgPop from "@/panels/longImgPop/longImgPop.jsx";
import { md5 } from "@spark/utils"; import { md5 } from "@spark/utils";
import { handleLogExposure } from "@/MD.js";
interface TaskItem { interface TaskItem {
jumpUrl?: string; jumpUrl?: string;
...@@ -38,6 +39,10 @@ const taskStore = makeAutoObservable({ ...@@ -38,6 +39,10 @@ const taskStore = makeAutoObservable({
}); });
if ((success && data)) { if ((success && data)) {
this.taskList = data?.item || []; this.taskList = data?.item || [];
(data?.item || []).map((item)=>{
item?.taskStatus == 0 && handleLogExposure(24, item?.code, 1)
item?.taskStatus == 1 && handleLogExposure(24, item?.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