Skip to content

Commit

Permalink
enter
Browse files Browse the repository at this point in the history
  • Loading branch information
lizongwen committed Jan 8, 2019
1 parent 1c65a08 commit e908701
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
5 changes: 4 additions & 1 deletion assets/js/backend/advanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ define(['jquery', 'bootstrap', 'bootstrap-select', 'select2', 'select2-to-tree',
var Controller = {
index: function () {
$('.selectpicker').each(function () {
$(this).selectpicker()
$(this).selectpicker({
iconBase:'icon iconfont',
tickIcon:'icon-check1'
})
});
// $('#select2_id_1').each(function () {
// $(this).select2({
Expand Down
37 changes: 36 additions & 1 deletion views/advanced.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,47 @@ <h3 class="box-title">多选插件-bootstrap-select</h3>
<div class="box-body">
<div class="form-group">
<label>bootstrap-select</label>
<select class="form-control selectpicker">
<select class="form-control selectpicker" id="bootstrapSelect" multiple data-live-search="true">
<option>option 1</option>
<option>option 2</option>
<option>option 3</option>
<option>option 4</option>
<option>option 5</option>
<option>option 6</option>
<option>option 7</option>
<option>option 8</option>
<option>option 9</option>
<option>option 10</option>
<option>option 11</option>
<option>option 12</option>
<option>option 13</option>
<option>option 14</option>
<option>option 15</option>
<option>option 16</option>
<option>option 17</option>
<option>option 18</option>
<option>option 19</option>
<option>option 20</option>
<option>option 21</option>
<option>option 22</option>
<option>option 23</option>
<option>option 24</option>
<option>option 25</option>
<option>option 26</option>
<option>option 27</option>
<option>option 28</option>
<option>option 29</option>
<option>option 30</option>
<option>option 31</option>
<option>option 32</option>
<option>option 33</option>
<option>option 34</option>
<option>option 35</option>
<option>option 36</option>
<option>option 37</option>
<option>option 38</option>
<option>option 39</option>
<option>option 40</option>
</select>
</div>
</div>
Expand Down

0 comments on commit e908701

Please sign in to comment.