Commit a2510410 by wufan

style:首页样式修改

parent d71055f3
...@@ -195,7 +195,7 @@ class Home extends React.Component { ...@@ -195,7 +195,7 @@ class Home extends React.Component {
value: studyNum + '人' value: studyNum + '人'
} }
}); });
this._chart.line().position('time*studyTime').color('#2966FF').tooltip('time*studyTime', function( time, studyTime){ this._chart.line().position('time*studyTime').color('#FFBB54').tooltip('time*studyTime', function( time, studyTime){
return { return {
name: '人均学习时长', name: '人均学习时长',
value: studyTime + '分钟' value: studyTime + '分钟'
...@@ -464,7 +464,7 @@ class Home extends React.Component { ...@@ -464,7 +464,7 @@ class Home extends React.Component {
<Geom <Geom
type="intervalStack" type="intervalStack"
position="percent" position="percent"
color={['item', ['#2966FF', '#2966FF']]} color={['item', ['#FFBB54', '#2966FF']]}
tooltip={[ tooltip={[
"item*percent", "item*percent",
(item, percent) => { (item, percent) => {
......
...@@ -350,7 +350,7 @@ ...@@ -350,7 +350,7 @@
align-items: center; align-items: center;
color: #666; color: #666;
.student-dot { .student-dot {
background: #BFBFBF; background: #2966FF;
height: 8px; height: 8px;
width: 8px; width: 8px;
border-radius: 50%; border-radius: 50%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment