simulatorMyGame.tmpl 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <% if(type==3){ %>
  2. <ul class="glist-game gList-row3">
  3. <% for(var i=0; i<data.length; i++){ %>
  4. <% if(i<18){ %>
  5. <li class="gItem-game">
  6. <% }else{ %>
  7. <li class="gItem-game u-hide">
  8. <% } %>
  9. <a href='lolbox://startemulator_packageName=<%= data[i]["packageName"] %>' target="_blank" class="gItem-cover">
  10. <img src='<%= data[i]["icon"] %>' alt='<%= data[i]["name"] %>'>
  11. </a>
  12. <a href='lolbox://startemulator_packageName=<%= data[i]["packageName"] %>' target="_blank" class="gItem-title"><%= data[i]["name"] %></a>
  13. </li>
  14. <% } %>
  15. </ul>
  16. <% if(Math.ceil(data.length/18)>1){ %>
  17. <div class="g-page-num" data-page-role="nav">
  18. <span class="btn-page btn-page-prev is-disabled">上一页</span>
  19. <span>第<em class="page-index">1</em>/<em class="page-num"><%= Math.ceil(data.length/18) %></em>页</span>
  20. <span class="btn-page btn-page-next">下一页</span>
  21. <span>第<input type="text" name="pageIndex" class="txt-page">页</span>
  22. <span class="btn-page btn-page-go">Go</span>
  23. </div>
  24. <% } %>
  25. <% }else if(type==2){ %>
  26. <div class="result-empty">
  27. <div class="pic-hezi2"></div>
  28. <p>您还没有安装手游哦。</p>
  29. </div>
  30. <% } else { %>
  31. <div class="result-empty">
  32. <div class="pic-hezi2"></div>
  33. <p>您还没有安装手游哦。</p>
  34. <p>马上下载模拟器,在电脑玩自己喜欢的手游吧!</p>
  35. <a href="lolbox://downloademulator" target="_blank" class="btn-dl">立即下载</a>
  36. </div>
  37. <% } %>