## 表單樣式
[TOC]
## 文件表單
個性定制請參考依賴的組件: [http://markusslima.github.io/bootstrap-filestyle/](http://markusslima.github.io/bootstrap-filestyle/)

```
<input type="file" class="filestyle" data-text="上傳圖片" data-placeholder="請選擇上傳文件" data-btnClass="btn-primary">
<script>
require(['hdjs','bootstrap], function (hdjs) {
hdjs.bootstrapfilestyle(':file');
})
</script>
```
## 列表框
本組件用于實現列表框選擇樣式。
個性定制請參考依賴的組件: [http://select2.github.io/examples.html](http://select2.github.io/examples.html)

```
<div>
<select class="js-example-basic-single form-control" multiple="multiple">
<option value="hdr">后盾人</option>
<option value="hdphp">HDPHP</option>
<option value="hdy">后盾云</option>
</select>
</div>
<script>
require(['hdjs','bootstrap'], function (hdjs) {
hdjs.select2('.js-example-basic-single');
})
</script>
```
## 復選框
參考文檔: [http://bootstrapswitch.com/](http://bootstrapswitch.com/)

```
<input type="checkbox" name="status" class="bootstrap-switch">
<script>
require(['hdjs','bootstrap'],function(hdjs){
hdjs.bootstrapswitch('.bootstrap-switch');
})
</script>
```
- 文檔已經遷移到后盾人
- 基礎知識
- 項目介紹
- 安裝配置
- 日期時間
- 日期選擇
- 列表框日期
- 日期區間
- 時間選擇
- moment
- 上傳處理
- 初始配置
- 圖片上傳
- 文件上傳
- 消息通知
- 消息通知
- Bootstrap消息
- izitoast
- SweetAlert
- 模態框
- 表單管理
- 異步請求
- 表單提交
- 表單驗證
- 擴展組件
- GET參數
- 剪貼板
- 表情選擇
- 圖表
- 拾色器
- 二維碼生成
- 光標控制
- 數據驗證
- md5
- 設備檢測
- Loading
- 預覽圖片
- 圖標庫
- COOKIE
- 百度地圖
- 城市選擇
- Vue.js
- jQuery
- axios
- 播放器
- 幻燈片
- 代碼高亮
- 阿里云OSS
- 驗證碼
- 頁面滾動
- lodash
- momentjs
- markdownIt
- 元素頁面固定
- 編輯器
- ueditor
- editor.md
- SimpleMDE
- simditor
- 自定義組件
- 1.0(舊版)
- 基礎知識
- 作者向軍
- 安裝配置
- 查看效果
- 元素樣式
- 日期時間
- 日期選擇
- 日期區間
- 時間選擇
- moment
- 上傳處理
- 圖片上傳
- 文件上傳
- 后臺處理
- 模態消息
- 模態
- notify
- bootstrap
- 表單管理
- 表單提交
- 表單驗證
- 表單樣式
- 擴展組件
- 自定義組件
- get參數
- 剪貼板
- 表情選擇
- 圖表
- 拾色器
- 二維碼生成
- 光標控制
- 數據驗證
- MD5
- loading
- 預覽圖片
- 圖標庫
- COOKIE
- 百度地圖
- 城市選擇
- Vuejs
- jQuery
- 播放器
- 幻燈片
- axios
- 代碼高亮
- 阿里云OSS
- 驗證碼
- 正則表達式
- 工具函數
- 編輯器
- 百度編輯器
- markdown
- simplemde-markdow