<% if(type==3){ %>
    <ul class="glist-game gList-row3">
        <% for(var i=0; i<data.length; i++){ %>
        <% if(i<18){ %>
        <li class="gItem-game">
        <% }else{ %>
        <li class="gItem-game u-hide">
        <% } %>
            <a href='lolbox://startemulator_packageName=<%= data[i]["packageName"] %>' target="_blank" class="gItem-cover">
                <img src='<%= data[i]["icon"] %>' alt='<%= data[i]["name"] %>'>
            </a>
            <a href='lolbox://startemulator_packageName=<%= data[i]["packageName"] %>' target="_blank" class="gItem-title"><%= data[i]["name"] %></a>
        </li>
        <% } %>
    </ul>
    <% if(Math.ceil(data.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.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 if(type==2){ %>
<div class="result-empty">
    <div class="pic-hezi2"></div>
    <p>您还没有安装手游哦。</p>
</div>
<% } else { %>
<div class="result-empty">
    <div class="pic-hezi2"></div>
    <p>您还没有安装手游哦。</p>
    <p>马上下载模拟器，在电脑玩自己喜欢的手游吧！</p>
    <a href="lolbox://downloademulator" target="_blank" class="btn-dl">立即下载</a>
</div>
<% } %>
