{extend name="$_admin_base_layout" /} {block name="content"} {notempty name="page_tips"}

{$page_tips}

{/notempty} {$extra_html_content_top|default=''}
{notempty name="tab_nav"}
{else/} {empty name="_pop"}

### {$page_title|default=""}

{/empty} {/notempty}
{$extra_html_form_top|default=''} {notempty name="_token_name"} {:token($_token_name, $_token_value)} {/notempty} {empty name="form_items"} {notempty name="empty_tips"}

{$empty_tips}

{/notempty} {else /} {volist name="form_items" id="form"} {switch name="form.type"} {case value="archive"} {// 档案文件 } {include file="../application/common/builder/form/items/archive.html" type='' /} {/case} {case value="archives"} {// 多个档案文件 } {include file="../application/common/builder/form/items/archives.html" type='' /} {/case} {case value="bmap"} {// 百度地图 } {include file="../application/common/builder/form/items/bmap.html" type='' /} {/case} {case value="button"} {// 按钮 } {include file="../application/common/builder/form/items/button.html" type='' /} {/case} {case value="checkbox"} {// 多选 } {include file="../application/common/builder/form/items/checkbox.html" type='' /} {/case} {case value="ckeditor"} {// ckeditor编辑器 } {include file="../application/common/builder/form/items/ckeditor.html" type='' /} {/case} {case value="colorpicker"} {// 取色器 } {include file="../application/common/builder/form/items/colorpicker.html" type='' /} {/case} {case value="date"} {// 日期 } {include file="../application/common/builder/form/items/date.html" type='' /} {/case} {case value="daterange"} {// 日期范围 } {include file="../application/common/builder/form/items/daterange.html" type='' /} {/case} {case value="datetime"} {// 日期时间 } {include file="../application/common/builder/form/items/datetime.html" type='' /} {/case} {case value="editormd"} {// markdown编辑器 } {include file="../application/common/builder/form/items/editormd.html" type='' /} {/case} {case value="file"} {// 单文件上传 } {include file="../application/common/builder/form/items/file.html" type='' /} {/case} {case value="files"} {// 多文件上传 } {include file="../application/common/builder/form/items/files.html" type='' /} {/case} {case value="gallery"} {// 图片相册 } {include file="../application/common/builder/form/items/gallery.html" type='' /} {/case} {case value="group"} {// 分组 } {include file="../application/common/builder/form/items/group.html" type='' /} {/case} {case value="hidden"} {// 隐藏 } {include file="../application/common/builder/form/items/hidden.html" type='' /} {/case} {case value="icon"} {// 图标选择器 } {include file="../application/common/builder/form/items/icon.html" type='' /} {/case} {case value="image"} {// 单图片上传 } {include file="../application/common/builder/form/items/image.html" type='' /} {/case} {case value="images"} {// 多图片上传 } {include file="../application/common/builder/form/items/images.html" type='' /} {/case} {case value="jcrop"} {// 图片裁剪 } {include file="../application/common/builder/form/items/jcrop.html" type='' /} {/case} {case value="linkage"} {// 联动下拉框 } {include file="../application/common/builder/form/items/linkage.html" type='' /} {/case} {case value="linkages"} {// 多级联动下拉框 } {include file="../application/common/builder/form/items/linkages.html" type='' /} {/case} {case value="masked"} {// 格式文本 } {include file="../application/common/builder/form/items/masked.html" type='' /} {/case} {case value="number"} {// 数字 } {include file="../application/common/builder/form/items/number.html" type='' /} {/case} {case value="password"} {// 密码 } {include file="../application/common/builder/form/items/password.html" type='' /} {/case} {case value="radio"} {// 单选 } {include file="../application/common/builder/form/items/radio.html" type='' /} {/case} {case value="range"} {// 范围 } {include file="../application/common/builder/form/items/range.html" type='' /} {/case} {case value="select"} {// 下拉菜单 } {include file="../application/common/builder/form/items/select.html" type='' /} {/case} {case value="select2"} {// 下拉多选 } {include file="../application/common/builder/form/items/select2.html" type='' /} {/case} {case value="sort"} {// 排序 } {include file="../application/common/builder/form/items/sort.html" type='' /} {/case} {case value="static"} {// 静态文本 } {include file="../application/common/builder/form/items/static.html" type='' /} {/case} {case value="summernote"} {// summernote编辑器 } {include file="../application/common/builder/form/items/summernote.html" type='' /} {/case} {case value="switch"} {// 开关 } {include file="../application/common/builder/form/items/switch.html" type='' /} {/case} {case value="tags"} {// 标签 } {include file="../application/common/builder/form/items/tags.html" type='' /} {/case} {case value="text"} {// 单行文本 } {include file="../application/common/builder/form/items/text.html" type='' /} {/case} {case value="time"} {// 时间 } {include file="../application/common/builder/form/items/time.html" type='' /} {/case} {case value="textarea|array"} {// 文本框|数组 } {include file="../application/common/builder/form/items/textarea.html" type='' /} {/case} {case value="ueditor"} {// 百度编辑器 } {include file="../application/common/builder/form/items/ueditor.html" type='' /} {/case} {case value="wangeditor"} {// wang编辑器 } {include file="../application/common/builder/form/items/wangeditor.html" type='' /} {/case} {default/} {:extend_form_item($form, $_layout)} {/switch} {/volist} {/empty}
{php}if(isset($btn_hide) && !in_array('submit', $btn_hide)):{/php}
{php}endif;{/php} {empty name="_pop"} {php}if(isset($btn_hide) && !in_array('back', $btn_hide)):{/php}
{php}endif;{/php} {else/}
{/empty} {// 额外按钮} {$btn_extra|default=''}
{$extra_html_form_bottom|default=''}
{// 图标 } {notempty name="_icon"}
搜索图标
{include file="../application/common/builder/form/icon/fa.html" /}
{include file="../application/common/builder/form/icon/gl.html" /}
{include file="../application/common/builder/form/icon/sl.html" /}
{volist name="_icons" id="icon"}
{$icon.html|default='暂无图标'}
{/volist}
{/notempty} {$extra_html_content_bottom|default=''} {/block} {block name="style"} {notempty name="_editormd"} {/notempty} {volist name="css_list" id="vo"} {/volist} {volist name="extend_css_list" id="vo"} {volist name="vo" id="v"} {/volist} {/volist} {// 额外CSS代码 } {$extra_css|default=''} {/block} {block name="script"} {notempty name="_ueditor"}
{/notempty} {notempty name="_ckeditor"}
{/notempty} {volist name="js_list" id="vo"}
{/volist} {volist name="extend_js_list" id="vo"} {volist name="vo" id="v"}
{/volist} {/volist} {// 额外JS代码 } {$extra_js|default=''} {/block}