# bm_search_input **Repository Path**: BIGDreenHouse/bm_search_input ## Basic Information - **Project Name**: bm_search_input - **Description**: 基于vue的搜索框,包含存储和删除历史记录以及搜索建议列表 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-16 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # bm_search_input ## 介绍 基于vue3的搜索框,包含存储和删除历史记录以及搜索建议列表,用户可以在配置中选择是否需要历史记录。 ## 展示  ## 下载 ``` npm install bm_search_input -S ``` ## 引入 ``` import bm_search_input from 'bm_search_input' Vue.component('bm_search_input',bm_search_input); ``` ## 配置
| 参数 | 类型 | 默认值 | 备注 |
|---|---|---|---|
| isHistory | Boolean | true | 要选择是否需要历史记录,需要用true,不需要用false |
| lists_title | Array | 无 | 搜索建议列表中的标题,不需要可以不传参 |
| lists_note | Array | 无 | 搜索建议列表中的备注,不需要可以不传参 |
| input_length | String | 200px | 自定义搜索框长度(单位:px) |