Commit a867aeda by doszhang

dos

parent 2c594737
......@@ -63,12 +63,20 @@ $(document).ready(function () {
$('.btn-rule').on('click',showRule);
//隐藏活动规则
$('.page1 .btn-close').on('click',hideRule);
//跳转到城市选择页
//首页跳转到城市选择页
$('.page1 .btn-start').on('click',showMap);
//哈尔滨
$('.map-page .heb').on('click',handleHebClick);
$('.map-page .bj').on('click',handleBjClick);
//奖品页返回城市选择页
$('.prize-page .btn-backtomap').on('click',backToMap);
});
function backToMap () {
$('.prize-page').hide();
$('.map-page').show();
}
function handleHebClick () {
//播放哈尔滨视频
......@@ -80,6 +88,18 @@ function handleHebClick () {
showPrize(1);
}
function handleBjClick (types) {
//播放哈尔滨视频
//播放结束后跳转抽奖
//奖品请求后跳转页面
// $('.map-page').hide();
// $('.prize-page').show();
// showPrize(1);
console.log(types);
}
function showMap () {
$('.page1').hide();
$('.map-page').show();
......
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