1、TP3.2 模板 select 下拉框采坑
<div class="form-item"> <label class="item-label">上级部门<span class="check-tips"></span></label> <div class="controls"> <select type="" name="pid"> <volist name="_list" id="vo"> <eq name="vo.id" value="$department.pid"> <option value="{$vo.pid}" selected >{$vo.dep_name}</option> <else/> <option value="{$vo.pid}" >{$vo.dep_name}</option> </eq> </volist> </select> </div> </div>
2、