|
@@ -1,6 +1,7 @@
|
|
|
import { defineComponent, reactive, ref } from 'vue';
|
|
|
import styles from './index.module.less';
|
|
|
import { NButton, NForm, NFormItem, NInput, NSpace } from 'naive-ui';
|
|
|
+import TheSearch from '/src/components/TheSearch';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'search-group',
|
|
@@ -54,22 +55,7 @@ export default defineComponent({
|
|
|
</NSpace>
|
|
|
</NFormItem>
|
|
|
</NForm>
|
|
|
- <NInput
|
|
|
- type="text"
|
|
|
- placeholder="请输入搜索关键词"
|
|
|
- clearable
|
|
|
- round
|
|
|
- v-model:value={forms.search}
|
|
|
- class={styles.inputSearch}>
|
|
|
- {{
|
|
|
- prefix: () => <span class={'icon-search-input'}></span>,
|
|
|
- suffix: () => (
|
|
|
- <NButton round type="primary" class={styles.searchBtn}>
|
|
|
- 搜索
|
|
|
- </NButton>
|
|
|
- )
|
|
|
- }}
|
|
|
- </NInput>
|
|
|
+ <TheSearch class={styles.inputSearch} round />
|
|
|
</div>
|
|
|
);
|
|
|
}
|