Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
0cf41ab0
Commit
0cf41ab0
authored
Feb 28, 2021
by
chenshu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:优化样式
parent
28d9ed5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
src/modules/home/Home.jsx
+2
-5
No files found.
src/modules/home/Home.jsx
View file @
0cf41ab0
...
...
@@ -112,9 +112,6 @@ class Home extends React.Component {
},
time
:
{
formatter
:
(
val
)
=>
{
if
(
val
==
8
)
{
return
'7日外'
}
return
`
${
val
}
`
},
range
:
[
0.06
,
0.94
]
...
...
@@ -160,13 +157,13 @@ class Home extends React.Component {
this
.
_chart
.
line
().
position
(
'time*studyNum'
).
color
(
'#5289FA'
).
tooltip
(
'time*studyNum'
,
function
(
time
,
studyNum
){
return
{
name
:
'学习人数'
,
value
:
studyNum
value
:
studyNum
+
'人'
}
});
this
.
_chart
.
line
().
position
(
'time*studyTime'
).
color
(
'#FFB714'
).
tooltip
(
'time*studyTime'
,
function
(
time
,
studyTime
){
return
{
name
:
'人均学习时长'
,
value
:
studyTime
value
:
studyTime
+
'分钟'
}
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment