{{css=/slide/detail/com/index.css}}




<div style="height: 65vh;overflow-y: scroll;position: relative;">
    <div >
        <div style="margin-bottom: 0.2rem">
            元素：<br/><span style="color: yellow">{%=$Rd.curr.tag%} ({%=$Rd.curr.attr%})</span> 
        </div>
        <div style="margin-bottom: 0.2rem">
            父元素：<br/><span style="color: yellow">{%=$Rd.par.tag%} ({%=$Rd.par.attr%})</span>
        </div>
    </div>
    <div style="margin-bottom: 0.2rem">
        <span class="tag is-warning cursor _tag" id="pre">预览父元素</span>
        <span class="tag is-warning cursor _tag" id="par">到父元素</span>
        <span class="tag is-warning cursor _tag" id="dar">禁止拖动</span>
        <span class="tag is-warning cursor _tag" id="ent">允许进入</span>
        <span class="tag is-warning cursor _tag" id="eni">允许编辑</span>
        <span class="tag is-warning cursor _tag" id="del">删除元素</span>
    </div>
            
    <ul style="flex-wrap: wrap;justify-content: space-between;" class="menu-list flex" id="group" _style='flex'>
    {%range~$Rd.obj%}
        
        {%='';let curax=$Rder;%}
        <b class="cursor"
            style="width: 100%;text-align:left;font-weight: 600;background: rgba(255, 255, 255, 0.5);padding: 0.5rem;margin: 0.2rem" tab='true'>
            {%=$index%} 
        </b>
        <div style="width: 100%;margin:0.2rem">
        {%range~curax%}
            <div class="field is-horizontal _between " >
                <div class="field-label is-normal _lable" >
                    <label class="label" >{%=$index%}</label>
                </div>
                {%if ($Rder.type==1)%}
                    <div class="field-body _input">
                        <div class="field">
                            <div class="control" class="allowSelect">
                                <input id="method"  
                                class="input is-primary allowSelect "
                                name="{%=$Rder.name%}" 
                                value="{%=$Rder.value%}"  
                                type="text" pattern=".*">
                            </div>
                        </div>
                    </div>
                {%else%}
                    <div class="control" >
                        <div class="select is-primary">
                            <select name="{%=$Rder.name%}">
                                {%='';let cura=$Rder.list;let curv=$Rder.value%}
                                <option value="" >default</option>
                                {%range~cura%}
                                    {%if (curv==$Rder)%}
                                        <option value="{%=$Rder%}" selected>{%=$Rder%}</option>
                                    {%else%}
                                        <option value="{%=$Rder%}" >{%=$Rder%}</option>
                                    {%end%}
                                {%end%}
                            </select>
                        </div>
                    </div>
                {%end%}
            </div>
        {%end%}
        </div>
            
    {%end%}

    </ul>
</div>







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