SJH.cshtml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  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. <div style="text-align:center">
  110. <script type="text/javascript">
  111. var cpro_id = "u3060083";
  112. </script>
  113. <script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/c.js"></script>
  114. </div>
  115. <section class="row ksj-table-wrapper">
  116. <div class="title">
  117. @*<span>@(kaij.LotteryName)试机号<span id="Year"></span>近<span id="rows">@(ViewBag.term)</span>期试机号</span>*@
  118. <section class="ksj-select-wrapper">
  119. @*<p class="title">试机号查询</p>*@
  120. <div class="select-list">
  121. <span class="lable">按期号:</span>
  122. <div class="input-btn-group">
  123. <input id="termInput" type="text" value="" placeholder="请输入期号" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="7">
  124. @if (!string.IsNullOrEmpty(getKaijh.Term))
  125. {
  126. int qs = Int32.Parse(getKaijh.Term);
  127. <ul class="query-select">
  128. @for (int i = 0; i < 19; i++)
  129. {
  130. if ((qs - i).ToString().IndexOf("000") == -1)
  131. {
  132. <li><a href="/sjh/@(ViewBag.code)-q@(qs - i).html">@(qs - i)</a></li>
  133. }
  134. else
  135. {
  136. int lastqs = StringHelper.GetLastTermOfLastYear(getKaijh.KJTime);
  137. int year = StringHelper.GetLastYear(getKaijh.Term);
  138. for (int j = 0; j < 6; j++)
  139. {
  140. <li>
  141. <a href="/sjh/@(ViewBag.code)-q@(year)@(lastqs - j).html" target="_blank">@(year)@(lastqs - j)</a>
  142. </li>
  143. }
  144. break;
  145. }
  146. }
  147. </ul>
  148. }
  149. <button onclick="queryKSJH('sjh','Term')" style="cursor: pointer;">查询</button>
  150. </div>
  151. @*<span class="eg">如:2018001</span>*@
  152. </div>
  153. <div class="select-list">
  154. <span class="lable">按年份:</span>
  155. <div class="input-btn-group">
  156. <input id="yearInput" type="text" value="" placeholder="请输入年份" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="4">
  157. <button onclick="queryKSJH('sjh','Year')" style="cursor: pointer;">查询</button>
  158. </div>
  159. @*<span class="eg">如:2018</span>*@
  160. </div>
  161. <div class="select-list">
  162. <div class="input-btn-group">
  163. <input id="startInput" type="number" value="@kaij.Term" max="@kaij.Term" placeholder="开始期数" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="7">
  164. <span style="float: left;padding:0 3px;">-</span>
  165. <input id="endInput" type="number" value="@kaij.Term" max="@kaij.Term" placeholder="结束期数" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="7">
  166. <button onclick="queryKSJH('sjh', 'range')" style="cursor: pointer;">查询</button>
  167. </div>
  168. </div>
  169. </section>
  170. <div class="qishu-box">
  171. <span>@(kaij.LotteryName)试机号:</span>
  172. <a target="_blank" href="/sjh/@(ViewBag.code)-n30.html" class="lot-btn @(ViewBag.term==30?"active":"")">近30期</a>
  173. <a target="_blank" href="/sjh/@(ViewBag.code)-n50.html" class="lot-btn @(ViewBag.term==50?"active":"")">近50期</a>
  174. <a target="_blank" href="/sjh/@(ViewBag.code)-n80.html" class="lot-btn @(ViewBag.term==80?"active":"")">近80期</a>
  175. <a target="_blank" href="/sjh/@(ViewBag.code)-n120.html" class="lot-btn @(ViewBag.term==120?"active":"")">近120期</a>
  176. </div>
  177. </div>
  178. <div id="table">
  179. <table class="ksj-table" border="0" cellspacing="0" cellpadding="0">
  180. <thead>
  181. <tr class="single">
  182. <th rowspan="2" style="border:1px solid #ddd;">期号</th>
  183. <th rowspan="2" style="border:1px solid #ddd;">日期</th>
  184. <th colspan="4" style="border:1px solid #ddd;"> 试机号 </th>
  185. <th colspan="4" style="border:1px solid #ddd;">开奖号</th>
  186. </tr>
  187. <tr class="single" style="border:1px solid #ddd;">
  188. <th style="border:1px solid #ddd;">号码</th>
  189. <th style="border:1px solid #ddd;">和值</th>
  190. <th style="border:1px solid #ddd;">奇偶比</th>
  191. <th style="border:1px solid #ddd;">大小比</th>
  192. <th style="border:1px solid #ddd;">号码</th>
  193. <th style="border:1px solid #ddd;">和值</th>
  194. <th style="border:1px solid #ddd;">奇偶比</th>
  195. <th style="border:1px solid #ddd;">大小比</th>
  196. </tr>
  197. </thead>
  198. @if (Model != null && Model.Count > 0)
  199. {
  200. for (int i = 0; i < Model.Count; i++)
  201. {
  202. KaiJiHaoAdShijihaoHModel shiji = Model[i].Shijihao;
  203. KaiJiHaoAdShijihaoHModel kaijiang = Model[i].Kaijianghao;
  204. <tr class="@(i % 2 == 0 ? "double" : "single")">
  205. <td>@kaijiang.Term</td>
  206. <td>@(string.IsNullOrWhiteSpace(kaijiang.OpenTime) ? "-" : string.Format("{0:yyyy-MM-dd}", Convert.ToDateTime(kaijiang.OpenTime)))</td>
  207. <!--试机号-->
  208. <td>
  209. @if (shiji.RedBall != null && shiji.RedBall.Length > 0)
  210. {
  211. for (int j = 0; j < shiji.RedBall.Length; j++)
  212. {
  213. string ball = shiji.RedBall[j];
  214. <span class="red">@ball</span>
  215. if (shiji.BlueBall == null && j == shiji.RedBall.Length - 1)
  216. {
  217. }
  218. else
  219. {
  220. <span>,</span>
  221. }
  222. }
  223. }
  224. @if (shiji.BlueBall != null && shiji.BlueBall.Length > 0)
  225. {
  226. for (int j = 0; j < shiji.BlueBall.Length; j++)
  227. {
  228. string ball = shiji.BlueBall[j];
  229. <span class="blue">@ball</span>
  230. if (j == shiji.BlueBall.Length - 1)
  231. {
  232. }
  233. else
  234. {
  235. <span>,</span>
  236. }
  237. }
  238. }
  239. </td>
  240. <td>@(string.IsNullOrWhiteSpace(shiji.hezhi) ? "-" : shiji.hezhi)</td>
  241. <td>@(string.IsNullOrWhiteSpace(shiji.jio) ? "-" : shiji.jio)</td>
  242. <td>@(string.IsNullOrWhiteSpace(shiji.daxiao) ? "-" : shiji.daxiao)</td>
  243. <!--开奖号-->
  244. <td>
  245. @if (kaijiang.RedBall != null && kaijiang.RedBall.Length > 0)
  246. {
  247. for (int j = 0; j < kaijiang.RedBall.Length; j++)
  248. {
  249. string ball = kaijiang.RedBall[j];
  250. <span class="red">@ball</span>
  251. if (kaijiang.BlueBall == null && j == kaijiang.RedBall.Length - 1)
  252. {
  253. }
  254. else
  255. {
  256. <span>,</span>
  257. }
  258. }
  259. }
  260. @if (kaijiang.BlueBall != null && kaijiang.BlueBall.Length > 0)
  261. {
  262. for (int j = 0; j < kaijiang.BlueBall.Length; j++)
  263. {
  264. string ball = kaijiang.BlueBall[j];
  265. <span class="blue">@ball</span>
  266. if (j == kaijiang.BlueBall.Length - 1)
  267. {
  268. }
  269. else
  270. {
  271. <span>,</span>
  272. }
  273. }
  274. }
  275. </td>
  276. <td>@(string.IsNullOrWhiteSpace(kaijiang.hezhi) ? "-" : kaijiang.hezhi)</td>
  277. <td>@(string.IsNullOrWhiteSpace(kaijiang.jio) ? "-" : kaijiang.jio)</td>
  278. <td>@(string.IsNullOrWhiteSpace(kaijiang.daxiao) ? "-" : kaijiang.daxiao)</td>
  279. </tr>
  280. }
  281. }
  282. </table>
  283. </div>
  284. </section>
  285. <section class="row ksj-table-wrapper">
  286. <input type="hidden" id="lottery" value="@(kaij.LotteryType)" />
  287. <div class="title">
  288. <span>@(kaij.LotteryName)试机号历史上的今天</span>
  289. </div>
  290. <div id="table-ls">
  291. @Html.Action("_getSjhHistoryToday", "Template", new { lotterytype = kaij.LotteryType, term = kaij.Term })
  292. </div>
  293. </section>
  294. </section>
  295. <section class="col-xs-12 col-smm-6 col-sm-3">
  296. @Html.Action("sjhDesc", "Shared", new { code = ViewBag.code, type = 1 })
  297. <section class="ads-section">
  298. <div class="ads-list-title row">
  299. <div class="ads-title-lable col-xs-12">热门试机号</div>
  300. </div>
  301. <div class="ads-list-content">
  302. @Html.Action("recomkjh", "Shared", new { lottery = ViewBag.code, type = "sjh" })
  303. </div>
  304. </section>
  305. <section class="ads-section">
  306. <div class="ads-list-title row">
  307. <div class="ads-title-lable col-xs-12">@(kaij.LotteryName)试机号分析走势图</div>
  308. </div>
  309. <div class="ads-list-content">
  310. <div>
  311. <a href="#"><img width="100%" src="~/Content/images/sjh_zst.gif" alt="走势图" /></a>
  312. </div>
  313. @Html.Action("recomzs", "Shared", new { code = ViewBag.code, type = "sjh" })
  314. </div>
  315. </section>
  316. @Html.Action("recomzxBytype", "Shared", new { type = "sjh" + ViewBag.code })
  317. @Html.Action("sjhDesc", "Shared", new { code = ViewBag.code, type = 2 })
  318. </section>
  319. </section>
  320. </section>
  321. </section>
  322. </div>
  323. @Html.Action("footer", "Shared")
  324. <script src="~/Content/js/common.js" type="text/javascript" charset="utf-8"></script>
  325. <script src="~/Content/js/common/public.js" type="text/javascript" charset="utf-8"></script>
  326. @*<script src="~/Content/tools/libs/layer/layer.js"></script>*@
  327. <script src="~/Content/js/kjh.js?v=@(DateTime.Now.Millisecond)" type="text/javascript" charset="utf-8"></script>
  328. @*<script src="~/public/css/libs/less.min.js"></script>*@
  329. <script>
  330. function redictPage(type) {
  331. if (type != '@(ViewBag.code)') {
  332. if (type == 'fc3d') {
  333. window.location.href = '/sjh/fc3d.html';
  334. } else {
  335. window.location.href = '/sjh/pl3.html';
  336. }
  337. }
  338. }
  339. </script>
  340. </body>
  341. </html>