Zrzs.cshtml 33 KB

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