Commit c166c603 by doszhang

dos

parent 6a7140f9
...@@ -102,7 +102,8 @@ $(document).ready(function () { ...@@ -102,7 +102,8 @@ $(document).ready(function () {
}); });
initPage(); initPage();
$('.rule-block').attr('id', 'rule-block') $('.rule-block').attr('id', 'rule-block');
loaded();
$('.index-block').css('top', getTranslateDistance(20)); $('.index-block').css('top', getTranslateDistance(20));
$('.question-block').css('top', getTranslateDistance(-36)); $('.question-block').css('top', getTranslateDistance(-36));
...@@ -213,7 +214,6 @@ function hideRule() { ...@@ -213,7 +214,6 @@ function hideRule() {
function showRule() { function showRule() {
checkedRule = true; checkedRule = true;
loaded();
$('.home-page .tips').removeClass('animate').hide(); $('.home-page .tips').removeClass('animate').hide();
$('.rule-block').scrollTop(0); $('.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