(为易作品)英雄联盟—英雄资料库(手机在线)

@Ta 2013-06-23 2315点击
一个让你花费最少流量,就能在手机上玩转LOL的系统!
英雄联盟的战士,行动起来吧!
(系统正在不断完善中,后期将建立论坛,供被坑的你诉苦;牛X的你分享技术!)
进入英雄的战场吧!
@刘海不遮眼 原来的域名挂了,现在改好了
回复列表(13|隐藏机器人聊天)
  • @Ta / 2012-04-22 / /
    除了顶还是顶
  • @Ta / 2012-04-22 / /
    虽然不玩,还是顶
  • @Ta / 2012-04-22 / /
    因为撸啊撸是腾讯运营的,所以不玩。这是一个很有逻辑性的推理。
  • @Ta / 2012-04-23 / /
    感谢分享,我们班很多人玩,不过我不玩
  • @Ta / 2013-06-17 / /
  • @Ta / 2013-06-17 / /
    <!doctype html>
    <html>
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>英雄玩法</title>
        <meta name="description" content="" />
        <meta name="keywords" content="" />
      <link rel="stylesheet" href="http://db.duowan.com/lolcz/static/lolcz/images/global.css" />
      <link rel="stylesheet" href="http://db.duowan.com/lolcz/static/lolcz/images/contribute.css" />
      <script type="text/javascript" src="http://db.duowan.com/lolcz/static/lolcz/js/jquery-1.7.2.min.js"></script>
      <script src="http://www.duowan.com/public/assets/sys/js/dww3.min.js?08161047.js"></script>
      <script type="text/javascript" src="http://lolbox.duowan.com/js/heroesList.js?v=1212210950"></script>
      <script type="text/javascript" src="http://db.duowan.com/static/lolcz/js/search.js"></script>
      <script type="text/javascript">_hiido_no=0;_hiido_wid=["lbox","_d78d280"];</script>
    </head>
    <body style="height: 480px;">
    <div class="box" id="equip-list">
        <div class="box-hd">
         <div class="fl crumbs">
         <a href="http://db.duowan.com/lolcz">英雄玩法</a>
         <a style="margin-left: 10px;color: red" id='free_heros' href="">每周免费</a>
         </div>
        </div>
    <div class="box-bd">
    <div class="step-search clearfix">
    <input class="text" id='keyworld' type="text" value="输入英雄名称或字母快速检索" onFocus="javascript:if(this.value=='输入英雄名称或字母快速检索')this.value='';">
    <div class="sort-select" id='champion_tags_search'>
            <label><input type="checkbox" class="filter" value='tank'>坦克</label>
            <label><input type="checkbox" class="filter" value='assassin'>刺客</label>
                    <label><input type="checkbox" class="filter" value='mage'>法师</label>
                    <label><input type="checkbox" class="filter" value="ranged">远程</label>
                    <label><input type="checkbox" class="filter" value='melee'>近战</label>
                    <label><input type="checkbox" class="filter" value='fighter'>战士</label>
                    <label><input type="checkbox" class="filter" value='jungler'>打野</label>
                    <label><input type="checkbox" class="filter" value='support'>辅助 </label>
    </div>
    <div class="btn"><a href="http://db.duowan.com/lolcz/post.html" class="btn-con">我要投稿</a></div>
    </div>
    <div class="hero-list">
    <ul class="mod-pic" id='champion_show'>   
        <script type="text/javascript" > 
                    for(var key in heroesList){
                       var list_url = "http://db.duowan.com/lolcz/list.html?name="+heroesList[key]['name'];
                       var champion = "<li id='cham_"+heroesList[key]['name']+"'><a href='"+list_url+
                          "' title='"+heroesList[key]['displayName']+"'><img  src='http://img.lolbox.duowan.com/champions/"+
                          heroesList[key]['name']+".jpg'><em>"+heroesList[key]['title']+"</em></a></li> ";
                       document.write(champion);        
                    }  
                </script> 
    </ul>
    </div>
    </div>
    </div>
    <script>
    $(function(){
    //获得Cookie的原始值
       function getCookie(name) {
    var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
         if(arr != null) return decodeURI(arr[2]); return null;
       }

       $('#tougao').css({cursor: 'pointer'}).click(function() {
       //KISSDW.popupBox("none", {boxSelector: "#pop-tips-2", existMask: true});
    var player_name = getCookie('playerName');
    var server_name = getCookie('serverName');
    if(!player_name || !server_name) { //未登录
    KISSDW.popupBox("none", {boxSelector: "#pop-tips-1", existMask: true });
    return;
    }

    var base_url = "http://lolbox.duowan.com/ajaxPlayerInfo.php?callback=?";
    $.getJSON(base_url, {
    'playerName': player_name, 'serverName': server_name
    }, function(data) {
    if(typeof data['lollevel'] == 'undefined' || typeof data['lolcombat'] == 'undefined') return;
    if(player_name == '提线布偶') {
    window.location.href = "http://db.duowan.com/lolcz/post.html";
    return;
    }
    if(parseInt(data['lollevel']) >= 30 && parseInt(data['lolcombat']) >= 4000) {
    window.location.href = "http://db.duowan.com/lolcz/post.html";
    } else if(player_name == 'upsky') {
    window.location.href = "http://db.duowan.com/lolcz/post.html";
    } else {
    KISSDW.popupBox("none", {boxSelector: "#pop-tips-2", existMask: true});
    }
    });
    });


    var base_url = 'http://lolbox.duowan.com/ajaxGetFreeHeros.php?callback=?';
    $.getJSON(base_url,function(data){
    var res = data;
    $('#free_heros').click(function(){
    $("#champion_show li").css({// 先对所有隐藏
    display : 'none'
    });
    for ( var key in res) {// 然后只显示匹配的
    var target = "#cham_" + res[key]['enName'];
    $(target).css({
    display : 'block'
    });
    }
    return false;
    });
    });

    $('#reset_chuzhuang').click(function(){
    KISSDW.popupBox("none", {boxSelector: "#pop-tips-3", existMask: true });
    });

    });
    </script>

    <script src="http://www.duowan.com/duowan.js" type="text/javascript"></script>
    </body>
    </html>
  • @Ta / 2013-06-17 / /
    电脑版
  • @Ta / 2013-06-18 / /
    @读书顶个鸟用 谢了,有空研究研究
  • @Ta / 2013-06-24 / /
    @vst93   怎么打不开了##
  • @Ta / 2013-07-04 / /
    @vst93,我想写一个html的,尽量美化像联盟控~求撸主qq,讨教一二……因为实在想不起健哪种站,正好边写边磨练技术
  • @Ta / 2013-07-04 / /
    @vst93,我想写一个html的,尽量美化像联盟控~求撸主qq,讨教一二……因为实在想不起健哪种站,正好边写边磨练技术
  • @Ta / 2013-07-04 / /
    @刘海不遮眼,929701465
  • @Ta / 2013-07-04 / /
    @vst93,晚上加    

    你哪区的啊
添加新回复
回复需要登录