Commit 3bb95d77 authored by wildfirecode's avatar wildfirecode

1

parent 358a131f
...@@ -171,7 +171,13 @@ export default class SceneStart extends ScillaComponent implements INavigatorVie ...@@ -171,7 +171,13 @@ export default class SceneStart extends ScillaComponent implements INavigatorVie
this.startbtn.getComponent(Button).enabled = true; this.startbtn.getComponent(Button).enabled = true;
this.updateCountTxtFromDojoin(); this.updateCountTxtFromDojoin();
setTimeout(() => { setTimeout(() => {
if (localStorage.getItem('yylguide')) {
this.bubbling('fuck', 'play');
} else {
this.bubbling('fuck', 'guide'); this.bubbling('fuck', 'guide');
localStorage.setItem('yylguide', '1')
}
}, 50); }, 50);
} }
......
assets/sheets/prize.sht/prizebg.png

78.5 KB | W: | H:

assets/sheets/prize.sht/prizebg.png

76.4 KB | W: | H:

assets/sheets/prize.sht/prizebg.png
assets/sheets/prize.sht/prizebg.png
assets/sheets/prize.sht/prizebg.png
assets/sheets/prize.sht/prizebg.png
  • 2-up
  • Swipe
  • Onion skin
assets/singles/alertbg.png

77.8 KB | W: | H:

assets/singles/alertbg.png

76.1 KB | W: | H:

