Commit 2672774d authored by 张华挺's avatar 张华挺

sign

parent 39972171
This diff is collapsed.
This diff is collapsed.
{"file":"blood.png","frames":{
"blood体力补济站_png":{"x":1,"y":1,"w":734,"h":992,"offX":0,"offY":0,"sourceW":734,"sourceH":992},
"blood按钮_png":{"x":1,"y":995,"w":345,"h":131,"offX":0,"offY":0,"sourceW":345,"sourceH":131},
"blood按钮 副本1_png":{"x":737,"y":80,"w":190,"h":77,"offX":0,"offY":0,"sourceW":190,"sourceH":77},
"blood按钮 副本_png":{"x":737,"y":159,"w":190,"h":72,"offX":0,"offY":0,"sourceW":190,"sourceH":72},
"blood去分享_png":{"x":737,"y":1,"w":190,"h":77,"offX":0,"offY":0,"sourceW":190,"sourceH":77}}}
\ No newline at end of file
{"file":"blood2.png","frames":{
"blood2按钮 副本1_png":{"x":193,"y":899,"w":190,"h":77,"offX":0,"offY":0,"sourceW":190,"sourceH":77},
"blood2按钮 副本_png":{"x":385,"y":899,"w":190,"h":72,"offX":0,"offY":0,"sourceW":190,"sourceH":72},
"blood2_png":{"x":1,"y":1,"w":735,"h":896,"offX":0,"offY":0,"sourceW":735,"sourceH":896},
"blood2去分享按钮_png":{"x":1,"y":899,"w":190,"h":77,"offX":0,"offY":0,"sourceW":190,"sourceH":77}}}
\ No newline at end of file
{"file":"box.png","frames":{
"boxbg_png":{"x":1,"y":1,"w":638,"h":636,"offX":0,"offY":0,"sourceW":638,"sourceH":636}}}
\ No newline at end of file
{"file":"box2.png","frames":{
"box2_bg_png":{"x":1,"y":1,"w":639,"h":766,"offX":0,"offY":0,"sourceW":639,"sourceH":766}}}
\ No newline at end of file
{"file":"buy1.png","frames":{
"购买锤子_png":{"x":1,"y":1,"w":638,"h":622,"offX":0,"offY":0,"sourceW":638,"sourceH":622}}}
\ No newline at end of file
{"file":"buy2.png","frames":{
"购买炸弹_png":{"x":1,"y":1,"w":638,"h":622,"offX":0,"offY":0,"sourceW":638,"sourceH":622}}}
\ No newline at end of file
{"file":"buy3.png","frames":{
"购买步数增加_png":{"x":1,"y":1,"w":638,"h":622,"offX":0,"offY":0,"sourceW":638,"sourceH":622}}}
\ No newline at end of file
...@@ -2965,6 +2965,16 @@ ...@@ -2965,6 +2965,16 @@
"type": "image", "type": "image",
"name": "chongxinchuangguan3_png" "name": "chongxinchuangguan3_png"
}, },
{
"url": "assets/faild/chongxinchuangguan4.png",
"type": "image",
"name": "chongxinchuangguan4_png"
},
{
"url": "assets/faild/chongxinchuangguan5.png",
"type": "image",
"name": "chongxinchuangguan5_png"
},
{ {
"url": "assets/map/newVideoIcon.json", "url": "assets/map/newVideoIcon.json",
"type": "json", "type": "json",
......
This diff is collapsed.
...@@ -35,6 +35,19 @@ ...@@ -35,6 +35,19 @@
font-family: "FZY4JW"; font-family: "FZY4JW";
src: url("https://yun.duiba.com.cn/db_games/FZY4JW.TTF"); src: url("https://yun.duiba.com.cn/db_games/FZY4JW.TTF");
} }
#shortLink-wrap {
width: 100vw;
height: 100vh;
position: fixed;
overflow: hidden;
z-index: 10001;
display: none;
left:0;
top: 0;
}
#shortLink-wrap #myiframe{
background-color: transparent !important;
}
</style> </style>
</head> </head>
...@@ -55,7 +68,8 @@ ...@@ -55,7 +68,8 @@
<script src="libs/svga.egret.min2.js"></script> <script src="libs/svga.egret.min2.js"></script>
<script src="libs/aes.js"></script> <script src="libs/aes.js"></script>
<script src="libs/pad-zeropadding.js"></script> <script src="libs/pad-zeropadding.js"></script>
<script src="https://yun.tuisnake.com/h5-mami/inspire/v1.3/inspire.min.js"></script> <script src="https://yun.tuisnake.com/h5-mami/inspire/v1.3.3/inspire.min.js"></script>
<script src="https://yun.dui88.com/h5-mami/test/testShortLink.js"></script>
<!-- //线上不需要 --> <!-- //线上不需要 -->
<script src="libs/fileSave.js"></script> <script src="libs/fileSave.js"></script>
...@@ -155,6 +169,7 @@ ...@@ -155,6 +169,7 @@
</script> </script>
<div id="video-contanier"></div> <div id="video-contanier"></div>
<div id="shortLink-wrap"></div>
<script src="output.js"></script> <script src="output.js"></script>
</body> </body>
......
...@@ -2965,6 +2965,16 @@ ...@@ -2965,6 +2965,16 @@
"type": "image", "type": "image",
"name": "chongxinchuangguan3_png" "name": "chongxinchuangguan3_png"
}, },
{
"url": "assets/faild/chongxinchuangguan4.png",
"type": "image",
"name": "chongxinchuangguan4_png"
},
{
"url": "assets/faild/chongxinchuangguan5.png",
"type": "image",
"name": "chongxinchuangguan5_png"
},
{ {
"url": "assets/map/newVideoIcon.json", "url": "assets/map/newVideoIcon.json",
"type": "json", "type": "json",
......
...@@ -11,7 +11,25 @@ ...@@ -11,7 +11,25 @@
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="againBtn3" label="" y="736" horizontalCenter="0"> <e:Button id="againBtn5" label="" y="736" horizontalCenter="0">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="chongxinchuangguan5_png" source.down="chongxinchuangguan5_png" source.disabled="chongxinchuangguan5_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin>
</e:skinName>
</e:Button>
<e:Button id="againBtn4" label="" y="736" horizontalCenter="0" visible="false">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="chongxinchuangguan4_png" source.down="chongxinchuangguan4_png" source.disabled="chongxinchuangguan4_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin>
</e:skinName>
</e:Button>
<e:Button id="againBtn3" label="" y="736" horizontalCenter="0" visible="false">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="chongxinchuangguan3_png" source.down="chongxinchuangguan3_png" source.disabled="chongxinchuangguan3_png"/> <e:Image width="100%" height="100%" source="chongxinchuangguan3_png" source.down="chongxinchuangguan3_png" source.disabled="chongxinchuangguan3_png"/>
......
...@@ -55,7 +55,7 @@ export default class FailedPanel extends Panel { ...@@ -55,7 +55,7 @@ export default class FailedPanel extends Panel {
const fileConfigData = configDetData.filter(item => item.id === 3) const fileConfigData = configDetData.filter(item => item.id === 3)
if (fileConfigData.length && fileConfigData[0].index === 0) { if (fileConfigData.length && fileConfigData[0].index === 0) {
// 增加重新闯关倒计时 // 增加重新闯关倒计时
let time = 3 let time = 5
let againTimer = setInterval(() => { let againTimer = setInterval(() => {
time-- time--
if (time > 0) { if (time > 0) {
...@@ -65,13 +65,13 @@ export default class FailedPanel extends Panel { ...@@ -65,13 +65,13 @@ export default class FailedPanel extends Panel {
this['againBtn1'].visible = false this['againBtn1'].visible = false
this['againBtn'].visible = true this['againBtn'].visible = true
clearInterval(againTimer) clearInterval(againTimer)
time = 3 time = 5
} }
}, 1000) }, 1000)
} else { } else {
// 对照组,不加倒计时 // 对照组,不加倒计时
this['againBtn'].visible = true this['againBtn'].visible = true
this['againBtn3'].visible = false this['againBtn5'].visible = false
} }
} }
......
...@@ -65,14 +65,33 @@ export default class SignPanel extends Panel { ...@@ -65,14 +65,33 @@ export default class SignPanel extends Panel {
const configDetData = configData.data.list ? configData.data.list : configData.data const configDetData = configData.data.list ? configData.data.list : configData.data
let signConfigData = configDetData.filter(item => item.id === 6) let signConfigData = configDetData.filter(item => item.id === 6)
if (signConfigData.length && signConfigData[0].index === 1) { if (signConfigData.length && signConfigData[0].index === 1) {
if (window['bridge']) { let isReward = false
window['bridge']["showGamerAd"] && window['bridge']["showGamerAd"](window["TASignScreen"], 4) document.querySelector('#shortLink-wrap')['style'].display = 'block'
} window["Tsdk"].init({
window["finishScreenShowSignPrize"] = () => { appKey: '4CT6aUFZovy6uXj3nrfadwuX7t7L',
PanelCtrl.instance.addToShowPanels('signPrize') slotId: '328703',
} dom: '#shortLink-wrap',
deviceId: window["CFG"].uid,
userId: window["CFG"].uid,
onReward: () => {
isReward = true
},
onClose: () => {
document.querySelector('#shortLink-wrap')['style'].display = 'none'
if (!isReward) return
isReward = false
PanelCtrl.instance.show('signPrize')
NetManager.ins.getIncentiveAward(() => {
showToast("翻倍成功");
NetManager.ins.hc_home(() => {
updateMainTimer();
SceneCtrl.instance.updateScene();
}, window['collectRuleId']);
}, 21)
}
})
} else { } else {
PanelCtrl.instance.addToShowPanels('signPrize'); PanelCtrl.instance.show('signPrize');
} }
wait(200).then(()=>{ wait(200).then(()=>{
NetManager.ins.hc_home(() => { NetManager.ins.hc_home(() => {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
}, },
{ {
"id":3, "id":3,
"index":1 "index":0
}, },
{ {
"id":5, "id":5,
......
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