Hzzs.cshtml 29 KB

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