header.cshtml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. @using KJH55128_Rec.ViewModels
  2. @model List<ViewLotteryType>
  3. <header>
  4. <section class="hcontent-wrapper logo-wrapper row">
  5. <div class="logo-content logo-left col-xs-6 col-sm-6"><img src="~/Content/images/kj-logo.jpg" alt="logo"></div>
  6. <div class="logo-content logo-right col-xs-0 col-sm-6">
  7. @* <a class="logo-right-item" href="http://kjh.55128.cn/index.aspx" target="_blank"><span style="color:#C31A00;">回到旧版</span></a>*@
  8. <a class="logo-right-item" href="http://kjh.55128.cn/" target="_blank"><span>开奖助手</span></a>
  9. <a class="logo-right-item" href="http://www.55128.cn/" target="_blank"><span>彩吧助手</span></a>
  10. <a class="logo-right-item" href="http://zx.55128.cn/" target="_blank"><span>彩吧资讯</span></a>
  11. <a class="logo-right-item" href="http://tk.55128.cn/index.htm" target="_blank"><span>彩吧图库</span></a>
  12. <a class="logo-right-item" onclick="addFavorite()"><span>收藏本站</span></a>
  13. <a class="logo-right-item" onclick="setHome()"><span>设为首页</span></a>
  14. </div>
  15. </section>
  16. <section class="nav-box">
  17. <section class="hcontent-wrapper mnav" id="mnav">
  18. <a class="logo-img" href="/index.html"><img src="~/Content/images/kj-logo.jpg" alt="logo"></a>
  19. <span class="iconfont icon-daohang" onclick="toggleNav(this)"></span>
  20. </section>
  21. <nav class="hcontent-wrapper nav-wrapper row show" id="pnav">
  22. <div class="nav-content @(ViewBag.nav=="index"?"active-nav":"")">
  23. <a href="/index.html">
  24. <span class="nav-item">首页</span>
  25. </a>
  26. </div>
  27. <div class="nav-content" id="lots">
  28. <a href="javascript:void(0);">
  29. <span class="nav-item">彩票大厅<span class="iconfont icon-arrowdown"></span></span>
  30. </a>
  31. <div class="cp-fl-wrapper">
  32. <div class="cp-fl-box">
  33. @if (Model != null && Model.Count > 0)
  34. {
  35. foreach (ViewLotteryType item in Model)
  36. {
  37. <div class="cp-fl-list">
  38. <div class="cp-fl-title"> @item.TypeName <span class="iconfont icon-@(item.TypeCode)"></span></div>
  39. <div class="cp-fl-content">
  40. @foreach (LotteryItems subitem in item.Lotterys)
  41. {
  42. <a class="lot-list" href="/kjls/@(subitem.ItemId)-@(subitem.SimpleSpelling.ToLower()).html" title="@subitem.ItemName" target="_blank"> @subitem.ItemName </a>
  43. }
  44. </div>
  45. </div>
  46. }
  47. }
  48. </div>
  49. </div>
  50. </div>
  51. <div class="nav-content @(ViewBag.nav=="qgc"?"active-nav":"")">
  52. @*<a href="/qgc.html" target="_blank"><span class="nav-item">全国彩</span></a>*@
  53. <a href="/qgc.html" target="_blank">
  54. <span class="nav-item">全国彩<span class="iconfont icon-arrowdown"></span></span>
  55. </a>
  56. <div class="cp-fl-wrapper">
  57. <div class="cp-fl-box">
  58. @if (Model != null && Model.Count > 0)
  59. {
  60. var qgc = Model.Where(a => a.TypeCode == "QGC").ToList();
  61. foreach (ViewLotteryType item in qgc)
  62. {
  63. <div class="cp-fl-list">
  64. <div class="cp-fl-title"> @item.TypeName <span class="iconfont icon-@(item.TypeCode)"></span></div>
  65. <div class="cp-fl-content">
  66. @foreach (LotteryItems subitem in item.Lotterys)
  67. {
  68. <a class="lot-list" href="/kjls/@(subitem.ItemId)-@(subitem.SimpleSpelling.ToLower()).html" title="@subitem.ItemName" target="_blank"> @subitem.ItemName </a>
  69. }
  70. </div>
  71. </div>
  72. }
  73. }
  74. </div>
  75. </div>
  76. </div>
  77. <div class="nav-content @(ViewBag.nav=="dfc"?"active-nav":"")">
  78. <a href="/dfc.html" target="_blank">
  79. <span class="nav-item">地方彩<span class="iconfont icon-arrowdown"></span></span>
  80. </a>
  81. @*<a href="/dfc.html" target="_blank"><span class="nav-item">地方彩</span></a>*@
  82. <div class="cp-fl-wrapper">
  83. <div class="cp-fl-box">
  84. @if (Model != null && Model.Count > 0)
  85. {
  86. var dfc = Model.Where(a => a.TypeCode == "DFC").ToList();
  87. foreach (ViewLotteryType item in dfc)
  88. {
  89. <div class="cp-fl-list">
  90. <div class="cp-fl-title"> @item.TypeName <span class="iconfont icon-@(item.TypeCode)"></span></div>
  91. <div class="cp-fl-content">
  92. @foreach (LotteryItems subitem in item.Lotterys)
  93. {
  94. <a class="lot-list" href="/kjls/@(subitem.ItemId)-@(subitem.SimpleSpelling.ToLower()).html" title="@subitem.ItemName" target="_blank"> @subitem.ItemName </a>
  95. }
  96. </div>
  97. </div>
  98. }
  99. }
  100. </div>
  101. </div>
  102. </div>
  103. <div class="nav-content @(ViewBag.nav=="gpc"?"active-nav":"")">
  104. @*<a href="/gpc.html" target="_blank"><span class="nav-item">高频彩</span></a>*@
  105. <a href="/gpc.html" target="_blank">
  106. <span class="nav-item">高频彩<span class="iconfont icon-arrowdown"></span></span>
  107. </a>
  108. <div class="cp-fl-wrapper">
  109. <div class="cp-fl-box">
  110. @if (Model != null && Model.Count > 0)
  111. {
  112. var gpc = Model.Where(a => a.TypeCode != "QGC" && a.TypeCode != "DFC").ToList();
  113. foreach (ViewLotteryType item in gpc)
  114. {
  115. <div class="cp-fl-list">
  116. <div class="cp-fl-title"> @item.TypeName <span class="iconfont icon-@(item.TypeCode)"></span></div>
  117. <div class="cp-fl-content">
  118. @foreach (LotteryItems subitem in item.Lotterys)
  119. {
  120. <a class="lot-list" href="/kjls/@(subitem.ItemId)-@(subitem.SimpleSpelling.ToLower()).html" title="@subitem.ItemName" target="_blank"> @subitem.ItemName </a>
  121. }
  122. </div>
  123. </div>
  124. }
  125. }
  126. </div>
  127. </div>
  128. </div>
  129. <div class="nav-content ksj @(ViewBag.nav=="kjh"?"active-nav":"")">
  130. <a href="javascript:void(0);">
  131. <span class="nav-item">开机号<span class="iconfont icon-arrowdown"></span></span>
  132. </a>
  133. <div class="ksj-wrapper">
  134. <div class="ksj-list">
  135. <a href="/kjh/ssq.html" target="_blank">双色球</a>
  136. </div>
  137. <div class="ksj-list">
  138. <a href="/kjh/fc3d.html" target="_blank">福彩3D</a>
  139. </div>
  140. <div class="ksj-list">
  141. <a href="/kjh/pl3.html" target="_blank">排列三</a>
  142. </div>
  143. <div class="ksj-list">
  144. <a href="/kjh/dlt.html" target="_blank">大乐透</a>
  145. </div>
  146. </div>
  147. </div>
  148. <div class="nav-content ksj @(ViewBag.nav=="sjh"?"active-nav":"")">
  149. <a href="javascript:void(0);">
  150. <span class="nav-item">试机号<span class="iconfont icon-arrowdown"></span></span>
  151. </a>
  152. <div class="ksj-wrapper">
  153. <div class="ksj-list">
  154. <a href="/sjh/fc3d.html" target="_blank">福彩3D</a>
  155. </div>
  156. <div class="ksj-list">
  157. <a href="/sjh/pl3.html" target="_blank">排列三</a>
  158. </div>
  159. </div>
  160. </div>
  161. <div class="nav-content">
  162. <a href="http://zx.55128.cn/" target="_blank"><span class="nav-item">资讯</span></a>
  163. </div>
  164. <div class="nav-content">
  165. <a class="" href="http://tk.55128.cn/" target="_blank"><span class="nav-item">图库</span></a>
  166. </div>
  167. <!--<div class="nav-content">
  168. <a href="http://www.55128.cn/" target="_blank">
  169. <span class="nav-item">走势</span>
  170. </a>
  171. </div>-->
  172. <div class="nav-content">
  173. <a href="http://www.55128.cn/tool/" target="_blank"><span class="nav-item">工具</span></a>
  174. </div>
  175. <div class="nav-content @(ViewBag.nav=="wf"?"active-nav":"")">
  176. <a href="/wfgz.html" target="_blank"><span class="nav-item">玩法</span></a>
  177. </div>
  178. <div class="nav-content">
  179. <a href="http://www.55128.cn/zt/" target="_blank"><span class="nav-item">专题</span></a>
  180. </div>
  181. <div class="nav-content mobile" id="mobile">
  182. <a><span class="nav-item">手机端</span></a>
  183. <div class="cp-fl-box">
  184. <img src="~/Content/images/code.png" alt="二维码">
  185. <!--<p>浏览移动端网页</p>-->
  186. </div>
  187. </div>
  188. <div class="nav-content">
  189. <a href="http://kjh.55128.cn/index.aspx" target="_blank"><span class="nav-item">回到旧版</span></a>
  190. </div>
  191. </nav>
  192. </section>
  193. </header>
  194. <div class='red-envelope'>
  195. <a href="//03309.cn" target="_blank"><img src='/static/images/qhb.png' /></a>
  196. </div>
  197. <style>
  198. .red-envelope {
  199. width: 200px;
  200. height: 190px;
  201. z-index: 19999;
  202. margin-top: -100px;
  203. cursor: pointer;
  204. position: fixed;
  205. top: 40%;
  206. right: 0;
  207. }
  208. .red-envelope img {
  209. width: 200px;
  210. height: 190px;
  211. }
  212. </style>