championsStat.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
  7. <title>我的英雄</title>
  8. <link rel="stylesheet"
  9. href="http://assets.dwstatic.com/project/lolbox/2.11.0/css/global.css"/>
  10. <link rel="stylesheet" href="css/global.css">
  11. <!--[if gt IE 6]><!-->
  12. <script type="text/javascript">
  13. !function(t){t.loadScript(["http://szhuodong.duowan.com/feq/lolbox/yy-f2e-header-lolbox.min"])}(function(){function t(t){var e=n(t);document.write(e)}function n(t){for(var n,r="",c=0;n=t[c];c++)r+=e(n);return r}function e(t){var n=[unescape("%3Cscript%20type%3D%22text/javascript%22%20src%3D%22"),"",unescape("%22%3E%3C/script%3E")],e=new Date;return e.setSeconds(0),e.setMilliseconds(0),e=e.getTime(),t+="?t_="+e,n[1]=t,n.join("")}return{loadScript:function(n){n&&n.length&&n instanceof Array&&t(n)}}}())
  14. </script>
  15. <!--<![endif]-->
  16. <script src="http://assets.dwstatic.com/common/js/jquery.js" type="text/javascript"></script>
  17. <script src="js/jquery.nicescroll.min.js" type="text/javascript"></script>
  18. <script src="js/detailTooltip.js" type="text/javascript"></script>
  19. <script>
  20. var playerMostUsedHero = null,jiathis_config;
  21. </script>
  22. <script
  23. src="js/championsStat.js" type="text/javascript"></script>
  24. <script src="js/underscore.js"></script>
  25. <style>
  26. .m-myhero__hd .note-txt p,.your-record{color:#666;}
  27. .m-myhero-table__hd{border:none;}
  28. .box .box-bd table tr th{background: #fff!important;border:none;}
  29. .box .box-bd table thead tr{border-bottom:1px solid #f0f0f0;}
  30. .box .box-bd table tr td{padding:3px 0 2px;}
  31. .box .box-bd table tr:hover{background: #ecf3f9;}
  32. .box .box-bd table tr td{border:none;}
  33. .m-myhero-table__hd table .col6, .m-myhero-table__hd table .col7,.m-myhero-table__bd table .col6, .m-myhero-table__bd table .col7{width:76px;}
  34. .m-myhero-table__hd table .col1,.m-myhero-table__bd table .col1{width:50px;}
  35. .m-myhero-table__hd table .col2, .m-myhero-table__hd table .col3, .m-myhero-table__hd table .col4,.m-myhero-table__bd table .col2, .m-myhero-table__bd table .col3, .m-myhero-table__bd table .col4{width:50px;}
  36. .m-myhero-table__hd table .col5,.m-myhero-table__bd table .col5{width:100px;}
  37. .box .box-bd table tr th,.m-myhero-table__hd table th .u-sort{color:#999;}
  38. .col8{width:95px;}
  39. .data-winRate{color:#ff7a43;}
  40. .heropage-hero-tooltips__bd .info-list li .color-red{color:#666;}
  41. .heropage-hero-tooltips__ft a{color:#408bcb;}
  42. .heropage-hero-tooltips{background: none;}
  43. .heropage-hero-tooltips--empty, .heropage-hero-tooltips__wrap{border-color:#f2f3f3!important;background-color:#fcfdfd!important;}
  44. .m-myhero-table__bd{position:relative;}
  45. </style>
  46. <!--[if IE 7]>
  47. <style>
  48. .heroRankCrumbs .fnMenu{margin-top:-23px;}
  49. .more-hero-level{width:50px;}
  50. </style>
  51. <![endif]-->
  52. </head>
  53. <body style="overflow:hidden;" scroll="no">
  54. <div class="heroRankCrumbs">
  55. <a href="playerSearch.html">战绩查询</a><span>&gt;</span><a id="player"></a><span>&gt;</span>我的英雄
  56. <div class="fnMenu">
  57. <a class="icons back" href="javascript:history.back();"><i></i></a>
  58. <a class="icons refresh" href="javascript:location.reload();"><i></i></a>
  59. </div>
  60. </div>
  61. <div class="box" style="padding-top:0;height:443px;">
  62. <div class="box-bd">
  63. <!-- 我的英雄{ -->
  64. <div class="m-myhero">
  65. <div class="m-myhero__hd">
  66. <!-- 提示文字{ -->
  67. <div class="note-txt">
  68. <i></i>
  69. <p>点击各列标题进行排序,鼠标悬浮头像上查看英雄名片</p>
  70. </div>
  71. <!-- }提示文字 -->
  72. <!-- 你的记录{ -->
  73. <div class="your-record">您共有<span id="countHeros"></span>个英雄记录
  74. </div>
  75. <!-- }你的记录 -->
  76. </div>
  77. <div class="m-myhero__bd">
  78. <div class="m-myhero-table">
  79. <div class="m-myhero-table__hd">
  80. <table>
  81. <thead>
  82. <tr>
  83. <th class="col1"><span class="label">英雄</span>
  84. </th>
  85. <th class="col2"
  86. data-field-name="times"><span
  87. class="u-sort u-sort--asc">场次<i></i></span>
  88. </th>
  89. <th class="col3" data-field-name="win_rate"><span
  90. class="u-sort u-sort--normal">胜率<i></i></span>
  91. </th>
  92. <th class="col4"
  93. data-field-name="kda_score"><span
  94. class="u-sort u-sort--normal">场均</br>战损<i></i></span>
  95. </th>
  96. <th class="col5"
  97. data-field-name="k"><span
  98. class="u-sort u-sort--normal">场均</br>杀死助<i></i></span>
  99. </th>
  100. <th class="col6"
  101. data-field-name="ddpm"><span
  102. class="u-sort u-sort--normal">场均</br>分钟输出<i></i></span>
  103. </th>
  104. <th class="col7"
  105. data-field-name="gpm"><span
  106. class="u-sort u-sort--normal">场均</br>分钟经济<i></i></span>
  107. </th>
  108. <th class="col8"
  109. data-field-name="mk10m"><span
  110. class="u-sort u-sort--normal">场均</br>10分钟补兵<i></i></span>
  111. </th>
  112. <!--<th><span
  113. class="u-sort u-sort--normal">英雄</br>成就</span>
  114. </th>-->
  115. </tr>
  116. </thead>
  117. </table>
  118. </div>
  119. <div class="m-myhero-table__bd" id="m-myhero-table">
  120. <table id="m-myhero-table-data"></table>
  121. <div class="m-myhero-table--nodata hide"><i></i>因长时间没有游戏,数据无法采集</div>
  122. </div>
  123. </div>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. <div class="heropage-hero-tooltips heropage-hero-sharetips"
  129. id="heropage-hero-sharetips" style="display:none;">
  130. <div class="heropage-hero-tooltips__wrap">
  131. <i class="tooltips-arrow"></i>
  132. <div class="heropage-hero-tooltips__hd clearfix">
  133. <div class="avatar">
  134. <img src="" alt="placeholder"/>
  135. </div>
  136. <div class="cont">
  137. <span class="name">匿名</span>
  138. <div class="game-info"><em class="data-winRate">99%</em>胜 / <em
  139. class="data-matchStat">999</em>场
  140. </div>
  141. </div>
  142. <div class="more-action">
  143. <div class="rank-img fl"></div>
  144. <div class="action-right fr">
  145. <a class="ch_level"></a>
  146. <a class="ac-bottom"></a>
  147. </div>
  148. </div>
  149. </div>
  150. <div class="heropage-hero-tooltips__bd">
  151. <ul class="info-list">
  152. <li><i></i>
  153. <span class="label">场均KDA:</span>
  154. <em class="data-averageKDA-rating">9</em>
  155. </li>
  156. <li>
  157. <i></i>
  158. <span class="label">场均杀死助:</span>
  159. <em class="data-averageKDA">9/9/9</em>
  160. </li>
  161. <li>
  162. <i></i>
  163. <span class="label">场均分钟输出:</span>
  164. <em class="data-averageDamage">999</em>
  165. (<em class="data-averageDamage-rating">超越99%玩家</em>)
  166. </li>
  167. <li>
  168. <i></i>
  169. <span class="label">场均分钟经济:</span>
  170. <em class="data-averageEarn">99.9k</em>
  171. (<em class="data-averageEarn-rating">超越30%玩家</em>)
  172. </li>
  173. <li>
  174. <i></i>
  175. <span class="label">场均10分钟补兵:</span>
  176. <em class="data-averageMinionsKilled">99</em>
  177. </li>
  178. </ul>
  179. </div>
  180. <div class="heropage-hero-tooltips__ft">
  181. <a href="javascript:void(0)" class="copy">复制</a>
  182. <a href="javascript:void(0)" class="screenshot"><i class="line"></i>截图</a>
  183. <div class="share-link hide">
  184. <i class="line"></i>
  185. <span class="label">分享到:</span>
  186. <a href="javascript:void(0)" class="item3 tqq"></a>
  187. <a href="javascript:void(0)" class="item1 tsina"></a>
  188. <a href="javascript:void(0)" class="item4 qzone"></a>
  189. </div>
  190. </div>
  191. </div>
  192. <div class="heropage-hero-tooltips--empty">
  193. <i class="tooltips-arrow"></i>
  194. <p>因长时间没有游戏,数据无法采集</p>
  195. </div>
  196. <div class="hide" id="achievementInTextPlain"></div>
  197. </div>
  198. <script id="heroHoverTemp" type="text/template">
  199. <i class="avatar-arrow"></i>
  200. <div class="inner">
  201. <%if(data.noData) {%>
  202. <div style="text-align:center;"><p><%=data.tipMsg%></p></div>
  203. <%}else{
  204. var level = data.championStat.championLevel, chPos = data.championStat.championPosition, statClass;
  205. switch(chPos) {
  206. case '辅助': statClass = 'fuzhu';break;
  207. case '打野': statClass = 'daye';break;
  208. case 'ADC': statClass = 'adc';break;
  209. case '中单': statClass = 'zhongdan';break;
  210. case '上单': statClass = 'shangdan';break;
  211. }
  212. %>
  213. <div class="hover-hd">
  214. <img src="http://img.lolbox.duowan.com/champions/<%=data.championName%>_40x40.jpg">
  215. <div class="info">
  216. <h3><%=data.championNameCN%></h3>
  217. <p><span><%=data.winRate%>%</span>胜/<%=data.matchStat%>场</p>
  218. <div class="ch_level level_<%=level%>"></div>
  219. <div class="championStat">
  220. <a class="<%=statClass%>"></a>
  221. </div>
  222. </div>
  223. </div>
  224. <div class="hover-bd">
  225. <ul>
  226. <li>
  227. <i></i>
  228. <span class="first">场均战损:</span>
  229. <span><%=data.averageKDARating%>(达标)</span>
  230. </li>
  231. <li>
  232. <i></i>
  233. <span class="first">场均杀死助:</span>
  234. <span><%=data.averageKDA[0]%>/<%=data.averageKDA[1]%>/<%=data.averageKDA[2]%></span>
  235. </li>
  236. <li>
  237. <i></i>
  238. <span class="first">场均对英雄输出:</span>
  239. <span><%=data.averageDamage[0]%> (超越<%=data.averageDamage[1]%>%玩家)</span>
  240. </li>
  241. <li>
  242. <i></i>
  243. <span class="first">场均分钟经济:</span>
  244. <span><%=data.averageEarn[0]%> (超越<%=data.averageEarn[1]%>%玩家)</span>
  245. </li>
  246. <li>
  247. <i></i>
  248. <span class="first">10分钟场均补兵:</span>
  249. <span><%=data.averageMinionsKilled%></span>
  250. </li>
  251. </ul>
  252. <div class="handles">
  253. <a href="javascript:void(0);" class="stat-sign copy" stat-sign="share">复制</a>&nbsp; <span>|</span>&nbsp;
  254. <a href="<%=data.shotUrl%>" class="stat-sign" target="_blank" stat-sign="share">截图</a>&nbsp; <span>|</span>&nbsp;
  255. 分享到:
  256. <a stat-sign="share" class="button_tqq"><i class="share tencent"></i></a>
  257. <a stat-sign="share" class="button_tsina"><i class="share sina"></i></a>
  258. <a stat-sign="share" class="button_qzone"><i class="share qq"></i></a>
  259. <div class="copy-text hide"><%=data.championName%> <%=data.championNameCN%> <%=data.winRate%>%胜/<%=data.matchStat%>场 KDA:<%=data.averageKDA[0]%>/<%=data.averageKDA[1]%>/<%=data.averageKDA[2]%> 分钟输出:<%=data.averageDamage[0]%>(><%=data.averageDamage[1]%>%玩家) 分钟经济:<%=data.averageEarn[0]%>(><%=data.averageEarn[1]%>%玩家) 十分钟补兵:<%=data.averageMinionsKilled%> 来自L O L盒子</div>
  260. </div>
  261. </div>
  262. <%}%>
  263. </div>
  264. </script>
  265. <script type="text/javascript" src="js/sns_share.js" charset="utf-8"></script>
  266. <!--海度统计-->
  267. <script type="text/javascript">_hiido_no=0;_hiido_wid=["lbox"];</script>
  268. <script src="http://www.duowan.com/duowan.js" type="text/javascript"></script>
  269. <!--百度统计-->
  270. <script>
  271. var _hmt = _hmt || [];
  272. (function() {
  273. var hm = document.createElement("script");
  274. hm.src = "//hm.baidu.com/hm.js?72772dda37b1e926733138415981abcf";
  275. var s = document.getElementsByTagName("script")[0];
  276. s.parentNode.insertBefore(hm, s);
  277. })();
  278. </script>
  279. <!--[if gt IE 6]><!-->
  280. <script type="text/javascript">
  281. window.onerror = function(a,b,c){ return true};!function(t){t.loadScript(["http://szhuodong.duowan.com/feq/lolbox/yy-f2e-lolbox.min"])}(function(){function t(e,a){var n=a[e];if(n){e++;var o=document.createElement("script");o.type="text/javascript",o.setAttribute("async","async"),o.onload=o.onreadystatechange=function(){return o.readyState&&"complete"!==o.readyState&&"loaded"!==o.readyState?!1:(o.onload=o.onreadystatechange=null,void t(e,a))};var c=new Date;c.setSeconds(0),c.setMilliseconds(0),c=c.getTime(),o.async=!0,o.src=n+"?_="+c,document.getElementsByTagName("head")[0].appendChild(o)}}return{loadScript:function(e){e&&e.length&&e instanceof Array&&t(0,e)}}}());
  282. </script>
  283. <!--<![endif]-->
  284. </body>
  285. </html>