已优化

This commit is contained in:
2022-04-18 13:35:41 +08:00
committed by li tong bao
parent eadb8b1e61
commit 5acf8dbd21
9 changed files with 92 additions and 44 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
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'
@@ -8,7 +9,7 @@ export default () => {
return (
<View className={styles.main}>
<View className={styles.search}>
<Search style={{width: '100%'}} placeholder="请输入面料关键词" placeIcon="out" showBtn={true}/>
<Search style={{width: '100%'}} placeholder="请输入面料关键词" placeIcon="out" showBtn={true} clickOnSearch={() => goLink('/pages/searchList/index')}/>
</View>
<View className={styles.hot}>
<View className={styles.hot_header}>