Commit 2dc12b60 by doszhang

dos

parent 82082f82
...@@ -52,6 +52,7 @@ input { ...@@ -52,6 +52,7 @@ input {
outline: none; outline: none;
} }
/* 去除滚动条 */
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 0; width: 0;
height: 1px height: 1px
......
...@@ -93,6 +93,10 @@ $(document).ready(function () { ...@@ -93,6 +93,10 @@ $(document).ready(function () {
}); });
$('.index-block').css('top', getTranslateDistance(20)); $('.index-block').css('top', getTranslateDistance(20));
$('.question-block').css('top', getTranslateDistance(-36)); $('.question-block').css('top', getTranslateDistance(-36));
$('.btn-back').css('top', 'auto').css('bottom', getTranslateDistance(50));
let trans = parseFloat(getTranslateDistance());
let transRem = trans / fontSize;
$('.rule-block').css('height', 51.85 - transRem + 'rem');
//显示答题页面 //显示答题页面
$('.home-page .btn-next').on('click', showQuestion); $('.home-page .btn-next').on('click', showQuestion);
//答案选中 //答案选中
......
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