mirror of
https://github.com/PlayEdu/h5.git
synced 2025-12-25 12:22:41 +08:00
首页分类优化
This commit is contained in:
@@ -79,7 +79,7 @@
|
|||||||
height: auto;
|
height: auto;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
.category-tit {
|
.category-child-tit {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@@ -98,11 +98,11 @@
|
|||||||
height: auto;
|
height: auto;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
.category-tit {
|
.category-child-tit {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #ff4d4f;
|
color: #ff4d4f !important;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|||||||
@@ -171,7 +171,7 @@ const IndexPage = () => {
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className={styles["category-tit"]}
|
className={styles["category-child-tit"]}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setCategoryId(item.key);
|
setCategoryId(item.key);
|
||||||
setCategoryText(item.title);
|
setCategoryText(item.title);
|
||||||
|
|||||||
Reference in New Issue
Block a user