Commit 0fa44eb4 authored by haiyoucuv's avatar haiyoucuv

整理一下代码

parent d2746184
import mobx from "mobx"; import mobx from "mobx";
import { sendWebNet, WebNetName } from "db://assets/Scripts/Utils/WebNet/WebNet"; import { sendWebNet, WebNetName } from "db://assets/Scripts/Utils/WebNet/WebNet";
import { showPanel } from "../Module/UIFast"; import { showPanel, showToast } from "../Module/UIFast";
import { GetRankPrizePanel } from "../Scripts/Panels/GetRankPrizePanel"; import { GetRankPrizePanel } from "../Scripts/Panels/GetRankPrizePanel";
import { NoGetRankPrizePanel } from "../Scripts/Panels/NoGetRankPrizePanel"; import { NoGetRankPrizePanel } from "../Scripts/Panels/NoGetRankPrizePanel";
import { GuidePrizePanel } from "../Scripts/Panels/GuidePrizePanel"; import { GuidePrizePanel } from "../Scripts/Panels/GuidePrizePanel";
...@@ -85,7 +85,7 @@ class Store { ...@@ -85,7 +85,7 @@ class Store {
} }
if (assistPopInfo) { if (assistPopInfo) {
showToast(`${assistPopInfo.newAssistNum}位好友为你助力~\n已获得${assistPopInfo.newChallengeNum}次挑战次数`);
} }
} }
......
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>套圈挑战赛</title> <title>套圈挑战赛</title>
<script id="monitorjs" src="//yun.duiba.com.cn/woodpecker/sdk/0.0.36/woodpecker_outer.js" ></script> <script id="monitorjs" src="//yun.duiba.com.cn/woodpecker/sdk/0.0.36/woodpecker_outer.js" ></script>
<script id="registerMonitor"> <script id="registerMonitor">
...@@ -18,114 +18,115 @@ ...@@ -18,114 +18,115 @@
console.error(e); console.error(e);
} }
</script> </script>
<!--http://www.html5rocks.com/en/mobile/mobifying/--> <!--http://www.html5rocks.com/en/mobile/mobifying/-->
<meta name="viewport" <meta name="viewport"
content="width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true"/> content="width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true"/>
<!--https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html--> <!--https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html-->
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="format-detection" content="telephone=no"> <meta name="format-detection" content="telephone=no">
<!-- force webkit on 360 --> <!-- force webkit on 360 -->
<meta name="renderer" content="webkit"/> <meta name="renderer" content="webkit"/>
<meta name="force-rendering" content="webkit"/> <meta name="force-rendering" content="webkit"/>
<!-- force edge on IE --> <!-- force edge on IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="msapplication-tap-highlight" content="no"> <meta name="msapplication-tap-highlight" content="no">
<!-- force full screen on some browser --> <!-- force full screen on some browser -->
<meta name="full-screen" content="yes"/> <meta name="full-screen" content="yes"/>
<meta name="x5-fullscreen" content="true"/> <meta name="x5-fullscreen" content="true"/>
<meta name="360-fullscreen" content="true"/> <meta name="360-fullscreen" content="true"/>
<!--fix fireball/issues/3568 --> <!--fix fireball/issues/3568 -->
<!--<meta name="browsermode" content="application">--> <!--<meta name="browsermode" content="application">-->
<meta name="x5-page-mode" content="app"> <meta name="x5-page-mode" content="app">
<!--<link rel="apple-touch-icon" href=".png" />--> <!--<link rel="apple-touch-icon" href=".png" />-->
<!--<link rel="apple-touch-icon-precomposed" href=".png" />--> <!--<link rel="apple-touch-icon-precomposed" href=".png" />-->
<script src="//yun.duiba.com.cn/h5/lib/zepto.min.js"></script> <script src="//yun.duiba.com.cn/h5/lib/zepto.min.js"></script>
<script src="//yun.duiba.com.cn/polaris/declare-process.edbd0793356569c4e3aa91ec7d0aebf5a7bd7364.js" crossorigin="anonymous"></script> <script src="//yun.duiba.com.cn/polaris/declare-process.edbd0793356569c4e3aa91ec7d0aebf5a7bd7364.js" crossorigin="anonymous"></script>
<script src="//yun.duiba.com.cn/polaris/SVGA.Lite.v2.1.1.d3a67cbc13c591c53c6f87ab34c57ce387010374.js" crossorigin="anonymous"></script> <script src="//yun.duiba.com.cn/polaris/SVGA.Lite.v2.1.1.d3a67cbc13c591c53c6f87ab34c57ce387010374.js" crossorigin="anonymous"></script>
<script src="//yun.duiba.com.cn/aurora/assets/2403d1edf2acd15b179306b6ddaa5f0967d78a8f.js"></script> <script src="//yun.duiba.com.cn/aurora/assets/2403d1edf2acd15b179306b6ddaa5f0967d78a8f.js"></script>
<link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1722308912753/style.css"/> <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1722333166441/style.css"/>
<style> <style>
.sui-captcha { .sui-captcha {
visibility: hidden; visibility: hidden;
position: fixed; position: fixed;
z-index: 10000; z-index: 10000;
top: 0; top: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
background-color: rgba(0, 0, 0, 0.7); background-color: rgba(0, 0, 0, 0.7);
/*.neCaptcha-dialog::after { /*.neCaptcha-dialog::after {
position: absolute; position: absolute;
content: '加载中…'; content: '加载中…';
width: 100%; width: 100%;
height: 30px; height: 30px;
top: -40px; top: -40px;
left: 0; left: 0;
text-align: center; text-align: center;
line-height: 30px; line-height: 30px;
font-size: 16px; font-size: 16px;
color: #ffff00; color: #ffff00;
}*/ }*/
} }
.neCaptcha-dialog { .neCaptcha-dialog {
visibility: hidden; visibility: hidden;
background-color: #fff; background-color: #fff;
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.35); box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.35);
-webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.35); -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.35);
position: absolute; position: absolute;
left: 50%; left: 50%;
top: 45%; top: 45%;
-moz-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%);
padding: 10px; padding: 10px;
min-width: 100px; min-width: 100px;
border-radius: 10px; border-radius: 10px;
width: 80%; width: 80%;
} }
</style> </style>
</head>
<body> </head>
<div id="GameDiv" cc_exact_fit_screen="true"> <body>
<div id="Cocos3dGameContainer"> <div id="GameDiv" cc_exact_fit_screen="true">
<canvas id="GameCanvas" oncontextmenu="event.preventDefault()" tabindex="99"></canvas> <div id="Cocos3dGameContainer">
</div> <canvas id="GameCanvas" oncontextmenu="event.preventDefault()" tabindex="99"></canvas>
</div> </div>
</div>
<script>
window.voucherPackUrl = "https://mobapp.czbank.com/life/voucherPack.html"; <script>
window.creditsUrl = "https://mobapp.czbank.com/homeChanels/credits.html"; window.voucherPackUrl = "https://mobapp.czbank.com/life/voucherPack.html";
</script> window.creditsUrl = "https://mobapp.czbank.com/homeChanels/credits.html";
</script>
<!-- Polyfills bundle. -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1722308912753/src/polyfills.bundle.js" charset="utf-8"></script> <!-- Polyfills bundle. -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1722333166441/src/polyfills.bundle.js" charset="utf-8"></script>
<!-- SystemJS support. -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1722308912753/src/system.bundle.js" charset="utf-8"></script> <!-- SystemJS support. -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1722333166441/src/system.bundle.js" charset="utf-8"></script>
<!-- Import map -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1722308912753/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script> <!-- Import map -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1722333166441/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>
<script>
System.import('//yun.duiba.com.cn/db_games/ccc_game/template3d/1722308912753/index.js').catch(function (err) { <script>
console.error(err); System.import('//yun.duiba.com.cn/db_games/ccc_game/template3d/1722333166441/index.js').catch(function (err) {
}) console.error(err);
</script> })
</script>
</body>
</html> </body>
</html>
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