@using KJH55128_Rec.ViewModels
@model  List<FriendLink>
@{ List<FriendLink> kj = new List<FriendLink>();
    List<FriendLink> yl = new List<FriendLink>();
    if (Model != null && Model.Count > 0)
    {
        kj = Model.Where(d => d.Type == "a051fecdd3624932bbe6ed8064143db3").ToList();//快捷导航
        yl = Model.Where(d => d.Type == "1fdeeb7420cb4978be5a9b783e672d09" && d.Name != "开奖助手").ToList();//友链
    }
}
<div style="text-align:center">
    <script type="text/javascript">
        var cpro_id = "u3060083";
    </script>
    <script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/c.js"></script>
</div>


<footer>
    <section class="hcontent-wrapper kjnav-wrapper">
        <div class="kjnav-left"><span class="kjnav-title">快捷导航</span></div>
        <div class="kjnav-right row">
            @if (kj.Count > 0)
            {
                foreach (FriendLink item in kj)
                {
                    <a class="kjnav-item" href="@item.Url" target="_blank"><span> @item.Name</span></a>
                    @*<span class="kjnav-item-span">|</span>*@
                }
            }
        </div>
    </section>
    <section class="hcontent-wrapper kjnav-wrapper">
        <div class="kjnav-left"><span class="kjnav-title">友情链接</span></div>
        <div class="kjnav-right row">
            @if (yl.Count > 0)
            {
                foreach (FriendLink item in yl)
                {
                    <a class="kjnav-item" href="@item.Url" target="_blank"> <span> @item.Name</span></a>
                }
            }
        </div>
    </section>
    <section class="fnav-box">
        <section class="hcontent-wrapper footer-nav">
            <a class="footer-nav-item" href="/about/aboutus.html" target="_blank">站点介绍</a>
            <a class="footer-nav-item" href="/about/relation.html" target="_blank">联系我们</a>
            <a class="footer-nav-item" href="/about/map.html" target="_blank">站点地图</a>
            <a class="footer-nav-item" href="/about/copyright.html" target="_blank">免责声明</a>
            <a class="footer-nav-item" onclick="addFavorite()">加入收藏夹</a>
            <a class="footer-nav-item" onclick="setHome()">设为首页</a>
        </section>
    </section>
    <section class="hcontent-wrapper copyright-wrapper">
        <span class="copyright">版权所有:彩吧助手 55128.CN (©2007-@(DateTime.Now.Year))</span> <span class="copyright">
            <a href="http://www.miitbeian.gov.cn" target="_Blank">工信部备案号:蜀ICP备17035304号-1</a>
        </span>
    </section>
</footer>
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script>
    var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?8f0e6a13425646d0908e83da57e82a2c";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=65796362" charset="UTF-8"></script>
<section class="fiexed-wrapper">
    <div class="fixed-list shouji">
        <span class="iconfont icon-shouji"></span> <span class="icontext">手机<br>站</span>
        <div class="code-box"><img src="~/Content/images/code.png"></div>
    </div>
    <div class="fixed-list weixin">
        <span class="iconfont icon-weixin"></span> <span class="icontext">微信<br>客服</span>
        <div class="code-box"><img src="~/Content/images/code.png"></div>
    </div>
    <div class="fixed-list qq">
        <a href="http://wpa.qq.com/msgrd?v=3&uin=289989514&site=qq&menu=yes" target="_blank"><span class="iconfont icon-qq"></span> <span class="icontext">QQ<br>客服</span></a>
    </div>
    @*<div class="fixed-list fankui">
            <a href="/feedback.html" target="_blank"><span class="iconfont icon-fankui"></span> <span class="icontext">用户<br>反馈</span></a>
        </div>*@
    <div class="fixed-list gotop" id="gotop"><span class="iconfont icon-gotop"></span> <span class="icontext">回到<br>顶部</span></div>
</section>
<link rel="stylesheet" type="text/css" href="~/Content/css/common/common.css">
<script type="text/javascript" src="~/Content/js/common.js"></script>