高级搜索
This commit is contained in:
parent
36fe6f0c1d
commit
76ffa9b86c
@ -1,9 +1,10 @@
|
|||||||
export default {
|
export default {
|
||||||
pages: [
|
pages: [
|
||||||
'pages/index/index',
|
'pages/index/index',
|
||||||
'pages/search/index',
|
|
||||||
'pages/user/index',
|
'pages/user/index',
|
||||||
'pages/searchList/index',
|
'pages/searchList/searchList',
|
||||||
|
'pages/searchList/hightSearchList',
|
||||||
|
'pages/searchList/search',
|
||||||
'pages/classList/index',
|
'pages/classList/index',
|
||||||
'pages/details/index',
|
'pages/details/index',
|
||||||
],
|
],
|
||||||
|
@ -40,7 +40,7 @@ export default () => {
|
|||||||
<View className={styles.search}>
|
<View className={styles.search}>
|
||||||
<View className={styles.search_collect}>我的收藏</View>
|
<View className={styles.search_collect}>我的收藏</View>
|
||||||
<View className={styles.search_input}>
|
<View className={styles.search_input}>
|
||||||
<Search disabled={true} style={{width: '263rpx'}} clickOnSearch={() => goLink('/pages/search/index')}/>
|
<Search disabled={true} style={{width: '263rpx'}} clickOnSearch={() => goLink('/pages/searchList/search')}/>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
<View className={styles.products}>
|
<View className={styles.products}>
|
||||||
|
@ -5,7 +5,7 @@ import Filter from "@/components/filter";
|
|||||||
import InfiniteScroll from '@/components/infiniteScroll'
|
import InfiniteScroll from '@/components/infiniteScroll'
|
||||||
import SortBtn from "@/components/sortBtn";
|
import SortBtn from "@/components/sortBtn";
|
||||||
import Tabs from "@/components/tabs";
|
import Tabs from "@/components/tabs";
|
||||||
import styles from './index.module.scss'
|
import styles from './hightSearchList.module.scss'
|
||||||
import { useCallback, useState } from "react";
|
import { useCallback, useState } from "react";
|
||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
@ -65,7 +65,6 @@ export default () => {
|
|||||||
<Text className={classnames('iconfont icon-shaixuan', styles.miconfont)}></Text>
|
<Text className={classnames('iconfont icon-shaixuan', styles.miconfont)}></Text>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
</View>
|
</View>
|
||||||
<View className={styles.list}>
|
<View className={styles.list}>
|
||||||
<View className={classnames(styles.list_num, scrollStatus&&styles.list_num_shadow)}>搜索结果 (2条记录)</View>
|
<View className={classnames(styles.list_num, scrollStatus&&styles.list_num_shadow)}>搜索结果 (2条记录)</View>
|
||||||
|
@ -3,13 +3,13 @@ import { View } from '@tarojs/components'
|
|||||||
import Search from '@/components/search'
|
import Search from '@/components/search'
|
||||||
import { goLink } from '@/common/common';
|
import { goLink } from '@/common/common';
|
||||||
import classnames from "classnames";
|
import classnames from "classnames";
|
||||||
import styles from './index.module.scss'
|
import styles from './search.module.scss'
|
||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
return (
|
return (
|
||||||
<View className={styles.main}>
|
<View className={styles.main}>
|
||||||
<View className={styles.search}>
|
<View className={styles.search}>
|
||||||
<Search style={{width: '100%'}} placeholder="请输入面料关键词" placeIcon="out" showBtn={true} clickOnSearch={() => goLink('/pages/searchList/index')}/>
|
<Search style={{width: '100%'}} placeholder="请输入面料关键词" placeIcon="out" showBtn={true} clickOnSearch={() => goLink('/pages/searchList/searchList')}/>
|
||||||
</View>
|
</View>
|
||||||
<View className={styles.hot}>
|
<View className={styles.hot}>
|
||||||
<View className={styles.hot_header}>
|
<View className={styles.hot_header}>
|
||||||
|
@ -5,7 +5,7 @@ import Filter from "@/components/filter";
|
|||||||
import InfiniteScroll from '@/components/infiniteScroll'
|
import InfiniteScroll from '@/components/infiniteScroll'
|
||||||
import SortBtn from "@/components/sortBtn";
|
import SortBtn from "@/components/sortBtn";
|
||||||
import Tabs from "@/components/tabs";
|
import Tabs from "@/components/tabs";
|
||||||
import styles from './index.module.scss'
|
import styles from './searchList.module.scss'
|
||||||
import { useCallback, useState } from "react";
|
import { useCallback, useState } from "react";
|
||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
@ -65,7 +65,6 @@ export default () => {
|
|||||||
<Text className={classnames('iconfont icon-shaixuan', styles.miconfont)}></Text>
|
<Text className={classnames('iconfont icon-shaixuan', styles.miconfont)}></Text>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
</View>
|
</View>
|
||||||
<View className={styles.list}>
|
<View className={styles.list}>
|
||||||
<View className={classnames(styles.list_num, scrollStatus&&styles.list_num_shadow)}>搜索结果 (2条记录)</View>
|
<View className={classnames(styles.list_num, scrollStatus&&styles.list_num_shadow)}>搜索结果 (2条记录)</View>
|
Loading…
x
Reference in New Issue
Block a user