diff --git a/src/app.config.ts b/src/app.config.ts index 4fff5e1..e1da8e2 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -1,9 +1,10 @@ export default { pages: [ 'pages/index/index', - 'pages/search/index', 'pages/user/index', - 'pages/searchList/index', + 'pages/searchList/searchList', + 'pages/searchList/hightSearchList', + 'pages/searchList/search', 'pages/classList/index', 'pages/details/index', ], diff --git a/src/pages/index/index.tsx b/src/pages/index/index.tsx index 985a864..f147af4 100644 --- a/src/pages/index/index.tsx +++ b/src/pages/index/index.tsx @@ -40,7 +40,7 @@ export default () => { 我的收藏 - goLink('/pages/search/index')}/> + goLink('/pages/searchList/search')}/> diff --git a/src/pages/searchList/hightSearchList.tsx b/src/pages/searchList/hightSearchList.tsx index 762ee3a..8f77271 100644 --- a/src/pages/searchList/hightSearchList.tsx +++ b/src/pages/searchList/hightSearchList.tsx @@ -5,7 +5,7 @@ import Filter from "@/components/filter"; import InfiniteScroll from '@/components/infiniteScroll' import SortBtn from "@/components/sortBtn"; import Tabs from "@/components/tabs"; -import styles from './index.module.scss' +import styles from './hightSearchList.module.scss' import { useCallback, useState } from "react"; export default () => { @@ -65,7 +65,6 @@ export default () => { - 搜索结果 (2条记录) diff --git a/src/pages/searchList/search.tsx b/src/pages/searchList/search.tsx index 2c19f4b..247fa58 100644 --- a/src/pages/searchList/search.tsx +++ b/src/pages/searchList/search.tsx @@ -3,13 +3,13 @@ import { View } from '@tarojs/components' import Search from '@/components/search' import { goLink } from '@/common/common'; import classnames from "classnames"; -import styles from './index.module.scss' +import styles from './search.module.scss' export default () => { return ( - goLink('/pages/searchList/index')}/> + goLink('/pages/searchList/searchList')}/> diff --git a/src/pages/searchList/index.config.ts b/src/pages/searchList/searchList.config.ts similarity index 100% rename from src/pages/searchList/index.config.ts rename to src/pages/searchList/searchList.config.ts diff --git a/src/pages/searchList/index.module.scss b/src/pages/searchList/searchList.module.scss similarity index 100% rename from src/pages/searchList/index.module.scss rename to src/pages/searchList/searchList.module.scss diff --git a/src/pages/searchList/index.tsx b/src/pages/searchList/searchList.tsx similarity index 96% rename from src/pages/searchList/index.tsx rename to src/pages/searchList/searchList.tsx index 762ee3a..2379d9c 100644 --- a/src/pages/searchList/index.tsx +++ b/src/pages/searchList/searchList.tsx @@ -5,7 +5,7 @@ import Filter from "@/components/filter"; import InfiniteScroll from '@/components/infiniteScroll' import SortBtn from "@/components/sortBtn"; import Tabs from "@/components/tabs"; -import styles from './index.module.scss' +import styles from './searchList.module.scss' import { useCallback, useState } from "react"; export default () => { @@ -65,7 +65,6 @@ export default () => { - 搜索结果 (2条记录)