footer.cshtml 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. @using KJH55128_Rec.ViewModels
  2. @model List<FriendLink>
  3. @{ List<FriendLink> kj = new List<FriendLink>();
  4. List<FriendLink> yl = new List<FriendLink>();
  5. if (Model != null && Model.Count > 0)
  6. {
  7. kj = Model.Where(d => d.Type == "a051fecdd3624932bbe6ed8064143db3").ToList();//快捷导航
  8. yl = Model.Where(d => d.Type == "1fdeeb7420cb4978be5a9b783e672d09" && d.Name != "开奖助手").ToList();//友链
  9. }
  10. }
  11. <div style="text-align:center">
  12. <script type="text/javascript">
  13. var cpro_id = "u3060083";
  14. </script>
  15. <script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/c.js"></script>
  16. </div>
  17. <footer>
  18. <section class="hcontent-wrapper kjnav-wrapper">
  19. <div class="kjnav-left"><span class="kjnav-title">快捷导航</span></div>
  20. <div class="kjnav-right row">
  21. @if (kj.Count > 0)
  22. {
  23. foreach (FriendLink item in kj)
  24. {
  25. <a class="kjnav-item" href="@item.Url" target="_blank"><span> @item.Name</span></a>
  26. @*<span class="kjnav-item-span">|</span>*@
  27. }
  28. }
  29. </div>
  30. </section>
  31. <section class="hcontent-wrapper kjnav-wrapper">
  32. <div class="kjnav-left"><span class="kjnav-title">友情链接</span></div>
  33. <div class="kjnav-right row">
  34. @if (yl.Count > 0)
  35. {
  36. foreach (FriendLink item in yl)
  37. {
  38. <a class="kjnav-item" href="@item.Url" target="_blank"> <span> @item.Name</span></a>
  39. }
  40. }
  41. </div>
  42. </section>
  43. <section class="fnav-box">
  44. <section class="hcontent-wrapper footer-nav">
  45. <a class="footer-nav-item" href="/about/aboutus.html" target="_blank">站点介绍</a>
  46. <a class="footer-nav-item" href="/about/relation.html" target="_blank">联系我们</a>
  47. <a class="footer-nav-item" href="/about/map.html" target="_blank">站点地图</a>
  48. <a class="footer-nav-item" href="/about/copyright.html" target="_blank">免责声明</a>
  49. <a class="footer-nav-item" onclick="addFavorite()">加入收藏夹</a>
  50. <a class="footer-nav-item" onclick="setHome()">设为首页</a>
  51. </section>
  52. </section>
  53. <section class="hcontent-wrapper copyright-wrapper">
  54. <span class="copyright">版权所有:彩吧助手 55128.CN (©2007-@(DateTime.Now.Year))</span> <span class="copyright">
  55. <a href="http://www.miitbeian.gov.cn" target="_Blank">工信部备案号:蜀ICP备17035304号-1</a>
  56. </span>
  57. </section>
  58. </footer>
  59. <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
  60. <script>
  61. var _hmt = _hmt || [];
  62. (function () {
  63. var hm = document.createElement("script");
  64. hm.src = "https://hm.baidu.com/hm.js?8f0e6a13425646d0908e83da57e82a2c";
  65. var s = document.getElementsByTagName("script")[0];
  66. s.parentNode.insertBefore(hm, s);
  67. })();
  68. </script>
  69. <script type="text/javascript" src="http://tajs.qq.com/stats?sId=65796362" charset="UTF-8"></script>
  70. <section class="fiexed-wrapper">
  71. <div class="fixed-list shouji">
  72. <span class="iconfont icon-shouji"></span> <span class="icontext">手机<br>站</span>
  73. <div class="code-box"><img src="~/Content/images/code.png"></div>
  74. </div>
  75. <div class="fixed-list weixin">
  76. <span class="iconfont icon-weixin"></span> <span class="icontext">微信<br>客服</span>
  77. <div class="code-box"><img src="~/Content/images/code.png"></div>
  78. </div>
  79. <div class="fixed-list qq">
  80. <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>
  81. </div>
  82. @*<div class="fixed-list fankui">
  83. <a href="/feedback.html" target="_blank"><span class="iconfont icon-fankui"></span> <span class="icontext">用户<br>反馈</span></a>
  84. </div>*@
  85. <div class="fixed-list gotop" id="gotop"><span class="iconfont icon-gotop"></span> <span class="icontext">回到<br>顶部</span></div>
  86. </section>
  87. <link rel="stylesheet" type="text/css" href="~/Content/css/common/common.css">
  88. <script type="text/javascript" src="~/Content/js/common.js"></script>