Hzzs.cshtml 35 KB

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