|
@@ -485,6 +485,8 @@ function handleComplete(evt, comp) {
|
|
menuIconInAnim(exportRoot.pot.qcdf);
|
|
menuIconInAnim(exportRoot.pot.qcdf);
|
|
}else if(dishIndex == 3){
|
|
}else if(dishIndex == 3){
|
|
menuIconInAnim(exportRoot.pot.ymc);
|
|
menuIconInAnim(exportRoot.pot.ymc);
|
|
|
|
+ }else{
|
|
|
|
+ exportRoot.btn2.alpha = 1;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
})
|
|
})
|
|
@@ -607,6 +609,7 @@ function handleComplete(evt, comp) {
|
|
var speed = Math.abs(x + y + z - last_x - last_y - last_z) / diffTime * 10000;
|
|
var speed = Math.abs(x + y + z - last_x - last_y - last_z) / diffTime * 10000;
|
|
if (speed > SHAKE_THRESHOLD) {
|
|
if (speed > SHAKE_THRESHOLD) {
|
|
$(".shake-mode2").hide();
|
|
$(".shake-mode2").hide();
|
|
|
|
+ $(".shake-mode").show();
|
|
shake_cnt++;
|
|
shake_cnt++;
|
|
if(shake_cnt>2){
|
|
if(shake_cnt>2){
|
|
setTimeout(function(){
|
|
setTimeout(function(){
|
|
@@ -636,7 +639,7 @@ function handleComplete(evt, comp) {
|
|
exportRoot.pot.ymc.gotoAndStop(1);
|
|
exportRoot.pot.ymc.gotoAndStop(1);
|
|
}
|
|
}
|
|
$(".shake-mode").fadeOut();
|
|
$(".shake-mode").fadeOut();
|
|
- exportRoot.btn3.removeAllEventListeners();
|
|
|
|
|
|
+ // exportRoot.btn3.removeAllEventListeners();
|
|
$(".poster-mode").fadeIn();
|
|
$(".poster-mode").fadeIn();
|
|
},3000)
|
|
},3000)
|
|
|
|
|
|
@@ -652,8 +655,8 @@ function handleComplete(evt, comp) {
|
|
|
|
|
|
// 开始火的动画
|
|
// 开始火的动画
|
|
$("#fire").removeClass("js-an");
|
|
$("#fire").removeClass("js-an");
|
|
- $(".shake-dialog .icon").hide();
|
|
|
|
- $(".shake-dialog .txt").hide();
|
|
|
|
|
|
+ // $(".shake-dialog .icon").hide();
|
|
|
|
+ // $(".shake-dialog .txt").hide();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|