assets/singles/alertbg.png
assets/singles/alertbg.png
assets/singles/alertbg.png
assets/singles/alertbg.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -7204,7 +7204,6 @@ ...@@ -7204,7 +7204,6 @@
} }
ScenePlay.prototype.onAwake = function () { ScenePlay.prototype.onAwake = function () {
var _this_1 = this; var _this_1 = this;
setInterval(function () { add(); }, 5000);
_super.prototype.onAwake.call(this); _super.prototype.onAwake.call(this);
this.showBox1(); this.showBox1();
this.initText(); this.initText();
...@@ -7710,7 +7709,7 @@ ...@@ -7710,7 +7709,7 @@
}; };
ScoreDialogContent.prototype.setup = function (data) { ScoreDialogContent.prototype.setup = function (data) {
if (data === void 0) { data = {}; } if (data === void 0) { data = {}; }
setText$1(this.content, "\u606D\u559C\u4F60\u5171\u6447\u51FA" + data + "\u9897\u7CD6\u679C"); setText$1(this.content, "\u606D\u559C\u4F60\u5171\u6447\u51FA" + data + "\u4E2A\u798F");
}; };
ScoreDialogContent.prototype.onTapCloseButton = function () { ScoreDialogContent.prototype.onTapCloseButton = function () {
_super.prototype.onTapCloseButton.call(this); _super.prototype.onTapCloseButton.call(this);
...@@ -7865,7 +7864,13 @@ ...@@ -7865,7 +7864,13 @@
this.startbtn.getComponent(Button).enabled = true; this.startbtn.getComponent(Button).enabled = true;
this.updateCountTxtFromDojoin(); this.updateCountTxtFromDojoin();
setTimeout(function () { setTimeout(function () {
if (localStorage.getItem('yylguide')) {
_this.bubbling('fuck', 'play');
}
else {
_this.bubbling('fuck', 'guide'); _this.bubbling('fuck', 'guide');
localStorage.setItem('yylguide', '1');
}
}, 50); }, 50);
}; };
SceneStart.prototype.onGotDojoinError = function (error) { SceneStart.prototype.onGotDojoinError = function (error) {
......
This diff is collapsed.
...@@ -9,10 +9,10 @@ ...@@ -9,10 +9,10 @@
<div id="gameContainer" style="width: 100%;height: 100%;overflow: hidden;"></div> <div id="gameContainer" style="width: 100%;height: 100%;overflow: hidden;"></div>
<script src="//yun.duiba.com.cn/db_games/zepto.min.js"></script> <script src="//yun.duiba.com.cn/db_games/zepto.min.js"></script>
<script src="//yun.duiba.com.cn/db_games/security.js"></script> <script src="//yun.duiba.com.cn/db_games/security.js"></script>
<script src="//yun.duiba.com.cn/db_games/1562827033/bundle.js"></script> <script src="//yun.duiba.com.cn/db_games/1563183318/bundle.js"></script>
<script> setTimeout(function () { <script> setTimeout(function () {
var loadingEl = document.getElementById('loading'); function onProcess(p) { if (p >= 1) { loadingEl.style.display = 'none'; } } var loadingEl = document.getElementById('loading'); function onProcess(p) { if (p >= 1) { loadingEl.style.display = 'none'; } }
var options = { resPath: "//yun.duiba.com.cn/db_games/1562827033/" }; window['shuijf'].startup(document.getElementById('gameContainer'), options, onProcess); var options = { resPath: "//yun.duiba.com.cn/db_games/1563183318/" }; window['shuijf'].startup(document.getElementById('gameContainer'), options, onProcess);
}, 100); }, 100);
window['COUNT_DOWN_SEC'] = 10; window['COUNT_DOWN_SEC'] = 10;
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
} }
</style> </style>
<audio id="bgmusic" src="//yun.duiba.com.cn/db_games/yaoyaole.mp3" autoplay preload loop></audio> <audio id="bgmusic" src="//yun.duiba.com.cn/db_games/yyl2.mp3" autoplay preload loop></audio>
<!-- 当使用方法1时必须加载 JS-SDK 的 JS 文件, 方法2不需要加载这个 JS --> <!-- 当使用方法1时必须加载 JS-SDK 的 JS 文件, 方法2不需要加载这个 JS -->
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script> <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script> <script>
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<script src="./security.js"></script> <script src="./security.js"></script>
<script src="debug/bundle.js"></script> <script src="debug/bundle.js"></script>
<script> <script>
window['COUNT_DOWN_SEC'] = 12; window['COUNT_DOWN_SEC'] = 3;
var CFG = { "startTime": 1561523400000, "endTime": 1561554000000, "weddingId": 1, "freeLimit": 1234, "weixinUid": "", "activityId": "3", "nickname": "", "activity": { "activityType": 4, "brickId": 5, "drawStatus": 0, "id": 3, "joinLimit": 100, "prizeList": [{ "activityId": 3, "id": 5, "prizeCount": 5, "prizeImage": "//yun.duiba.com.cn/db_games/3.jpg", "prizeName": "喜糖摇摇乐奖品1", "prizeRemain": 0, "prizeType": 1, "weddingId": 1 }, { "activityId": 3, "id": 6, "prizeCount": 5, "prizeImage": "//yun.duiba.com.cn/upload/uP99F1462438316972.png", "prizeName": "喜糖摇摇乐奖品2", "prizeRemain": 1, "prizeType": 2, "weddingId": 1 }], "rankEndTime": 1561550400000, "weddingId": 1 } }; var CFG = { "startTime": 1561523400000, "endTime": 1561554000000, "weddingId": 1, "freeLimit": 1234, "weixinUid": "", "activityId": "3", "nickname": "", "activity": { "activityType": 4, "brickId": 5, "drawStatus": 0, "id": 3, "joinLimit": 100, "prizeList": [{ "activityId": 3, "id": 5, "prizeCount": 5, "prizeImage": "//yun.duiba.com.cn/db_games/3.jpg", "prizeName": "喜糖摇摇乐奖品1", "prizeRemain": 0, "prizeType": 1, "weddingId": 1 }, { "activityId": 3, "id": 6, "prizeCount": 5, "prizeImage": "//yun.duiba.com.cn/upload/uP99F1462438316972.png", "prizeName": "喜糖摇摇乐奖品2", "prizeRemain": 1, "prizeType": 2, "weddingId": 1 }], "rankEndTime": 1561550400000, "weddingId": 1 } };
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
"avatar": "nickName", "avatar": "nickName",
"score": 1, "score": 1,
"rank": "未上榜", "rank": "未上榜",
"prizeType": 1, "prizeType": 5,
"list": [] "list": []
} }
} }
\ 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