Commit 6f76f6a2 by zhangleyuan

style:UI样式优化

parent 2cdf970a
...@@ -105,9 +105,7 @@ ...@@ -105,9 +105,7 @@
margin: 0 auto; margin: 0 auto;
} }
.ant-tabs-top > .ant-tabs-nav .ant-tabs-ink-bar { .ant-tabs-top > .ant-tabs-nav .ant-tabs-ink-bar {
width: 24px !important;
height: 4px; height: 4px;
margin-left: 47px;
} }
.l { .l {
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
color:#666; color:#666;
font-size:14px; font-size:14px;
text-align:center; text-align:center;
background: #FAFAFA; // background: #FAFAFA;
} }
&:hover{ &:hover{
.empty-child{ .empty-child{
...@@ -49,65 +49,53 @@ ...@@ -49,65 +49,53 @@
} }
tbody tr td{ tbody tr td{
border-bottom:none; border-bottom:none;
background:#FAFAFA; // background:#FAFAFA;
} }
} }
} }
} }
// tr{
// background:transparent; .odd-row{
// &:nth-child(odd){ background:transparent;
// td{ td{
// background: #999999; background: #FFF;
// } }
// } & + .ant-table-expanded-row{
// &:nth-child(even){ background:transparent;
// td{ td{
// background: #FAFAFA; background: #FFF;
// } }
}
// } &:hover{
// & + .ant-table-expanded-row{ & + .ant-table-expanded-row{
// &:nth-child(odd){ background:transparent;
// td{ td{
// background: #999; background: #F3f6fa !important;
// } }
// } }
// &:nth-child(even){ }
// td{ }
// background: #FAFAFA; .even-row{
// } background:transparent;
// } td{
// } background: #FAFAFA;
// } }
// .ant-table-row{ & + .ant-table-expanded-row{
// background:transparent; background:transparent;
// &:nth-child(2n + 1){ td{
// td{ background: #FAFAFA;
// background: #FFF; }
// } }
// } &:hover{
// &:nth-child(2n){ & + .ant-table-expanded-row{
// td{ background:transparent;
// background: #FAFAFA; td{
// } background: #F3f6fa !important;
}
// } }
// } }
// .ant-table-expanded-row{ }
// background:transparent;
// &:nth-child(2n + 1){
// td{
// background: #FFF;
// }
// }
// &:nth-child(2n){
// td{
// background: #FAFAFA;
// }
// }
// }
} }
} }
} }
\ No newline at end of file
...@@ -191,6 +191,7 @@ function CourseCatalogPage() { ...@@ -191,6 +191,7 @@ function CourseCatalogPage() {
}} }}
dataSource={courseCatalogList} dataSource={courseCatalogList}
className="catalog-tabel" className="catalog-tabel"
rowClassName={(record,index)=>{if(index%2===0){return 'odd-row'}else{ return 'even-row'}}}
/> />
</div> </div>
<div className="box-footer"> <div className="box-footer">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment