<div class="list-panel" data-role='<%= data.role %>'>
    <% if(data.list){ %>
        <ul class="glist-game gList-row3" data-page-role="list">
            <% for(var i=0; i<data.list.length; i++){ %>
            <% if(i<18){ %>
            <li class="gItem-game">
            <% }else{ %>
            <li class="gItem-game u-hide">
            <% } %>
                <a href='./simulatorDetail.html?gameId=<%= data.list[i]["id"] %>&tid=45572470' target="_blank" class="gItem-cover">
                    <img src='<%= data.list[i]["icon"] %>' alt='<%= data.list[i]["name"] %>'>
                </a>
                <div class="gItem-btn" style="display:none">启动</div>
                <a href='./simulatorDetail.html?gameId=<%= data.list[i]["id"] %>&tid=45572470' target="_blank" class="gItem-title"><%= data.list[i]["name"] %></a>
            </li>
            <% } %>
        </ul>
        <% if(Math.ceil(data.list.length/18)>1){ %>
        <div class="g-page-num" data-page-role="nav">
            <span class="btn-page btn-page-prev is-disabled">上一页</span>
            <span>第<em class="page-index">1</em>/<em class="page-num"><%= Math.ceil(data.list.length/18) %></em>页</span>
            <span class="btn-page btn-page-next">下一页</span>
            <span>第<input type="text" name="pageIndex" class="txt-page">页</span>
            <span class="btn-page btn-page-go">Go</span>
        </div>
        <% } %>
    <% }else{ %>
    <div class="result-empty">
        <div class="pic-hezi"></div>
        <p>我很努力了，但是还是没有搜索到 </p>
    </div>
    <% } %>
</div>
