Stzs.cshtml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511
  1. @model CP.Web.ZstOutHelp
  2. @using CP.Model;
  3. @using CP.Common;
  4. @{
  5. Layout = "~/Views/Shared/_zst.cshtml";
  6. Page.TrendPageType = TrendPageType.renxuan;
  7. Page.Chart = Model.Chart;
  8. Page.Cz = Model.Cz;
  9. Page.InnerLink = Model.InnerLinkList;
  10. Page.ZsList = Model.ZsList;
  11. Page.GjList = Model.GjList;
  12. Page.YlList = Model.YlList;
  13. Page.TbList = Model.TbList;
  14. Page.ZtList = Model.ZtList;
  15. Page.Title = Model.Chart.title;
  16. Page.Description = Model.Chart.description;
  17. Page.Keywords = Model.Chart.keywords;
  18. var chart = Model.Chart;
  19. var cz = Model.Cz;
  20. var tjmenu = Model.InnerLinkList;
  21. var pagesize = Model.PageSize;
  22. var year = Model.Year;
  23. var week = Model.Week;
  24. }
  25. <div class="wrap">
  26. <div class="navbar">
  27. <span>当前位置:</span><a href="/">首页</a> - <a href="/zs/">走势图</a> - <a href="">@cz.name</a> - @chart.name
  28. </div>
  29. </div>
  30. <div class="wrap">
  31. <div class="container">
  32. <div class="title">
  33. <div class="search-box" id="trendSearchBox">
  34. <div class="search-link">
  35. @Html.Raw(Model.Pagehtml)
  36. </div>
  37. <div class="mSelectBox" id="mSelectBox">
  38. <span class="mSelect year">按年份</span>
  39. <div class="mSelectList year">
  40. @Html.Raw(Model.Yearhtml)
  41. </div>
  42. </div>
  43. <div class="zs-search">
  44. <input type="text" id="startTerm" name="startTerm" class="input-term" value="@Model.Sqi"
  45. onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" /><span>至</span>
  46. <input type="text" id="endTerm" name="endTerm" class="input-term" value="@Model.Eqi"
  47. onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" /><span>期</span>
  48. </div>
  49. <input type="submit" value="查看" class="btn-search" id="btnSearch" />
  50. <input type="button" value="刷新" class="btn-search" id="btnRefresh" />
  51. </div>
  52. <h1>
  53. @chart.name
  54. </h1>
  55. </div>
  56. <div class="trend" id="trendBox">
  57. <!--走势图功能选择部分 begin-->
  58. <div class="ctl-box">
  59. 标注形式选择:
  60. <span class="ctl-item"><input type="checkbox" name="ctl_foldLine" id="ctl_foldLine1" checked="checked" autocomplete="off"><label for="ctl_foldLine1">折线</label></span>
  61. <span class="ctl-item"><input type="checkbox" name="ctl_miss" id="ctl_miss1" autocomplete="off"><label for="ctl_miss1">不带遗漏数据</label></span>
  62. <span class="ctl-item"><input type="checkbox" name="ctl_sliceMiss" id="ctl_sliceMiss1" autocomplete="off"><label for="ctl_sliceMiss1">遗漏分层</label></span>
  63. </div>
  64. <!--走势图功能选择部分 end-->
  65. <!--数据体部分 begin-->
  66. <table class="chartTable" id="chartBody" cellspacing="1" cellpadding="0" border="0">
  67. <thead>
  68. <tr>
  69. <th width="60" rowspan="2" class="sort_up brl"><strong>期号</strong></th>
  70. <th width="32" rowspan="2"><strong>星期</strong></th>
  71. <th rowspan="2" class="split02"></th>
  72. <th colspan="12">一区</th>
  73. <th rowspan="2" class="split02"></th>
  74. <th colspan="12">二区</th>
  75. <th rowspan="2" class="split02"></th>
  76. <th colspan="11">三区</th>
  77. <th rowspan="2" class="split02"></th>
  78. <th colspan="8" class="brr">前区分析</th>
  79. </tr>
  80. <tr>
  81. <th class="wdh18">01</th>
  82. <th class="wdh18">02</th>
  83. <th class="wdh18">03</th>
  84. <th class="wdh18">04</th>
  85. <th class="wdh18">05</th>
  86. <th class="wdh18">06</th>
  87. <th class="wdh18">07</th>
  88. <th class="wdh18">08</th>
  89. <th class="wdh18">09</th>
  90. <th class="wdh18">10</th>
  91. <th class="wdh18">11</th>
  92. <th class="wdh18">12</th>
  93. <th class="wdh18">13</th>
  94. <th class="wdh18">14</th>
  95. <th class="wdh18">15</th>
  96. <th class="wdh18">16</th>
  97. <th class="wdh18">17</th>
  98. <th class="wdh18">18</th>
  99. <th class="wdh18">19</th>
  100. <th class="wdh18">20</th>
  101. <th class="wdh18">21</th>
  102. <th class="wdh18">22</th>
  103. <th class="wdh18">23</th>
  104. <th class="wdh18">24</th>
  105. <th class="wdh18">25</th>
  106. <th class="wdh18">26</th>
  107. <th class="wdh18">27</th>
  108. <th class="wdh18">28</th>
  109. <th class="wdh18">29</th>
  110. <th class="wdh18">30</th>
  111. <th class="wdh18">31</th>
  112. <th class="wdh18">32</th>
  113. <th class="wdh18">33</th>
  114. <th class="wdh18">34</th>
  115. <th class="wdh18">35</th>
  116. <th width="32" rowspan="2">和值</th>
  117. <th width="32" rowspan="2">AC</th>
  118. <th width="32" rowspan="2">跨度</th>
  119. <th width="46" rowspan="2">三区比</th>
  120. <th width="46" rowspan="2">奇偶比</th>
  121. <th width="46" rowspan="2">冷热比</th>
  122. <th width="32" rowspan="2">重号</th>
  123. <th width="32" rowspan="2" class="brr">连号</th>
  124. </tr>
  125. </thead>
  126. <tbody id="chartData">
  127. @Html.Raw(Model.Oinfo.zsthtml)
  128. </tbody>
  129. <!--模拟选号框-->
  130. <tbody id="preseleBody">
  131. <tr class="presele">
  132. <td colspan="3" class="presele-title brl"><strong>选号1</strong></td>
  133. <td class="presele-ball" pl="red">01</td>
  134. <td class="presele-ball" pl="red">02</td>
  135. <td class="presele-ball" pl="red">03</td>
  136. <td class="presele-ball" pl="red">04</td>
  137. <td class="presele-ball" pl="red">05</td>
  138. <td class="presele-ball" pl="red">06</td>
  139. <td class="presele-ball" pl="red">07</td>
  140. <td class="presele-ball" pl="red">08</td>
  141. <td class="presele-ball" pl="red">09</td>
  142. <td class="presele-ball" pl="red">10</td>
  143. <td class="presele-ball" pl="red">11</td>
  144. <td class="presele-ball" pl="red">12</td>
  145. <td class="split01"></td>
  146. <td class="presele-ball" pl="red">13</td>
  147. <td class="presele-ball" pl="red">14</td>
  148. <td class="presele-ball" pl="red">15</td>
  149. <td class="presele-ball" pl="red">16</td>
  150. <td class="presele-ball" pl="red">17</td>
  151. <td class="presele-ball" pl="red">18</td>
  152. <td class="presele-ball" pl="red">19</td>
  153. <td class="presele-ball" pl="red">20</td>
  154. <td class="presele-ball" pl="red">21</td>
  155. <td class="presele-ball" pl="red">22</td>
  156. <td class="presele-ball" pl="red">23</td>
  157. <td class="presele-ball" pl="red">24</td>
  158. <td class="split01"></td>
  159. <td class="presele-ball" pl="red">25</td>
  160. <td class="presele-ball" pl="red">26</td>
  161. <td class="presele-ball" pl="red">27</td>
  162. <td class="presele-ball" pl="red">28</td>
  163. <td class="presele-ball" pl="red">29</td>
  164. <td class="presele-ball" pl="red">30</td>
  165. <td class="presele-ball" pl="red">31</td>
  166. <td class="presele-ball" pl="red">32</td>
  167. <td class="presele-ball" pl="red">33</td>
  168. <td class="presele-ball" pl="red">34</td>
  169. <td class="presele-ball" pl="red">35</td>
  170. <td class="split01"></td>
  171. <td></td>
  172. <td></td>
  173. <td></td>
  174. <td></td>
  175. <td></td>
  176. <td></td>
  177. <td></td>
  178. <td class="brr"></td>
  179. </tr>
  180. <tr class="presele">
  181. <td colspan="3" class="presele-title brl"><strong>选号2</strong></td>
  182. <td class="presele-ball" pl="red">01</td>
  183. <td class="presele-ball" pl="red">02</td>
  184. <td class="presele-ball" pl="red">03</td>
  185. <td class="presele-ball" pl="red">04</td>
  186. <td class="presele-ball" pl="red">05</td>
  187. <td class="presele-ball" pl="red">06</td>
  188. <td class="presele-ball" pl="red">07</td>
  189. <td class="presele-ball" pl="red">08</td>
  190. <td class="presele-ball" pl="red">09</td>
  191. <td class="presele-ball" pl="red">10</td>
  192. <td class="presele-ball" pl="red">11</td>
  193. <td class="presele-ball" pl="red">12</td>
  194. <td class="split01"></td>
  195. <td class="presele-ball" pl="red">13</td>
  196. <td class="presele-ball" pl="red">14</td>
  197. <td class="presele-ball" pl="red">15</td>
  198. <td class="presele-ball" pl="red">16</td>
  199. <td class="presele-ball" pl="red">17</td>
  200. <td class="presele-ball" pl="red">18</td>
  201. <td class="presele-ball" pl="red">19</td>
  202. <td class="presele-ball" pl="red">20</td>
  203. <td class="presele-ball" pl="red">21</td>
  204. <td class="presele-ball" pl="red">22</td>
  205. <td class="presele-ball" pl="red">23</td>
  206. <td class="presele-ball" pl="red">24</td>
  207. <td class="split01"></td>
  208. <td class="presele-ball" pl="red">25</td>
  209. <td class="presele-ball" pl="red">26</td>
  210. <td class="presele-ball" pl="red">27</td>
  211. <td class="presele-ball" pl="red">28</td>
  212. <td class="presele-ball" pl="red">29</td>
  213. <td class="presele-ball" pl="red">30</td>
  214. <td class="presele-ball" pl="red">31</td>
  215. <td class="presele-ball" pl="red">32</td>
  216. <td class="presele-ball" pl="red">33</td>
  217. <td class="presele-ball" pl="red">34</td>
  218. <td class="presele-ball" pl="red">35</td>
  219. <td class="split01"></td>
  220. <td></td>
  221. <td></td>
  222. <td></td>
  223. <td></td>
  224. <td></td>
  225. <td></td>
  226. <td></td>
  227. <td class="brr"></td>
  228. </tr>
  229. <tr class="presele">
  230. <td colspan="3" class="presele-title brl"><strong>选号3</strong></td>
  231. <td class="presele-ball" pl="red">01</td>
  232. <td class="presele-ball" pl="red">02</td>
  233. <td class="presele-ball" pl="red">03</td>
  234. <td class="presele-ball" pl="red">04</td>
  235. <td class="presele-ball" pl="red">05</td>
  236. <td class="presele-ball" pl="red">06</td>
  237. <td class="presele-ball" pl="red">07</td>
  238. <td class="presele-ball" pl="red">08</td>
  239. <td class="presele-ball" pl="red">09</td>
  240. <td class="presele-ball" pl="red">10</td>
  241. <td class="presele-ball" pl="red">11</td>
  242. <td class="presele-ball" pl="red">12</td>
  243. <td class="split01"></td>
  244. <td class="presele-ball" pl="red">13</td>
  245. <td class="presele-ball" pl="red">14</td>
  246. <td class="presele-ball" pl="red">15</td>
  247. <td class="presele-ball" pl="red">16</td>
  248. <td class="presele-ball" pl="red">17</td>
  249. <td class="presele-ball" pl="red">18</td>
  250. <td class="presele-ball" pl="red">19</td>
  251. <td class="presele-ball" pl="red">20</td>
  252. <td class="presele-ball" pl="red">21</td>
  253. <td class="presele-ball" pl="red">22</td>
  254. <td class="presele-ball" pl="red">23</td>
  255. <td class="presele-ball" pl="red">24</td>
  256. <td class="split01"></td>
  257. <td class="presele-ball" pl="red">25</td>
  258. <td class="presele-ball" pl="red">26</td>
  259. <td class="presele-ball" pl="red">27</td>
  260. <td class="presele-ball" pl="red">28</td>
  261. <td class="presele-ball" pl="red">29</td>
  262. <td class="presele-ball" pl="red">30</td>
  263. <td class="presele-ball" pl="red">31</td>
  264. <td class="presele-ball" pl="red">32</td>
  265. <td class="presele-ball" pl="red">33</td>
  266. <td class="presele-ball" pl="red">34</td>
  267. <td class="presele-ball" pl="red">35</td>
  268. <td class="split01"></td>
  269. <td></td>
  270. <td></td>
  271. <td></td>
  272. <td></td>
  273. <td></td>
  274. <td></td>
  275. <td></td>
  276. <td class="brr"></td>
  277. </tr>
  278. </tbody>
  279. </table>
  280. <!--数据体部分 end-->
  281. <div class="ctl-box">
  282. 标注形式选择:
  283. <span class="ctl-item"><input type="checkbox" name="ctl_foldLine" id="ctl_foldLine2" checked="checked" autocomplete="off"><label for="ctl_foldLine2">折线</label></span>
  284. <span class="ctl-item"><input type="checkbox" name="ctl_miss" id="ctl_miss2" autocomplete="off"><label for="ctl_miss2">不带遗漏数据</label></span>
  285. <span class="ctl-item"><input type="checkbox" name="ctl_sliceMiss" id="ctl_sliceMiss2" autocomplete="off"><label for="ctl_sliceMiss2">遗漏分层</label></span>
  286. <div class="dataAnalysisBox">
  287. <input name="analysisbtn" id="currentAnalysis" checked="checked" type="radio" autocomplete="off">
  288. <label for="currentAnalysis">当前页统计</label>
  289. <input name="analysisbtn" id="historyAnalysis" type="radio" autocomplete="off">
  290. <label for="historyAnalysis">历史统计</label>
  291. </div>
  292. </div>
  293. <!--数据统计-->
  294. <table class="chartTable" cellspacing="1" cellpadding="0" border="0">
  295. <tbody>
  296. <tr>
  297. <th width="60" rowspan="2" class="sort_up brl"><strong>期号</strong></th>
  298. <th width="32" rowspan="2"><strong>星期</strong></th>
  299. <th rowspan="2" class="split02"></th>
  300. <th colspan="12">一区</th>
  301. <th rowspan="2" class="split02"></th>
  302. <th colspan="12">二区</th>
  303. <th rowspan="2" class="split02"></th>
  304. <th colspan="11">三区</th>
  305. <th rowspan="2" class="split02"></th>
  306. <th colspan="8" class="brr">前区分析</th>
  307. </tr>
  308. <tr>
  309. <th class="wdh18">01</th>
  310. <th class="wdh18">02</th>
  311. <th class="wdh18">03</th>
  312. <th class="wdh18">04</th>
  313. <th class="wdh18">05</th>
  314. <th class="wdh18">06</th>
  315. <th class="wdh18">07</th>
  316. <th class="wdh18">08</th>
  317. <th class="wdh18">09</th>
  318. <th class="wdh18">10</th>
  319. <th class="wdh18">11</th>
  320. <th class="wdh18">12</th>
  321. <th class="wdh18">13</th>
  322. <th class="wdh18">14</th>
  323. <th class="wdh18">15</th>
  324. <th class="wdh18">16</th>
  325. <th class="wdh18">17</th>
  326. <th class="wdh18">18</th>
  327. <th class="wdh18">19</th>
  328. <th class="wdh18">20</th>
  329. <th class="wdh18">21</th>
  330. <th class="wdh18">22</th>
  331. <th class="wdh18">23</th>
  332. <th class="wdh18">24</th>
  333. <th class="wdh18">25</th>
  334. <th class="wdh18">26</th>
  335. <th class="wdh18">27</th>
  336. <th class="wdh18">28</th>
  337. <th class="wdh18">29</th>
  338. <th class="wdh18">30</th>
  339. <th class="wdh18">31</th>
  340. <th class="wdh18">32</th>
  341. <th class="wdh18">33</th>
  342. <th class="wdh18">34</th>
  343. <th class="wdh18">35</th>
  344. <th width="32" rowspan="2">和值</th>
  345. <th width="32" rowspan="2">AC</th>
  346. <th width="32" rowspan="2">跨度</th>
  347. <th width="46" rowspan="2">三区比</th>
  348. <th width="46" rowspan="2">奇偶比</th>
  349. <th width="46" rowspan="2">冷热比</th>
  350. <th width="32" rowspan="2">重号</th>
  351. <th width="32" rowspan="2" class="brr">连号</th>
  352. </tr>
  353. </tbody>
  354. <tbody id="currentData" style="">
  355. @{
  356. var ylList = (List<TcdltChzsMissInfo>)Model.Oinfo.yl;
  357. var index = 0;
  358. if (ylList.Count > 0)
  359. {
  360. foreach (var yl in ylList)
  361. {
  362. if (index < 3)
  363. {
  364. <tr>
  365. <td colspan="3" class="brl" title="@yl.name">@yl.name</td>
  366. @for (var p = 1; p < 36; p++)
  367. {
  368. var red = yl.qq[p];
  369. if (red > 99)
  370. {
  371. <td title="@red" class="bg-yellow"><div class="ft9">@red</div></td>
  372. }
  373. else
  374. {
  375. <td class="bg-yellow">@red</td>
  376. }
  377. if (p == 12 || p == 24 || p == 35)
  378. {
  379. <td class="split01"></td>
  380. }
  381. }
  382. <td></td>
  383. <td></td>
  384. <td></td>
  385. <td></td>
  386. <td></td>
  387. <td></td>
  388. <td></td>
  389. <td class="brr"></td>
  390. </tr>
  391. }
  392. else
  393. {
  394. var max = yl.qq.Max();
  395. <tr>
  396. <td colspan="3" class="brl" title="@yl.name">@yl.name</td>
  397. @{
  398. for (var p = 1; p < 36; p++)
  399. {
  400. var red = yl.qq[p];
  401. <td class="appears bg-yellow">@red<br><img width="16" height="@Math.Round((double)red / max * 60)" src="/static/images/line-red.gif" alt=""></td>
  402. if (p == 12 || p == 24 || p == 35)
  403. {
  404. <td class="split01"></td>
  405. }
  406. }
  407. }
  408. <td></td>
  409. <td></td>
  410. <td></td>
  411. <td></td>
  412. <td></td>
  413. <td></td>
  414. <td></td>
  415. <td class="brr"></td>
  416. </tr>
  417. }
  418. index++;
  419. }
  420. }
  421. }
  422. </tbody>
  423. <tbody id="historyData" style="display:none;">
  424. @{
  425. var lsylList = (List<TcdltChzsMissInfo>)Model.Oinfo.lsyl;
  426. var lsindex = 0;
  427. if (lsylList.Count > 0)
  428. {
  429. foreach (var yl in lsylList)
  430. {
  431. if (lsindex < 3)
  432. {
  433. <tr>
  434. <td colspan="3" class="brl" title="@yl.name">@yl.name</td>
  435. @for (var p = 1; p < 36; p++)
  436. {
  437. var red = yl.qq[p];
  438. if (red > 99)
  439. {
  440. <td title="@red" class="bg-yellow"><div class="ft9">@red</div></td>
  441. }
  442. else
  443. {
  444. <td class="bg-yellow">@red</td>
  445. }
  446. if (p == 12 || p == 24 || p == 35)
  447. {
  448. <td class="split01"></td>
  449. }
  450. }
  451. <td></td>
  452. <td></td>
  453. <td></td>
  454. <td></td>
  455. <td></td>
  456. <td></td>
  457. <td></td>
  458. <td class="brr"></td>
  459. </tr>
  460. }
  461. else
  462. {
  463. var max = yl.qq.Max();
  464. <tr>
  465. <td colspan="3" class="brl" title="@yl.name">@yl.name</td>
  466. @{
  467. for (var p = 1; p < 36; p++)
  468. {
  469. var red = yl.qq[p];
  470. <td class="appears bg-yellow">@red<br><img width="16" height="@Math.Round((double)red / max * 60)" src="/static/images/line-red.gif" alt=""></td>
  471. if (p == 12 || p == 24 || p == 35)
  472. {
  473. <td class="split01"></td>
  474. }
  475. }
  476. }
  477. <td></td>
  478. <td></td>
  479. <td></td>
  480. <td></td>
  481. <td></td>
  482. <td></td>
  483. <td></td>
  484. <td class="brr"></td>
  485. </tr>
  486. }
  487. lsindex++;
  488. }
  489. }
  490. }
  491. </tbody>
  492. </table>
  493. </div>
  494. <!--画线及相关 begin-->
  495. <div id="chartLine">
  496. </div>
  497. <!--画线及相关 end-->
  498. </div>
  499. </div>
  500. <!--走势图浮动期号头部 begin-->
  501. <div id='zsScrollBanner' class="scrollBanner">
  502. <div class="scrollTrend">
  503. <table class="chartTable" cellspacing="1" cellpadding="0" border="0">
  504. <thead id="scrollTrendThead">
  505. </thead>
  506. </table>
  507. </div>
  508. </div>
  509. <!--走势图浮动期号头部 end-->