|
@@ -19,6 +19,7 @@ export interface ItemComProps {
|
|
|
|
|
|
const ItemCom: FC<ItemComProps> = ({ max, type = "login" }) => {
|
|
const ItemCom: FC<ItemComProps> = ({ max, type = "login" }) => {
|
|
const t = useTranslations("ProfilePage");
|
|
const t = useTranslations("ProfilePage");
|
|
|
|
+ const tall = useTranslations();
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
const { unread, userUnread } = useGlobalNoticeStore((state) => ({
|
|
const { unread, userUnread } = useGlobalNoticeStore((state) => ({
|
|
unread: state.unread,
|
|
unread: state.unread,
|
|
@@ -74,6 +75,14 @@ const ItemCom: FC<ItemComProps> = ({ max, type = "login" }) => {
|
|
url: "/notification",
|
|
url: "/notification",
|
|
content: unread || userUnread ? Badge.dot : null,
|
|
content: unread || userUnread ? Badge.dot : null,
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ label: tall("HomePage.Contante"),
|
|
|
|
+ desc: "",
|
|
|
|
+ icon: "icon-dakaixinxi",
|
|
|
|
+ color: "#b09959",
|
|
|
|
+ url: "/concat",
|
|
|
|
+ content: unread || userUnread ? Badge.dot : null,
|
|
|
|
+ },
|
|
];
|
|
];
|
|
const routerHandler = (item: any) => {
|
|
const routerHandler = (item: any) => {
|
|
if (item.url === "/cashWheel") {
|
|
if (item.url === "/cashWheel") {
|