# longbow-select **Repository Path**: Longbow/longbow-select ## Basic Information - **Project Name**: longbow-select - **Description**: bootstrap 类型 select 下拉框组件 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: http://longbowenterprise.gitee.io/longbow-select/ - **GVP Project**: No ## Statistics - **Stars**: 73 - **Forks**: 9 - **Created**: 2019-05-07 - **Last Updated**: 2025-08-25 ## Categories & Tags **Categories**: webui, bootstrap-plugins **Tags**: None ## README ## Bootstrap 风格下拉框 Bootstrap 风格页面中Select在不同的浏览器下呈现各有不同,但是相同的一点是非常的丑陋,由于表单录入、数据展示时下拉框经常与文本框一同使用,下拉框在form-control样式下与文本框宽度不一致,使用起来非常的别扭,本人利用文本框改造了一个下拉框样式使用起来非常方便与美观,与文本框一起使用非常完美。 ## 在线演示 单页面演示:http://longbowenterprise.gitee.io/longbow-select/ 项目内演示:http://argo.zylweb.cn/ (本项目为开源后台管理框架 [[BootstrapAdmin](https://gitee.com/LongbowEnterprise/BootstrapAdmin)]) ## 快速开始 ### 组件依赖 jQuery bootstrap font-awesome ### CSS ```html ``` 将引入样式表的 <link> 标签复制并粘贴到 <head> 中,并放在所有其他样式表之前。 ### JS ```html ``` 将引入脚本的 <script> 标签复制并粘贴到 <body> 最后面。 ## 用法 添加网页Html元素 ```html ``` ## API ### 通过 javascript 初始化控件 ```html ``` ### Options 可以根据自己需要设置占位符,边框颜色等 ```html ``` ## 项目截图 ![后台首页](https://gitee.com/LongbowEnterprise/Pictures/raw/master/select/select.png "select.png") ## Issue 请前往 [Issue](../../issues) 页面添加问题 ## 参与贡献 1. Fork 本项目 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request