Cohzs.cshtml 38 KB

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