mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修复系统菜单编辑表单注解
This commit is contained in:
parent
4f5afd6905
commit
c6dc35377f
@ -12,6 +12,7 @@
|
||||
<!--{/eq}-->
|
||||
<!--{/foreach}-->
|
||||
</select>
|
||||
<p class="help-block"><b>必填</b>,请选择上级菜单或顶级菜单(目前最多支持三级菜单)。</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -19,6 +20,7 @@
|
||||
<label class="layui-form-label">菜单名称</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="title" value='{$vo.title|default=""}' required="required" title="请输入菜单名称" placeholder="请输入菜单名称" class="layui-input">
|
||||
<p class="help-block"><b>必填</b>,请填写菜单名称(如:系统管理),建议字符不要太长,一般4-6个汉字。</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -26,6 +28,10 @@
|
||||
<label class="layui-form-label">菜单链接</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" onblur="(this.value === '') && (this.value = '#')" name="url" autocomplete="off" required="required" title="请输入菜单链接" placeholder="请输入菜单链接" value="{$vo.url|default='#'}" class="layui-input typeahead">
|
||||
<p class="help-block">
|
||||
<b>必填</b>,请填写系统节点(如:admin/user/index),节点加入权限管理时菜单才会自动隐藏,非规则内的不会隐藏;
|
||||
<br>正常情况下,在输入的时候会有自动提示。如果是上级菜单时,请填写"#"符号,不要填写地址或节点地址。
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -33,19 +39,22 @@
|
||||
<label class="layui-form-label">链接参数</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="params" autocomplete="off" title="请输入链接参数" placeholder="请输入链接参数" value="{$vo.params|default=''}" class="layui-input">
|
||||
<p class="help-block">可选,设置菜单链接GET参数。如:name=1&age=3</p>
|
||||
<p class="help-block"><b>可选</b>,设置菜单链接的GET访问参数(如:name=1&age=3)</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">菜单图标</label>
|
||||
<div class="layui-input-inline" style='width:300px'>
|
||||
<input placeholder="请输入或选择图标" onchange="$('#icon-preview').get(0).className = this.value" type="text" name="icon" value='{$vo.icon|default=""}' class="layui-input">
|
||||
</div>
|
||||
<span class='layui-btn layui-btn-primary' style='padding:0 12px;min-width:45px'>
|
||||
<div class="layui-input-block">
|
||||
<div class="layui-input-inline" style='width:300px'>
|
||||
<input placeholder="请输入或选择图标" onchange="$('#icon-preview').get(0).className = this.value" type="text" name="icon" value='{$vo.icon|default=""}' class="layui-input">
|
||||
</div>
|
||||
<span class='layui-btn layui-btn-primary' style='padding:0 12px;min-width:45px'>
|
||||
<i id='icon-preview' style='font-size:1.2em' class='{$vo.icon|default=""}'></i>
|
||||
</span>
|
||||
<button data-icon='icon' type='button' class='layui-btn layui-btn-primary'>选择图标</button>
|
||||
<button data-icon='icon' type='button' class='layui-btn layui-btn-primary'>选择图标</button>
|
||||
<p class="help-block"><b>可选</b>,设置菜单选项前置图标,目前只支持 Font Awesome 4.7.0 字体图标。</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hr-line-dashed"></div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user