Authored by 郭成尧

height

... ... @@ -29,7 +29,8 @@ class GradeDetailPage extends Page {
let boxEntryMargin = $('.box-entry').outerWidth(true) - $('.box-entry').outerWidth();
let gradeBillTitleMargin = $('.grade-bill-title').outerWidth(true) - $('.grade-bill-title').outerWidth();
let gradeBillBoxMargin = $('.grade-bill-box').outerWidth(true) - $('.grade-bill-box').outerWidth();
let height = $(window).height() - $('.user-defined-header').height() -
let height = (window.screen.availHeight || window.innerHeight) -
$('.user-defined-header').height() -
this.view.gradeGraph.height() - $('.box-entry').height() / 2 -
boxEntryMargin;
let listHeight = height - $('.grade-bill-title').height() - $('.grade-level').height() -
... ...