Commit 2d4209d5 authored by 徐士卿's avatar 徐士卿

Merge branch 'master' of gitlab2.dui88.com:sparkprojects/kww_daydaygetcredits_250512

parents c602af5a 50c2cf42
......@@ -56,19 +56,20 @@
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}
</script>
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1747650063534/assets/index-DZTjnl7X.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747650063534/assets/vendor-BMT9UzMO.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747650063534/assets/vendor-BQh5NVNk.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747650063534/assets/index-g6TPiZcF.css">
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1747649358740/assets/index-Cztcfl7p.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747649358740/assets/vendor-vEGBzvv0.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747649358740/assets/vendor-BQh5NVNk.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747649358740/assets/index-Bdx4UEp-.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>
<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/1747650063534/assets/polyfills-legacy-arANKBzQ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1747650063534/assets/index-legacy-G9BJ1nve.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/1747649358740/assets/polyfills-legacy-arANKBzQ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1747649358740/assets/index-legacy-BmVXQQYl.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>
\ No newline at end of file
......@@ -16,8 +16,8 @@ export default [
guideFlag: true,
creditsNum: 923,
expireDays: 7,
currentStoreNum: 923,
storeLimitNum: 2222,
currentStoreNum: 1000,
storeLimitNum: 1000,
continueSignDays: 3,
todaySignFlag: false,
signRecords: new Array(7).fill(1).map((_, index) => {
......@@ -29,9 +29,9 @@ export default [
}
}),
overflowBubble: {
id: 1,
creditsNum: 100,
expireTime: Date.now() + 10000000,
creditsNum: 700,
expireTime: 1746669495352,
id: 218090705,
},
bubbleRecords: new Array(1 + (Math.random() * 4 >> 0)).fill(1).map((_, index) => {
return {
......
{"proSetting":{"projectxIDs":{"testId":[{"label":"test","value":"pd71a2911"},{"label":"test2","value":"p960d47b7"}],"prodId":[]},"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"}]},"skinVariables":[],"mockSetting":{"projectId":"","pageId":""}},"envSetting":{},"psdSetting":{"psdFSSetting":true,"psdCenterSetting":true}}
......@@ -85,11 +85,17 @@ export class OverflowBubble extends Container implements IBase {
}
const { id, creditsNum, expireTime } = info;
if (expireTime - Date.now()) {
this.visible = false;
Tween.removeTweens(this.cdTarget);
return;
}
this.id = id;
this.text.text = creditsNum;
this.cdTarget.cd = Math.max((expireTime - Date.now()) / 1000 >> 0, 1);
this.setTime();
Tween.removeTweens(this.cdTarget);
Tween.get(this.cdTarget, { loop: true })
......
......@@ -64,7 +64,7 @@ export class Game extends Base {
this.fullAni.play();
this.fullAni.onFrameChange = (currentFrame) => {
if (currentFrame === targetFrame) {
if (currentFrame === targetFrame - 1) {
this.fullAni.animationSpeed = 1;
this.fullAni.onFrameChange = null;
this.dropAni.visible = false;
......
......@@ -132,6 +132,7 @@ class Store {
async doSign() {
const { success, data } = await API.sign();
this.updateIndex();
this.getTaskInfo();
if (!success) return;
const { boolLimit, newLuckCreditsNum } = data;
......
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