Commit df58f832 authored by haiyoucuv's avatar haiyoucuv

整理一下代码

parent 66c2c4bb
...@@ -57,7 +57,7 @@ export class TaskItem extends ScrollListItem { ...@@ -57,7 +57,7 @@ export class TaskItem extends ScrollListItem {
} else if (code === "bank_2202") { } else if (code === "bank_2202") {
const descObj = desc ? JSON.parse(desc) : {}; const descObj = desc ? JSON.parse(desc) : {};
const t = descObj?.progressAmount || 0; const t = descObj?.progressAmount || 0;
this.title.string = strFormat(`${title}(${~~(t / 1000)}/10)`, 30); this.title.string = strFormat(`${title}(${~~(t / 1000)}/${intervalLimitSize})`, 30);
this.subTitle.string = strFormat(`累计已提升金额:${t}元`, 38); this.subTitle.string = strFormat(`累计已提升金额:${t}元`, 38);
} else { } else {
this.title.string = strFormat(title, 24); this.title.string = strFormat(title, 24);
......
<!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="registerMonitor"> <!--http://www.html5rocks.com/en/mobile/mobifying/-->
// 烽火台注入前端监控脚本,请勿修改 <meta name="viewport"
try { content="width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true"/>
woodpecker.setConfig({
projectId: "p7bdf2f84", <!--https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html-->
developer: [ <meta name="apple-mobile-web-app-capable" content="yes">
"fa17c4667c62b5ba014f382c0802a462" <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
], <meta name="format-detection" content="telephone=no">
});
} catch (e) { <!-- force webkit on 360 -->
console.error(e); <meta name="renderer" content="webkit"/>
} <meta name="force-rendering" content="webkit"/>
</script> <!-- force edge on IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="msapplication-tap-highlight" content="no">
<!--http://www.html5rocks.com/en/mobile/mobifying/-->
<meta name="viewport" <!-- force full screen on some browser -->
content="width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true"/> <meta name="full-screen" content="yes"/>
<meta name="x5-fullscreen" content="true"/>
<!--https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html--> <meta name="360-fullscreen" content="true"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <!--fix fireball/issues/3568 -->
<meta name="format-detection" content="telephone=no"> <!--<meta name="browsermode" content="application">-->
<meta name="x5-page-mode" content="app">
<!-- force webkit on 360 -->
<meta name="renderer" content="webkit"/> <!--<link rel="apple-touch-icon" href=".png" />-->
<meta name="force-rendering" content="webkit"/> <!--<link rel="apple-touch-icon-precomposed" href=".png" />-->
<!-- force edge on IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <script src="//yun.duiba.com.cn/h5/lib/zepto.min.js"></script>
<meta name="msapplication-tap-highlight" content="no">
<script src="//yun.duiba.com.cn/polaris/declare-process.edbd0793356569c4e3aa91ec7d0aebf5a7bd7364.js" crossorigin="anonymous"></script>
<!-- force full screen on some browser --> <script src="//yun.duiba.com.cn/polaris/SVGA.Lite.v2.1.1.d3a67cbc13c591c53c6f87ab34c57ce387010374.js" crossorigin="anonymous"></script>
<meta name="full-screen" content="yes"/> <script src="//yun.duiba.com.cn/aurora/assets/2403d1edf2acd15b179306b6ddaa5f0967d78a8f.js"></script>
<meta name="x5-fullscreen" content="true"/>
<meta name="360-fullscreen" content="true"/> <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1721979133810/style.css"/>
<!--fix fireball/issues/3568 --> <style>
<!--<meta name="browsermode" content="application">--> .sui-captcha {
<meta name="x5-page-mode" content="app"> visibility: hidden;
position: fixed;
<!--<link rel="apple-touch-icon" href=".png" />--> z-index: 10000;
<!--<link rel="apple-touch-icon-precomposed" href=".png" />--> top: 0;
right: 0;
<script src="//yun.duiba.com.cn/h5/lib/zepto.min.js"></script> bottom: 0;
left: 0;
<script src="//yun.duiba.com.cn/polaris/declare-process.edbd0793356569c4e3aa91ec7d0aebf5a7bd7364.js" crossorigin="anonymous"></script> background-color: rgba(0, 0, 0, 0.7);
<script src="//yun.duiba.com.cn/polaris/SVGA.Lite.v2.1.1.d3a67cbc13c591c53c6f87ab34c57ce387010374.js" crossorigin="anonymous"></script> /*.neCaptcha-dialog::after {
<script src="//yun.duiba.com.cn/aurora/assets/2403d1edf2acd15b179306b6ddaa5f0967d78a8f.js"></script> position: absolute;
content: '加载中…';
<link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1721960744877/style.css"/> width: 100%;
height: 30px;
<style> top: -40px;
.sui-captcha { left: 0;
visibility: hidden; text-align: center;
position: fixed; line-height: 30px;
z-index: 10000; font-size: 16px;
top: 0; color: #ffff00;
right: 0; }*/
bottom: 0; }
left: 0;
background-color: rgba(0, 0, 0, 0.7); .neCaptcha-dialog {
/*.neCaptcha-dialog::after { visibility: hidden;
position: absolute; background-color: #fff;
content: '加载中…'; box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.35);
width: 100%; -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.35);
height: 30px; position: absolute;
top: -40px; left: 50%;
left: 0; top: 45%;
text-align: center; -moz-transform: translate(-50%, -50%);
line-height: 30px; -ms-transform: translate(-50%, -50%);
font-size: 16px; -o-transform: translate(-50%, -50%);
color: #ffff00; transform: translate(-50%, -50%);
}*/ -webkit-transform: translate(-50%, -50%);
} padding: 10px;
min-width: 100px;
.neCaptcha-dialog { border-radius: 10px;
visibility: hidden; width: 80%;
background-color: #fff; }
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.35); </style>
-webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.35);
position: absolute; </head>
left: 50%; <body>
top: 45%; <div id="GameDiv" cc_exact_fit_screen="true">
-moz-transform: translate(-50%, -50%); <div id="Cocos3dGameContainer">
-ms-transform: translate(-50%, -50%); <canvas id="GameCanvas" oncontextmenu="event.preventDefault()" tabindex="99"></canvas>
-o-transform: translate(-50%, -50%); </div>
transform: translate(-50%, -50%); </div>
-webkit-transform: translate(-50%, -50%);
padding: 10px; <script>
min-width: 100px; window.voucherPackUrl = "https://mobapp.czbank.com/life/voucherPack.html";
border-radius: 10px; </script>
width: 80%;
} <!-- Polyfills bundle. -->
</style> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1721979133810/src/polyfills.bundle.js" charset="utf-8"></script>
</head>
<body> <!-- SystemJS support. -->
<div id="GameDiv" cc_exact_fit_screen="true"> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1721979133810/src/system.bundle.js" charset="utf-8"></script>
<div id="Cocos3dGameContainer">
<canvas id="GameCanvas" oncontextmenu="event.preventDefault()" tabindex="99"></canvas> <!-- Import map -->
</div> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1721979133810/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>
</div>
<script>
<script> System.import('//yun.duiba.com.cn/db_games/ccc_game/template3d/1721979133810/index.js').catch(function (err) {
window.voucherPackUrl = "https://mobapp.czbank.com/life/voucherPack.html"; console.error(err);
</script> })
</script>
<!-- Polyfills bundle. -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1721960744877/src/polyfills.bundle.js" charset="utf-8"></script> </body>
</html>
<!-- SystemJS support. -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1721960744877/src/system.bundle.js" charset="utf-8"></script>
<!-- Import map -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1721960744877/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>
<script>
System.import('//yun.duiba.com.cn/db_games/ccc_game/template3d/1721960744877/index.js').catch(function (err) {
console.error(err);
})
</script>
</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