Commit 2d6e4c69 authored by 俞嘉婷's avatar 俞嘉婷

细节

parent 73bb7ce4
...@@ -53,10 +53,10 @@ ...@@ -53,10 +53,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/1751878042779/assets/index-B5L7481j.js"></script> <script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1751879941905/assets/index-D_hHAAyr.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1751878042779/assets/vendor-D7FE14_V.js"> <link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1751879941905/assets/vendor-D7FE14_V.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1751878042779/assets/vendor-BQh5NVNk.css"> <link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1751879941905/assets/vendor-BQh5NVNk.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1751878042779/assets/index-9Oaz8jkL.css"> <link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1751879941905/assets/index-CbPdqnfo.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>
...@@ -64,8 +64,8 @@ ...@@ -64,8 +64,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/1751878042779/assets/polyfills-legacy-D0AVcSo7.js"></script> <script nomodule crossorigin id="vite-legacy-polyfill" src="https://yun.duiba.com.cn/db_games/spark/v3/1751879941905/assets/polyfills-legacy-D0AVcSo7.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1751878042779/assets/index-legacy-C6Kjcb_G.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/1751879941905/assets/index-legacy-D9xl3ywd.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body> </body>
</html> </html>
{ {"proSetting":{"projectxIDs":{"testId":[{"label":"test","value":"p476a83d1"}],"prodId":[{"label":"线上测试","value":"p69bb35bf"},{"label":"正式","value":"p16480c32"}]},"skinVariables":[],"mockSetting":{"projectId":"","pageId":""}},"envSetting":{},"psdSetting":{"psdFSSetting":true,"psdCenterSetting":true}}
"proSetting": {
"projectxIDs": {
"testId": [
{
"label": "test",
"value": "pd71a2911"
},
{
"label": "test2",
"value": "p960d47b7"
}
],
"prodId": [
{
"label": "线上测试",
"value": "p69bb35bf"
},
{
"label": "正式",
"value": "p16480c32"
}
]
},
"skinVariables": [],
"mockSetting": {
"projectId": "",
"pageId": ""
}
},
"envSetting": {},
"psdSetting": {
"psdFSSetting": true,
"psdCenterSetting": true
}
}
...@@ -113,8 +113,8 @@ class HomePage extends React.Component<any, any> { ...@@ -113,8 +113,8 @@ class HomePage extends React.Component<any, any> {
} }
render() { render() {
const { curTab } = this.state; const { curTab } = this.state;
const { bigStartConfig, virtualAssets, checkIn, recommendProductConfig, myEndTime, currentTime } = store.indexData const { bigStartConfig, virtualAssets, checkIn, recommendProductConfig, myEndTime, currentTime, actEndTime } = store.indexData
const isReachEndT = myEndTime <= currentTime const isReachEndT = Math.min(myEndTime, actEndTime) <= currentTime
// 推荐产品 // 推荐产品
const rProductList = recommendProductConfig?.filter((item) => +item.status === 1) const rProductList = recommendProductConfig?.filter((item) => +item.status === 1)
// 我的持仓 // 我的持仓
......
...@@ -11,6 +11,7 @@ import classNames from "classnames"; ...@@ -11,6 +11,7 @@ import classNames from "classnames";
import { NoPrizePanel } from "@/panels/NoPrizePanel/NoPrizePanel.tsx"; import { NoPrizePanel } from "@/panels/NoPrizePanel/NoPrizePanel.tsx";
import { ModalCtrl } from "@/core/ctrls/ModalCtrl.tsx"; import { ModalCtrl } from "@/core/ctrls/ModalCtrl.tsx";
import { PrizePanel } from "@/panels/PrizePanel/PrizePanel.tsx"; import { PrizePanel } from "@/panels/PrizePanel/PrizePanel.tsx";
import store from '@/store/store';
@observer @observer
class TurnTable extends React.Component { class TurnTable extends React.Component {
...@@ -35,6 +36,7 @@ class TurnTable extends React.Component { ...@@ -35,6 +36,7 @@ class TurnTable extends React.Component {
// 开始抽奖 // 开始抽奖
drawHandle = _asyncThrottle(async () => { drawHandle = _asyncThrottle(async () => {
if (!store.judgeActTime()) return
if (this.btnStarting) return false; if (this.btnStarting) return false;
if (resStore.info.remainDrawTime <= 0) { if (resStore.info.remainDrawTime <= 0) {
......
...@@ -16,7 +16,6 @@ class InvalidPop extends React.Component { ...@@ -16,7 +16,6 @@ class InvalidPop extends React.Component {
} }
async componentDidMount() { async componentDidMount() {
store.initRule();
} }
handleClose = _asyncThrottle(() => { handleClose = _asyncThrottle(() => {
......
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