ive有一个类似
的选择框<select class="form-control selectpicker">
<option value="-1" class="none">None</option>
<option value="0" class="quotation">Quotation</option>
<option value="1" data-icon="fa" class="job">Job</option>
<option value="2" data-icon="fa" class="invoiced">Invoiced</option>
<option value="3" data-icon="fa" class="dormant">Dormant</option>
<option value="4" data-icon="fa" class="closed-pending-pon">Closed Pending PON</option>
<option value="5" data-icon="fa" class="on-approval">On Approval</option>
<option value="6" data-icon="fa" class="on-hold">On Hold</option>
<option value="7" data-icon="fa" class="complete">Complete</option>
</select>
当我将其设置为引导选择时,我不知道如何根据所选值更改选择(下拉切换)的颜色?