
<div>
    <div class="field-body _input" id="data">
        <div class="field">
            <div class="control" class="allowSelect">
                <input id="method"  
                class="input is-primary allowSelect "
                name="type" 
                placeholder="请输入模板名"
                type="text" pattern=".{1,}">
            </div>
        </div>
    </div>
</div>

<div style="margin-bottom: 1rem">
    <span class="tag is-warning cursor" id="save">保存模板</span>
</div>

<div id="group">
    {%function a($Rd)%}
        <ul class="menu-list" >
            {%for(var index in $Rd)%}
                {%if(index!='$value' && index!='$id')%}
                    {%='';let Reder=$Rd[index]%}
                    {%if(typeof Reder == 'object')%}
                        <li  group-id="{%=Reder.$id?Reder.$id:''%}" 
                            drag_id_data="{%=Reder.$value?escape(Reder.$value):''%}">
                            {%=index;a(Reder)%}
                        </li>
                    {%else%}
                        <li  group-id="{%=Reder.$id?Reder.$id:''%}" 
                            drag_id_data="{%=Reder.$value?escape(Reder.$value):''%}">
                            {%=index%}
                        </li> 
                    {%end%}
                {%end%}
            {%end%}
        </ul>
    {%end%} 
    {%='';a($Rd,'')%}
</div>





{{js=/slide/detail/aut/index.js}}
