SJH.cshtml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. @using KJH55128_Rec.ViewModels
  2. @using Common
  3. @model List<LotteryKaiJiHaoAdShijihaoHModel>
  4. @{
  5. KaiJiHaoAdShijihaoHModel kaij = new KaiJiHaoAdShijihaoHModel();
  6. KaiJiHaoAdShijihaoHModel getKaijh = new KaiJiHaoAdShijihaoHModel();
  7. if (Model != null && Model.Count > 0)
  8. {
  9. kaij = Model.FirstOrDefault().Shijihao;
  10. getKaijh = Model.FirstOrDefault().Kaijianghao;
  11. }
  12. }
  13. <!DOCTYPE html>
  14. <html>
  15. <head>
  16. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  17. <title>@(kaij.LotteryName)试机号_@(kaij.LotteryName)试机号查询_@(kaij.LotteryName)试机号_@(kaij.LotteryName)试机号今天_@(kaij.LotteryName)试机号口诀_@(kaij.LotteryName)试机号每日快报_开奖助手</title>
  18. <meta name="Keywords" content="@(kaij.LotteryName)试机号,@(kaij.LotteryName)试机号查询,@(kaij.LotteryName)试机号,@(kaij.LotteryName)试机号今天,@(kaij.LotteryName)试机号口诀,@(kaij.LotteryName)试机号,今日@(kaij.LotteryName)试机号后分析,@(kaij.LotteryName)试机号走势图,@(kaij.LotteryName),@(kaij.LotteryName)试机号,开奖网@(kaij.LotteryName)试机号">
  19. <meta name="tags" content="开奖助手-双色球,大乐透,体彩,福彩,高频彩,时时彩,走势图,全国彩票开奖结果">
  20. <meta name="Description" content="开奖助手提供@(kaij.LotteryName)试机号、@(kaij.LotteryName)试机号、@(kaij.LotteryName)查询、@(kaij.LotteryName)今天口诀、@(kaij.LotteryName)试机号每日快报、 @(kaij.LotteryName)试机号后分析、@(kaij.LotteryName)试机号走势图、麦久@(kaij.LotteryName)试机号、@(kaij.LotteryName)试机号金码及对应码">
  21. @*<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">*@
  22. <meta charset="UTF-8">
  23. <link rel="stylesheet" type="text/css" href="~/Content/css/common/common.css">
  24. @*<link rel="stylesheet" type="text/less" href="~/public/css/common/common.less?v=@(DateTime.Now.Millisecond)">*@
  25. <link rel="icon" type="image/x-icon" href="~/Content/images/favicon.ico" mce_href="/images/favicon.ico">
  26. <!--[if IE]>
  27. <script src="https://cdn.bootcss.com/html5shiv/r29/html5.min.js"></script>
  28. <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
  29. <![endif]-->
  30. </head>
  31. <body>
  32. @Html.Action("header", "Shared", new { nav = "sjh" })
  33. <div class="main" style="margin-top:130px">
  34. <input type="hidden" id="code" value="@ViewBag.code" />
  35. <section class="bread-nav">
  36. <span class="lable">当前位置:试机号</span>
  37. <span class="iconfont icon-right"></span>
  38. <span class="lable">@(kaij.LotteryName)试机号</span>
  39. </section>
  40. @Html.Action("ads", "Shared")
  41. <section class="mainContent row">
  42. <section class="main-title-wrapper">
  43. <section class="main-title">
  44. <span class="main-title-lable @(ViewBag.code == "fc3d" ? "active" : "")" href="/sjh/fc3d.html" onclick="redictPage('fc3d')">福彩3D</span>
  45. <span class="main-title-lable @(ViewBag.code == "pl3" ? "active" : "")" href="/sjh/pl3.html" onclick="redictPage('pl3')">排列三</span>
  46. </section>
  47. </section>
  48. <section class="ksj-content-wrapper">
  49. <section class="ksj-main-content row">
  50. <section class="row col-xs-12 col-smm-6 col-sm-9">
  51. <section class="row">
  52. <section class="col-xs-12 col-md-6d5">
  53. <section class="ksj-num-wrapper">
  54. <p class="qishu">
  55. 第<span id="qs1" style="font-size:1.8rem;color:#c31a00;">@(kaij.Term)</span>期试机号:
  56. <span class="btn-refresh" onclick="window.location = window.location.href;">刷新</span>
  57. </p>
  58. <div class="ksj-ball">
  59. @if (kaij.RedBall != null && kaij.RedBall.Length > 0)
  60. {
  61. foreach (string ball in kaij.RedBall)
  62. {
  63. <span class="ball-list red">@ball</span>
  64. }
  65. }
  66. @if (kaij.BlueBall != null && kaij.BlueBall.Length > 0)
  67. {
  68. foreach (string ball in kaij.BlueBall)
  69. {
  70. <span class="ball-list blue">@ball</span>
  71. }
  72. }
  73. </div>
  74. <p class="ksjxq" style="line-height:25px;">
  75. <strong style="font-size:1.6rem"> 开奖时间:</strong><span style="margin-right: 4px;">@string.Format("{0:yyyy年MM月dd日}", Convert.ToDateTime(kaij.OpenTime))</span> |
  76. <strong style="font-size:1.6rem"> 兑奖截止:</strong><span style="margin-right: 4px;">@(kaij.GetDuiJiangtime().ToString("yyyy年MM月dd日"))</span>
  77. </p>
  78. <p class="ksjxq" style="line-height:25px;">
  79. 和值:<span id="hz" style="margin-right: 4px;">@(kaij.hezhi)</span> |
  80. 奇偶比:<span id="job" style="margin-right: 4px;">@(kaij.jio)</span> |
  81. 大小比:<span id="dxb" style="margin-right: 4px;">@(kaij.daxiao)</span>
  82. </p>
  83. <p class="kj-btn qishu-box" style="line-height:25px;">
  84. <span class="strong">历史:</span>
  85. <a target="_blank" href="/sjh/@(ViewBag.code)-n30.html" data-rows="10" class="lot-btn lot-rows @(ViewBag.term==30?"active":"")">近30期</a>
  86. <a target="_blank" href="/sjh/@(ViewBag.code)-n50.html" data-rows="50" class="lot-btn lot-rows @(ViewBag.term==50?"active":"")">近50期</a>
  87. <a target="_blank" href="/sjh/@(ViewBag.code)-n80.html" data-rows="80" class="lot-btn lot-rows @(ViewBag.term==80?"active":"")">近80期</a>
  88. <a target="_blank" href="/sjh/@(ViewBag.code)-n120.html" data-rows="100" class="lot-btn lot-rows @(ViewBag.term==120?"active":"")">近120期</a>
  89. </p>
  90. <p class="kj-btn" style="line-height:25px;">
  91. <span class="strong">推荐:</span>
  92. <a class="lot-btn" href="/kjh/@(ViewBag.code).html" target="_blank">开机号</a>
  93. <a class="lot-btn" href="/wfgz/qgc-@(ViewBag.code).html" target="_blank">玩法</a>
  94. <a class="lot-btn" href="/kjls/qgc-@(ViewBag.code).html" target="_blank">开奖历史</a>
  95. <a class="lot-btn" href="http://www.55128.cn@(ViewBag.zsSrc)" target="_blank">走势图</a>
  96. <a class="lot-btn" href="@(string.IsNullOrWhiteSpace(ViewBag.toolSrc)?"http://www.55128.cn/tool/":"http://www.55128.cn"+ViewBag.toolSrc)" target="_blank">工具</a>
  97. </p>
  98. </section>
  99. </section>
  100. <section class="col-xs-12 col-md-5d5">
  101. <section class="ksj-num-wrapper">
  102. <div class="ads-list-title row">
  103. <div class="ads-title-lable col-xs-12"><span class="iconfont icon-@(kaij.LotteryType)" style="padding: 0 5px;font-size:40px;font-weight: normal;"></span>@(kaij.LotteryName)分析工具</div>
  104. </div>
  105. @Html.Action("zsTools", "Shared", new { lottery = ViewBag.code, type = 0 })
  106. </section>
  107. </section>
  108. </section>
  109. <section class="row ksj-table-wrapper">
  110. <div class="title">
  111. @*<span>@(kaij.LotteryName)试机号<span id="Year"></span>近<span id="rows">@(ViewBag.term)</span>期试机号</span>*@
  112. <section class="ksj-select-wrapper">
  113. @*<p class="title">试机号查询</p>*@
  114. <div class="select-list">
  115. <span class="lable">按期号:</span>
  116. <div class="input-btn-group">
  117. <input id="termInput" type="text" value="" placeholder="请输入期号" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="7">
  118. @if (!string.IsNullOrEmpty(getKaijh.Term))
  119. {
  120. int qs = Int32.Parse(getKaijh.Term);
  121. <ul class="query-select">
  122. @for (int i = 0; i < 19; i++)
  123. {
  124. if ((qs - i).ToString().IndexOf("000") == -1)
  125. {
  126. <li><a href="/sjh/@(ViewBag.code)-q@(qs - i).html">@(qs - i)</a></li>
  127. }
  128. else
  129. {
  130. int lastqs = StringHelper.GetLastTermOfLastYear(getKaijh.KJTime);
  131. int year = StringHelper.GetLastYear(getKaijh.Term);
  132. for (int j = 0; j < 6; j++)
  133. {
  134. <li>
  135. <a href="/sjh/@(ViewBag.code)-q@(year)@(lastqs - j).html" target="_blank">@(year)@(lastqs - j)</a>
  136. </li>
  137. }
  138. break;
  139. }
  140. }
  141. </ul>
  142. }
  143. <button onclick="queryKSJH('sjh','Term')" style="cursor: pointer;">查询</button>
  144. </div>
  145. @*<span class="eg">如:2018001</span>*@
  146. </div>
  147. <div class="select-list">
  148. <span class="lable">按年份:</span>
  149. <div class="input-btn-group">
  150. <input id="yearInput" type="text" value="" placeholder="请输入年份" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="4">
  151. <button onclick="queryKSJH('sjh','Year')" style="cursor: pointer;">查询</button>
  152. </div>
  153. @*<span class="eg">如:2018</span>*@
  154. </div>
  155. <div class="select-list">
  156. <div class="input-btn-group">
  157. <input id="startInput" type="number" value="@kaij.Term" max="@kaij.Term" placeholder="开始期数" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="7">
  158. <span style="float: left;padding:0 3px;">-</span>
  159. <input id="endInput" type="number" value="@kaij.Term" max="@kaij.Term" placeholder="结束期数" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="7">
  160. <button onclick="queryKSJH('sjh', 'range')" style="cursor: pointer;">查询</button>
  161. </div>
  162. </div>
  163. </section>
  164. <div class="qishu-box">
  165. <span>@(kaij.LotteryName)试机号:</span>
  166. <a target="_blank" href="/sjh/@(ViewBag.code)-n30.html" class="lot-btn @(ViewBag.term==30?"active":"")">近30期</a>
  167. <a target="_blank" href="/sjh/@(ViewBag.code)-n50.html" class="lot-btn @(ViewBag.term==50?"active":"")">近50期</a>
  168. <a target="_blank" href="/sjh/@(ViewBag.code)-n80.html" class="lot-btn @(ViewBag.term==80?"active":"")">近80期</a>
  169. <a target="_blank" href="/sjh/@(ViewBag.code)-n120.html" class="lot-btn @(ViewBag.term==120?"active":"")">近120期</a>
  170. </div>
  171. </div>
  172. <div id="table">
  173. <table class="ksj-table" border="0" cellspacing="0" cellpadding="0">
  174. <thead>
  175. <tr class="single">
  176. <th rowspan="2" style="border:1px solid #ddd;">期号</th>
  177. <th rowspan="2" style="border:1px solid #ddd;">日期</th>
  178. <th colspan="4" style="border:1px solid #ddd;"> 试机号 </th>
  179. <th colspan="4" style="border:1px solid #ddd;">开奖号</th>
  180. </tr>
  181. <tr class="single" style="border:1px solid #ddd;">
  182. <th style="border:1px solid #ddd;">号码</th>
  183. <th style="border:1px solid #ddd;">和值</th>
  184. <th style="border:1px solid #ddd;">奇偶比</th>
  185. <th style="border:1px solid #ddd;">大小比</th>
  186. <th style="border:1px solid #ddd;">号码</th>
  187. <th style="border:1px solid #ddd;">和值</th>
  188. <th style="border:1px solid #ddd;">奇偶比</th>
  189. <th style="border:1px solid #ddd;">大小比</th>
  190. </tr>
  191. </thead>
  192. @if (Model != null && Model.Count > 0)
  193. {
  194. for (int i = 0; i < Model.Count; i++)
  195. {
  196. KaiJiHaoAdShijihaoHModel shiji = Model[i].Shijihao;
  197. KaiJiHaoAdShijihaoHModel kaijiang = Model[i].Kaijianghao;
  198. <tr class="@(i % 2 == 0 ? "double" : "single")">
  199. <td>@kaijiang.Term</td>
  200. <td>@(string.IsNullOrWhiteSpace(kaijiang.OpenTime) ? "-" : string.Format("{0:yyyy-MM-dd}", Convert.ToDateTime(kaijiang.OpenTime)))</td>
  201. <!--试机号-->
  202. <td>
  203. @if (shiji.RedBall != null && shiji.RedBall.Length > 0)
  204. {
  205. for (int j = 0; j < shiji.RedBall.Length; j++)
  206. {
  207. string ball = shiji.RedBall[j];
  208. <span class="red">@ball</span>
  209. if (shiji.BlueBall == null && j == shiji.RedBall.Length - 1)
  210. {
  211. }
  212. else
  213. {
  214. <span>,</span>
  215. }
  216. }
  217. }
  218. @if (shiji.BlueBall != null && shiji.BlueBall.Length > 0)
  219. {
  220. for (int j = 0; j < shiji.BlueBall.Length; j++)
  221. {
  222. string ball = shiji.BlueBall[j];
  223. <span class="blue">@ball</span>
  224. if (j == shiji.BlueBall.Length - 1)
  225. {
  226. }
  227. else
  228. {
  229. <span>,</span>
  230. }
  231. }
  232. }
  233. </td>
  234. <td>@(string.IsNullOrWhiteSpace(shiji.hezhi) ? "-" : shiji.hezhi)</td>
  235. <td>@(string.IsNullOrWhiteSpace(shiji.jio) ? "-" : shiji.jio)</td>
  236. <td>@(string.IsNullOrWhiteSpace(shiji.daxiao) ? "-" : shiji.daxiao)</td>
  237. <!--开奖号-->
  238. <td>
  239. @if (kaijiang.RedBall != null && kaijiang.RedBall.Length > 0)
  240. {
  241. for (int j = 0; j < kaijiang.RedBall.Length; j++)
  242. {
  243. string ball = kaijiang.RedBall[j];
  244. <span class="red">@ball</span>
  245. if (kaijiang.BlueBall == null && j == kaijiang.RedBall.Length - 1)
  246. {
  247. }
  248. else
  249. {
  250. <span>,</span>
  251. }
  252. }
  253. }
  254. @if (kaijiang.BlueBall != null && kaijiang.BlueBall.Length > 0)
  255. {
  256. for (int j = 0; j < kaijiang.BlueBall.Length; j++)
  257. {
  258. string ball = kaijiang.BlueBall[j];
  259. <span class="blue">@ball</span>
  260. if (j == kaijiang.BlueBall.Length - 1)
  261. {
  262. }
  263. else
  264. {
  265. <span>,</span>
  266. }
  267. }
  268. }
  269. </td>
  270. <td>@(string.IsNullOrWhiteSpace(kaijiang.hezhi) ? "-" : kaijiang.hezhi)</td>
  271. <td>@(string.IsNullOrWhiteSpace(kaijiang.jio) ? "-" : kaijiang.jio)</td>
  272. <td>@(string.IsNullOrWhiteSpace(kaijiang.daxiao) ? "-" : kaijiang.daxiao)</td>
  273. </tr>
  274. }
  275. }
  276. </table>
  277. </div>
  278. </section>
  279. <section class="row ksj-table-wrapper">
  280. <input type="hidden" id="lottery" value="@(kaij.LotteryType)" />
  281. <div class="title">
  282. <span>@(kaij.LotteryName)试机号历史上的今天</span>
  283. </div>
  284. <div id="table-ls">
  285. @Html.Action("_getSjhHistoryToday", "Template", new { lotterytype = kaij.LotteryType, term = kaij.Term })
  286. </div>
  287. </section>
  288. </section>
  289. <section class="col-xs-12 col-smm-6 col-sm-3">
  290. @Html.Action("sjhDesc", "Shared", new { code = ViewBag.code, type = 1 })
  291. <section class="ads-section">
  292. <div class="ads-list-title row">
  293. <div class="ads-title-lable col-xs-12">热门试机号</div>
  294. </div>
  295. <div class="ads-list-content">
  296. @Html.Action("recomkjh", "Shared", new { lottery = ViewBag.code, type = "sjh" })
  297. </div>
  298. </section>
  299. <section class="ads-section">
  300. <div class="ads-list-title row">
  301. <div class="ads-title-lable col-xs-12">@(kaij.LotteryName)试机号分析走势图</div>
  302. </div>
  303. <div class="ads-list-content">
  304. <div>
  305. <a href="#"><img width="100%" src="~/Content/images/sjh_zst.gif" alt="走势图" /></a>
  306. </div>
  307. @Html.Action("recomzs", "Shared", new { code = ViewBag.code, type = "sjh" })
  308. </div>
  309. </section>
  310. @Html.Action("recomzxBytype", "Shared", new { type = "sjh" + ViewBag.code })
  311. @Html.Action("sjhDesc", "Shared", new { code = ViewBag.code, type = 2 })
  312. </section>
  313. </section>
  314. </section>
  315. </section>
  316. </div>
  317. @Html.Action("footer", "Shared")
  318. <script src="~/Content/js/common.js" type="text/javascript" charset="utf-8"></script>
  319. <script src="~/Content/js/common/public.js" type="text/javascript" charset="utf-8"></script>
  320. @*<script src="~/Content/tools/libs/layer/layer.js"></script>*@
  321. <script src="~/Content/js/kjh.js?v=@(DateTime.Now.Millisecond)" type="text/javascript" charset="utf-8"></script>
  322. @*<script src="~/public/css/libs/less.min.js"></script>*@
  323. <script>
  324. function redictPage(type) {
  325. if (type != '@(ViewBag.code)') {
  326. if (type == 'fc3d') {
  327. window.location.href = '/sjh/fc3d.html';
  328. } else {
  329. window.location.href = '/sjh/pl3.html';
  330. }
  331. }
  332. }
  333. </script>
  334. </body>
  335. </html>