Authored by 郝肖肖

Merge branch 'feature/growthdetail' of git.yoho.cn:fe/yohobuywap-node into feature/growthdetail

1 import 'activity/grade-detail.page.css'; 1 import 'activity/grade-detail.page.css';
2 import $ from 'yoho-jquery'; 2 import $ from 'yoho-jquery';
3 -import echarts from 'echarts'; 3 +import echarts from 'echarts/lib/echarts';
  4 +import 'echarts/lib/chart/line';
  5 +import 'echarts/lib/component/dataZoom';
4 import tip from 'plugin/tip'; 6 import tip from 'plugin/tip';
5 import Page from 'yoho-page'; 7 import Page from 'yoho-page';
6 import graphOptions from './graph-options'; 8 import graphOptions from './graph-options';
1 export default (graphData) => { 1 export default (graphData) => {
2 return { 2 return {
  3 + animationDuration: 500,
3 backgroundColor: '#2d2d2d', 4 backgroundColor: '#2d2d2d',
4 tooltip: { 5 tooltip: {
5 trigger: 'none' 6 trigger: 'none'
@@ -31,7 +32,7 @@ export default (graphData) => { @@ -31,7 +32,7 @@ export default (graphData) => {
31 data: graphData.seriesData, 32 data: graphData.seriesData,
32 color: ['#A59075'], 33 color: ['#A59075'],
33 symbol: 'circle', 34 symbol: 'circle',
34 - symbolSize: 8, 35 + symbolSize: 10,
35 type: 'line', 36 type: 'line',
36 label: { 37 label: {
37 normal: { 38 normal: {
@@ -95,12 +95,12 @@ @@ -95,12 +95,12 @@
95 } 95 }
96 96
97 .grade-bill-left > .order { 97 .grade-bill-left > .order {
98 - font-size: 16px; 98 + font-size: 22px;
99 } 99 }
100 100
101 .grade-bill-left > .time { 101 .grade-bill-left > .time {
102 margin-top: 4px; 102 margin-top: 4px;
103 - font-size: 14px; 103 + font-size: 18px;
104 font-weight: 300; 104 font-weight: 300;
105 color: #444; 105 color: #444;
106 } 106 }
@@ -108,7 +108,7 @@ @@ -108,7 +108,7 @@
108 .grade-bill-right { 108 .grade-bill-right {
109 display: flex; 109 display: flex;
110 align-items: center; 110 align-items: center;
111 - font-size: 10px; 111 + font-size: 18px;
112 font-weight: 300; 112 font-weight: 300;
113 color: #ccc; 113 color: #ccc;
114 } 114 }