Commit 88363f1f authored by XieChuanJin's avatar XieChuanJin

调试

parent f6bae9d1
......@@ -119,6 +119,7 @@ export class ShootPlanet extends engine.Container {
token: NetUtils.md5(this.startId.toString() + seq.toString() + score.toString() + "qzBankRPW@dui88")
}, () => {
this.constantSubmitSeq++;
console.error("submited", this.constantSubmitSeq);
this.needSubmitCount--;
this.isSubmiting = false;
......
......@@ -33,17 +33,83 @@
outline: 0px;
visibility: hidden;
}
/* 易盾css*/
.captcha {
display: none;
position: fixed;
z-index: 10000;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.6);
}
.captcha .neCaptcha-dialog {
background-color: #fff;
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;
left: 50%;
top: 45%;
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
width: 270px;
height: 134px;
}
.captcha .neCaptcha-dialog::after {
position: absolute;
content: '单次游戏结束,请拖动滑块提交分数';
width: 100%;
height: 30px;
top: -40px;
left: 0;
text-align: center;
line-height: 30px;
font-size: 16px;
color: #ffff00;
}
.captcha .neCaptcha-dialog::before {
background-color: #fff;
content: '';
display: block;
width: 280px;
height: 144px;
position: absolute;
top: -5px;
left: -5px;
z-index: -1;
}
</style>
</head>
<body>
<input type="number" id="inputNum">
<div id="$CONTAINER_ID$" style="line-height:0;font-size:0"></div>
<script src="//yun.duiba.com.cn/db_games/activity/md5/zepto_security_downloadApp.min.js"></script>
<script src="//yun.duiba.com.cn/db_games/activity/md5/security.js"></script>
<!-- 易盾js -->
<script type="text/javascript" src="//cstaticdun.126.net/load.min.js"></script>
<!-- <script>
var oHead = document.querySelector('body');
var oScript = document.createElement('script');
oScript.type = 'text/javascript';
oScript.src = '//yun.duiba.com.cn/webapp/js/vconsole.min.js';
oHead.appendChild(oScript);
oScript.onload = function () {
var vConsole = new VConsole();
}
</script> -->
<script
src="http://yun.duiba.com.cn/editor/zeroing/libs/engine.9a9dbfda4cb2dd5508ecddfe3d95dfd88063f7b5.js"></script>
src="http://yun.duiba.com.cn/editor/zeroing/libs/engine.413e65cb3aaee3651d4817eb1ea7c6a8732e0438.js"></script>
$SCRIPTS$
<script>
// engine.launch('//yun.duiba.com.cn/aurora/$VERSION$-data.json');
engine.launch('//yun.duiba.com.cn/aurora/$VERSION$-data.json');
</script>
</body>
......
// 获取指定名称的cookie
function getCookie(name) {
var strcookie = document.cookie;//获取cookie字符串
var arrcookie = strcookie.split("; ");//分割
//遍历匹配
for (var i = 0; i < arrcookie.length; i++) {
var arr = arrcookie[i].split("=");
if (arr[0] == name) {
return arr[1];
}
}
return "";
}
try {
const info = decodeURIComponent(getCookie("dcustom"));
console.error(info);
if (info.split("isConcern=")[1] && (info.split("isConcern=")[1].split("&")[0]) == "1") {
next("success");
} else {
next("failed");
}
let labelMsg = new engine.Label();
} catch (e) {
console.error(e);
if (typeof msg != "string") {
msg = typeof msg;
}
\ No newline at end of file
let errorMsg = args && ((args["desc"] || args["message"]) || ((args["code"] && "network error:" + args["code"]) || "network error")) || "network error";
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