Commit 8c5902cb authored by 徐士卿's avatar 徐士卿

merge

parents b76560f3 7aca5704
...@@ -29,7 +29,8 @@ export async function compressAllImage( ...@@ -29,7 +29,8 @@ export async function compressAllImage(
const qualityParam = `--quality 0-99`, const qualityParam = `--quality 0-99`,
speedParam = `--speed 4`, speedParam = `--speed 4`,
skipParam = platform == "win32" ? "" : '--skip-if-larger', // skipParam = platform == "win32" ? "" : '--skip-if-larger',
skipParam = '--skip-if-larger',
outputParam = '--ext=.png', outputParam = '--ext=.png',
writeParam = '--force', writeParam = '--force',
// colorsParam = config.colors, // colorsParam = config.colors,
......
...@@ -56,19 +56,20 @@ ...@@ -56,19 +56,20 @@
// 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/1747625556175/assets/index-Dj68CP-4.js"></script> <script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1747625339097/assets/index-Bgt6Xy0C.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747625556175/assets/vendor-GKoJOBYz.js"> <link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747625339097/assets/vendor-C-wqKjup.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747625556175/assets/vendor-BQh5NVNk.css"> <link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747625339097/assets/vendor-BQh5NVNk.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747625556175/assets/index-Da-gH67B.css"> <link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747625339097/assets/index-BtbjaSJ2.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>
<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/1747625556175/assets/polyfills-legacy-arANKBzQ.js"></script> <script nomodule crossorigin id="vite-legacy-polyfill" src="https://yun.duiba.com.cn/db_games/spark/v3/1747625339097/assets/polyfills-legacy-arANKBzQ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1747625556175/assets/index-legacy-DU7tYQ6u.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/1747625339097/assets/index-legacy-xoeicVjB.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -77,7 +77,7 @@ class HomePage extends React.Component<any, any> { ...@@ -77,7 +77,7 @@ class HomePage extends React.Component<any, any> {
</div> </div>
</div> </div>
{!guideFlag && <GuidePanel />} {guideFlag && <GuidePanel />}
</>; </>;
} }
} }
......
...@@ -37,7 +37,7 @@ export async function initBundle(): Promise<void> { ...@@ -37,7 +37,7 @@ export async function initBundle(): Promise<void> {
manifest: manifest, manifest: manifest,
skipDetections: true, skipDetections: true,
preferences: { preferences: {
preferWorkers: false, // preferWorkers: false,
// preferCreateImageBitmap: true, // preferCreateImageBitmap: true,
} }
}); });
......
...@@ -5,6 +5,8 @@ import { Button } from "@grace/ui"; ...@@ -5,6 +5,8 @@ import { Button } from "@grace/ui";
import { ModalCtrl } from "@/core/ctrls/ModalCtrl.tsx"; import { ModalCtrl } from "@/core/ctrls/ModalCtrl.tsx";
import classNames from "classnames"; import classNames from "classnames";
import store from "@/store/store.ts"; import store from "@/store/store.ts";
import API from "@/api";
import { _asyncThrottle } from "@/utils/utils.ts";
export interface IGuidePanelProps { export interface IGuidePanelProps {
...@@ -29,11 +31,14 @@ class GuidePanel extends React.Component<IGuidePanelProps> { ...@@ -29,11 +31,14 @@ class GuidePanel extends React.Component<IGuidePanelProps> {
}); });
}; };
clickGuide6Btn = () => { clickGuide6Btn = _asyncThrottle(async () => {
const { step } = this.state; const { step } = this.state;
if (step != 6) return; if (step != 6) return;
await API.completeGuide();
store.doSign(); store.doSign();
}; });
render() { render() {
......
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