Zxss.cshtml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. @model CP.Web.ZstOutHelp
  2. @using CP.Model;
  3. @using CP.Common;
  4. @{
  5. Layout = "~/Views/Shared/_zst.cshtml";
  6. var chart = Model.Chart;
  7. Page.Title = chart.title;
  8. Page.Description = chart.description;
  9. Page.Keywords = chart.keywords;
  10. Page.Chart = Model.Chart;
  11. Page.Cz = Model.Cz;
  12. Page.InnerLink = Model.InnerLinkList;
  13. Page.ZsList = Model.ZsList;
  14. Page.GjList = Model.GjList;
  15. Page.YlList = Model.YlList;
  16. Page.TbList = Model.TbList;
  17. Page.ZtList = Model.ZtList;
  18. var cz = Model.Cz;
  19. }
  20. @section head{
  21. <link href="~/static/images/fancybox/jquery.fancybox.css" rel="stylesheet" />
  22. <script src="~/static/images/fancybox/jquery.fancybox.js"></script>
  23. <script src="~/static/hc/highcharts.js"></script>
  24. <script src="~/static/hc/exporting.js"></script>
  25. }
  26. <div class="wrap">
  27. <div class="navbar">
  28. <span>当前位置:</span><a href="/">首页</a> - <a href="/tool/">@chart.tid.ToString()</a> - <a href="">@cz.name</a> - @chart.name
  29. </div>
  30. </div>
  31. <div class="wrap">
  32. <div class="container">
  33. <div class="title">
  34. <h1>@chart.name</h1>
  35. <p>以下每项过滤中,如果您没有选择过滤内容,则视为您不过滤该项!</p>
  36. <div class="push"><a href="http://www.55128.cn/about/relation.html" target="_blank">有问题联系我们</a></div>
  37. </div>
  38. </div>
  39. </div>
  40. <div class="wrap2">
  41. <div class="tools">
  42. <h1>@chart.name</h1>
  43. <table width="100%" cellspacing="0" cellpadding="0" border="0" class="tool_table">
  44. <thead>
  45. <tr>
  46. <th style="width:105px;"><div>名称</div></th>
  47. <th class="br01"></th>
  48. <th style="width:711px;" align="left"><div><span style="margin-left:250px;">选择号码</span></div></th>
  49. <th class="br01"></th>
  50. <th style="width:380px;"><div>帮助</div></th>
  51. </tr>
  52. </thead>
  53. <tbody>
  54. <form onreset="resetform();" onsubmit="return false;">
  55. <tr>
  56. <td>选择号码</td>
  57. <td class="br01"></td>
  58. <td>
  59. <div class="select">
  60. <div class="redselect">
  61. <div class="t"><strong>基本号码:</strong><br /><label class="hui">未选择胆码时,基本号不能超过13个;选择1个胆码时,基本号不能超过15个;选择2个胆码时,基本号不能超过17个</label></div>
  62. <ul>
  63. <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></li>
  64. <li><span>11</span><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></li>
  65. <li><span>21</span><span>22</span><span>23</span><span>24</span><span>25</span><span>26</span><span>27</span><span>28</span><span>29</span><span>30</span></li>
  66. </ul>
  67. </div>
  68. <div class="dmselect">
  69. <div class="t"><strong>胆码:</strong></div>
  70. <ul>
  71. <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></li>
  72. <li><span>11</span><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></li>
  73. <li><span>21</span><span>22</span><span>23</span><span>24</span><span>25</span><span>26</span><span>27</span><span>28</span><span>29</span><span>30</span></li>
  74. </ul>
  75. </div>
  76. <input type="hidden" id="reds" />
  77. <input type="hidden" id="dms" />
  78. </div>
  79. </td>
  80. <td class="br01"></td>
  81. <td rowspan="5" class="toolright">
  82. <uc4:right ID="right1" runat="server" />
  83. </td>
  84. </tr>
  85. <tr id="ss">
  86. <td>缩水条件</td>
  87. <td class="br01"></td>
  88. <td>
  89. <div class="ssqss" style="margin-top:0px;">
  90. <ul>
  91. <li><strong>请选择缩水条件</strong></li>
  92. <li>
  93. <span>AC值:</span>
  94. <input type="checkbox" name="ac" id="ac0" value="0" /><label for="ac0">0</label>
  95. <input type="checkbox" name="ac" id="ac1" value="1" /><label for="ac1">1</label>
  96. <input type="checkbox" name="ac" id="ac2" value="2" /><label for="ac2">2</label>
  97. <input type="checkbox" name="ac" id="ac3" value="3" /><label for="ac3">3</label>
  98. <input type="checkbox" name="ac" id="ac4" value="4" /><label for="ac4">4</label>
  99. <input type="checkbox" name="ac" id="ac5" value="5" /><label for="ac5">5</label>
  100. <input type="checkbox" name="ac" id="ac6" value="6" /><label for="ac6">6</label>
  101. <input type="checkbox" name="ac" id="ac7" value="7" /><label for="ac7">7</label>
  102. <input type="checkbox" name="ac" id="ac8" value="8" /><label for="ac8">8</label>
  103. <input type="checkbox" name="ac" id="ac9" value="9" /><label for="ac9">9</label>
  104. <input type="checkbox" name="ac" id="ac10" value="10" /><label for="ac9">10</label>
  105. <input type="checkbox" name="ac" id="ac11" value="11" /><label for="ac9">11</label>
  106. <input type="checkbox" name="ac" id="ac12" value="12" /><label for="ac9">12</label>
  107. <input type="checkbox" name="ac" id="ac13" value="13" /><label for="ac9">13</label>
  108. </li>
  109. <li>
  110. <span>首位号码的奇偶值:</span>
  111. <input type="radio" name="snum" id="snum0" value="1" /><label for="snum0">奇数</label>
  112. <input type="radio" name="snum" id="snum1" value="2" /><label for="snum1">偶数</label>
  113. <input type="radio" name="snum" id="snum2" value="0" checked="checked" /><label for="snum2">不限</label>
  114. <span class="hui">(即龙头奇偶)</span>
  115. </li>
  116. <li>
  117. <span>末位号码的奇偶值:</span>
  118. <input type="radio" name="enum" id="enum0" value="1" /><label for="enum0">奇数</label>
  119. <input type="radio" name="enum" id="enum1" value="2" /><label for="enum1">偶数</label>
  120. <input type="radio" name="enum" id="enum2" value="0" checked="checked" /><label for="enum2">不限</label>
  121. <span class="hui">(即凤尾奇偶)</span>
  122. </li>
  123. <li>
  124. <span>和值</span>
  125. <input type="text" class="input" maxlength="3" style="width:60px;" id="shz" /> 至 <input type="text" style="width:60px;" class="input" maxlength="3" id="ehz" />
  126. </li>
  127. <li>
  128. <span>奇偶比:</span>
  129. <input type="checkbox" name="job" id="job0" value="0:7" /><label for="job0">0:7</label>
  130. <input type="checkbox" name="job" id="job1" value="1:6" /><label for="job1">1:6</label>
  131. <input type="checkbox" name="job" id="job2" value="2:5" /><label for="job2">2:5</label>
  132. <input type="checkbox" name="job" id="job3" value="3:4" /><label for="job3">3:4</label>
  133. <input type="checkbox" name="job" id="job4" value="4:3" /><label for="job4">4:3</label>
  134. <input type="checkbox" name="job" id="job5" value="5:2" /><label for="job5">5:2</label>
  135. <input type="checkbox" name="job" id="job6" value="6:1" /><label for="job6">6:1</label>
  136. <input type="checkbox" name="job" id="job7" value="7:0" /><label for="job7">7:0</label>
  137. </li>
  138. <li>
  139. <span>大小比:</span>
  140. <input type="checkbox" name="dxb" id="dxb0" value="0:7" /><label for="dxb0">0:7</label>
  141. <input type="checkbox" name="dxb" id="dxb1" value="1:6" /><label for="dxb1">1:6</label>
  142. <input type="checkbox" name="dxb" id="dxb2" value="2:5" /><label for="dxb2">2:5</label>
  143. <input type="checkbox" name="dxb" id="dxb3" value="3:4" /><label for="dxb3">3:4</label>
  144. <input type="checkbox" name="dxb" id="dxb4" value="4:3" /><label for="dxb4">4:3</label>
  145. <input type="checkbox" name="dxb" id="dxb5" value="5:2" /><label for="dxb5">5:2</label>
  146. <input type="checkbox" name="dxb" id="dxb6" value="6:1" /><label for="dxb6">6:1</label>
  147. <input type="checkbox" name="dxb" id="dxb7" value="7:0" /><label for="dxb7">7:0</label>
  148. <span class="hui">(约定14以上为大)</span>
  149. </li>
  150. <li>
  151. <span>质合比:</span>
  152. <input type="checkbox" name="zhb" id="zhb0" value="0:7" /><label for="zhb0">0:7</label>
  153. <input type="checkbox" name="zhb" id="zhb1" value="1:6" /><label for="zhb1">1:6</label>
  154. <input type="checkbox" name="zhb" id="zhb2" value="2:5" /><label for="zhb2">2:5</label>
  155. <input type="checkbox" name="zhb" id="zhb3" value="3:4" /><label for="zhb3">3:4</label>
  156. <input type="checkbox" name="zhb" id="zhb4" value="4:3" /><label for="zhb4">4:3</label>
  157. <input type="checkbox" name="zhb" id="zhb5" value="5:2" /><label for="zhb5">5:2</label>
  158. <input type="checkbox" name="zhb" id="zhb6" value="6:1" /><label for="zhb6">6:1</label>
  159. <input type="checkbox" name="zhb" id="zhb7" value="7:0" /><label for="zhb7">7:0</label>
  160. </li>
  161. <li>
  162. <span>连号组数:</span>
  163. <input type="checkbox" name="lh" id="lh0" value="0" /><label for="lh0">无连号</label>
  164. <input type="checkbox" name="lh" id="lh1" value="1" /><label for="lh1">1连号</label>
  165. <input type="checkbox" name="lh" id="lh2" value="2" /><label for="lh2">2连号</label>
  166. <input type="checkbox" name="lh" id="lh3" value="3" /><label for="lh3">3连号</label>
  167. <input type="checkbox" name="lh" id="lh4" value="4" /><label for="lh4">4连号</label>
  168. <input type="checkbox" name="lh" id="lh5" value="5" /><label for="lh5">5连号</label>
  169. <input type="checkbox" name="lh" id="lh6" value="6" /><label for="lh6">6连号</label>
  170. </li>
  171. <li>
  172. <span>每注中尾数不相同的号码:</span>
  173. <input type="checkbox" name="wst" id="wst0" value="2" /><label for="wst0">2</label>
  174. <input type="checkbox" name="wst" id="wst1" value="3" /><label for="wst1">3</label>
  175. <input type="checkbox" name="wst" id="wst2" value="4" /><label for="wst2">4</label>
  176. <input type="checkbox" name="wst" id="wst3" value="5" /><label for="wst3">5</label>
  177. <input type="checkbox" name="wst" id="wst4" value="6" /><label for="wst4">6</label>
  178. <input type="checkbox" name="wst" id="wst5" value="7" /><label for="wst5">7</label>
  179. </li>
  180. </ul>
  181. </div>
  182. </td>
  183. <td class="br01"></td>
  184. </tr>
  185. <tr>
  186. <td></td>
  187. <td class="br01"></td>
  188. <td>
  189. <div class="submit" style="float:left">
  190. <button type="submit" class="enter" id="enter" onclick="showqlcssresult();return false;">开始缩水 [确定]</button>
  191. <button type="reset" class="reset" id="reset">重新选择 [取消]</button>
  192. </div>
  193. </td>
  194. <td class="br01"></td>
  195. </tr>
  196. </form>
  197. <tr>
  198. <td>缩水结果</td>
  199. <td class="br01"></td>
  200. <td>
  201. <div class="resultinfo"><span>缩水结果:共计 <label class="red" id="zhushulabel">0</label> 注 ; 金额 <label class="red" id="money">¥0</label> 元</span></div>
  202. <div class="result">
  203. <div id="resultinfo" class="textarea"></div>
  204. </div>
  205. <form method="post" action="/ToolDownload/Down" id="export">
  206. <div class="resultbutton">
  207. <button type="button" class="saveToPc" onclick="saveToPc();"></button>
  208. <input type="hidden" id="filename" name="filename" value="彩吧助手_七乐彩在线缩水" />
  209. <input type="hidden" id="num" name="num" />
  210. <input type="hidden" id="zhushu" name="zhushu" />
  211. </div>
  212. </form>
  213. </td>
  214. <td class="br01"></td>
  215. </tr>
  216. </tbody>
  217. </table>
  218. </div>
  219. </div>
  220. @section script{
  221. <script type="text/javascript">
  222. function selectvalue(id) {
  223. var array = new Array();
  224. var o = $("." + id);
  225. o.find("span.tab").each(function () {
  226. array.push($(this).html());
  227. });
  228. var ival = array.join(',');
  229. if (id == "redselect")
  230. $("#reds").val(ival);
  231. if (id == "dmselect")
  232. $("#dms").val(ival);
  233. }
  234. function resetform() {
  235. $("#resultinfo").text("");
  236. $("#reds").val('');
  237. $("#dms").val('');
  238. $(".redselect").find("span").each(function () {
  239. $(this).attr("class", "");
  240. });
  241. $(".dmselect").find("span").each(function () {
  242. $(this).attr("class", "");
  243. });
  244. }
  245. $(function () {
  246. var id = "redselect";
  247. var did = "dmselect";
  248. var o = $("." + id);
  249. o.find("span").on("click", function () {
  250. var val = $(this).html();
  251. if ($(this).attr("class") != "tab") {
  252. var i = 0;
  253. $("." + id).find("span.tab").each(function () {
  254. i++;
  255. });
  256. var j = 0;
  257. $("." + did).find("span.tab").each(function () {
  258. j++;
  259. });
  260. if (j == 0 && i > 12) {
  261. alert("未选择胆码时,最多只能选择13个基本号码...");
  262. return;
  263. }
  264. if (j == 1 && i > 14) {
  265. alert("选择1个胆码时,最多只能选择15个基本号码...");
  266. return;
  267. }
  268. if (j == 2 && i > 16) {
  269. alert("选择2个胆码时,最多只能选择17个基本号码...");
  270. return;
  271. }
  272. $(this).attr("class", "tab");
  273. }
  274. else {
  275. $(this).attr("class", "");
  276. }
  277. selectvalue(id);
  278. });
  279. var o = $("." + did);
  280. o.find("span").on("click", function () {
  281. var val = $(this).html();
  282. if ($(this).attr("class") != "tab") {
  283. var i = 0;
  284. o.find("span.tab").each(function () {
  285. i++;
  286. });
  287. if (i > 1) {
  288. alert("最多只能选择2个胆码...");
  289. return;
  290. }
  291. $(this).attr("class", "tab");
  292. }
  293. else {
  294. $(this).attr("class", "");
  295. }
  296. selectvalue(did);
  297. });
  298. })
  299. </script>
  300. }