Hzzs.cshtml 35 KB

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