Commit 0c1f5d92 authored by wangzhujun's avatar wangzhujun

paihangbanh

parent c371a9e1
......@@ -33,17 +33,17 @@
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}
</script>
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1746966720257/assets/index-D3nDe8Iu.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1746966720257/assets/vendor-Cv8GDTn8.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1746966720257/assets/vendor-CWeaUrOh.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1746966720257/assets/index-C4HXmgAM.css">
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1746966938938/assets/index-DmdVS--7.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1746966938938/assets/vendor-Dj6rr4t-.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1746966938938/assets/vendor-CWeaUrOh.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1746966938938/assets/index-Bd2n1IJ1.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/1746966720257/assets/polyfills-legacy-C2MhNPfJ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1746966720257/assets/index-legacy-BYL3x1ui.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/1746966938938/assets/polyfills-legacy-C2MhNPfJ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1746966938938/assets/index-legacy-Br8zrpeK.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>
......
......@@ -92,7 +92,7 @@ class Rankpage extends React.Component<{}, RankpageState> {
}
timeCtn
countdown() {
console.log("!@@@@!@@",this.state.openTime - this.timeStamp)
console.log("!@@@@!@@", this.state.openTime - this.timeStamp)
let res = dealTime2(this.state.openTime - this.timeStamp)
this.setState({
day: String(res.day),
......@@ -115,7 +115,7 @@ class Rankpage extends React.Component<{}, RankpageState> {
clearTimeout(this.timeCtn)
}
render() {
const { rankInfos, myRank, rankOptions,day,hour,min,sec } = this.state;
const { rankInfos, myRank, rankOptions, day, hour, min, sec } = this.state;
return (
<div className="rankpage modal_center">
<span className="bg"></span>
......@@ -128,12 +128,14 @@ class Rankpage extends React.Component<{}, RankpageState> {
</div>
<span className="ranktitle"></span>
<div className="list" style={{ height: `${(689 - (1624 - document.body.clientHeight * 750 / document.body.clientWidth) / 2) / 100}rem` }}>
<div className="myinfo">
<span className="myrank">{myRank.index > 999 ? '999+' : myRank.index}</span>
<span className="myname">{myRank.userName}(我)</span>
<span className="myscore">{myRank.score}</span>
<span className="mybg"></span>
</div>
{
myRank.index != -1 && <div className="myinfo">
<span className="myrank">{myRank.index > 999 ? '999+' : myRank.index}</span>
<span className="myname">{myRank.userName}(我)</span>
<span className="myscore">{myRank.score}</span>
<span className="mybg"></span>
</div>
}
{
rankInfos.map((item, index) => {
return (
......
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