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
6f76f6a2
Commit
6f76f6a2
authored
Feb 05, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style:UI样式优化
parent
2cdf970a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
56 deletions
+44
-56
src/modules/root/Login.less
+0
-2
src/modules/store-manage/CourseCatalogPage.less
+43
-54
src/modules/store-manage/CourseCatalogPage.tsx
+1
-0
No files found.
src/modules/root/Login.less
View file @
6f76f6a2
...
...
@@ -105,9 +105,7 @@
margin: 0 auto;
}
.ant-tabs-top > .ant-tabs-nav .ant-tabs-ink-bar {
width: 24px !important;
height: 4px;
margin-left: 47px;
}
.l {
...
...
src/modules/store-manage/CourseCatalogPage.less
View file @
6f76f6a2
...
...
@@ -25,7 +25,7 @@
color:#666;
font-size:14px;
text-align:center;
background: #FAFAFA;
//
background: #FAFAFA;
}
&:hover{
.empty-child{
...
...
@@ -49,65 +49,53 @@
}
tbody tr td{
border-bottom:none;
background:#FAFAFA;
//
background:#FAFAFA;
}
}
}
}
// tr{
// background:transparent;
// &:nth-child(odd){
// td{
// background: #999999;
// }
// }
// &:nth-child(even){
// td{
// background: #FAFAFA;
// }
// }
// & + .ant-table-expanded-row{
// &:nth-child(odd){
// td{
// background: #999;
// }
// }
// &:nth-child(even){
// td{
// background: #FAFAFA;
// }
// }
// }
// }
// .ant-table-row{
// background:transparent;
// &:nth-child(2n + 1){
// td{
// background: #FFF;
// }
// }
// &:nth-child(2n){
// td{
// background: #FAFAFA;
// }
// }
// }
// .ant-table-expanded-row{
// background:transparent;
// &:nth-child(2n + 1){
// td{
// background: #FFF;
// }
// }
// &:nth-child(2n){
// td{
// background: #FAFAFA;
// }
// }
// }
.odd-row{
background:transparent;
td{
background: #FFF;
}
& + .ant-table-expanded-row{
background:transparent;
td{
background: #FFF;
}
}
&:hover{
& + .ant-table-expanded-row{
background:transparent;
td{
background: #F3f6fa !important;
}
}
}
}
.even-row{
background:transparent;
td{
background: #FAFAFA;
}
& + .ant-table-expanded-row{
background:transparent;
td{
background: #FAFAFA;
}
}
&:hover{
& + .ant-table-expanded-row{
background:transparent;
td{
background: #F3f6fa !important;
}
}
}
}
}
}
}
\ No newline at end of file
src/modules/store-manage/CourseCatalogPage.tsx
View file @
6f76f6a2
...
...
@@ -191,6 +191,7 @@ function CourseCatalogPage() {
}
}
dataSource=
{
courseCatalogList
}
className=
"catalog-tabel"
rowClassName=
{
(
record
,
index
)
=>
{
if
(
index
%
2
===
0
){
return
'odd-row'
}
else
{
return
'even-row'
}}
}
/>
</
div
>
<
div
className=
"box-footer"
>
...
...
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