魔兽争霸3
游侠网 资讯 下载 补丁 游戏库 攻略 论坛 商城 网游 手游 页游 大侠号 更多 游侠网APP 专题游侠网 资讯 下载 补丁 游戏库 攻略 论坛 商城 网游 手游 页游 大侠号 更多 游侠网APP 专题首页 新闻资讯 精品攻略 游戏下载 补丁Mod 玩家评论 游戏论坛 《魔兽争霸3冰封王座》全流程攻略 魔兽争霸3( Warcraft III ) 制作公司:Blizzard 发行公司:Blizzard 发售日期:2002-07-22 游戏平台:PC 游戏类型:即时战略RTS 购买 下载 新闻 攻略 资源 MORE+ MORE+ MORE+ 新闻2024/12/11 别逼我杯年度总决赛12月22日开打 总奖金13.9万元 新闻2023/08/10 挑战《War 3》世界冠军!首届魔王杯报名开启 新闻2022/04/28 暴雪魔兽手游即将来临!爆料称其中一个像宝可梦GO 攻略2026/06/01 《魔兽争霸3》显示血条方式 攻略2026/05/29 《魔兽争霸3》编队方式 攻略2026/05/28 《魔兽争霸3》窗口化运行方式 下载2015/01/28 魔兽争霸3冰封王座(Warcraft III The Frozen Throne)v1.20e-v1.26版本转换器 下载2003/03/11 魔兽争霸3混乱之治(Warcraft III Reign of Chaos)超级八种族增强版v2.02(游侠网ESPER_PALE制作)(Warcraft III MOD: Demon Craft v2.02) 下载2002/09/10 魔兽争霸3混乱之治(Warcraft III Reign of Chaos)超级八种族增强版(游侠网ESPER_PALE制作)(Warcraft III MOD: Demon Craft v0.9.2) 热门资讯 热门视频 MORE+ 实测帧数 显卡推荐 硬件视频 常见问题 MORE+ 精品攻略 MORE+ 热门MOD MORE+ TOP 资讯 攻略 下载 评论 关于游侠 | 广告合作 | 人才招聘 | 联系我们 | 网站地图 | 投诉建议 | 我要投稿 | 版权保护投诉指引 CopyRight © 1999-2023 ALi213.Net All Right Reserved 游侠网 版权所有 | 苏ICP备2023007791号 // 数据处理 (function ($) { "use strict"; // 数据映射 let dataMap = {}; // 初始化数据 function initData(data) { dataMap = {}; $.each(data, (k, v) => v?.A && (dataMap[v.A] = v.data || {})); } // 获取数据 function get(type, key = null) { const data = dataMap[type] || {}; return key !== null ? data[key] || {} : $.isArray(data) ? data : Object.values(data); } // 模板集合 const tpl = { banner: (item) => ` ${item.B || ""} `, newsRec: (item) => ` ${item.B || ""} `, newsSmall: (item) => ` ${item.B || ""} `, video: (item) => ` ${item.B || ""} `, faq: (item) => ` ${item.B || ""} `, strategy: (section) => { const data = $.isArray(section.data) ? section.data : Object.values(section.data || {}); const isAtlas = section.B?.indexOf("图鉴-") > -1; const moreBtn = data.length > (isAtlas ? 5 : 12) ? ' 更多 ' : ""; if (isAtlas) { const ulClass = section.B.startsWith("W-") ? "M3ListB_w" : section.B.startsWith("H-") ? "M3ListB_h" : ""; const displayTitle = section.B.substring(section.B.lastIndexOf("-") + 1); const listItems = data .map( (item) => ` ${item.C || ""} ` ) .join(""); return ` ${displayTitle} ${listItems} ${moreBtn} `; } else { const listItems = data.map((item) => ` ${item.C || ""} `).join(""); return ` ${section.B} ${listItems} ${moreBtn} `; } }, mod: (item, type) => ` ${item.C || ""} `, yj1: (item) => ` `, yj2: (item) => ` ${item.B || ""} 查看详情 `, }; // 渲染 const render = { banner: () => $("#top_banner").html(get("首页大图").map(tpl.banner).join("")), newsRec: () => { const item = get("新闻大图", "6"); item.B && $(".M2Recommend").html(tpl.newsRec(item)); }, newsSmall: () => $("#M1HotTab_li").html(get("新闻小图").map(tpl.newsSmall).join("")), video: () => $("#hot_vidoe_data").html(get("热门视频").map(tpl.video).join("")), strategy: () => $(".M3Body").html(get("攻略部分").map(tpl.strategy).join("")), // faq: () => $("#cjwt").html(get("常见问题").map(tpl.faq).join("")), // qualityStrategy: () => $("#jpgl").html(get("精品攻略").map(tpl.faq).join("")), faq: function(){ const modData = get("常见问题"); if (modData.length == 0) { const modDatas = get("精品攻略"); if (modDatas.length == 0) { $(".Main4").hide(); } else { $(".Main4 .fl").hide(); } return; } $("#cjwt").html( modData.map(tpl.faq).join("") ) }, qualityStrategy: function(){ const modData = get("精品攻略"); if (modData.length == 0) { const modDatas = get("常见问题"); if (modDatas.length == 0) { $(".Main4").hide(); } else { $(".Main4 .fr").hide(); } return; } $("#jpgl").html( modData.map(tpl.faq).join("") ) }, mod: function(){ const modData = get("mod部分"); if (!modData || modData.length == 0) { $(".Main5,.FixedNav ul li[data-id='M5']").hide(); return; } $(".Main5 ul").html( modData .map((section) => { const data = $.isArray(section.data) ? section.data : Object.values(section.data || {}); return data.map((item) => tpl.mod(item, section.B)).join(""); }) .join("") ) }, yj1: function(){ const modData = get("实测帧数"); if (!modData || modData.length == 0) { $(".Main7").hide(); return; } $(".Main7 .bn").html( modData.map(tpl.yj1).join("") ) }, // yj1: () => $(".Main7 .bn").html(get("实测帧数").map(tpl.yj1).join("")), yj2: () => $(".xktj").html(get("实测帧数").map(tpl.yj2).join("")), }; // 初始化 function initComponents() { // 评论 typeof window.aliCommentPcGlobal === "undefined" && $(" ", { id: "ali_comment_pc_global", src: "//comment.ali213.net/js/ali-comment-pc-global-version-1.js?sid=6-3118", }).appendTo("body"); } // 主函数 window.initPageData = (data) => { if (!data) return; initData(data); Object.values(render).forEach((fn) => fn()); initComponents(); }; initPageData(data13053); })(jQuery); $.each(data13053, function (k, v) { if(v['A'] == '硬件视频'){ var str1 = str2 = ''; $.each(v['data'],function(k1,v1){ if (v1['B'] == '微博活动') { str1 += ' '+v1['B']+' '+v1['E']+' 立即参与 '; } else if (v1['B'] == '论坛活动') { str1 += ' '+v1['B']+' '+v1['E']+' 立即参与 '; } else { $('.VideoItem').html(' '); } }) $('.ActivityList').html(str1); } }) getsite(536, 0);
本文转载自 游侠网攻略,由 XYG·心跃电竞(xyg.club)整理发布,仅供学习参考;版权归原作者所有。