...
|
...
|
@@ -2,8 +2,9 @@ import 'activity/grade-detail.page.css'; |
|
|
import $ from 'yoho-jquery';
|
|
|
import echarts from 'echarts/lib/echarts';
|
|
|
import 'echarts/lib/chart/line';
|
|
|
import 'echarts/lib/component/dataZoom';
|
|
|
import 'echarts/lib/component/markLine';
|
|
|
|
|
|
// import 'echarts/lib/component/dataZoom';
|
|
|
// import 'echarts/lib/component/markLine';
|
|
|
import Page from 'yoho-page';
|
|
|
import graphOptions from './graph-options';
|
|
|
import yoho from 'yoho-app';
|
...
|
...
|
@@ -42,9 +43,10 @@ class GradeDetailPage extends Page { |
|
|
});
|
|
|
|
|
|
this.eGradeGraph = echarts.init(this.view.gradeGraph[0]);
|
|
|
this.eGradeGraph.on('click', this.monthDetailInit.bind(this));
|
|
|
this.view.navBack.on('click', this.goBack.bind(this));
|
|
|
this.eGradeGraph.on('dataZoom', this.dataZoomEvent.bind(this));
|
|
|
|
|
|
// this.eGradeGraph.on('click', this.monthDetailInit.bind(this));
|
|
|
// this.view.navBack.on('click', this.goBack.bind(this));
|
|
|
// this.eGradeGraph.on('dataZoom', this.dataZoomEvent.bind(this));
|
|
|
|
|
|
this.beforeScroll = document.body.scrollTop;
|
|
|
this.year = 0;
|
...
|
...
|
|