123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <div class="dl-header clearfix">
- <div class="game-cover">
- <img src='<%= data["icon"] %>' alt="">
- </div>
- <div class="game-info">
- <div class="info-row1 clearfix">
- <h2><%= data["name"] %></h2>
- <ul>
- <% for(var i=0; i<data["categories"].length; i++){ %>
- <li class="bg-yellow"><%= data["categories"][i]["categoryName"] %></li>
- <% } %>
- </ul>
- </div>
- <div class="info-row2">
- <span><%= (data["appSize"]/1024/1024).toFixed(2) %> M</span>
- <span><%= data["downloadNum"] %> 人下载</span>
- </div>
- </div>
- <div class="game-install">
- <% if(data["isInstall"]){ %>
- <a href='lolbox://startemulator_packageName=<%= data["packageName"] %>' target="_blank" class="btn-install">启动</a>
- <% }else{ %>
- <a href='<%= data["apkUrl"] %>?packageName=<%= data["packageName"] %>&name=<%= data["name"] %>' target="_blank" class="btn-install">安装</a>
- <% } %>
- <div class="btn-phone" data-url='<%= data["apkUrl"] %>'>安装到手机»</div>
- </div>
- </div>
- <div class="dl-body">
- <div class="dl-carousel" data-role="carousel-banner">
- <div class="dl-cover_scroller">
- <ul class="dl-cover_content" data-switchable-role="content">
- <% for(var i=0; i<data.bannerUrls.length; i++){ %>
- <li>
- <img src='<%= data.bannerUrls[i] %>' alt="">
- </li>
- <% } %>
- </ul>
- </div>
- <span class="dl-cover_prev" data-switchable-role="prev"><i class="ui-icon"></i></span>
- <span class="dl-cover_next" data-switchable-role="next"><i class="ui-icon"></i></span>
- </div>
- <div class="dl-intro">
- <% var date = new Date(data["updateTime"]);
- var timeInfo = date.getFullYear()+"年"+(date.getMonth()+1)+"月"+date.getDate()+"日";
- %>
- <p class="info-row">
- <span>版本号:<%= data["versionNum"] %></span>
- <span>更新时间:<%= timeInfo %></span>
- <span>来源:<%= data["sourceName"] %></span>
- </p>
- <h3>应用信息</h3>
- <div><%= data["desc"] %></div>
- </div>
- </div>
|