Hzzs.cshtml 27 KB

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