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