|
@@ -114,7 +114,7 @@ function handleComplete(evt, comp) {
|
|
exportRoot.plate.hsr_icon3.alpha = 1;
|
|
exportRoot.plate.hsr_icon3.alpha = 1;
|
|
exportRoot.plate.hsr_icon4.alpha = 1;
|
|
exportRoot.plate.hsr_icon4.alpha = 1;
|
|
cutDishArr = hsr_iconArr;
|
|
cutDishArr = hsr_iconArr;
|
|
- //$('#poster').attr('src','./img/poster/hsr.png');
|
|
|
|
|
|
+ $('#poster').attr('src','./img/poster/hsr.png');
|
|
}else if(dishIndex == 1){
|
|
}else if(dishIndex == 1){
|
|
exportRoot.plate.qcdf_icon1.alpha = 1;
|
|
exportRoot.plate.qcdf_icon1.alpha = 1;
|
|
exportRoot.plate.qcdf_icon2.alpha = 1;
|
|
exportRoot.plate.qcdf_icon2.alpha = 1;
|
|
@@ -122,19 +122,19 @@ function handleComplete(evt, comp) {
|
|
exportRoot.plate.qcdf_icon4.alpha = 1;
|
|
exportRoot.plate.qcdf_icon4.alpha = 1;
|
|
exportRoot.plate.qcdf_icon5.alpha = 1;
|
|
exportRoot.plate.qcdf_icon5.alpha = 1;
|
|
cutDishArr = qcdf_iconArr;
|
|
cutDishArr = qcdf_iconArr;
|
|
- //$('#poster').attr('src','./img/poster/qcdf.png');
|
|
|
|
|
|
+ $('#poster').attr('src','./img/poster/qcdf.png');
|
|
}else if(dishIndex == 2){
|
|
}else if(dishIndex == 2){
|
|
exportRoot.plate.swy_icon1.alpha = 1;
|
|
exportRoot.plate.swy_icon1.alpha = 1;
|
|
exportRoot.plate.swy_icon2.alpha = 1;
|
|
exportRoot.plate.swy_icon2.alpha = 1;
|
|
cutDishArr = swy_iconArr;
|
|
cutDishArr = swy_iconArr;
|
|
- //$('#poster').attr('src','./img/poster/swy.png');
|
|
|
|
|
|
+ $('#poster').attr('src','./img/poster/swy.png');
|
|
}else{
|
|
}else{
|
|
exportRoot.plate.ymc_icon1.alpha = 1;
|
|
exportRoot.plate.ymc_icon1.alpha = 1;
|
|
exportRoot.plate.ymc_icon2.alpha = 1;
|
|
exportRoot.plate.ymc_icon2.alpha = 1;
|
|
exportRoot.plate.ymc_icon3.alpha = 1;
|
|
exportRoot.plate.ymc_icon3.alpha = 1;
|
|
exportRoot.plate.ymc_icon4.alpha = 1;
|
|
exportRoot.plate.ymc_icon4.alpha = 1;
|
|
cutDishArr = ymc_iconArr;
|
|
cutDishArr = ymc_iconArr;
|
|
- //$('#poster').attr('src','./img/poster/ymc.png');
|
|
|
|
|
|
+ $('#poster').attr('src','./img/poster/ymc.png');
|
|
}
|
|
}
|
|
})
|
|
})
|
|
$(".replay-btn").on("click",function(){
|
|
$(".replay-btn").on("click",function(){
|
|
@@ -537,7 +537,7 @@ function handleComplete(evt, comp) {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
})
|
|
})
|
|
exportRoot.btn2.addEventListener("mousedown", function() {
|
|
exportRoot.btn2.addEventListener("mousedown", function() {
|
|
exportRoot.btn2.removeAllEventListeners();
|
|
exportRoot.btn2.removeAllEventListeners();
|
|
@@ -556,6 +556,7 @@ function handleComplete(evt, comp) {
|
|
exportRoot.blackboard.material3.removeAllEventListeners();
|
|
exportRoot.blackboard.material3.removeAllEventListeners();
|
|
chooseType = 3;
|
|
chooseType = 3;
|
|
$(".poster-mode").addClass("poster-bg3");
|
|
$(".poster-mode").addClass("poster-bg3");
|
|
|
|
+ exportRoot.ball1.alpha = 1;
|
|
if(dishIndex == 0){
|
|
if(dishIndex == 0){
|
|
$('#poster').attr('src','./img/poster/hsr_lv.png');
|
|
$('#poster').attr('src','./img/poster/hsr_lv.png');
|
|
}else if(dishIndex == 1){
|
|
}else if(dishIndex == 1){
|
|
@@ -570,7 +571,7 @@ function handleComplete(evt, comp) {
|
|
exportRoot.blackboard.material1.y -=180;
|
|
exportRoot.blackboard.material1.y -=180;
|
|
// $(".shake-mode").show();
|
|
// $(".shake-mode").show();
|
|
setTimeout(function(){ shakeInit(); }, 3000);
|
|
setTimeout(function(){ shakeInit(); }, 3000);
|
|
-
|
|
|
|
|
|
+
|
|
});
|
|
});
|
|
})
|
|
})
|
|
exportRoot.blackboard.material2.addEventListener("mousedown", function() {
|
|
exportRoot.blackboard.material2.addEventListener("mousedown", function() {
|
|
@@ -579,6 +580,8 @@ function handleComplete(evt, comp) {
|
|
exportRoot.blackboard.material3.removeAllEventListeners();
|
|
exportRoot.blackboard.material3.removeAllEventListeners();
|
|
chooseType = 2;
|
|
chooseType = 2;
|
|
$(".poster-mode").addClass("poster-bg2");
|
|
$(".poster-mode").addClass("poster-bg2");
|
|
|
|
+ exportRoot.ball1.gotoAndStop(1);
|
|
|
|
+ exportRoot.ball1.alpha = 1;
|
|
if(dishIndex == 0){
|
|
if(dishIndex == 0){
|
|
$('#poster').attr('src','./img/poster/hsr_hei.png');
|
|
$('#poster').attr('src','./img/poster/hsr_hei.png');
|
|
}else if(dishIndex == 1){
|
|
}else if(dishIndex == 1){
|
|
@@ -601,6 +604,8 @@ function handleComplete(evt, comp) {
|
|
exportRoot.blackboard.material3.removeAllEventListeners();
|
|
exportRoot.blackboard.material3.removeAllEventListeners();
|
|
chooseType = 1;
|
|
chooseType = 1;
|
|
$(".poster-mode").addClass("poster-bg1");
|
|
$(".poster-mode").addClass("poster-bg1");
|
|
|
|
+ exportRoot.ball1.gotoAndStop(2);
|
|
|
|
+ exportRoot.ball1.alpha = 1;
|
|
if(dishIndex == 0){
|
|
if(dishIndex == 0){
|
|
$('#poster').attr('src','./img/poster/hsr_fen.png');
|
|
$('#poster').attr('src','./img/poster/hsr_fen.png');
|
|
}else if(dishIndex == 1){
|
|
}else if(dishIndex == 1){
|
|
@@ -732,8 +737,6 @@ function handleComplete(evt, comp) {
|
|
}
|
|
}
|
|
//dosomething
|
|
//dosomething
|
|
$("#fire").addClass("anim-time");
|
|
$("#fire").addClass("anim-time");
|
|
- $(".shake-dialog .icon").hide();
|
|
|
|
- $(".shake-dialog .txt").hide();
|
|
|
|
}else{
|
|
}else{
|
|
$("#fire").removeClass("anim-time");
|
|
$("#fire").removeClass("anim-time");
|
|
}
|
|
}
|
|
@@ -791,7 +794,7 @@ function getInfo() {
|
|
+"scope=snsapi_userinfo&"//snsapi_userinfo
|
|
+"scope=snsapi_userinfo&"//snsapi_userinfo
|
|
+"state=1#wechat_redirect";
|
|
+"state=1#wechat_redirect";
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
if(URLParams['uid']) {
|
|
if(URLParams['uid']) {
|
|
@@ -859,10 +862,10 @@ function getInfo() {
|
|
$('.secret-btn').show();
|
|
$('.secret-btn').show();
|
|
|
|
|
|
init();
|
|
init();
|
|
- if (isMobile) {
|
|
|
|
|
|
+ if (isMobile && !window.ifDebug) {
|
|
getMsg();
|
|
getMsg();
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
@@ -1030,7 +1033,7 @@ function saveText() {
|
|
// wx.error(function(res){
|
|
// wx.error(function(res){
|
|
// console.log(res);
|
|
// console.log(res);
|
|
// });
|
|
// });
|
|
-// };
|
|
|
|
|
|
+// };
|
|
// });
|
|
// });
|
|
//if(type == 1) {
|
|
//if(type == 1) {
|
|
// setTimeout(function(){
|
|
// setTimeout(function(){
|