Commit 365f7d80 by doszhang

Update index.js

parent ecccf818
...@@ -2,6 +2,7 @@ var type_id = 1; ...@@ -2,6 +2,7 @@ var type_id = 1;
var photo_lock=1; var photo_lock=1;
var sideLock=false; var sideLock=false;
var u = navigator.userAgent; var u = navigator.userAgent;
var type;
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1;
$(document).ready(function () { $(document).ready(function () {
...@@ -53,7 +54,7 @@ $(document).ready(function () { ...@@ -53,7 +54,7 @@ $(document).ready(function () {
} }
}); });
}); });
var type;
var prize_lock = true; var prize_lock = true;
$('.btn-g-g-bj').on('click',function () { $('.btn-g-g-bj').on('click',function () {
if (!prize_lock) { if (!prize_lock) {
...@@ -99,8 +100,8 @@ $(document).ready(function () { ...@@ -99,8 +100,8 @@ $(document).ready(function () {
}); });
}); });
$(this).hide();
});
$('.btn-prize').on(clickEvent, function () { $('.btn-prize').on(clickEvent, function () {
$('.page-s-c').hide(); $('.page-s-c').hide();
$('.no-prize').show(); $('.no-prize').show();
...@@ -121,7 +122,9 @@ $(document).ready(function () { ...@@ -121,7 +122,9 @@ $(document).ready(function () {
$('.y-prize').show(); $('.y-prize').show();
} }
this.clearCover(); this.clearCover();
});
});
});
$('.btn-close-two').on('click',function () { $('.btn-close-two').on('click',function () {
$('.page_home').hide(); $('.page_home').hide();
$('.dialog_game_rule').hide(); $('.dialog_game_rule').hide();
......
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 sign in to comment