<route id="${itemId}" >
<div id="${itemId}Item" onclick="selectMenu('${itemId}',true,false);" class="item">
    <pre id="${itemId}Comment" style="display:none;" >
        ${itemInfo}
    </pre>
    <pre id="${itemId}JsCode" style="display:none;" >
        ${itemJsInfo}
    </pre>
    <div style="display: flex;">
        <div style="flex: 1;">
          <h2 >${itemTitle}</h2>
          <span style="font-size: smaller;color: #797979">${itemClass}</span>
        </div>
        <button class="cpl" onclick="copyLink('${itemTitleSimple}','${itemId}')" type="button">复制分享链接</button>
        &nbsp;&nbsp;
        <button class="cpl" type="button" onclick="copyComment('${itemId}')" >复制参数</button>
        &nbsp;&nbsp;
        <button class="cpl" type="button" onclick="copyJsCode('${itemId}')" >复制JS代码</button>
    </div>
    <blockquote>请求地址（URL）</blockquote>
    <div class="address">${itemUrl}</div>
    <blockquote>请求方法（Method）</blockquote>
    <div class="address">${httpMethods}</div>
    <blockquote>请求类型（ContentType）</blockquote>
    <div class="address">${httpContentTypes}</div>
    <blockquote>请求参数（Params）（${countParams}）</blockquote>
    <form method="post" id="${itemId}Form" onsubmit="return onSubmitForm('${itemId}',this);" action="${postUrl}" target="_blank" enctype="multipart/form-data" >
        <input type="hidden" name="__accept" value="application/json" />
        <table>
            <thead>
            <tr>
                <th width="150">
                    参数名
                </th>
                <th>
                    参数说明
                </th>
                <th width="250">
                    测试值
                </th>
            </tr>
            </thead>
            ${items}
            <tfoot>
            <tr>
                <td colspan="3">
                    <button class="sbt" type="submit">提交测试数据</button>
                </td>
            </tr>
            </tfoot>
        </table>
    </form>
</div>
</route>