...
|
...
|
@@ -14,17 +14,22 @@ class GradeDetailPage extends Page { |
|
|
super();
|
|
|
|
|
|
this.view = {
|
|
|
header: $('.user-defined-header'),
|
|
|
levelStr: $('#levelStr'),
|
|
|
gradeGraph: $('#gradeGraph'),
|
|
|
boxEntry: $('.box-entry'),
|
|
|
gradeBillList: $('#gradeBillList'),
|
|
|
gradeDetailArea: $('.grade-detail-area'),
|
|
|
loadingMask: $('#loadingMask'),
|
|
|
loadingLogoText: $('#loadingMask > .loading-logo, #loadingMask > .loading-text'),
|
|
|
navBack: $('.nav-back'),
|
|
|
noData: $('.no-data')
|
|
|
};
|
|
|
|
|
|
this.view.gradeBillList.css('height', () => {
|
|
|
return $(window).height() - 462.5;
|
|
|
$(document).ready(() => {
|
|
|
this.view.gradeBillList.css('height', () => {
|
|
|
return $(window).height() - $('.grade-bill-list').offset().top - 50;
|
|
|
});
|
|
|
});
|
|
|
|
|
|
this.eGradeGraph = echarts.init(this.view.gradeGraph[0]);
|
...
|
...
|
|