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
a2510410
Commit
a2510410
authored
May 28, 2021
by
wufan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style:首页样式修改
parent
d71055f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/modules/home/Home.jsx
+2
-2
src/modules/home/Home.less
+1
-1
No files found.
src/modules/home/Home.jsx
View file @
a2510410
...
@@ -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
)
=>
{
...
...
src/modules/home/Home.less
View file @
a2510410
...
@@ -350,7 +350,7 @@
...
@@ -350,7 +350,7 @@
align-items: center;
align-items: center;
color: #666;
color: #666;
.student-dot {
.student-dot {
background: #
BFBFB
F;
background: #
2966F
F;
height: 8px;
height: 8px;
width: 8px;
width: 8px;
border-radius: 50%;
border-radius: 50%;
...
...
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