Hmgs.cshtml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. @model CP.Web.ZstOutHelp
  2. @using CP.Model;
  3. @using CP.Common;
  4. @{
  5. Layout = "~/Views/Shared/_zst.cshtml";
  6. Page.Chart = Model.Chart;
  7. Page.Cz = Model.Cz;
  8. Page.InnerLink = Model.InnerLinkList;
  9. Page.ZsList = Model.ZsList;
  10. Page.GjList = Model.GjList;
  11. Page.YlList = Model.YlList;
  12. Page.TbList = Model.TbList;
  13. Page.ZtList = Model.ZtList;
  14. Page.Title = Model.Chart.title;
  15. Page.Description = Model.Chart.description;
  16. Page.Keywords = Model.Chart.keywords;
  17. var chart = Model.Chart;
  18. var cz = Model.Cz;
  19. var tjmenu = Model.InnerLinkList;
  20. }
  21. <div class="wrap">
  22. <div class="navbar">
  23. <span>当前位置:</span><a href="/">首页</a> - <a href="/tool/">@chart.tid.ToString()</a> - <a href="">@cz.name</a> - @chart.name
  24. </div>
  25. </div>
  26. <div class="wrap">
  27. <div class="container">
  28. <div class="title">
  29. <h1>@chart.name</h1>
  30. <p>以下每项过滤中,如果您没有选择过滤内容,则视为您不过滤该项!</p>
  31. <div class="push"><a href="http://www.55128.cn/about/relation.html" target="_blank">有问题联系我们</a></div>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="wrap2">
  36. <div class="tools">
  37. <table width="100%" cellspacing="0" cellpadding="0" border="0" class="tool_table">
  38. <thead>
  39. <tr>
  40. <th style="width:816px;" align="center"><div>设置条件</div></th>
  41. <th class="br01"></th>
  42. <th style="width:380px;"><div>帮助</div></th>
  43. </tr>
  44. </thead>
  45. <tbody>
  46. <tr>
  47. <td>
  48. <div class="gsselect">
  49. <div class="item">请选择您要进行跟随分析的号码:</div>
  50. <div class="redselect">
  51. <div class="t"><input type="radio" name="itemval" id="item01" checked="checked" value="1" /> <label for="item01">红球分析。请选择 1 到 6 个红球:</label></div>
  52. <ul>
  53. <li><span>01</span><span>02</span><span>03</span><span>04</span><span>05</span><span>06</span><span>07</span><span>08</span><span>09</span><span>10</span><span>11</span></li>
  54. <li><span>12</span><span>13</span><span>14</span><span>15</span><span>16</span><span>17</span><span>18</span><span>19</span><span>20</span><span>21</span><span>22</span></li>
  55. <li><span>23</span><span>24</span><span>25</span><span>26</span><span>27</span><span>28</span><span>29</span><span>30</span><span>31</span><span>32</span><span>33</span></li>
  56. </ul>
  57. </div>
  58. <div class="blueselect">
  59. <div class="t"><input type="radio" name="itemval" id="item02" value="2" /> <label for="item02">蓝球分析。请选择 1 个蓝球:</label></div>
  60. <ul>
  61. <li><span>01</span><span>02</span><span>03</span><span>04</span><span>05</span><span>06</span></li>
  62. <li><span>07</span><span>08</span><span>09</span><span>10</span><span>11</span><span>12</span></li>
  63. <li><span>13</span><span>14</span><span>15</span><span>16</span></li>
  64. </ul>
  65. </div>
  66. <input type="hidden" id="reds" />
  67. <input type="hidden" id="blues" />
  68. <div class="item" style="margin-top:6px;">
  69. 分析的历史数据范围:
  70. <input type="radio" name="history" id="history01" value="0" checked="checked" /><label for="history01">所有数据</label>
  71. <input type="radio" name="history" id="history02" value="100" /><label for="history02">最近100期</label>
  72. <input type="radio" name="history" id="history03" value="-1" /><label for="history03" style="margin-right:0px;">从</label>
  73. <select id="sqi">@Html.Raw(ViewBag.Sqi)</select> 到
  74. <select id="eqi">@Html.Raw(ViewBag.Eqi)</select>
  75. </div>
  76. </div>
  77. </td>
  78. <td class="br01"></td>
  79. <td rowspan="4"></td>
  80. </tr>
  81. <tr>
  82. <td>
  83. <div class="submit" style="float:left;width:682px;margin-left:58px;">
  84. <button type="submit" class="enter" style="margin-left:134px;" id="enter" onclick="getSsqGsResult();return false;">开始分析 [确定]</button>
  85. <button type="reset" class="reset" id="reset" onclick="reset();">重新选择 [取消]</button>
  86. </div>
  87. </td>
  88. <td class="br01"></td>
  89. </tr>
  90. <tr>
  91. <td>
  92. <div class="resultgsselect">
  93. 跟随分析结果
  94. </div>
  95. </td>
  96. <td class="br01"></td>
  97. </tr>
  98. <tr>
  99. <td>
  100. <ul class="gssubswitch" id="showswitch"></ul>
  101. <div class="gsresult">
  102. <div class="numbers"></div>
  103. <div class="detail"></div>
  104. </div>
  105. </td>
  106. <td class="br01"></td>
  107. </tr>
  108. </tbody>
  109. </table>
  110. </div>
  111. </div>
  112. <script type="text/javascript">
  113. var json = "";
  114. function selectvalue(id) {
  115. var array = new Array();
  116. var o = $("." + id);
  117. o.find("span.tab").each(function () {
  118. array.push($(this).html());
  119. });
  120. var ival = array.join(',');
  121. if (id == "redselect")
  122. $("#reds").val(ival);
  123. if (id == "blueselect")
  124. $("#blues").val(ival);
  125. }
  126. var checkNums = function () {
  127. var nums = $('span.bigball.ball-red-28');
  128. if (nums.length >= 8 && nums.length <= 20) {
  129. return true;
  130. }
  131. alert("请选择8到20个红球");
  132. return false;
  133. }
  134. function reset() {
  135. $("#resultinfo").text("");
  136. $("#reds").val('');
  137. $("#blues").val('');
  138. $(".redselect").find("span").each(function () {
  139. $(this).attr("class", "");
  140. });
  141. $(".blueselect").find("span").each(function () {
  142. $(this).attr("class", "");
  143. });
  144. $("#showswitch").html('');
  145. $(".numbers").html('');
  146. $(".detail").html('');
  147. }
  148. $(function () {
  149. //红球选择
  150. var id = "redselect";
  151. var o = $("." + id);
  152. o.find("span").on("click", function () {
  153. $("#item01").attr("checked", true);
  154. var val = $(this).html();
  155. if ($(this).attr("class") != "tab") {
  156. var i = 0;
  157. o.find("span.tab").each(function () {
  158. i++;
  159. });
  160. $(this).attr("class", "tab");
  161. }
  162. else {
  163. $(this).attr("class", "");
  164. }
  165. selectvalue(id);
  166. });
  167. var bid = "blueselect";
  168. var o = $("." + bid);
  169. o.find("span").on("click", function () {
  170. $("#item02").attr("checked", true);
  171. var val = $(this).html();
  172. if ($(this).attr("class") != "tab") {
  173. var i = 0;
  174. o.find("span.tab").each(function () {
  175. i++;
  176. });
  177. $(this).attr("class", "tab");
  178. }
  179. else {
  180. $(this).attr("class", "");
  181. }
  182. selectvalue(bid);
  183. });
  184. })
  185. </script>