1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
- <title>战斗日志</title>
- <!-- <link rel="stylesheet" href="http://assets.dwstatic.com/project/lolbox/2.13.0/css/zj.css"/> -->
- <link rel="stylesheet" href="http://assets.dwstatic.com/project/lolbox/2.13.0/css/zj.css"/>
- <link rel="stylesheet" href="css/zj-new.css"/>
- <!-- 大神陪玩相关 icon -->
- <link rel="stylesheet" href="http://wan.duowan.com/static/css/god-icons.css"/>
- <!-- 分享按钮图片 和 boxTitle 分享 依赖此样式 -->
- <!-- <link rel="stylesheet" href="http://img.lolbox.duowan.com/global.css"/> -->
- <!--[if gt IE 6]><!-->
- <script type="text/javascript">
- !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)}}}())
- </script>
- <!--<![endif]-->
- <script type="text/javascript" src="http://assets.dwstatic.com/common/js/jquery.js"></script>
- <script type="text/javascript" src="http://www.duowan.com/public/assets/sys/js/dww3.min.js"></script>
- <!--<script type="text/javascript" src="http://assets.dwstatic.com/project/lolbox/2.10.0/js/battle.js"></script>-->
- <script src="js/battle.js"></script>
- <script type="text/javascript" src="js/jquery.cookie.js"></script>
- <script type="text/javascript" src="js/underscore.js"></script>
- <script type="text/javascript" src="js/matchList.js"></script>
- <script type="text/javascript">
- function base64_encode(str) {
- var c1, c2, c3;
- var base64EncodeChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
- var i = 0,
- len = str.length,
- string = '';
- while (i < len) {
- c1 = str.charCodeAt(i++) & 0xff;
- if (i == len) {
- string += base64EncodeChars.charAt(c1 >> 2);
- string += base64EncodeChars.charAt((c1 & 0x3) << 4);
- string += "==";
- break;
- }
- c2 = str.charCodeAt(i++);
- if (i == len) {
- string += base64EncodeChars.charAt(c1 >> 2);
- string += base64EncodeChars.charAt(((c1 & 0x3) << 4) | ((c2 & 0xF0) >> 4));
- string += base64EncodeChars.charAt((c2 & 0xF) << 2);
- string += "=";
- break;
- }
- c3 = str.charCodeAt(i++);
- string += base64EncodeChars.charAt(c1 >> 2);
- string += base64EncodeChars.charAt(((c1 & 0x3) << 4) | ((c2 & 0xF0) >> 4));
- string += base64EncodeChars.charAt(((c2 & 0xF) << 2) | ((c3 & 0xC0) >> 6));
- string += base64EncodeChars.charAt(c3 & 0x3F)
- }
- return string
- }
- </script>
- <script type="text/javascript">
- var jiathis_config = {};
- var IMAGE_URL = "http://img.lolbox.duowan.com";
- var playerMostUsedHero = null,jiathis_config;
- </script>
- </head>
- <body scroll='no' style="overflow:hidden">
- <div class="box">
- <div class="box-hd">
- <div class="fl crumbs">
- <a id="recordTarget"></a>
- <span>></span>
- <a href="playerSearch.html">比赛详情</a>
- </div>
-
- <div class="btns-fast more-info">
- <span style="float:left;margin-top: -10px;">
- <a id="collect" style="margin-left:15px"></a>
- <span style="padding:0 3px;color:#ccc;">|</span>
- </span>
-
- <div class="share">
- <a class="icons share-icon" href="#"><i></i></a>
- <div class="links">
- <a class="button_tsina" href="#" stat-sign="share"><i class="sina"></i><span>新浪微博</span></a>
- <a class="button_tqq" href="#" stat-sign="share"><i class="tencent"></i><span>腾讯微博</span></a>
- <a class="button_qzone" href="#" stat-sign="share"><i class="qq"></i><span>QQ空间</span></a>
- <a href="javascript:window.clipboardData.setData('Text',window.location.href);alert('链接复制成功');" stat-sign="share">
- <i class="copy-link"></i><span>复制链接</span>
- </a>
- </div>
- </div>
- <a title="刷新" href="javascript:location.reload();" onfocus="this.blur();" class="icons refresh"><i></i></a>
- </div>
- <script type="text/javascript" src="js/sns_share.js" charset="utf-8"></script>
- </div>
- <div class="box-bd">
- <div id="boxContent"></div>
- <div class="r-box">
- <div id="matchDetail">
- <img src="img/loading.gif" width="400" height="400" id="loading" style="display:none;">
- <div id="recordDetail"></div>
- </div>
- <!--广告-->
- <div class="ad-wrap">
- <script src="http://gt.yy.com/api/g?loc=newhezia2"></script>
- </div>
- </div>
- </div>
- </div>
- <div id="__dvCompute" style="font-size:12px;position:absolute;visibility:hidden"></div>
- <div id="phone-user-pop">
- <div class="phone-user-con">
- </div>
- </div>
- <script type="text/javascript" src="js/heroesList.js?v=1"></script>
- <script type="text/javascript" src="js/zbItems.js?v=1"></script>
- <script id="tipTemplate" type="text/template">
- <div class="tip-no-data">
- <img src="img/clothes-commit-fail.png">
- <p>由于未知原因,此场比赛消失在遥远的二次元空间中。</p>
- </div>
- </script>
- <script id="boxContentTemplate" type="text/template">
- <%
- if(data.length > 0) {
- %>
- <div class="l-box">
- <ul>
- <%
- var matchHistory = data;
- for(var i=0;i<matchHistory.length;i++) {
- var item = matchHistory[i];
- var champion = item.champion;
- var imgSrc = IMAGE_URL + '/champions/' + champion.name + "_40x40.jpg";
- var timeData = item.created.split('T');
- var hour_mon_day = timeData[0].split('-');
- var timeTxt = hour_mon_day[1] + '-' + hour_mon_day[2];
- var winHtml = "";
- if(item.battle_result) {
- winHtml = '<em class="green">' + (item.lastday == 1 ? '算你狠' : '胜利') + '</em>';
- } else {
- winHtml = '<em class="red">' + (item.lastday == 0 ? '失败' : '失败') + '</em>';
- }
- var hoverClass = i==0 ? "hover" : "";
- %>
- <li data-id="<%=item.game_id%>" class="<%=hoverClass%>">
- <%if (item.flag_mvp_carry == 1) {%>
- <i class='item--mvp'></i>
- <%} else if (item.flag_mvp_carry == 2) {%>
- <i class='item--stronger'></i>
- <%} %>
- <span class="avatar">
- <img src="<%=imgSrc%>" alt="<%=champion.name%>" title="<%=champion.title%>"/>
- </span>
- <p>
- <%=winHtml%>
- </p>
- <p class="info">
- <span class="game" style="max-width:36px;height:25px;overflow:hidden;" title="<%=item.game_type.name_cn%>"><%=item.game_type.name_cn%></span><span style="padding-left:2px;"><%=timeTxt%></span>
- </p>
- <%
- if (data.isSelf) {
- if (!item.collect) {
- %>
- <i data-time="<%=item.time%>" class="add-fav fav-btn" data-id="<%=i%>" title="点击收藏比赛"></i>
- <% } else { %>
- <i data-time='<%=item.time%>' title="点击删除此收藏" class="fav fav-btn" data-id="<%=i%>"></i>
- <%}}%>
- </li>
- <%}%>
- </ul>
- <%
- var p = parseInt(data.p);
- var totalPage = data.totalPage;
- var prevClass = p == 1 ? "disable" : "";
- var nextClass = p == totalPage ? "disable" : "";
- var prevPage = p - 1;
- var nextPage = p + 1;
- %>
- <div class="zj-page">
- <a class="zj-prev zj-s <%=prevClass%>" title="上一页" data-page="<%=prevPage%>"></a> <input type="text" class="zj-cur"
- value="<%=p%>"> <span class="page-num"> / <%=totalPage%></span>
- <a class="go-page" style="cursor:pointer;">GO</a> <a class="zj-next zj-s <%=nextClass%>" title="下一页" data-page="<%=nextPage%>"></a>
- </div>
- </div>
- <% } else {%>
- <p class="no-records">盒子没有保存过此玩家的对战记录。</p>
- <%}%>
- </script>
- <script id="recordDetailTemplate" type="text/template">
- <%
- data = data.player_game_list[0];
- var groupNameWinOrLose;
- var bannedHeroes = data.banned_champions;
- var userInfoClass = bannedHeroes.length > 0 ? '' : 'hide';
- var gameTypeObj = data.game_type_obj;
- var localTime = moment.utc(data.end_timestamp).toDate();
- localTime = moment(localTime).format('YYYY-MM-DD HH:mm:ss'),
- timeStrArr = localTime.split(' ')[1].split(':'),endTime = timeStrArr[0] + ':' + timeStrArr[1];
- var teamWin = data.team_win;
- var teamLose = data.team_lose;
- var killStat = parseInt(teamWin.total_killed) + '/' + parseInt(teamLose.total_killed);
- var goldStat = parseInt(teamWin.total_gold_in_k) + 'K/' + parseInt(teamLose.total_gold_in_k)+'K';
-
- %>
- <div class="r-top">
- <p><span>类型:<%=gameTypeObj.name_cn%></span><span>人头:<%=killStat%></span><span>金钱:<%=goldStat%></span></p>
- <p class="title-split"><span>结束:<%=endTime%></span> <span>时长:<%=data.game_length_in_minute%>分钟</span></p>
- <a class="user-info <%=userInfoClass%>" href="javascript:void(0);"><i class="user-icon"></i>禁用英雄</a>
- <ul class="user-img <%=userInfoClass%>">
- <%_.each(bannedHeroes, function(item) {%>
- <li>
- <img
- src="http://img.lolbox.duowan.com/champions/<%=item.name%>_26x26.jpg"
- alt="<%=item.title%>"
- title="<%=item.title%>"
- />
- </li>
- <%});%>
- </ul>
- </div>
- <div class="r-table">
- <table id="zj-table-top" cellSpacing=0 cellPadding=0 border="0">
- <tr>
- <th class="col1">
- <div class="match-result">
- <span><em class="zj-win"></em>胜利方</span>
- <span><em class="zj-fail"></em>失败方</span>
- </div>
- </th>
- <% if (data.queueType != 'ODIN_UNRANKED') { %>
- <th class="col2">金钱</th>
- <th class="col3">杀/死/助</th>
- <% } else { %>
- <th class="col3">夺/拔/助</th>
- <% } %>
- <th class="col4">
- <span class="sel-tab-link">
- <a href="javascript:;" class="chuzhuang-link link-on" data-type="chuzhuang" title="点击看出装">出装</a>
- <a href="javascript:;" class="early-data-link" data-type="early-data" title="点击看前10分钟数据" style="color:#666;">查看前10分钟数据</a>
- </span>
- </th>
- </tr>
- </table>
- <div class="zj-table">
- <% var idx = 1, zjClass = '';
- if (data.is_very_surprise_winner) {
- zjClass = "zj-table--big-changeover";
- } else {
- if (data.is_surprise_winner) {
- zjClass="zj-table--changeover";
- }
- }
- %>
- <div id="zj-table--A" class="<%=zjClass%>">
- <div class="team-flag"></div>
- <table>
- <%
- var winPlayers = data.team_win.player_champions;
- if (winPlayers.length > 0) {
- groupNameWinOrLose = "winner-group";
- _.each(winPlayers, function(player) {
- var leaverFlag, urlAvatar, summonerName,summonerTitle, pnTitle,urlDetail,totalLen,extraClass,sn,pn, GOLD_EARNED,KILL_DEATHS_ASSISTS;
- if (player.is_deserter) {
- leaverFlag = "<span class='red'>(逃)</span>";
- } else {
- leaverFlag = "";
- }
- var hoverPN;//英雄头像hover时传的playerName
- var champion = player.champion;
- var playerInfo = player.player;
- var serverName = playerInfo.game_zone.server_name;
- var pInfo = {
- userId: player.player.user_id,
- gameZone: player.player.game_zone.pinyin
- };
- if (player.is_bot) {
- urlAvatar = IMAGE_URL + '/champions/' + champion.name + '_28x28.jpg';
- summonerTitle = playerInfo.pn;
- summonerName = playerInfo.pn + leaverFlag;
-
- pnTitle = playerInfo.pn;
-
- urlDetail = null;
- hoverPN = '';
- } else {
- hoverPN = playerInfo.pn;
- summonerTitle = playerInfo.pn;
- summonerName = playerInfo.pn + leaverFlag;
- urlAvatar = IMAGE_URL + '/champions/' + champion.name + '_28x28.jpg';
-
- sn = encodeURIComponent(serverName);
- pn = encodeURIComponent(playerInfo.pn);
- urlDetail = "playerDetail.html?serverName="+sn +"&playerName="+pn + "&userId=" + pInfo.userId + "&gameZone=" + pInfo.gameZone;
- }
- var strBoxTitle = '';
- if (player['honors'] && player['honors'].length > 0) {
- for(var i=0,len=player['honors'].length;i<len;i++) {
- var item = player['honors'][i], killClass = '';
- switch(item.name) {
- case 'brilliant_largest_killing_spree': killClass = 'brilliant_largestKillingSpree';break;
- case 'kill4': killClass = '4kill';break;
- case 'kill5': killClass = '5kill';break;
- case 'kill6': killClass = '6kill';break;
- default: killClass = item.name;
- }
- strBoxTitle += "<em class='zj-"+ killClass +" zj-s' title='" + item.desc + "' data-honour-key='" + item.name + "'></em>";
- }
- }
- KILL_DEATHS_ASSISTS = player.total_killed + '/' + player.total_death + '/' + player.total_assist;
- var strZB = '';
- var zhuang_bei_array = player['items'];
- if (zhuang_bei_array && zhuang_bei_array.length > 0) {
- for(var i=0,len=zhuang_bei_array.length;i<len;i++) {
- var item = zhuang_bei_array[i];
- strZB += '<li><img src="' + IMAGE_URL + '/zb/' + item.id + '_24x24.jpg" ' + 'title="' + item.name + ' ' + item.description + '" ' + 'alt="' + item.name + ' ' + item.description+ '" /></li>';
-
- }
- }
- var statDataIn10Min = player.kda_10;
- // MVP或者是大腿
- var isMVPOrHope = '';
- var flagMvpCarry = player.flag_mvp_carry;
-
- if (flagMvpCarry == 1) {
- isMVPOrHope = "team-name--stronger";
- } else if (flagMvpCarry == 2) {
- isMVPOrHope = "team-name--mvp";
- }
- var p = player.player;
- var pGameZone = p.game_zone.pinyin;
- var pUserId = p.user_id;
- %>
- <tr>
- <td class="col1">
- <div class="team-name <%=isMVPOrHope%>">
- <span class="flag"></span> <span data-indent="<%=idx%>" class="avatar" game-zone="<%=pGameZone%>" user-id="<%=pUserId%>">
- <img src="<%=urlAvatar%>" data-playerName="<%=hoverPN%>" data-serverName="<%=serverName%>" data-heroName="<%=champion.name%>" data-uid="<%=playerInfo.user_id%>"/>
- </span>
- <% if (urlDetail) { %>
- <a href="<%=urlDetail%>" title="<%=summonerTitle%>"><%=summonerName%></a>
- <% } else { %>
- <span class="bot" title="<%=summonerTitle%>">
- <%=summonerName%>
- </span>
- <% } %>
- <i class="icon-mvp-carry"></i>
- <div class="em-content"><%=strBoxTitle%></div>
- </div>
- </td>
- <% if (data.queueType != 'ODIN_UNRANKED') { %>
- <td class="col2"><%=player['total_gold_in_k']%>k</td>
- <% } %>
- <td class="col3"><%=KILL_DEATHS_ASSISTS%></td>
- <td class="col4">
- <div class="u-weapon">
- <ul class="chuzhuang">
- <%=strZB%>
- </ul>
- <ul class="early-data">
- <li><span class="minions-killed">
- 补兵:
- <%if (statDataIn10Min && statDataIn10Min['m'] >= 80) {%>
- <em style="font-weight: bold; color: #f19000">
- <%} else if (statDataIn10Min && statDataIn10Min['m'] >= 70) {%>
- <em style="font-weight: bold">
- <%}%>
- <%=statDataIn10Min && statDataIn10Min['m']%>
- <%if (statDataIn10Min && statDataIn10Min['m'] >= 70) {%>
- </em>
- <%}%>
- </span>
- 杀死助:<%=statDataIn10Min ? statDataIn10Min['k'] : 0%>/<%=statDataIn10Min?statDataIn10Min['d']:0%>/<%=statDataIn10Min?statDataIn10Min['a']:0%>
- </li>
- </ul>
- </div>
- </td>
- </tr>
- <%
- idx++;});
- for (var i = winPlayers.length; i < 5; i ++) {
- %>
- <tr><td class='col1'></td><td class='col2'></td><td class='col3'></td><td class='col4'></td></tr>
- <% }
- }
- %>
- </table>
- </div>
- <div class="river-chu"></div>
- <div id="zj-table--B">
- <div class="team-flag"></div>
- <table>
- <%
- var loserPlayers = data.team_lose.player_champions;
-
- if (loserPlayers.length > 0) {
- groupNameWinOrLose = "fail-group";
- _.each(loserPlayers, function(player) {
- var leaverFlag, urlAvatar, summonerName, summonerTitle, pnTitle,urlDetail,totalLen,extraClass,sn,pn, GOLD_EARNED,KILL_DEATHS_ASSISTS;
- if (player.is_deserter) {
- leaverFlag = "<span class='red'>(逃)</span>";
- } else {
- leaverFlag = "";
- }
- var hoverPN;//英雄头像hover时传的playerName
- var champion = player.champion;
- var playerInfo = player.player;
- var serverName = playerInfo.game_zone.server_name;
- var pInfo = {
- userId: player.player.user_id,
- gameZone: player.player.game_zone.pinyin
- };
- if (player.is_bot) {
- urlAvatar = IMAGE_URL + '/champions/' + champion.name + '_28x28.jpg';
- summonerTitle = playerInfo.pn;
- summonerName = playerInfo.pn + leaverFlag;
-
- pnTitle = playerInfo.pn;
-
- urlDetail = null;
- hoverPN = '';
- } else {
- hoverPN = playerInfo.pn;
- summonerTitle = playerInfo.pn;
- summonerName = playerInfo.pn + leaverFlag;
- urlAvatar = IMAGE_URL + '/champions/' + champion.name + '_28x28.jpg';
-
- sn = encodeURIComponent(serverName);
- pn = encodeURIComponent(playerInfo.pn);
- urlDetail = "playerDetail.html?serverName="+sn +"&playerName="+pn + "&userId=" + pInfo.userId + "&gameZone=" + pInfo.gameZone;
- }
- var strBoxTitle = '';
- if (player['honors'] && player['honors'].length > 0) {
- for(var i=0,len=player['honors'].length;i<len;i++) {
- var item = player['honors'][i], killClass = '';
- switch(item.name) {
- case 'brilliant_largest_killing_spree': killClass = 'brilliant_largestKillingSpree';break;
- case 'kill4': killClass = '4kill';break;
- case 'kill5': killClass = '5kill';break;
- case 'kill6': killClass = '6kill';break;
- default: killClass = item.name;
- }
- strBoxTitle += "<em class='zj-"+ killClass +" zj-s' title='" + item.desc + "' data-honour-key='" + item.name + "'></em>";
- }
- }
- KILL_DEATHS_ASSISTS = player.total_killed + '/' + player.total_death + '/' + player.total_assist;
- var strZB = '';
- var zhuang_bei_array =player['items'];
- if (zhuang_bei_array && zhuang_bei_array.length > 0) {
- for(var i=0,len=zhuang_bei_array.length;i<len;i++) {
- var item = zhuang_bei_array[i];
- strZB += '<li><img src="' + IMAGE_URL + '/zb/' + item.id + '_24x24.jpg" ' + 'title="' + item.name + ' ' + item.description + '" ' + 'alt="' + item.name + ' ' + item.description+ '" /></li>';
- }
- }
- var statDataIn10Min = player.kda_10;
- // MVP或者是大腿
- var isMVPOrHope = '';
- var flagMvpCarry = player.flag_mvp_carry;
- if (flagMvpCarry == 1) {
- isMVPOrHope = "team-name--stronger";
- } else if (flagMvpCarry == 2) {
- isMVPOrHope = "team-name--mvp";
- }
- var p = player.player;
- var pGameZone = p.game_zone.pinyin;
- var pUserId = p.user_id;
- %>
- <tr>
- <td class="col1">
- <div class="team-name <%=isMVPOrHope%>">
- <span class="flag"></span> <span data-indent="<%=idx%>"
- class="avatar" game-zone="<%=pGameZone%>" user-id="<%=pUserId%>">
- <img src="<%=urlAvatar%>" data-playerName="<%=hoverPN%>" data-serverName="<%=serverName%>" data-heroName="<%=champion.name%>" data-uid="<%=playerInfo.user_id%>"/>
- </span>
- <% if (urlDetail) { %>
- <a href="<%=urlDetail%>" title="<%=summonerTitle%>"><%=summonerName%></a>
- <% } else { %>
- <span class="bot" title="<%=summonerTitle%>">
- <%=summonerName%>
- </span>
- <% } %>
- <i class="icon-mvp-carry"></i>
- <div class="em-content"><%=strBoxTitle%></div>
- </div>
- </td>
- <% if (data.queueType != 'ODIN_UNRANKED') { %>
- <td class="col2"><%=player['total_gold_in_k']%>k</td>
- <% } %>
- <td class="col3"><%=KILL_DEATHS_ASSISTS%></td>
- <td class="col4">
- <div class="u-weapon">
- <ul class="chuzhuang">
- <%=strZB%>
- </ul>
- <ul class="early-data">
- <li><span class="minions-killed">
- 补兵:
- <%if (statDataIn10Min && statDataIn10Min['m'] >= 80) {%>
- <em style="font-weight: bold; color: #f19000">
- <%} else if (statDataIn10Min && statDataIn10Min['m'] >= 70) {%>
- <em style="font-weight: bold">
- <%}%>
- <%=statDataIn10Min && statDataIn10Min['m']%>
- <%if (statDataIn10Min && statDataIn10Min['m'] >= 70) {%>
- </em>
- <%}%>
- </span>
- 杀死助:<%=statDataIn10Min?statDataIn10Min['k']:0%>/<%=statDataIn10Min?statDataIn10Min['d']:0%>/<%=statDataIn10Min?statDataIn10Min['a']:0%>
- </li>
- </ul>
- </div>
- </td>
- </tr>
- <% idx++;});
-
- for (var i = loserPlayers.length; i < 5; i ++) {
- %>
- <tr><td class='col1'></td><td class='col2'></td><td class='col3'></td><td class='col4'></td></tr>
- <%}}%>
- </table>
- </div>
- <% var idx = 1;%>
- <div id="data-layer" class="data-layer">
- <%
- var win = data.team_win.player_champions;
- if(win && win.length > 0) {
- _.each(win, function(player) {
- var summonerNameFiltered, summonerTitle, leaverFlag, urlAvatar, urlSkill1, urlSkill2,MVPEva,isMVP;
- var playerInfo = player.player;
- var champion = player.champion;
- var spells = player.spells;
- // 实际是 playerName
- summonerNameFiltered = playerInfo.pn;
- summonerTitle =champion.display_name;
- leaverFlag = player.is_deserter ? "<span class='red'>(逃)</span>" : "";
- urlAvatar = IMAGE_URL + '/champions/' + champion.name + '_40x40.jpg';
- if (spells[0] && spells[0].id) {
- urlSkill1 = IMAGE_URL + '/spells/' + spells[0].id + '_24x24.jpg';
- } else {
- urlSkill1 = null;
- }
- if (spells[1] && spells[1].id) {
- urlSkill2 = IMAGE_URL + '/spells/' + spells[1].id + '_24x24.jpg';
- } else {
- urlSkill2 = null;
- }
- var MINIONS_KILLED = player.total_minions_killed;
- var TOTAL_TIME_CROWD_CONTROL_DEALT = player.total_neutral_minions_killed;
- var TURRETS_KILLED = player.total_turrets_killed;
- var BARRACKS_KILLED = player.total_barracks_killed;
- var WARD_PLACED = player.total_ward_placed;
- var WARD_KILLED = player.total_ward_killed;
- var LARGEST_KILLING_SPREE = player.largest_killing_spree;
- var LARGEST_MULTI_KILL = player.largest_multi_kill;
- var LARGEST_CRITICAL_STRIKE = player.largest_critical_strike;
- var TOTAL_HEAL = player.total_heal;
- var TOTAL_DAMAGE_DEALT = player.total_damage_dealt;
- var TOTAL_DAMAGE_TAKEN = player.total_damage_taken;
- var TOTAL_DAMAGE_DEALT_TO_CHAMPIONS = player.total_damage_dealt_to_champions;
- var PHYSICAL_DAMAGE_DEALT_TO_CHAMPIONS = player.total_physical_damage_dealt_to_champions;
- var MAGIC_DAMAGE_DEALT_TO_CHAMPIONS = player.total_magic_damage_dealt_to_champions;
- var TRUE_DAMAGE_DEALT_TO_CHAMPIONS = player.total_true_damage_dealt_to_champions;
- var NEUTRAL_MINIONS_KILLED_TOTAL = player.total_neutral_minions_killed;
- MVPEva = player.evaluate_in_game;
- isMVP = player['flag_mvp_carry'] == 1 ? true : false;
- isHope = player['flag_mvp_carry'] == 2 ? true : false;
- var isMVPOrHope = '';
- if (isHope) {
- isMVPOrHope = 'tip-big-avatar--stronger';
- } else if (isMVP) {
- isMVPOrHope = 'tip-big-avatar--mvp';
- }
- idx ++;
- %>
- <div class="layer">
- <div class="mod-tips-top">
- <div class="tip-topleft">
- <p class="tip-user-name">
- <%=summonerNameFiltered%>
- </p>
- <a href="javascript:;"
- class="tip-big-avatar <%=isMVPOrHope%>"><i></i><img
- src="<%=urlAvatar%>"></a>
- <div class="tip-user-detail">
- <span class="tip-tip-user-name2"><%=summonerTitle%></span>
- <%
- if (player['is_bot']) {} else {
- %>
- <p class="tip-small-avatar">
- <% if (urlSkill1) { %>
- <img src="<%=urlSkill1%>" />
- <% } %>
- <% if (urlSkill2) { %>
- <img src="<%=urlSkill2%>" />
- <% } %>
- </p>
- <% } %>
- </div>
- </div>
- <div class="tip-topright-wrap">
- <div class="tip-topright">
- <p>
- <em class="zj-zdl zj-s"></em>...
- </p>
- <p class="zj-blue">...</p>
- </div>
- </div>
- </div>
- <div class="mod-tips-main">
- <table class="mod-tips-data">
- <% if (MVPEva) { %>
- <tr>
- <td class="label" style="color: #ff9900;">战局评分:</td>
- <td colspan="3" style="color: #ff9900;"><%=MVPEva%></td>
- </tr>
- <% } %>
- <tr>
- <td class="label">补兵:</td>
- <td><%=MINIONS_KILLED%></td>
- <td class="label">野怪:</td>
- <td><%=NEUTRAL_MINIONS_KILLED_TOTAL%></td>
- </tr>
- <tr>
- <td class="label">推塔:</td>
- <td><%=TURRETS_KILLED%></td>
- <td class="label">兵营:</td>
- <td><%=BARRACKS_KILLED%></td>
- </tr>
- <tr>
- <td class="label">放眼数:</td>
- <td><%=WARD_PLACED%></td>
- <td class="label">排眼数:</td>
- <td><%=WARD_KILLED%></td>
- </tr>
- <tr>
- <td class="label">最大连杀:</td>
- <td><%=LARGEST_KILLING_SPREE%></td>
- <td class="label">最大多杀:</td>
- <td><%=LARGEST_MULTI_KILL%></td>
- </tr>
- <tr>
- <td class="label">最大暴击:</td>
- <td><%=LARGEST_CRITICAL_STRIKE%></td>
- <td class="label">总治疗:</td>
- <td><%=TOTAL_HEAL%></td>
- </tr>
- <tr>
- <td class="label">输出伤害:</td>
- <td><%=TOTAL_DAMAGE_DEALT%></td>
- <td class="label">承受敌害:</td>
- <td><%=TOTAL_DAMAGE_TAKEN%></td>
- </tr>
- </table>
- <p>
- <span class="label">给对方英雄造成总伤害:</span>
- <%=TOTAL_DAMAGE_DEALT_TO_CHAMPIONS%>
- </p>
- <p>
- <span class="label">给对方英雄的物理伤害:</span>
- <%=PHYSICAL_DAMAGE_DEALT_TO_CHAMPIONS%>
- </p>
- <p>
- <span class="label">给对方英雄的魔法伤害:</span>
- <%=MAGIC_DAMAGE_DEALT_TO_CHAMPIONS%>
- </p>
- <p>
- <span class="label">给对方英雄的真实伤害:</span>
- <%=TRUE_DAMAGE_DEALT_TO_CHAMPIONS%>
- </p>
- <div class="tip-btn-group">
- <a href="http://www.huya.com/g/lol" target="_blank">直播</a>
- <a href="http://db.duowan.com/static/lolnewcz/list.html?name=<%=champion.name%>&flag=1&p=1">出装</a>
- </div>
- </div>
- </div>
- <%
- });
- }
- %>
- <%
- var loser = data.team_lose.player_champions;
- if(loser && loser.length > 0) {
- _.each(loser, function(player) {
- var summonerNameFiltered, summonerTitle, leaverFlag, urlAvatar, urlSkill1, urlSkill2,MVPEva,isMVP;
- var playerInfo = player.player;
- var champion = player.champion;
- var spells = player.spells;
- // 实际是 playerName
- summonerNameFiltered = playerInfo.pn;
- summonerTitle =champion.display_name;
- leaverFlag = player.is_deserter ? "<span class='red'>(逃)</span>" : "";
- urlAvatar = IMAGE_URL + '/champions/' + champion.name + '_40x40.jpg';
- if (spells[0] && spells[0].id) {
- urlSkill1 = IMAGE_URL + '/spells/' + spells[0].id + '_24x24.jpg';
- } else {
- urlSkill1 = null;
- }
- if (spells[1] && spells[1].id) {
- urlSkill2 = IMAGE_URL + '/spells/' + spells[1].id + '_24x24.jpg';
- } else {
- urlSkill2 = null;
- }
- var MINIONS_KILLED = player.total_minions_killed;
- var TOTAL_TIME_CROWD_CONTROL_DEALT = player.total_neutral_minions_killed;
- var TURRETS_KILLED = player.total_turrets_killed;
- var BARRACKS_KILLED = player.total_barracks_killed;
- var WARD_PLACED = player.total_ward_placed;
- var WARD_KILLED = player.total_ward_killed;
- var LARGEST_KILLING_SPREE = player.largest_killing_spree;
- var LARGEST_MULTI_KILL = player.largest_multi_kill;
- var LARGEST_CRITICAL_STRIKE = player.largest_critical_strike;
- var TOTAL_HEAL = player.total_heal;
- var TOTAL_DAMAGE_DEALT = player.total_damage_dealt;
- var TOTAL_DAMAGE_TAKEN = player.total_damage_taken;
- var TOTAL_DAMAGE_DEALT_TO_CHAMPIONS = player.total_damage_dealt_to_champions;
- var PHYSICAL_DAMAGE_DEALT_TO_CHAMPIONS = player.total_physical_damage_dealt_to_champions;
- var MAGIC_DAMAGE_DEALT_TO_CHAMPIONS = player.total_magic_damage_dealt_to_champions;
- var TRUE_DAMAGE_DEALT_TO_CHAMPIONS = player.total_true_damage_dealt_to_champions;
- var NEUTRAL_MINIONS_KILLED_TOTAL = player.total_neutral_minions_killed;
- MVPEva = player.evaluate_in_game;
- isMVP = player['flag_mvp_carry'] == 1 ? true : false;
- isHope = player['flag_mvp_carry'] == 2 ? true : false;
- var isMVPOrHope = '';
- if (isHope) {
- isMVPOrHope = 'tip-big-avatar--stronger';
- } else if (isMVP) {
- isMVPOrHope = 'tip-big-avatar--mvp';
- }
-
- idx ++;
- %>
- <div class="layer">
- <div class="mod-tips-top">
- <div class="tip-topleft">
- <p class="tip-user-name">
- <%=summonerNameFiltered%>
- </p>
- <a href="javascript:;"
- class="tip-big-avatar <%=isMVPOrHope%>"><i></i><img
- src="<%=urlAvatar%>"></a>
- <div class="tip-user-detail">
- <span class="tip-tip-user-name2"><%=summonerTitle%></span>
- <%
- if (player['is_bot']) {} else {
- %>
- <p class="tip-small-avatar">
- <% if (urlSkill1) { %>
- <img src="<%=urlSkill1%>" />
- <% } %>
- <% if (urlSkill2) { %>
- <img src="<%=urlSkill2%>" />
- <% } %>
- </p>
- <% } %>
- </div>
- </div>
- <div class="tip-topright-wrap">
- <div class="tip-topright">
- <p>
- <em class="zj-zdl zj-s"></em>...
- </p>
- <p class="zj-blue">...</p>
- </div>
- </div>
- </div>
- <div class="mod-tips-main">
- <table class="mod-tips-data">
- <% if (MVPEva) { %>
- <tr>
- <td class="label" style="color: #ff9900;">战局评分:</td>
- <td colspan="3" style="color: #ff9900;"><%=MVPEva%></td>
- </tr>
- <% } %>
- <tr>
- <td class="label">补兵:</td>
- <td><%=MINIONS_KILLED%></td>
- <td class="label">野怪:</td>
- <td><%=NEUTRAL_MINIONS_KILLED_TOTAL%></td>
- </tr>
- <tr>
- <td class="label">推塔:</td>
- <td><%=TURRETS_KILLED%></td>
- <td class="label">兵营:</td>
- <td><%=BARRACKS_KILLED%></td>
- </tr>
- <tr>
- <td class="label">放眼数:</td>
- <td><%=WARD_PLACED%></td>
- <td class="label">排眼数:</td>
- <td><%=WARD_KILLED%></td>
- </tr>
- <tr>
- <td class="label">最大连杀:</td>
- <td><%=LARGEST_KILLING_SPREE%></td>
- <td class="label">最大多杀:</td>
- <td><%=LARGEST_MULTI_KILL%></td>
- </tr>
- <tr>
- <td class="label">最大暴击:</td>
- <td><%=LARGEST_CRITICAL_STRIKE%></td>
- <td class="label">总治疗:</td>
- <td><%=TOTAL_HEAL%></td>
- </tr>
- <tr>
- <td class="label">输出伤害:</td>
- <td><%=TOTAL_DAMAGE_DEALT%></td>
- <td class="label">承受敌害:</td>
- <td><%=TOTAL_DAMAGE_TAKEN%></td>
- </tr>
- </table>
- <p>
- <span class="label">给对方英雄造成总伤害:</span>
- <%=TOTAL_DAMAGE_DEALT_TO_CHAMPIONS%>
- </p>
- <p>
- <span class="label">给对方英雄的物理伤害:</span>
- <%=PHYSICAL_DAMAGE_DEALT_TO_CHAMPIONS%>
- </p>
- <p>
- <span class="label">给对方英雄的魔法伤害:</span>
- <%=MAGIC_DAMAGE_DEALT_TO_CHAMPIONS%>
- </p>
- <p>
- <span class="label">给对方英雄的真实伤害:</span>
- <%=TRUE_DAMAGE_DEALT_TO_CHAMPIONS%>
- </p>
- <div class="tip-btn-group">
- <a href="http://www.huya.com/g/lol" target="_blank">直播</a>
- <a href="http://db.duowan.com/static/lolnewcz/list.html?name=<%=champion.name%>&flag=1&p=1">出装</a>
- </div>
- </div>
- </div>
- <%
- });
- }
- %>
- </div>
- </div>
- </div>
- <div id="mod-tips-s1" class="mod-tips-s1">
- <div class="mod-tips-bg">
- <div class="mod-tips-content"></div>
- </div>
- <i class="arrow l"></i>
- </div>
- </script>
- <script>var stat_app_name = "boxgame_matchlist"; var stat_uid = $.cookie['lolboxyyuid']; var stat_oper_default = false; </script>
- <script src="http://assets.dwstatic.com/f=amkit/entry.js"></script>
- <script>
- seajs.use("p/statistics/main", function() {
- $('#a2Ad a').each(function() {
- if (!$(this).attr('data-stat')) return;
- var words = $(this).attr('data-stat').split('_');
- words[2] += '展示';
- webUserOper.spStat({ app:stat_app_name, oper: words.join('_'), tar: $(this).find('img').attr('src') });
- });
- });
- </script>
- <!-- <script id="wanScriptName" type="text/javascript"></script> -->
- <!-- 广告/游戏相关-->
- <script>
- var stat_app_name = "boxgame_matchlist";
- var stat_uid = getLOLBoxYYUID();
- var stat_oper_default = false;
- </script>
- <script src="http://assets.dwstatic.com/f=amkit/entry.js"></script>
- <!-- 广告/海度统计相关-->
- <script type="text/javascript">
- _hiido_no = 0;
- _hiido_wid = ["lbox"];
- </script>
- <script src="http://www.duowan.com/duowan.js" type="text/javascript"></script>
- <script src="http://www.duowan.com/public/s/market_count.js" type="text/javascript"></script>
- <!-- 自定义统计 -->
- <script src="js/counter.js" type="text/javascript"></script>
- <script src="js/auto_incr.js" type="text/javascript"></script>
- <!--广告位统计-->
- <script src="http://sz.duowan.com/resource/adstat.1.0.0.js"></script>
- <script type="text/javascript" src="js/moment.min.js"></script>
- <script type="text/javascript" src="http://sz.duowan.com/s/ya/ya.1.3.1-min.js"></script>
- <script src="js/new_stat.js"></script>
- <script type="text/javascript" src="js/record.js?t=5"></script>
- <!--百度统计-->
- <script>
- var _hmt = _hmt || [];
- (function() {
- var hm = document.createElement("script");
- hm.src = "//hm.baidu.com/hm.js?72772dda37b1e926733138415981abcf";
- var s = document.getElementsByTagName("script")[0];
- s.parentNode.insertBefore(hm, s);
- })();
- </script>
- <!--[if gt IE 6]><!-->
- <script type="text/javascript">
- 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)}}}());
- </script>
- <!--<![endif]-->
- </body>
- </html>
|