simulatorDlRank.tmpl 812 B

123456789101112131415161718192021222324
  1. <ul class="gList-rank">
  2. <% for(var i=0; i<data.length && i<10; i++){ %>
  3. <% if(i==0){ %>
  4. <li class="item-rank active">
  5. <% }else{ %>
  6. <li class="item-rank">
  7. <% } %>
  8. <a href='./simulatorDetail.html?gameId=<%= data[i]["id"] %>&tid=45572470' target="_blank">
  9. <div class="item-index">
  10. <em class="item-index"><%= i+1 %></em>
  11. </div>
  12. <div class="item-cont">
  13. <div class="item-cover">
  14. <img src='<%= data[i]["icon"] %>' alt='<%= data[i]["name"] %>'>
  15. </div>
  16. <div class="item-info">
  17. <h3 class="item-title"><%= data[i]["name"] %></h3>
  18. <p class="item-dl"><%= data[i]["downloadNum"] %><span>人下载</span></p>
  19. </div>
  20. </div>
  21. </a>
  22. </li>
  23. <% } %>
  24. </ul>