diff --git a/src/routers/layout/routernav/index.tsx b/src/routers/layout/routernav/index.tsx
index df9dcb5..f4e672c 100644
--- a/src/routers/layout/routernav/index.tsx
+++ b/src/routers/layout/routernav/index.tsx
@@ -10,12 +10,12 @@ export const RouterList: (TabProps & { startICon: ReactElement })[] = [
{
label: "视频",
to: "/video",
- startICon:
,
+ startICon:
,
},
{
label: "图片",
to: "/photo",
- startICon:
,
+ startICon:
,
},
];
diff --git a/src/routers/layout/search/pc/modal.tsx b/src/routers/layout/search/pc/modal.tsx
new file mode 100644
index 0000000..b3ad8b7
--- /dev/null
+++ b/src/routers/layout/search/pc/modal.tsx
@@ -0,0 +1 @@
+export default function PCSearchAdvanceLikeModal() {}
diff --git a/src/routers/layout/search/pc/search.tsx b/src/routers/layout/search/pc/search.tsx
index 7c87a4f..bf3129e 100644
--- a/src/routers/layout/search/pc/search.tsx
+++ b/src/routers/layout/search/pc/search.tsx
@@ -7,7 +7,6 @@ import { useBackRef, useSearchMode } from "./hooks";
import { useNavigate } from "react-router-dom";
import { FC, forwardRef, useRef } from "react";
export default function Search() {
- const [tag] = useURLParams(["tag"]);
const inputRef = useRef
(null);
const { focused, bind } = useSearchFocus();
const { onFocus, onBlur } = bind;
@@ -15,7 +14,6 @@ export default function Search() {
const navigate = useNavigate(),
handlerSubmit = () => {
const value = inputRef.current!.value;
- console.log(`current input value ${value}`);
navigate(`/search?tag=${value}`);
onBlur();
};
@@ -35,22 +33,7 @@ export default function Search() {
} duration-300 relative`}
>
{searchMode === "搜索tag" && (
- <>
- {
- if (event.key === "Enter") {
- handlerSubmit();
- }
- }}
- />
-
- >
+
)}
{searchMode === "搜索更多" && }
@@ -62,20 +45,48 @@ export default function Search() {
const SearchButton: FC<{ onSubmit?: () => void }> = ({ onSubmit }) => {
const { focused } = useSearchFocus();
return (
-