Cohzs.cshtml 40 KB

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