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
f2a5e585
Commit
f2a5e585
authored
Mar 04, 2021
by
chenshu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:优化样式
parent
d1bc2377
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
src/modules/home/Home.jsx
+5
-3
src/modules/home/Home.less
+11
-2
No files found.
src/modules/home/Home.jsx
View file @
f2a5e585
...
...
@@ -331,9 +331,11 @@ class Home extends React.Component {
:
<
span
className=
"table-number"
>
{
index
+
1
}
</
span
>
}
<
div
className=
"table-data"
>
<
Tooltip
placement=
"topLeft"
title=
{
item
.
courseName
}
>
<
div
className=
"table-name"
>
{
item
.
courseName
}
</
div
>
<
div
className=
"table-name"
>
<
Tooltip
title=
{
item
.
courseName
}
>
{
item
.
courseName
}
</
Tooltip
>
</
div
>
<
div
className=
"table-tag"
>
{
item
.
categoryName
}
</
div
>
</
div
>
<
span
className=
"table-study"
>
{
item
.
studyNum
||
0
}
人已学习
</
span
>
...
...
@@ -343,7 +345,7 @@ class Home extends React.Component {
</
div
>
<
div
className=
"study-item"
>
<
div
className=
"study-title"
>
培训计划完成情况
<
Tooltip
title=
"若某人加入多个培训计划,则需完成所有已加入的培训计划后,才视为已完成培训"
>
<
Tooltip
overlayClassName=
"data-plan-tooltip"
title=
"若某人加入多个培训计划,则需完成所有已加入的培训计划后,才视为已完成培训"
>
<
span
className=
"iconfont icon"
>

</
span
>
</
Tooltip
>
<
span
className=
"tip"
>
(本月)
</
span
>
...
...
src/modules/home/Home.less
View file @
f2a5e585
...
...
@@ -78,7 +78,7 @@
}
.data {
display: flex;
align-items:
center
;
align-items:
flex-end
;
.course-number {
font-size: 16px;
font-family: 'number';
...
...
@@ -127,6 +127,7 @@
font-size: 14px;
color: #999999;
margin-left: 8px;
font-weight: 400;
}
}
.study-header {
...
...
@@ -229,6 +230,7 @@
height: 204px;
border-radius: 102px;
background: #F1F3F6;
margin-top: -20px;
.small-circle {
display: flex;
align-items: center;
...
...
@@ -307,7 +309,7 @@
div {
color: #999;
.iconfont {
color: #
999
;
color: #
bfbfbf
;
font-size: 14px;
margin-left: 4px;
}
...
...
@@ -319,3 +321,9 @@
.g2-tooltip {
background-color: #fff !important;
}
.data-plan-tooltip {
.ant-tooltip-inner {
white-space: nowrap;
}
}
\ No newline at end of file
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