SJH.cshtml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. 
  2. @using CP.Model
  3. @using CP.Kjh.Models
  4. @model SJHModel
  5. @{
  6. Layout = "~/Views/Shared/_Layout.cshtml";
  7. var apiModel = Model.ApiModel_One;
  8. var routeLsit = RouteHelper.RouteList;
  9. var oldTypeName = RouteHelper.GetOldTypeName(Model.NewTypeName);
  10. ApiModel sjh = ViewBag.sjh;
  11. Page.ViewEnum = ViewEnum.SJH;
  12. Page.NewTypeName = apiModel.ename;
  13. Page.Cid = OtherHelper.CzList.SingleOrDefault(p => p.ename == apiModel.ename).cid;
  14. }
  15. <script src="~/Content/js/kjh.js"></script>
  16. <div class="main" style="margin-top:130px">
  17. <input type="hidden" id="code" value="fc3d">
  18. <section class="bread-nav">
  19. <span class="lable">当前位置:试机号</span>
  20. <span class="iconfont icon-right"></span>
  21. <span class="lable">@(routeLsit.SingleOrDefault(p => p.NewName == Model.NewTypeName).Name)试机号</span>
  22. </section>
  23. @Html.Partial("ads")
  24. <section class="mainContent row">
  25. <section class="main-title-wrapper">
  26. <section class="main-title">
  27. <a href="/sdsjh.aspx"> <span class="main-title-lable @(Model.NewTypeName==QGEnum.fcsd.ToString()?"active":"")">福彩3D</span></a>
  28. <a href="/p3sjh.aspx"> <span class="main-title-lable @(Model.NewTypeName==QGEnum.tcp3.ToString()?"active":"")">排列三</span></a>
  29. </section>
  30. </section>
  31. <section class="ksj-content-wrapper">
  32. <section class="ksj-main-content row">
  33. <section class="row col-xs-12 col-smm-6 col-sm-9">
  34. <section class="row">
  35. <section class="col-xs-12 col-md-6d5">
  36. <section class="ksj-num-wrapper">
  37. <p class="qishu">
  38. 第<span id="qs1" style="font-size:1.8rem;color:#c31a00;">@sjh.qi</span>期试机号:
  39. <span class="btn-refresh" onclick="window.location = window.location.href;">刷新</span>
  40. </p>
  41. <div class="ksj-ball">
  42. @Html.Action("KJHNumber", "Shared", new { opencode = sjh.sjh })
  43. </div>
  44. <p class="ksjxq" style="line-height:25px;">
  45. <strong style="font-size:1.6rem"> 开奖时间:</strong><span style="margin-right: 4px;">@sjh.date</span> |
  46. <strong style="font-size:1.6rem"> 兑奖截止:</strong><span style="margin-right: 4px;">@sjh.nextdate</span>
  47. </p>
  48. <p class="ksjxq" style="line-height:25px;">
  49. 和值:<span id="hz" style="margin-right: 4px;">@(OtherHelper.GetHz(sjh.sjh))</span> |
  50. 奇偶比:<span id="job" style="margin-right: 4px;">@(OtherHelper.GetJob(sjh.sjh))</span> |
  51. 大小比:<span id="dxb" style="margin-right: 4px;">@(OtherHelper.GetHz(sjh.sjh))</span>
  52. </p>
  53. <p class="kj-btn qishu-box" style="line-height:25px;">
  54. <span class="strong">历史:</span>
  55. <a data-rows="30" target="_blank" class="lot-btn lot-rows @(Model.Number==30?"active":"")" href="/@(Model.Url)-30.htm">近30期</a>
  56. <a data-rows="50" target="_blank" class="lot-btn lot-rows @(Model.Number==50?"active":"")" href="/@(Model.Url)-50.htm">近50期</a>
  57. <a data-rows="80" target="_blank" class="lot-btn lot-rows @(Model.Number==80?"active":"")" href="/@(Model.Url)-80.htm">近80期</a>
  58. <a data-rows="120" target="_blank" class="lot-btn lot-rows @(Model.Number==120?"active":"")" href="/@(Model.Url)-120.htm">近120期</a>
  59. </p>
  60. <p class="kj-btn" style="line-height:25px;">
  61. <span class="strong">推荐:</span>
  62. <a class="lot-btn" href="/@(Model.NewTypeName == QGEnum.fcsd.ToString() ? oldTypeName + "kjh.aspx" : oldTypeName + "-kaijihao")" target="_blank">开机号</a>
  63. <a class="lot-btn" href="/@(oldTypeName)-zjgz/" target="_blank">玩法</a>
  64. <a class="lot-btn" href="/@(RouteHelper.GetOldTypeName(Model.NewTypeName))-history-30.htm" target="_blank">开奖历史</a>
  65. <a class="lot-btn" href="https://www.55128.cn/@(OtherHelper.GetChartList(apiModel.ename).FirstOrDefault().url)" target="_blank">走势图</a>
  66. <a class="lot-btn" href="https://www.55128.cn/@(OtherHelper.GetChartList(apiModel.ename,ChartType.工具).FirstOrDefault().url)" target="_blank">工具</a>
  67. </p>
  68. </section>
  69. </section>
  70. <section class="col-xs-12 col-md-5d5">
  71. <section class="ksj-num-wrapper">
  72. <div class="ads-list-title row">
  73. <div class="ads-title-lable col-xs-12"><span class="iconfont icon-QG_FC3D" style="padding: 0 5px;font-size:40px;font-weight: normal;vertical-align: middle;"></span>@(apiModel.name)分析工具</div>
  74. </div>
  75. <div class="ads-list-content">
  76. <div class="tool-list-wrapper" style="margin: 0 10px;border-bottom:none;">
  77. <div class="list-footer row">
  78. @foreach (var item in OtherHelper.GetChartList(apiModel.ename, ChartType.工具).Take(8))
  79. {
  80. <a href="https://www.55128.cn/@(item.url)" class="tool-btn col-xs-6" title="@(item.name)" target="_blank">
  81. @(item.name)
  82. </a>
  83. }
  84. </div>
  85. </div>
  86. </div>
  87. </section>
  88. </section>
  89. </section>
  90. <section class="row ksj-table-wrapper">
  91. <div class="title">
  92. <section class="ksj-select-wrapper">
  93. <div class="select-list">
  94. <div class="input-btn-group">
  95. <input id="termInput" type="text" value="" placeholder="请输入期号" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="7">
  96. <ul class="query-select">
  97. @foreach (var item in Model.ApiModelList.Select(p => p.qi))
  98. {
  99. <li>
  100. <a href="@(Model.Url)-@(item).htm" target="_blank">@item</a>
  101. </li>
  102. }
  103. </ul>
  104. <button onclick="queryKSJH('sjh','Term')" style="cursor: pointer;">查询</button>
  105. </div>
  106. </div>
  107. <div class="select-list">
  108. <div class="input-btn-group">
  109. <input id="yearInput" type="text" value="" placeholder="请输入年份" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="4">
  110. <button onclick="queryKSJH('sjh','Year')" style="cursor: pointer;">查询</button>
  111. </div>
  112. </div>
  113. <div class="select-list">
  114. <div class="input-btn-group">
  115. <input id="startInput" type="number" value="2019080" max="2019080" placeholder="开始期数" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="7">
  116. <span style="float: left;padding:0 3px;">-</span>
  117. <input id="endInput" type="number" value="2019080" max="2019080" placeholder="结束期数" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="7">
  118. <button onclick="queryKSJH('sjh', 'range')" style="cursor: pointer;">查询</button>
  119. </div>
  120. </div>
  121. </section>
  122. <div class="qishu-box">
  123. <span>@(routeLsit.SingleOrDefault(p => p.NewName == Model.NewTypeName).Name)试机号:</span>
  124. <a target="_blank" class="lot-btn @(Model.Number==30?"active":"")" href="/@(Model.Url)-30.htm">近30期</a>
  125. <a target="_blank" class="lot-btn @(Model.Number==50?"active":"")" " href="/@(Model.Url)-50.htm">近50期</a>
  126. <a target="_blank" class="lot-btn @(Model.Number==80?"active":"")" " href="/@(Model.Url)-80.htm">近80期</a>
  127. <a target="_blank" class="lot-btn @(Model.Number==120?"active":"")" " href="/@(Model.Url)-100.htm">近120期</a>
  128. </div>
  129. </div>
  130. <div id="table">
  131. @Html.Action("SJH_Table", "Template", new { enumName = Model.NewTypeName, qi = Model.Qi, year = Model.Year, sqi = Model.Sqi, eqi = Model.Eqi, number = Model.Number })
  132. </div>
  133. </section>
  134. <section class="row ksj-table-wrapper">
  135. <input type="hidden" id="lottery" value="QG_FC3D">
  136. <div class="title">
  137. <span>@(routeLsit.SingleOrDefault(p => p.NewName == Model.NewTypeName).Name)试机号历史上的今天</span>
  138. </div>
  139. <div id="table-ls">
  140. @Html.Action("SJH_LSNow_Table", "Template", new { enumName = Model.NewTypeName, type = "sjh", qi = sjh.qi })
  141. </div>
  142. </section>
  143. </section>
  144. <section class="col-xs-12 col-smm-6 col-sm-3">
  145. @Html.Action("What", "Shared", new { ename = Model.NewTypeName, whatEnum = WhatEnum.SJH })
  146. <section class="ads-section">
  147. <div class="ads-list-title row">
  148. <div class="ads-title-lable col-xs-12">热门试机号</div>
  149. </div>
  150. <div class="ads-list-content">
  151. @Html.Action("HotSJH_KJH", "Shared", new { ename = Model.NewTypeName, isKjh = false })
  152. </div>
  153. </section>
  154. <section class="ads-section">
  155. <div class="ads-list-title row">
  156. <div class="ads-title-lable col-xs-12">试机号分析走势图</div>
  157. </div>
  158. <div class="ads-list-content">
  159. <div>
  160. <a href="#"><img width="100%" src="/Content/images/sjh_zst.gif" alt="走势图"></a>
  161. </div>
  162. @Html.Action("HotZS", "Shared", new { code = ViewBag.code, type = "sjh" })
  163. </div>
  164. </section>
  165. @Html.Action("PredictNews", "News", new { ename = Model.NewTypeName, viewEnum = ViewEnum.SJH })
  166. @Html.Action("What", "Shared", new { ename = Model.NewTypeName, whatEnum = WhatEnum.SJHGX })
  167. </section>
  168. </section>
  169. </section>
  170. </section>
  171. <input value="/@(Model.Url)" id="Url" type="hidden" />
  172. </div>