|
@@ -101,9 +101,9 @@ const TabItem = ({
|
|
|
router.push(item.url);
|
|
|
}
|
|
|
};
|
|
|
- const cls = clsx("pro-iconfont text-[.4rem]", `pro-${item.icon}`);
|
|
|
+ const cls = clsx("pro-iconfont text-[.34rem]", `pro-${item.icon}`);
|
|
|
|
|
|
- const cls2 = clsx("iconfont text-[.4rem]", `icon-${item.icon}`);
|
|
|
+ // const cls2 = clsx("iconfont text-[.34rem]", `icon-${item.icon}`);
|
|
|
|
|
|
const rootCls = clsx(
|
|
|
"relative flex flex-1 cursor-pointer items-center flex-col",
|
|
@@ -118,11 +118,7 @@ const TabItem = ({
|
|
|
)}
|
|
|
</div>
|
|
|
|
|
|
- <span
|
|
|
- className={
|
|
|
- "ml-[0.03rem] truncate whitespace-normal break-all text-center text-[0.13rem]"
|
|
|
- }
|
|
|
- >
|
|
|
+ <span className={"break-word truncate whitespace-normal text-center text-[0.13rem]"}>
|
|
|
{item.locale ? t(item.category_name) : item.category_name}
|
|
|
</span>
|
|
|
{/* {item.isHot && (
|