Hzzs.cshtml 28 KB

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