Zszs.cshtml 33 KB

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