footer.cshtml 4.0 KB

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