From 76ffa9b86cb17e6d35f17bf1a69dee009b42d709 Mon Sep 17 00:00:00 2001
From: czm <2192718639@qq.com>
Date: Mon, 18 Apr 2022 13:52:56 +0800
Subject: [PATCH] =?UTF-8?q?=E9=AB=98=E7=BA=A7=E6=90=9C=E7=B4=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/app.config.ts | 5 +++--
src/pages/index/index.tsx | 2 +-
src/pages/searchList/hightSearchList.tsx | 3 +--
src/pages/searchList/search.tsx | 4 ++--
.../searchList/{index.config.ts => searchList.config.ts} | 0
.../searchList/{index.module.scss => searchList.module.scss} | 0
src/pages/searchList/{index.tsx => searchList.tsx} | 3 +--
7 files changed, 8 insertions(+), 9 deletions(-)
rename src/pages/searchList/{index.config.ts => searchList.config.ts} (100%)
rename src/pages/searchList/{index.module.scss => searchList.module.scss} (100%)
rename src/pages/searchList/{index.tsx => searchList.tsx} (96%)
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条记录)