Commit 106de30f authored by wangzhujun's avatar wangzhujun
parents 23cc3dd7 694f3278
......@@ -35,17 +35,17 @@
// https://activity.m.duiba.com.cn/customShare/share?id=Did1NjA5Mjc
CFG.loginUrl = 'https://98570-activity.m.dexfu.cn/customShare/share?id=Did1NjA5Mjc'
</script>
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1747139037968/assets/index-CsLVlOpg.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747139037968/assets/vendor-DNcXdO-n.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747139037968/assets/vendor-CWeaUrOh.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747139037968/assets/index-ChC2yAKz.css">
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1747139996542/assets/index-H1V1B0kU.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747139996542/assets/vendor-DDycOIes.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747139996542/assets/vendor-CWeaUrOh.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747139996542/assets/index-QagI736c.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/1747139037968/assets/polyfills-legacy-C2MhNPfJ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1747139037968/assets/index-legacy-D89TQsP_.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/1747139996542/assets/polyfills-legacy-C2MhNPfJ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1747139996542/assets/index-legacy-DHGGBMv3.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>
......
......@@ -52,7 +52,7 @@ export class ElementMgr {
}
flushFood() {
if (this.footCtn.children.length > 9) return;
if (this.footCtn.children.length > 15) return;
const eleData = foodWeight.get();
const ele = new eleData.cls();
ele.x = Math.random() * (mapSize.width - 100) + 50;
......
......@@ -60,13 +60,14 @@
.scoreNum {
position: absolute;
left: 125px;
top: -2px;
top: 0;
width: 120px;
height: 100%;
font-size: 50px;
line-height: 50px;
font-weight: bold;
color: white;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
......@@ -82,18 +83,19 @@
height: 79px;
.webpBg("GamePage/cdBg.png");
display: flex;
align-items: center;
justify-content: center;
//display: flex;
//align-items: center;
//justify-content: center;
.cdNum {
position: absolute;
top: -2px;
top: 0;
height: 100%;
font-size: 50px;
line-height: 50px;
font-weight: bold;
color: white;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
......
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