Commit 899636b4 authored by 俞嘉婷's avatar 俞嘉婷

二级页适配

parent b4a3bc09
......@@ -84,10 +84,10 @@
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}
</script>
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1750758713063/assets/index-CDMO3ZK7.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750758713063/assets/vendor-653YMWOr.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750758713063/assets/vendor-DhjHFO43.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750758713063/assets/index-DESw04E7.css">
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1750841657817/assets/index-CLFV_8_P.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750841657817/assets/vendor-CO6knc_s.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750841657817/assets/vendor-DhjHFO43.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750841657817/assets/index-Df4IjE3_.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>
......@@ -96,8 +96,8 @@
<div id="root"></div>
<!-- <script src="https://yun.duiba.com.cn/db_games/RB_yanxue/250620/js/output.js"></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/1750758713063/assets/polyfills-legacy-C2MhNPfJ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1750758713063/assets/index-legacy-DJHFIuXJ.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/1750841657817/assets/polyfills-legacy-C2MhNPfJ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1750841657817/assets/index-legacy-FU0lcXup.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>
\ No newline at end of file
......@@ -12,7 +12,7 @@
width: 750px;
height: 1624px;
left: 0px;
// top: -200px;
top: -200px;
position: absolute;
background-color: #fff5d3;
......@@ -22,7 +22,7 @@
width: 750px;
height: 1624px;
left: 0px;
top: 0px;
top: 200px;
position: absolute;
.sparkBg("prizepage/bg.jpg");
}
......@@ -83,7 +83,7 @@
.list {
width: 697px;
height: calc(100vh - 438px);
height: calc(100vh - 238px);
left: 27px;
top: 406px;
position: absolute;
......
......@@ -36,7 +36,7 @@ class Mappage extends React.Component {
componentDidMount() {
this.getMapInfo();
this.mapPageRef.scrollTo(0, 200 * window.remScale);
}
getMapInfo = async () => {
......@@ -110,7 +110,7 @@ class Mappage extends React.Component {
render() {
const { spInfoList } = this.state;
return (
<div className="Mappage">
<div className="Mappage" ref={ref => this.mapPageRef = ref}>
<div className="map_bg">
<div className="back_btn md28" onClick={this.onBack}></div>
<div className="map_title"></div>
......
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