Commit 65aa4eaa by doszhang

dos

parent 5d1bed34
...@@ -115,6 +115,8 @@ $(document).ready(function () { ...@@ -115,6 +115,8 @@ $(document).ready(function () {
$('.poster-page .btn-retry').on('click', retry); $('.poster-page .btn-retry').on('click', retry);
//活动规则 //活动规则
$('.home-page .btn-rule').on('click', showRule); $('.home-page .btn-rule').on('click', showRule);
//返回首页
$('.home-page .btn-back').on('click', hideRule);
...@@ -152,7 +154,12 @@ $(document).ready(function () { ...@@ -152,7 +154,12 @@ $(document).ready(function () {
}); });
}); });
function hideRule() {
$('.rule-page').hide();
}
function showRule() { function showRule() {
$('.rule-block').scrollTop(0);
$('.rule-page').show(); $('.rule-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