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
d6f6029f
Commit
d6f6029f
authored
Jul 04, 2021
by
maolipeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into feature/maolipeng/20210629/piliang
parents
cda27593
a160710c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
38 deletions
+42
-38
src/modules/home/Home.jsx
+0
-0
src/modules/home/Home.less
+41
-37
src/modules/root/Header.less
+1
-1
No files found.
src/modules/home/Home.jsx
View file @
d6f6029f
This diff is collapsed.
Click to expand it.
src/modules/home/Home.less
View file @
d6f6029f
...
@@ -2,34 +2,35 @@
...
@@ -2,34 +2,35 @@
// padding: 0 16px 16px;
// padding: 0 16px 16px;
min-width: 1100px;
min-width: 1100px;
position: relative;
position: relative;
z-index:3;
z-index:
3;
.g2-tooltip-marker {
.g2-tooltip-marker {
border-radius: 50% !important;
border-radius: 50% !important;
}
}
.home-title {
.home-title {
color: #333;
color: #333;
padding-left:28px;
padding-left:
28px;
font-size:16px;
font-size:
16px;
font-weight:bold;
font-weight:
bold;
position: relative;
position: relative;
padding-top:16px;
padding-top:
16px;
&::before{
&::before
{
width:4px;
width:
4px;
height:12px;
height:
12px;
content:'';
content:
'';
background-image: linear-gradient(#2966
FF 83.5%, #0ACCA
4 16.5%);
background-image: linear-gradient(#2966
ff 83.5%, #0acca
4 16.5%);
display:inline-block;
display:
inline-block;
position: absolute;
position: absolute;
left:16px;
left:
16px;
top:22px;
top:
22px;
}
}
}
}
@font-face {
@font-face {
font-family: 'number';
font-family: 'number';
src: url('https://image.xiaomaiketang.com/xm/n2sADd2jY6.TTF');
src: url('https://image.xiaomaiketang.com/xm/n2sADd2jY6.TTF');
}
}
.data-wrap{
.data-wrap {
background: #FFF;
background: #fff;
padding-bottom: 25px;
.data-box {
.data-box {
display: flex;
display: flex;
justify-content: space-between;
justify-content: space-between;
...
@@ -41,7 +42,7 @@
...
@@ -41,7 +42,7 @@
width: ~'calc(16.67% - 8px)';
width: ~'calc(16.67% - 8px)';
padding: 16px;
padding: 16px;
&.course-data {
&.course-data {
width:
~'calc(50% - 24px)'
;
width:
33%
;
}
}
.header {
.header {
display: flex;
display: flex;
...
@@ -55,7 +56,7 @@
...
@@ -55,7 +56,7 @@
font-size: 14px;
font-size: 14px;
line-height: 18px;
line-height: 18px;
color: #333;
color: #333;
font-weight:500;
font-weight:
500;
}
}
}
}
.data-number {
.data-number {
...
@@ -74,7 +75,7 @@
...
@@ -74,7 +75,7 @@
.iconfont {
.iconfont {
font-size: 12px;
font-size: 12px;
margin-right: 4px;
margin-right: 4px;
color: #
EC4B
35;
color: #
ec4b
35;
}
}
.footer-number {
.footer-number {
font-size: 12px;
font-size: 12px;
...
@@ -83,17 +84,17 @@
...
@@ -83,17 +84,17 @@
}
}
.course-box {
.course-box {
border-radius: 4px;
border-radius: 4px;
background: #
FAFAFA
;
background: #
fafafa
;
height: 124px;
height: 124px;
width: 6
6
%;
width: 6
0
%;
position: absolute;
position: absolute;
right: 16px;
right: 16px;
top:
16
px;
top:
28
px;
padding: 8px
24px
0;
padding: 8px
0
0;
.course-item {
.course-item {
display: inline-block;
display: inline-block;
width: 50%;
width: 50%;
padding: 4px
0
12px;
padding: 4px
24px
12px;
.course-title {
.course-title {
font-size: 12px;
font-size: 12px;
color: #999;
color: #999;
...
@@ -105,6 +106,7 @@
...
@@ -105,6 +106,7 @@
font-size: 16px;
font-size: 16px;
font-family: 'number';
font-family: 'number';
margin-right: 16px;
margin-right: 16px;
white-space: nowrap;
}
}
.course-word {
.course-word {
font-size: 12px;
font-size: 12px;
...
@@ -114,11 +116,12 @@
...
@@ -114,11 +116,12 @@
.iconfont {
.iconfont {
font-size: 12px;
font-size: 12px;
margin-right: 4px;
margin-right: 4px;
color: #
EC4B
35;
color: #
ec4b
35;
}
}
.add-number {
.add-number {
font-size: 12px;
font-size: 12px;
color: #999;
color: #999;
white-space: nowrap;
}
}
}
}
}
}
...
@@ -126,9 +129,9 @@
...
@@ -126,9 +129,9 @@
}
}
}
}
}
}
.study-wrap{
.study-wrap
{
background: #
FFF
;
background: #
fff
;
margin-top:16px;
margin-top:
16px;
.study-box {
.study-box {
display: flex;
display: flex;
justify-content: space-between;
justify-content: space-between;
...
@@ -148,7 +151,7 @@
...
@@ -148,7 +151,7 @@
margin-bottom: 12px;
margin-bottom: 12px;
.iconfont {
.iconfont {
font-size: 14px;
font-size: 14px;
color: #
BFBFBF
;
color: #
bfbfbf
;
margin-left: 4px;
margin-left: 4px;
}
}
.tip {
.tip {
...
@@ -169,13 +172,13 @@
...
@@ -169,13 +172,13 @@
color: #666;
color: #666;
cursor: pointer;
cursor: pointer;
&.selected {
&.selected {
color: #2966
FF
;
color: #2966
ff
;
&::after {
&::after {
position: absolute;
position: absolute;
width: 24px;
width: 24px;
height: 2px;
height: 2px;
content: '';
content: '';
background: #2966
FF
;
background: #2966
ff
;
border-radius: 1px;
border-radius: 1px;
left: 9px;
left: 9px;
bottom: -4px;
bottom: -4px;
...
@@ -196,7 +199,7 @@
...
@@ -196,7 +199,7 @@
display: flex;
display: flex;
align-items: center;
align-items: center;
&.odd {
&.odd {
background: #
FAFAFA
;
background: #
fafafa
;
}
}
.table-image {
.table-image {
width: 24px;
width: 24px;
...
@@ -257,7 +260,7 @@
...
@@ -257,7 +260,7 @@
width: 204px;
width: 204px;
height: 204px;
height: 204px;
border-radius: 102px;
border-radius: 102px;
background: #
F1F3F
6;
background: #
f1f3f
6;
margin-top: -20px;
margin-top: -20px;
.small-circle {
.small-circle {
display: flex;
display: flex;
...
@@ -280,13 +283,13 @@
...
@@ -280,13 +283,13 @@
&.unfinished {
&.unfinished {
top: 152px;
top: 152px;
.spot {
.spot {
background: #2966
FF
;
background: #2966
ff
;
}
}
}
}
&.finished {
&.finished {
top: 232px;
top: 232px;
.spot {
.spot {
background: #
FFBB
54;
background: #
ffbb
54;
}
}
}
}
.spot {
.spot {
...
@@ -352,14 +355,14 @@
...
@@ -352,14 +355,14 @@
align-items: center;
align-items: center;
color: #666;
color: #666;
.student-dot {
.student-dot {
background: #2966
FF
;
background: #2966
ff
;
height: 8px;
height: 8px;
width: 8px;
width: 8px;
border-radius: 50%;
border-radius: 50%;
margin-right: 8px;
margin-right: 8px;
}
}
.time-dot {
.time-dot {
background: #
FEB
613;
background: #
feb
613;
height: 8px;
height: 8px;
width: 8px;
width: 8px;
border-radius: 50%;
border-radius: 50%;
...
@@ -382,7 +385,8 @@
...
@@ -382,7 +385,8 @@
font-size: 14px;
font-size: 14px;
}
}
.g2-tooltip-list {
.g2-tooltip-list {
li,span {
li,
span {
display: flex;
display: flex;
align-items: center;
align-items: center;
font-size: 14px;
font-size: 14px;
...
...
src/modules/root/Header.less
View file @
d6f6029f
...
@@ -346,7 +346,7 @@
...
@@ -346,7 +346,7 @@
width: 216px;
width: 216px;
height: 260px;
height: 260px;
top: 49px;
top: 49px;
left:
0
;
left:
-50px
;
background-color: #fff;
background-color: #fff;
flex-wrap: wrap;
flex-wrap: wrap;
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
...
...
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