Commit e69811d6 authored by jtwu's avatar jtwu

111

parent 128d18a9
......@@ -84,10 +84,10 @@
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}
</script>
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1750678140422/assets/index-ClfQEFna.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750678140422/assets/vendor-CD2SF7f7.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750678140422/assets/vendor-DhjHFO43.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750678140422/assets/index-gto4oYDi.css">
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1750679530963/assets/index-Dq8_oAXY.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750679530963/assets/vendor-NRXRkH43.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750679530963/assets/vendor-DhjHFO43.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1750679530963/assets/index-CXhHG4ei.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/1750678140422/assets/polyfills-legacy-C2MhNPfJ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1750678140422/assets/index-legacy-BhduzI5B.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/1750679530963/assets/polyfills-legacy-C2MhNPfJ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1750679530963/assets/index-legacy-iFuuz5ux.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>
\ No newline at end of file
{"proSetting":{"projectxIDs":{"testId":[{"label":"test","value":"pd4041589"}],"prodId":[{"label":"线上测试","value":"p519a8ed4"},{"label":"线上正式","value":"pd3ee4a37"}]},"skinVariables":[],"mockSetting":{"projectId":"","pageId":""}},"envSetting":{},"psdSetting":{"psdFSSetting":true,"psdCenterSetting":true}}
{"proSetting":{"projectxIDs":{"testId":[{"label":"test","value":"pd4041589"},{"label":"pord","value":"p519a8ed4"}],"prodId":[{"label":"线上测试","value":"p519a8ed4"},{"label":"线上正式","value":"pd3ee4a37"}]},"skinVariables":[],"mockSetting":{"projectId":"","pageId":""}},"envSetting":{},"psdSetting":{"psdFSSetting":true,"psdCenterSetting":true}}
......@@ -3,7 +3,7 @@
.Mappage {
position: absolute;
width: 100vw;
height: 1624px;
height: 100vh;
overflow-y: scroll;
.map_bg {
......
......@@ -19,11 +19,11 @@ import HomePage from '@/pages/HomePage/HomePage.tsx';
import GiftPackPopup from '@/panels/GiftPackPopup/index.jsx';
const cities = [
{ spId: 'sp_landmark1', name: '北京', icon: '../src/assets/victoryPopup/cities_sp_landmark1.png' },
{ spId: 'sp_landmark2', name: '西安', icon: '../src/assets/victoryPopup/cities_sp_landmark2.png' },
{ spId: 'sp_landmark3', name: '上海', icon: '../src/assets/victoryPopup/cities_sp_landmark3.png' },
{ spId: 'sp_landmark4', name: '杭州', icon: '../src/assets/victoryPopup/cities_sp_landmark4.png' },
{ spId: 'sp_landmark5', name: '成都', icon: '../src/assets/victoryPopup/cities_sp_landmark5.png' }
{ spId: 'sp_landmark1', name: '北京' },
{ spId: 'sp_landmark2', name: '西安' },
{ spId: 'sp_landmark3', name: '上海' },
{ spId: 'sp_landmark4', name: '杭州' },
{ spId: 'sp_landmark5', name: '成都' }
];
@observer
class VictoryPopup extends React.Component {
......@@ -55,7 +55,7 @@ class VictoryPopup extends React.Component {
<div className='vp_title'></div>
<div className='vp_ditu_txt'>{gotSpInfo.name}地图</div>
<div className='vp_guang'></div>
<div className='vp_xz_icon' style={{ backgroundImage: `url(${cities.find(city => city.spId === gotSpInfo.spId).icon})` }}></div>
<div className={'vp_xz_icon vp_xz_icon_' + gotSpInfo.spId}></div>
<div className='vp_cjjh_tips'>
<div>抽奖机会+{rewardDrawTimes}</div>
</div>
......
......@@ -11,7 +11,8 @@
background: #000;
opacity: 0.5;
}
.vp_bg{
.vp_bg {
position: absolute;
width: 100%;
height: auto;
......@@ -19,7 +20,8 @@
left: 0px;
.sparkBg("victoryPopup/title.png");
}
.vp_title{
.vp_title {
position: absolute;
width: 399px;
height: 57px;
......@@ -27,7 +29,8 @@
left: 174px;
.sparkBg("victoryPopup/title.png");
}
.vp_ditu_txt{
.vp_ditu_txt {
position: absolute;
width: 100%;
text-align: center;
......@@ -37,7 +40,8 @@
top: 74px;
left: 0px;
}
.vp_guang{
.vp_guang {
position: absolute;
width: 641px;
height: 580px;
......@@ -45,7 +49,8 @@
left: 55px;
.sparkBg("victoryPopup/guang.png");
}
.vp_xz_icon{
.vp_xz_icon {
position: absolute;
width: 287px;
height: 327px;
......@@ -54,7 +59,28 @@
background-size: 100% 100%;
// .sparkBg("victoryPopup/shanghai.png");
}
.vp_cjjh_tips{
.vp_xz_icon_sp_landmark1 {
.sparkBg("victoryPopup/cities_sp_landmark1.png");
}
.vp_xz_icon_sp_landmark2 {
.sparkBg("victoryPopup/cities_sp_landmark2.png");
}
.vp_xz_icon_sp_landmark3 {
.sparkBg("victoryPopup/cities_sp_landmark3.png");
}
.vp_xz_icon_sp_landmark4 {
.sparkBg("victoryPopup/cities_sp_landmark4.png");
}
.vp_xz_icon_sp_landmark5 {
.sparkBg("victoryPopup/cities_sp_landmark5.png");
}
.vp_cjjh_tips {
position: absolute;
width: 255px;
height: 73px;
......@@ -66,7 +92,8 @@
font-size: 30px;
color: #fff;
}
.vp_btn{
.vp_btn {
position: absolute;
width: 343px;
height: 106px;
......@@ -82,5 +109,5 @@
top: 870px;
position: absolute;
.sparkBg("victoryPopup/close.png");
}
}
}
\ No newline at end of file
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