Commit 06b1d6e8 authored by cc's avatar cc

updaye

parent ecd39f6a
......@@ -102,10 +102,10 @@
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}
</script>
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1748418092562/assets/index-UnpWWmS0.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748418092562/assets/vendor-B2GqGJHI.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748418092562/assets/vendor-NZxPxbcK.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748418092562/assets/index-B7QCx37i.css">
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1748419005100/assets/index-DWjuIBrO.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748419005100/assets/vendor-D71vGuvV.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748419005100/assets/vendor-NZxPxbcK.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1748419005100/assets/index-CBnyirHg.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/1748418092562/assets/polyfills-legacy-C2MhNPfJ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1748418092562/assets/index-legacy-CezdanEI.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/1748419005100/assets/polyfills-legacy-C2MhNPfJ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1748419005100/assets/index-legacy-4on7ZjKT.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>
\ No newline at end of file
......@@ -56,7 +56,7 @@ class App extends Component {
await ensureDomain();
CFG.domain = domain;
if(isMiniprogram()){ //小程序域名写死
CFG.domain = "https://96094-activity.dexfu.cn";
CFG.domain = "https://96094-2-activity.dexfu.cn";
}
await waitTime(1)
shareStore.initShare()
......
......@@ -11,6 +11,7 @@ import API from "@/api";
// import modalStore from "@src/store/modal";
import { handleLogClick, handleLogExposure } from "../../MD";
import { LOG_KEY, MatterViewDuration, MatterViewOpt, sensorLog } from "../../utils/sensors.js";
import { _throttle } from "/src/utils/utils.js";
@observer
class Sharepage extends React.Component {
......@@ -71,7 +72,7 @@ class Sharepage extends React.Component {
};
/** 跳转微信端活动 */
toWeActHandle = () => {
toWeActHandle = _throttle(() => {
console.warn("toWeActHandle")
......@@ -91,7 +92,7 @@ class Sharepage extends React.Component {
}
CFG.workerCode = getUrlParam("ykCode");
if (isMiniprogram()) { //小程序域名写死
CFG.domain = "https://96094-activity.dexfu.cn";
CFG.domain = "https://96094-2-activity.dexfu.cn";
} else {
CFG.domain = location.origin
}
......@@ -110,7 +111,7 @@ class Sharepage extends React.Component {
setTimeout(() => {
location.href = url;
}, 500)
};
});
render() {
const { actStartTimestamp, actEndTimestamp } = this.state?.shareInfo || {};
......
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