首页分类优化

This commit is contained in:
禺狨 2023-07-04 16:32:21 +08:00
parent ea062e0794
commit 3f5d2fcfcc
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -171,7 +171,7 @@ const IndexPage = () => {
}
>
<div
className={styles["category-tit"]}
className={styles["category-child-tit"]}
onClick={() => {
setCategoryId(item.key);
setCategoryText(item.title);