🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
~~~ <input type="hidden" name="id" value="{$row['id']}"> <fa:select name="pid" title="上级菜单"> {$select_categorys} </fa:select> <fa:input name="title" title="菜单名称" value="{$row['title']}" /> <fa:select name="display" title="显示设置"> <option value="1" <eq name="row.display" value="1">selected=""</eq> >主菜单</option> <option value="2" <eq name="row.display" value="2">selected=""</eq> >子菜单</option> <option value="3" <eq name="row.display" value="3">selected=""</eq> >隐藏</option> </fa:select> <fa:input name="action" title="节点" value="{$row['action']}" /> <fa:input name="sort" title="排序" value="{$row['sort']?$row['sort']:999}" help="请填写自然数。商品分类将会根据排序进行由小到大排列显示" /> <fa:select name="status" title="是否启用"> <option value="1" <if condition="($row.status eq 1) OR ($row['status'] eq '') ">selected</if> >启用</option> <option value="0" <eq name="row.status" value="0">selected</eq>>禁用</option> </fa:select> <fa:submit value="保存"/> ~~~