搜索select
<div class="col-lg-3" style="margin-top: 10px;">
<span class="input-group input-group-sm">
<span class="input-group-addon"><b>手机号码:</b></span>
<input type="text" class="form-control" id="telephone" placeholder="手机号码"
value="{$telephone}" aria-describedby="telephone" autocomplete="off">
</span>
</div>
<div class="col-lg-3" style="margin-top: 10px;">
<span class="input-group input-group-sm">
<span class="input-group-addon"><b>师傅技能:</b></span>
<select name="skill_id" id="skill_id" class="form-control"
style="position: relative; left:-4px;z-index: 1;border-radius:3px;"
aria-describedby="object">
<option value="0">--请选择--</option>
<volist name="skill_id_name" id="vo">
<option value="{$vo.id}"
<?php if($skill_id == $vo['id']){echo "selected";} ?>>
{$vo.name}</option>
</volist>
</select>
</span>
</div>
<div class="col-lg-3" style="margin-top: 10px;">
<span class="input-group input-group-sm">
<span class="input-group-addon"><b>状态:</b></span>
<select name="status" id="status" class="form-control"
style="position: relative; left:-4px;z-index: 1;border-radius:3px;"
aria-describedby="object">
<option value="0">--请选择--</option>
<option value="-1" <?php if($status == -1){echo "selected";} ?>> 待审核 </option>
<option value="1" <?php if($status == 1){echo "selected";} ?>> 正常 </option>
<option value="2" <?php if($status == 2){echo "selected";} ?>> 审核未通过 </option>
<option value="3" <?php if($status == 3){echo "selected";} ?>> 已冻结 </option>
</select>
</span>
</div>
灵活自如。