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