forked from huavhuahua/xianfeng-task2-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
yuanma.txt
512 lines (261 loc) · 17.3 KB
/
yuanma.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
<!DOCTYPE HTML>
<html>
<head>
<meta charset="gbk">
<meta name="author" content="Tencent-CP">
<meta http-equiv="x-ua-compatible" content="IE=edge">
<meta name="Copyright" content="Copyright (c) 2006-2015 TENCENT" />
<meta name="description" content="王者荣耀英雄介绍,全部英雄大全,英雄属性,英雄图片,英雄技能定位,英雄故事,英雄图文视频攻略,助您荣登最强王者宝座!" />
<meta name="keywords" content="王者荣耀英雄,王者荣耀英雄介绍,王者荣耀英雄大全,王者荣耀英雄资料" />
<title>英雄资料列表页-英雄介绍-王者荣耀官方网站-腾讯游戏</title>
<link href="//game.gtimg.cn/images/yxzj/web201706/css/comm-v1.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="css/hero.css" />
</head>
<body class="old-header">
<div id="header" class="header">
<div class="header-inner">
<h1><a href="//pvp.qq.com/" class="logo pa" title="王者荣耀" onclick="PTTSendClick('headNav','logo','logo');">王者荣耀</a></h1>
<!--=========主导航==========-->
<ul class="main-nav clearfix">
<li class="first-nav"> <a href="//pvp.qq.com/" target="_blank" title="官网首页" onclick="PTTSendClick('headNav','home','官网首页');">官网首页<em>HOME</em></a> </li>
<li> <a href="/web201605/herolist.shtml" target="_blank" title="游戏资料" onclick="PTTSendClick('headNav','data','游戏资料');">游戏资料<em>DATA</em></a> </li>
<li> <a href="/raiders/" target="_blank" title="内容中心" onclick="PTTSendClick('headNav','strategy','内容中心');">内容中心<em>RAIDERS</em></a> </li>
<li> <a href="/match/kpl/index.shtml" target="_blank" title="赛事中心" onclick="PTTSendClick('headNav','match','赛事中心');">赛事中心<em>MATCH</em></a> </li>
<li> <a href="/mall/" target="_blank" title="商城/合作" onclick="PTTSendClick('headNav','store','商城合作');">商城/合作<em>STORE</em></a> </li>
<li> <a href="javascript:void(0)" title="社区互动" onclick="PTTSendClick('headNav','Community','社区互动');">社区互动<em>COMMUNITY</em></a> </li>
<li> <a href="javascript:void(0)" target="_blank" title="玩家支持" onclick="PTTSendClick('headNav','player','玩家支持');">玩家支持<em>PLAYER</em></a> </li>
</ul>
</div>
<!--=====二级导航=====-->
<div id="J_subNav" class="sub-nav" style="visibility: hidden;">
<ul class="sub-nav-inner">
<li class="down-nav"> </li>
<li class="down-nav"> <a href="/cp/a20170829bbgxsm/index.html" target="_blank" title="版本介绍" onclick="PTTSendClick('headNav','data_ver','版本介绍');">版本介绍</a> <a href="/web201605/introduce.shtml" target="_blank" title="游戏介绍" onclick="PTTSendClick('headNav','data_moba','游戏介绍');">游戏介绍</a> <a href="/web201605/herolist.shtml" target="_blank" title="英雄资料" onclick="PTTSendClick('headNav','data_hero','英雄资料');">英雄资料</a> <a href="/coming/v2/" target="_blank" title="爆料站" onclick="PTTSendClick('headNav','data_coming','爆料站');">爆料站</a> <a href="javascript:void(0)" title="故事站" onclick="TGDialogS('story');PTTSendClick('headNav','data_story','故事站');">故事站</a> <a href="/web201605/wallpaper.shtml" target="_blank" title="游戏壁纸" onclick="PTTSendClick('headNav','data_wallpaper','游戏壁纸');">游戏壁纸</a> </li>
<li class="down-nav"> <a href="/raiders/" target="_blank" title="攻略中心" onclick="PTTSendClick('headNav','strategy_center','攻略中心');">攻略中心</a> <a href="/strategy/" target="_blank" title="英雄攻略" onclick="PTTSendClick('headNav','strategy_hero','英雄攻略');">英雄攻略</a> <a href="/v/" target="_blank" title="视频中心" onclick="PTTSendClick('headNav','strategy_video','视频中心');">视频中心</a> <a href="/author/" target="_blank" title="作者入驻" onclick="PTTSendClick('headNav','author','作者入驻');"><i class="icon-fans"></i>作者入驻</a> <a href="/mcn/" target="_blank" title="媒体入驻" onclick="PTTSendClick('headNav','mcn','媒体入驻');"><i class="icon-fans"></i>媒体入驻</a> </li>
<li class="down-nav"> <a href="/match/kcc.shtml" target="_blank" title="冠军杯" onclick="PTTSendClick('headNav','match_kcc','kcc');">冠军杯</a> <a href="/match/kpl/index.shtml" target="_blank" title="KPL职业联赛" onclick="PTTSendClick('headNav','match_KPL','KPL');">KPL</a> <a href="//pvp.qq.com/cp/a20170818school/index.shtml" target="_blank" title="王者高校联赛" onclick="PTTSendClick('headNav','match_gaoxiao','王者高校联赛');">高校赛</a> <a href="/cp/a20170808city/index.shtml" target="_blank" title="KOC王者城市赛" onclick="PTTSendClick('headNav','match_KOC','KOC');">城市赛</a> <a href="/match/quanmin/index.html#/" target="_blank" title="全民赛" onclick="PTTSendClick('headNav','match_KCC','quanmin');">全民赛</a> </li>
<li class="down-nav"> <a href="/history/" target="_blank" title="王者文化站" onclick="PTTSendClick('headNav','history','王者文化站');">王者文化站</a> <a href="/cp/a20180327music/index.html" target="_blank" title="王者音乐听" onclick="PTTSendClick('headNav','a20180327music','王者音乐听');"><i class="icon-fans"></i>王者音乐听</a> <a href="/wonder/" target="_blank" title="万千世界" onclick="PTTSendClick('headNav','wonder','万千世界');">万千世界</a> <a href="/cp/a20171023pvppc/" target="_blank" title="百态王者" onclick="PTTSendClick('headNav','a20171023pvppc','百态王者');">百态王者</a> <a href="/cp/a20170707zhhz" target="_blank" title="王者信用卡" onclick="PTTSendClick('headNav','life_Credit','王者信用卡');">王者信用卡</a> </li>
<li class="down-nav"> <a href="javascript:void(0)" title="官方助手" onclick="TGDialogS('zhushou');PTTSendClick('headNav','Community_tools','官方助手');"><i class="icon-hot"></i>官方助手</a> <a href="//buluo.qq.com/p/barindex.html?bid=227061" target="_blank" title="手Q部落" onclick="PTTSendClick('headNav','Community_qq','手Q部落');">手Q部落</a> <a href="javascript:void(0)" target="_blank" title="微信圈子" onclick="TGDialogS('weiquan');PTTSendClick('headNav','Community_wx','微信圈子');">微信圈子</a> <a href="//weibo.com/heromoba" target="_blank" title="官方微博" onclick="PTTSendClick('headNav','Community_wb','官方微博');">官方微博</a> <a href="javascript:void(0)" title="微信公众号" onclick="TGDialogS('weixin');PTTSendClick('headNav','Community_wxgzh','微信公众号');">微信公众号</a> <a href="javascript:void(0)" title="手Q订阅号" onclick="TGDialogS('qq');PTTSendClick('headNav','Community_qqdyh','手Q订阅号');">手Q订阅号</a> <a href="/fans/index.shtml" target="_blank" title="同人社区" onclick="PTTSendClick('headNav','Community_fans','同人社区');" class="down-nav-fans"><i class="icon-fans"></i>同人社区</a> </li>
<li class="down-nav"> <a href="//jiazhang.qq.com/jz/home.html " target="_blank" title="成长守护平台" onclick="PTTSendClick('headNav','player_watch','成长守护平台');"><i class="icon-guard"></i>成长守护平台</a> <a href="/cp/a20170726hsbbspc/index.html" target="_blank" title="健康系统" onclick="PTTSendClick('headNav','player_healthy','健康系统');"><i class="icon-health"></i>健康系统</a> <a href="javascript:void(0)" target="_blank" title="客服专区" onclick="TGDialogS('kefu');PTTSendClick('headNav','player_kf','客服专区');">客服专区</a> <a href="/webplat/info/news_version3/15592/24091/24092/24095/m15241/201508/370256.shtml" title="礼包兑换" onclick="PTTSendClick('headNav','player_feedback','礼包兑换');" target="_blank">礼包兑换</a> <a href="//tool.helper.qq.com/v3/wzry/official_website/index.html" title="自助服务" onclick="PTTSendClick('headNav','player_service','自助服务');" target="_blank">自助服务</a> </li>
</ul>
</div>
</div>
<div class="wrapper">
<!-- 内容区域1 S -->
<div class="zkcontent">
<div class="zk-con-box">
<!-- 位置信息 S -->
<div class="zk-con1 zk-con">
<div class="con1-pos">
<i class="tb1 icon fl"></i>
<a href="/" target="_blank" title="王者荣耀首页">王者荣耀首页</a>
<span>></span>
<label>英雄介绍</label>
</div>
<h1 class="herolist-title">英雄介绍</h1>
<ul class="herolist-nav">
<li class="current"><a href="herolist.shtml" target="_blank">英雄</a></li>
<li><a href="item.shtml" target="_blank">局内道具</a></li>
<li><a href="summoner.shtml" target="_blank">召唤师技能</a></li>
</ul>
</div>
<!-- 位置信息 E -->
<!-- 英雄介绍 S -->
<div class="herolist-box">
<div class="clearfix herolist-types">
<ul class="types-left">
<li>综合</li>
<li>定位</li>
</ul>
<ul class="clearfix types-ms">
<li data-ptype="10">
<span class="ms-radio"><i class="i"></i></span>
<label>本周免费</label>
</li>
<li data-ptype="11">
<span class="ms-radio"><i class="i"></i></span>
<label>新手推荐</label>
</li>
</ul>
<ul class="clearfix types-ms">
<li class="current" data-type="0">
<span class="ms-radio"><i class="i"></i></span>
<label>全部</label>
</li>
<li data-type="3">
<span class="ms-radio"><i class="i"></i></span>
<label>坦克</label>
</li>
<li data-type="1">
<span class="ms-radio"><i class="i"></i></span>
<label>战士</label>
</li>
<li data-type="4">
<span class="ms-radio"><i class="i"></i></span>
<label>刺客</label>
</li>
<li data-type="2">
<span class="ms-radio"><i class="i"></i></span>
<label>法师</label>
</li>
<li data-type="5">
<span class="ms-radio"><i class="i"></i></span>
<label>射手</label>
</li>
<li data-type="6">
<span class="ms-radio"><i class="i"></i></span>
<label>辅助</label>
</li>
</ul>
<div class="herosearch">
<input type="text" id="search" name="search" class="herosearch-input" value="请输入你想要搜索的英雄名">
<a href="javascript:void(0);" class="herosearch-icon" title="点击搜索" id="searchBtn"></a>
</div>
</div>
<div class="herolist-content">
<p id="JErroTips" style="display:none;">输入英雄不存在,请重新输入</p>
<ul class="herolist clearfix">
</ul>
</div>
</div>
<!-- 英雄介绍 E -->
</div>
</div>
</div>
<!-- Lib -->
<script src="//game.gtimg.cn/images/js/jquery/jquery-1.11.3.min.js"></script>
<script src="//game.gtimg.cn/images/yxzj/web201706/js/lazyload.min.js"></script>
<script src="//game.gtimg.cn/images/js/milo/milo.js"></script>
<!-- Site header footer -->
<script src="//game.gtimg.cn/images/yxzj/web201706/js/header.js"></script>
<script src="//game.gtimg.cn/images/yxzj/web201706/js/footer.js"></script>
<script src="//game.gtimg.cn/images/js/title.js"></script>
<!-- AMS KV Link -->
<div id="kvLinkSetDiv" style="display:none">
<div class="kv-bg" style="background-image:url(//ossweb-img.qq.com/upload/webplat/info/yxzj/20181107/288001117416353.jpg);">
<a href="https://pvp.qq.com/coming/v2/skins/1105-kexuexy.shtml?ADTAG=pvp.skin.pcgw" onClick="PTTSendClick('btn','topkv','进入专题');" class="kv_link" title="查看详情" target="_blank">查看详情</a>
</div>
</div>
<!-- Page js -->
<!-- 统计代码 -->
<script src="//game.gtimg.cn/images/js/PTT/ping_tcss_tgideas_https_min.js"></script>
<script type="text/javascript">
var setSite={ //设置网站属性
siteType:"os",
pageType:"herolist", //必填项:本页面的定位;按照页面含义填写例如main||list||detail||download||share||page1||pageN
pageName:"英雄列表-PC", //必填项:页面中文名
osact:0, //选填项:是否是官网专题(在官网运营的专题)boolean;默认是0;可以在链接上加入参数osact=1来灵活设置
ingame:0, //选填项:是否投放在游戏APP内boolean;默认是0;可以在链接上加入参数ingame=1来灵活设置
stayTime:1 //选填项:是否需要统计停留时长boolean;默认是1
}
if(typeof(pgvMain)=='function')pgvMain();
</script>
<script>
need("biz.login-min",function(LoginManager){
LoginManager.checkLogin(function(){
$("#login_qq_span").html(LoginManager.getUserUin());
});
});
var dataList = new Array();
(function() {
$.ajax({
type: "get",
url: "/web201605/js/herolist.json",
dataType: "json",
contentType: "application/json; charset=utf-8",
success: function(data) {
$.each(data, function(i, n) {
dataList.push(n);
});
init(data);
},
error: function(err) {
alert(err)
}
});
})();
var setall = $('.herolist-types li'),
faceInit = function(data){
var heroContent = $('.herolist');
var html = '';
var len = data.length-1;
$.each(data, function(i){
// var imgurl = '//game.gtimg.cn/images/yxzj/img201606/heroimg/'+this.ename+'/';
// html += '<li><a href="herodetail/'+this.ename+'.shtml" target="_blank"><img src="'+imgurl+this.ename+'.jpg" width="91" alt="'+this.cname+'">'+this.cname+'</a></li>';
var f = parseInt(len - i);
var _ename = data[f].ename,
_cname = data[f].cname,
_imgurl = '//game.gtimg.cn/images/yxzj/img201606/heroimg/'+_ename+'/';
html += '<li><a href="herodetail/'+_ename+'.shtml" target="_blank"><img src="'+_imgurl+_ename+'.jpg" width="91" height="91" alt="'+_cname+'">'+_cname+'</a></li>';
})
heroContent.html(html);
},init = function(data){
var totalValidatData = [];
var curPage = 0;
var getValidateData = function(type){
if(!type){
return data;
}
var arr = [];
$.each(data, function(){
if(this.pay_type)
{
var payarr = [];
var payarr = ('' + this.pay_type).split(',');
if(this.hero_type == type || payarr[0] == type || payarr[1] == type){
arr.push(this);
}
}
else{
// if(this.hero_type == type){
if(this.hero_type == type || this.hero_type2 == type){
arr.push(this);
}
}
})
return arr;
}
faceInit(getValidateData());
//导航事件绑定
$('.herolist-types').on('click', 'li', function(){
var type = $(this).data('type') ? $(this).data('type') : $(this).data('ptype');
pgvSendClick({hottag: 'herolist.nav.type.'+type});
setall.removeClass('current');
$(this).addClass('current');
faceInit(getValidateData(type));
});
},LoadItem = function(ItemValue) {
var html = [];
for (j = 0; j < dataList.length; j++) {
var ItemName = dataList[j].cname;
if (ItemName.indexOf(ItemValue) != "-1") {
var num = j + 1;
var imgurl = '//game.gtimg.cn/images/yxzj/img201606/heroimg/'+dataList[j].ename+'/';
html.push('<li><a href="herodetail/'+dataList[j].ename+'.shtml" target="_blank"><img src="'+imgurl+dataList[j].ename+'.jpg" width="91px" alt="'+dataList[j].cname+'">'+dataList[j].cname+'</a></li>');
pgvSendClick({hottag: 'herolist.nav.search'});
}
}
if (html.length == 0) {
$(".herolist").html(" ");
//$("#JErroTips").show();
return;
}
$(".herolist").html(html.join(""));
},checkInput = function(inptid) {
var inpt = document.getElementById(inptid), valu = inpt.value;
inpt.onblur = function() {
if (this.value == "") this.value = valu;
};
inpt.onfocus = function() {
if (this.value == valu) this.value = "";
}
};
checkInput("search");
$("#search").keyup(function() {
LoadItem(this.value);
setall.removeClass("current");
$(setall[4]).addClass("current");
});
</script>
<script type="text/javascript" src="//ossweb-img.qq.com/htdocs/weiguanwang/statistics.js" charset="utf-8"></script>
</body>
</html>