已优化

This commit is contained in:
2022-04-14 14:34:55 +08:00
parent 9350978491
commit 8e5e73909d
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}>