Hzzs.cshtml 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666
  1. @model CP.Web.ZstOutHelp
  2. @using CP.Model;
  3. @using CP.Common;
  4. @using CP.Model.gp.ssc;
  5. @{
  6. Layout = "~/Views/Shared/_zst.cshtml";
  7. Page.TrendPageType = TrendPageType.pailie;
  8. var chart = Model.Chart;
  9. Page.Title = chart.title;
  10. Page.Description = chart.description;
  11. Page.Keywords = chart.keywords;
  12. Page.Chart = Model.Chart;
  13. Page.Cz = Model.Cz;
  14. Page.InnerLink = Model.InnerLinkList;
  15. Page.ZsList = Model.ZsList;
  16. Page.GjList = Model.GjList;
  17. Page.YlList = Model.YlList;
  18. Page.TbList = Model.TbList;
  19. Page.ZtList = Model.ZtList;
  20. var cz = Model.Cz;
  21. var tjmenu = Model.InnerLinkList;
  22. var pagesize = Model.PageSize;
  23. var year = Model.Year;
  24. var week = Model.Week;
  25. }
  26. @section head{
  27. }
  28. <div class="wrap">
  29. <div class="navbar">
  30. <span>当前位置:</span><a href="/">首页</a> - <a href="/zs/">走势图</a> - <a href="">@cz.name</a> - @chart.name
  31. </div>
  32. </div>
  33. <div class="wrap">
  34. <div class="container">
  35. <div class="title">
  36. <div class="search-box" id="trendSearchBox">
  37. <div class="search-link">
  38. @Html.Raw(Model.Pagehtml)
  39. </div>
  40. <div class="mSelectBox" id="mSelectBox">
  41. <span class="mSelect year">按年份</span>
  42. <div class="mSelectList year">
  43. @Html.Raw(Model.Yearhtml)
  44. </div>
  45. </div>
  46. <div class="zs-search">
  47. <input type="text" id="startTerm" name="startTerm" class="input-term" value="@Model.Sqi"
  48. onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" /><span>至</span>
  49. <input type="text" id="endTerm" name="endTerm" class="input-term" value="@Model.Eqi"
  50. onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" /><span>期</span>
  51. </div>
  52. <input type="submit" value="查看" class="btn-search" id="btnSearch" />
  53. <input type="button" value="刷新" class="btn-search" id="btnRefresh" />
  54. </div>
  55. <h1>
  56. @chart.name
  57. </h1>
  58. </div>
  59. <div class="trend" id="trendBox">
  60. <!--走势图功能选择部分 begin-->
  61. <div class="ctl-box">
  62. 标注形式选择:
  63. <span class="ctl-item"><input type="checkbox" name="ctl_foldLine" id="ctl_foldLine1" checked="checked" autocomplete="off"><label for="ctl_foldLine1">折线</label></span>
  64. <span class="ctl-item"><input type="checkbox" name="ctl_miss" id="ctl_miss1" autocomplete="off"><label for="ctl_miss1">不带遗漏数据</label></span>
  65. <span class="ctl-item"><input type="checkbox" name="ctl_sliceMiss" id="ctl_sliceMiss1" autocomplete="off"><label for="ctl_sliceMiss1">遗漏分层</label></span>
  66. <span class="ctl-item"><input type="checkbox" name="ctl_repeat" id="ctl_repeat1" autocomplete="off"><label for="ctl_repeat1">重号</label></span>
  67. <span class="ctl-item"><input type="checkbox" name="ctl_near" id="ctl_near1" autocomplete="off"><label for="ctl_near1">邻号</label></span>
  68. <span class="ctl-item"><input type="checkbox" name="ctl_jump" id="ctl_jump1" autocomplete="off"><label for="ctl_jump1">跳号</label></span>
  69. </div>
  70. <!--走势图功能选择部分 end-->
  71. <!--数据体部分 begin-->
  72. <table class="chartTable" id="chartBody">
  73. <thead>
  74. <tr>
  75. <th width="45" rowspan="2" class="sort_up brl"><strong>期号</strong></th>
  76. <th width="35" rowspan="2">出号</th>
  77. <th width="20" rowspan="2">和值</th>
  78. <th rowspan="2" class="split02"></th>
  79. <th colspan="27">和值走势</th>
  80. <th rowspan="2" class="split02"></th>
  81. <th width="25" rowspan="2">和尾</th>
  82. <th rowspan="2" class="split02"></th>
  83. <th colspan="10">和尾走势</th>
  84. <th rowspan="2" class="split02"></th>
  85. <th width="25" rowspan="2">振幅</th>
  86. <th rowspan="2" class="split02"></th>
  87. <th width="42" colspan="2" rowspan="2">和值<br \>奇偶</th>
  88. <th width="42" colspan="2" rowspan="2">和值<br \>大小</th>
  89. <th width="63" colspan="3" rowspan="2" class="brr">和值<br \>012</th>
  90. </tr>
  91. <tr>
  92. <th width="40">0-11</th>
  93. <th width="22">11</th>
  94. <th width="22">12</th>
  95. <th width="22">13</th>
  96. <th width="22">14</th>
  97. <th width="22">15</th>
  98. <th width="22">16</th>
  99. <th width="22">17</th>
  100. <th width="22">18</th>
  101. <th width="22">19</th>
  102. <th width="22">20</th>
  103. <th width="22">21</th>
  104. <th width="22">22</th>
  105. <th width="22">23</th>
  106. <th width="22">24</th>
  107. <th width="22">25</th>
  108. <th width="22">26</th>
  109. <th width="22">27</th>
  110. <th width="22">28</th>
  111. <th width="22">29</th>
  112. <th width="22">30</th>
  113. <th width="22">31</th>
  114. <th width="22">32</th>
  115. <th width="22">33</th>
  116. <th width="22">34</th>
  117. <th width="22">35</th>
  118. <th width="40">36-45</th>
  119. <th width="21">0</th>
  120. <th width="21">1</th>
  121. <th width="21">2</th>
  122. <th width="21">3</th>
  123. <th width="21">4</th>
  124. <th width="21">5</th>
  125. <th width="21">6</th>
  126. <th width="21">7</th>
  127. <th width="21">8</th>
  128. <th width="21">9</th>
  129. </tr>
  130. </thead>
  131. <tbody id="chartData">
  132. @Html.Raw(Model.Oinfo.zsthtml)
  133. </tbody>
  134. <!--模拟选号框-->
  135. <tbody id="preseleBody">
  136. <tr class="presele">
  137. <td class="presele-title brl" colspan="3"><strong>选号1</strong></td>
  138. <td class="split01"></td>
  139. <td class="presele-ball" pl="red">0-10</td>
  140. <td class="presele-ball" pl="red">11</td>
  141. <td class="presele-ball" pl="red">12</td>
  142. <td class="presele-ball" pl="red">13</td>
  143. <td class="presele-ball" pl="red">14</td>
  144. <td class="presele-ball" pl="red">15</td>
  145. <td class="presele-ball" pl="red">16</td>
  146. <td class="presele-ball" pl="red">17</td>
  147. <td class="presele-ball" pl="red">18</td>
  148. <td class="presele-ball" pl="red">19</td>
  149. <td class="presele-ball" pl="red">20</td>
  150. <td class="presele-ball" pl="red">21</td>
  151. <td class="presele-ball" pl="red">22</td>
  152. <td class="presele-ball" pl="red">23</td>
  153. <td class="presele-ball" pl="red">24</td>
  154. <td class="presele-ball" pl="red">25</td>
  155. <td class="presele-ball" pl="red">26</td>
  156. <td class="presele-ball" pl="red">27</td>
  157. <td class="presele-ball" pl="red">28</td>
  158. <td class="presele-ball" pl="red">29</td>
  159. <td class="presele-ball" pl="red">30</td>
  160. <td class="presele-ball" pl="red">31</td>
  161. <td class="presele-ball" pl="red">32</td>
  162. <td class="presele-ball" pl="red">33</td>
  163. <td class="presele-ball" pl="red">34</td>
  164. <td class="presele-ball" pl="red">35</td>
  165. <td class="presele-ball" pl="red">36-45</td>
  166. <td class="split01"></td>
  167. <td></td>
  168. <td class="split01"></td>
  169. <td class="presele-ball" pl="blue">0</td>
  170. <td class="presele-ball" pl="blue">1</td>
  171. <td class="presele-ball" pl="blue">2</td>
  172. <td class="presele-ball" pl="blue">3</td>
  173. <td class="presele-ball" pl="blue">4</td>
  174. <td class="presele-ball" pl="blue">5</td>
  175. <td class="presele-ball" pl="blue">6</td>
  176. <td class="presele-ball" pl="blue">7</td>
  177. <td class="presele-ball" pl="blue">8</td>
  178. <td class="presele-ball" pl="blue">9</td>
  179. <td class="split01"></td>
  180. <td></td>
  181. <td class="split01"></td>
  182. <td></td>
  183. <td></td>
  184. <td></td>
  185. <td></td>
  186. <td></td>
  187. <td></td>
  188. <td class="brr"></td>
  189. </tr>
  190. <tr class="presele">
  191. <td class="presele-title brl" colspan="3"><strong>选号2</strong></td>
  192. <td class="split01"></td>
  193. <td class="presele-ball" pl="red">0-10</td>
  194. <td class="presele-ball" pl="red">11</td>
  195. <td class="presele-ball" pl="red">12</td>
  196. <td class="presele-ball" pl="red">13</td>
  197. <td class="presele-ball" pl="red">14</td>
  198. <td class="presele-ball" pl="red">15</td>
  199. <td class="presele-ball" pl="red">16</td>
  200. <td class="presele-ball" pl="red">17</td>
  201. <td class="presele-ball" pl="red">18</td>
  202. <td class="presele-ball" pl="red">19</td>
  203. <td class="presele-ball" pl="red">20</td>
  204. <td class="presele-ball" pl="red">21</td>
  205. <td class="presele-ball" pl="red">22</td>
  206. <td class="presele-ball" pl="red">23</td>
  207. <td class="presele-ball" pl="red">24</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="presele-ball" pl="red">36-45</td>
  220. <td class="split01"></td>
  221. <td></td>
  222. <td class="split01"></td>
  223. <td class="presele-ball" pl="blue">0</td>
  224. <td class="presele-ball" pl="blue">1</td>
  225. <td class="presele-ball" pl="blue">2</td>
  226. <td class="presele-ball" pl="blue">3</td>
  227. <td class="presele-ball" pl="blue">4</td>
  228. <td class="presele-ball" pl="blue">5</td>
  229. <td class="presele-ball" pl="blue">6</td>
  230. <td class="presele-ball" pl="blue">7</td>
  231. <td class="presele-ball" pl="blue">8</td>
  232. <td class="presele-ball" pl="blue">9</td>
  233. <td class="split01"></td>
  234. <td></td>
  235. <td class="split01"></td>
  236. <td></td>
  237. <td></td>
  238. <td></td>
  239. <td></td>
  240. <td></td>
  241. <td></td>
  242. <td class="brr"></td>
  243. </tr>
  244. <tr class="presele">
  245. <td class="presele-title brl" colspan="3"><strong>选号2</strong></td>
  246. <td class="split01"></td>
  247. <td class="presele-ball" pl="red">0-10</td>
  248. <td class="presele-ball" pl="red">11</td>
  249. <td class="presele-ball" pl="red">12</td>
  250. <td class="presele-ball" pl="red">13</td>
  251. <td class="presele-ball" pl="red">14</td>
  252. <td class="presele-ball" pl="red">15</td>
  253. <td class="presele-ball" pl="red">16</td>
  254. <td class="presele-ball" pl="red">17</td>
  255. <td class="presele-ball" pl="red">18</td>
  256. <td class="presele-ball" pl="red">19</td>
  257. <td class="presele-ball" pl="red">20</td>
  258. <td class="presele-ball" pl="red">21</td>
  259. <td class="presele-ball" pl="red">22</td>
  260. <td class="presele-ball" pl="red">23</td>
  261. <td class="presele-ball" pl="red">24</td>
  262. <td class="presele-ball" pl="red">25</td>
  263. <td class="presele-ball" pl="red">26</td>
  264. <td class="presele-ball" pl="red">27</td>
  265. <td class="presele-ball" pl="red">28</td>
  266. <td class="presele-ball" pl="red">29</td>
  267. <td class="presele-ball" pl="red">30</td>
  268. <td class="presele-ball" pl="red">31</td>
  269. <td class="presele-ball" pl="red">32</td>
  270. <td class="presele-ball" pl="red">33</td>
  271. <td class="presele-ball" pl="red">34</td>
  272. <td class="presele-ball" pl="red">35</td>
  273. <td class="presele-ball" pl="red">36-45</td>
  274. <td class="split01"></td>
  275. <td></td>
  276. <td class="split01"></td>
  277. <td class="presele-ball" pl="blue">0</td>
  278. <td class="presele-ball" pl="blue">1</td>
  279. <td class="presele-ball" pl="blue">2</td>
  280. <td class="presele-ball" pl="blue">3</td>
  281. <td class="presele-ball" pl="blue">4</td>
  282. <td class="presele-ball" pl="blue">5</td>
  283. <td class="presele-ball" pl="blue">6</td>
  284. <td class="presele-ball" pl="blue">7</td>
  285. <td class="presele-ball" pl="blue">8</td>
  286. <td class="presele-ball" pl="blue">9</td>
  287. <td class="split01"></td>
  288. <td></td>
  289. <td class="split01"></td>
  290. <td></td>
  291. <td></td>
  292. <td></td>
  293. <td></td>
  294. <td></td>
  295. <td></td>
  296. <td class="brr"></td>
  297. </tr>
  298. </tbody>
  299. </table>
  300. <!--数据体部分 end-->
  301. <div class="ctl-box">
  302. 标注形式选择:
  303. <span class="ctl-item"><input type="checkbox" name="ctl_foldLine" id="ctl_foldLine2" checked="checked" autocomplete="off"><label for="ctl_foldLine2">折线</label></span>
  304. <span class="ctl-item"><input type="checkbox" name="ctl_miss" id="ctl_miss2" autocomplete="off"><label for="ctl_miss2">不带遗漏数据</label></span>
  305. <span class="ctl-item"><input type="checkbox" name="ctl_sliceMiss" id="ctl_sliceMiss2" autocomplete="off"><label for="ctl_sliceMiss2">遗漏分层</label></span>
  306. <span class="ctl-item"><input type="checkbox" name="ctl_repeat" id="ctl_repeat2" autocomplete="off"><label for="ctl_repeat2">重号</label></span>
  307. <span class="ctl-item"><input type="checkbox" name="ctl_near" id="ctl_near2" autocomplete="off"><label for="ctl_near2">邻号</label></span>
  308. <span class="ctl-item"><input type="checkbox" name="ctl_jump" id="ctl_jump2" autocomplete="off"><label for="ctl_jump2">跳号</label></span>
  309. <div class="dataAnalysisBox">
  310. <input name="analysisbtn" id="currentAnalysis" checked="checked" type="radio" autocomplete="off">
  311. <label for="currentAnalysis">当前页统计</label>
  312. <input name="analysisbtn" id="historyAnalysis" type="radio" autocomplete="off">
  313. <label for="historyAnalysis">历史统计</label>
  314. </div>
  315. </div>
  316. <!--数据统计-->
  317. <table class="chartTable">
  318. <thead>
  319. <tr>
  320. <th width="45" rowspan="2" class="sort_up brl"><strong>期号</strong></th>
  321. <th width="35" rowspan="2">出号</th>
  322. <th width="20" rowspan="2">和值</th>
  323. <th rowspan="2" class="split02"></th>
  324. <th colspan="27">和值走势</th>
  325. <th rowspan="2" class="split02"></th>
  326. <th width="25" rowspan="2">和尾</th>
  327. <th rowspan="2" class="split02"></th>
  328. <th colspan="10">和尾走势</th>
  329. <th rowspan="2" class="split02"></th>
  330. <th width="25" rowspan="2">振幅</th>
  331. <th rowspan="2" class="split02"></th>
  332. <th width="42" colspan="2" rowspan="2">和值<br \>奇偶</th>
  333. <th width="42" colspan="2" rowspan="2">和值<br \>大小</th>
  334. <th width="63" colspan="3" rowspan="2" class="brr">和值<br \>012</th>
  335. </tr>
  336. <tr>
  337. <th width="40">0-11</th>
  338. <th width="22">11</th>
  339. <th width="22">12</th>
  340. <th width="22">13</th>
  341. <th width="22">14</th>
  342. <th width="22">15</th>
  343. <th width="22">16</th>
  344. <th width="22">17</th>
  345. <th width="22">18</th>
  346. <th width="22">19</th>
  347. <th width="22">20</th>
  348. <th width="22">21</th>
  349. <th width="22">22</th>
  350. <th width="22">23</th>
  351. <th width="22">24</th>
  352. <th width="22">25</th>
  353. <th width="22">26</th>
  354. <th width="22">27</th>
  355. <th width="22">28</th>
  356. <th width="22">29</th>
  357. <th width="22">30</th>
  358. <th width="22">31</th>
  359. <th width="22">32</th>
  360. <th width="22">33</th>
  361. <th width="22">34</th>
  362. <th width="22">35</th>
  363. <th width="40">36-45</th>
  364. <th width="21">0</th>
  365. <th width="21">1</th>
  366. <th width="21">2</th>
  367. <th width="21">3</th>
  368. <th width="21">4</th>
  369. <th width="21">5</th>
  370. <th width="21">6</th>
  371. <th width="21">7</th>
  372. <th width="21">8</th>
  373. <th width="21">9</th>
  374. </tr>
  375. </thead>
  376. @{ int m = 0; int max = 0; List<FcsscHzhwInfo> miss = Model.Oinfo.yl;}
  377. <tbody id="currentData">
  378. @foreach (var item in miss)
  379. {
  380. m++;
  381. if (m == 4)
  382. {
  383. max = item.jo.Max();
  384. if (item.dx.Max() > max) { max = item.dx.Max(); }
  385. if (item._012.Max() > max) { max = item._012.Max(); }
  386. }
  387. <tr>
  388. <td colspan="3" class="brl @(m%2==1?"bg-blue":"")">@item.name</td>
  389. <td class="split01"></td>
  390. @foreach (var f in item.hz)
  391. {
  392. if (m == 4)
  393. {
  394. <td class="appears @(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. <br \><img width="16" height="@Math.Round((double)f / max * 60)" src="/static/images/line-red.gif">
  400. </td>
  401. }
  402. else
  403. {
  404. <td class=" @(m%2==1?"bg-blue":"")" @(f > 99 ? $"title=\"{f}\"" : "")>
  405. @if (f > 99)
  406. {<div class="td_yl">@f</div>}
  407. else
  408. {@f}
  409. </td>
  410. }
  411. }
  412. <td class="split01"></td>
  413. <td class="@(m%2==1?"bg-blue":"")"></td>
  414. <td class="split01"></td>
  415. @foreach (var f in item.hw)
  416. {
  417. if (m == 4)
  418. {
  419. <td class="appears @(m%2==1?"bg-blue":"")" @(f > 99 ? $"title=\"{f}\"" : "")>
  420. @if (f > 99)
  421. {<div class="td_yl">@f</div>}
  422. else
  423. {@f}
  424. <br \><img width="16" height="@Math.Round((double)f / max * 60)" src="/static/images/line-blue.gif">
  425. </td>
  426. }
  427. else
  428. {
  429. <td class=" @(m%2==1?"bg-blue":"")" @(f > 99 ? $"title=\"{f}\"" : "")>
  430. @if (f > 99)
  431. {<div class="td_yl">@f</div>}
  432. else
  433. {@f}
  434. </td>
  435. }
  436. }
  437. <td class="split01"></td>
  438. <td class="@(m%2==1?"bg-blue":"")"></td>
  439. <td class="split01"></td>
  440. @foreach (var jo in item.jo)
  441. {
  442. if (m == 4)
  443. {
  444. <td class="appears @(m%2==1?"bg-blue":"")" @(jo > 99 ? $"title=\"{jo}\"" : "")>
  445. @if (jo > 99)
  446. {<div class="td_yl">@jo</div>}
  447. else
  448. {@jo} <br \><img width="16" height="@Math.Round((double)jo / max * 60)" src="/static/images/line-purple.gif">
  449. </td>
  450. }
  451. else
  452. {
  453. <td class=" @(m%2==1?"bg-blue":"")" @(jo > 99 ? $"title=\"{jo}\"" : "")>
  454. @if (jo > 99)
  455. {<div class="td_yl">@jo</div>}
  456. else
  457. {@jo}
  458. </td>
  459. }
  460. }
  461. @foreach (var dx in item.dx)
  462. {
  463. if (m == 4)
  464. {
  465. <td class="appears @(m%2==1?"bg-blue":"")" @(dx > 99 ? $"title=\"{dx}\"" : "")>
  466. @if (dx > 99)
  467. {<div class="td_yl">@dx</div>}
  468. else
  469. {@dx} <br \><img width="16" height="@Math.Round((double)dx / max * 60)" src="/static/images/line-purple.gif">
  470. </td>
  471. }
  472. else
  473. {
  474. <td class=" @(m%2==1?"bg-blue":"")" @(dx > 99 ? $"title=\"{dx}\"" : "")>
  475. @if (dx > 99)
  476. {<div class="td_yl">@dx</div>}
  477. else
  478. {@dx}
  479. </td>
  480. }
  481. }
  482. @{ int j = 0;}
  483. @foreach (var l in item._012)
  484. {
  485. j++;
  486. if (m == 4)
  487. {
  488. <td class="appears @(m%2==1?"bg-blue":"") @(j == 3 ? "brr" : "")" @(l > 99 ? $"title=\"{l}\"" : "")>
  489. @if (l > 99)
  490. {<div class="td_yl">@l</div>}
  491. else
  492. {@l} <br \><img width="16" height="@Math.Round((double)l / max * 60)" src="/static/images/line-purple.gif">
  493. </td>
  494. }
  495. else
  496. {
  497. <td class=" @(m%2==1?"bg-blue":"") @(j == 3 ? "brr" : "")" @(l > 99 ? $"title=\"{l}\"" : "")>
  498. @if (l > 99)
  499. {<div class="td_yl">@l</div>}
  500. else
  501. {@l}
  502. </td>
  503. }
  504. }
  505. </tr>
  506. }
  507. </tbody>
  508. <tbody id="historyData" style="display: none;">
  509. @{m = 0; max = 0; miss = Model.Oinfo.lsyl;}
  510. @foreach (var item in miss)
  511. {
  512. m++;
  513. if (m == 4)
  514. {
  515. max = item.jo.Max();
  516. if (item.dx.Max() > max) { max = item.dx.Max(); }
  517. if (item._012.Max() > max) { max = item._012.Max(); }
  518. }
  519. <tr>
  520. <td colspan="3" class="brl @(m%2==1?"bg-blue":"")">@item.name</td>
  521. <td class="split01"></td>
  522. @foreach (var f in item.hz)
  523. {
  524. if (m == 4)
  525. {
  526. <td class="appears @(m%2==1?"bg-blue":"")" @(f > 99 ? $"title=\"{f}\"" : "")>
  527. @if (f > 99)
  528. {<div class="td_yl">@f</div>}
  529. else
  530. {@f}
  531. <br \><img width="16" height="@Math.Round((double)f / max * 100)" src="/static/images/line-red.gif">
  532. </td>
  533. }
  534. else
  535. {
  536. <td class=" @(m%2==1?"bg-blue":"")" @(f > 99 ? $"title=\"{f}\"" : "")>
  537. @if (f > 99)
  538. {<div class="td_yl">@f</div>}
  539. else
  540. {@f}
  541. </td>
  542. }
  543. }
  544. <td class="split01"></td>
  545. <td class="@(m%2==1?"bg-blue":"")"></td>
  546. <td class="split01"></td>
  547. @foreach (var f in item.hw)
  548. {
  549. if (m == 4)
  550. {
  551. <td class="appears @(m%2==1?"bg-blue":"")" @(f > 99 ? $"title=\"{f}\"" : "")>
  552. @if (f > 99)
  553. {<div class="td_yl">@f</div>}
  554. else
  555. {@f}
  556. <br \><img width="16" height="@Math.Round((double)f / max * 100)" src="/static/images/line-blue.gif">
  557. </td>
  558. }
  559. else
  560. {
  561. <td class=" @(m%2==1?"bg-blue":"")" @(f > 99 ? $"title=\"{f}\"" : "")>
  562. @if (f > 99)
  563. {<div class="td_yl">@f</div>}
  564. else
  565. {@f}
  566. </td>
  567. }
  568. }
  569. <td class="split01"></td>
  570. <td class="@(m%2==1?"bg-blue":"")"></td>
  571. <td class="split01"></td>
  572. @foreach (var jo in item.hzjo)
  573. {
  574. if (m == 4)
  575. {
  576. <td class="appears @(m%2==1?"bg-blue":"")" @(jo > 99 ? $"title=\"{jo}\"" : "")>
  577. @if (jo > 99)
  578. {<div class="td_yl">@jo</div>}
  579. else
  580. {@jo} <br \><img width="16" height="@Math.Round((double)jo / max * 100)" src="/static/images/line-purple.gif">
  581. </td>
  582. }
  583. else
  584. {
  585. <td class=" @(m%2==1?"bg-blue":"")" @(jo > 99 ? $"title=\"{jo}\"" : "")>
  586. @if (jo > 99)
  587. {<div class="td_yl">@jo</div>}
  588. else
  589. {@jo}
  590. </td>
  591. }
  592. }
  593. @foreach (var dx in item.hzdx)
  594. {
  595. if (m == 4)
  596. {
  597. <td class="appears @(m%2==1?"bg-blue":"")" @(dx > 99 ? $"title=\"{dx}\"" : "")>
  598. @if (dx > 99)
  599. {<div class="td_yl">@dx</div>}
  600. else
  601. {@dx} <br \><img width="16" height="@Math.Round((double)dx / max * 100)" src="/static/images/line-purple.gif">
  602. </td>
  603. }
  604. else
  605. {
  606. <td class=" @(m%2==1?"bg-blue":"")" @(dx > 99 ? $"title=\"{dx}\"" : "")>
  607. @if (dx > 99)
  608. {<div class="td_yl">@dx</div>}
  609. else
  610. {@dx}
  611. </td>
  612. }
  613. }
  614. @{ int j = 0;}
  615. @foreach (var l in item.hz012)
  616. {
  617. j++;
  618. if (m == 4)
  619. {
  620. <td class="appears @(m%2==1?"bg-blue":"") @(j == 3 ? "brr" : "")" @(l > 99 ? $"title=\"{l}\"" : "")>
  621. @if (l > 99)
  622. {<div class="td_yl">@l</div>}
  623. else
  624. {@l} <br \><img width="16" height="@Math.Round((double)l / max * 100)" src="/static/images/line-purple.gif">
  625. </td>
  626. }
  627. else
  628. {
  629. <td class=" @(m%2==1?"bg-blue":"") @(j == 3 ? "brr" : "")" @(l > 99 ? $"title=\"{l}\"" : "")>
  630. @if (l > 99)
  631. {<div class="td_yl">@l</div>}
  632. else
  633. {@l}
  634. </td>
  635. }
  636. }
  637. </tr>
  638. }
  639. </tbody>
  640. </table>
  641. </div>
  642. <!--画线及相关 begin-->
  643. <div id="chartLine">
  644. </div>
  645. <!--画线及相关 end-->
  646. </div>
  647. </div>
  648. <!--走势图浮动期号头部 begin-->
  649. <div id='zsScrollBanner' class="scrollBanner">
  650. <div class="scrollTrend">
  651. <table class="chartTable">
  652. <thead id="scrollTrendThead">
  653. </thead>
  654. </table>
  655. </div>
  656. </div>
  657. <!--走势图浮动期号头部 end-->