Index.cshtml 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  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">奇偶<br />比例</th>
  94. <th width="25" rowspan="2">大小<br />比例</th>
  95. <th width="25" rowspan="2" class="brr">质合<br />比例</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></td>
  216. <td class="brr"></td>
  217. </tr>
  218. <tr class="presele">
  219. <td class="presele-title brl"><strong>选号2</strong></td>
  220. <td class="split01"></td>
  221. <td class="presele-ball" pl="red">0</td>
  222. <td class="presele-ball" pl="red">1</td>
  223. <td class="presele-ball" pl="red">2</td>
  224. <td class="presele-ball" pl="red">3</td>
  225. <td class="presele-ball" pl="red">4</td>
  226. <td class="presele-ball" pl="red">5</td>
  227. <td class="presele-ball" pl="red">6</td>
  228. <td class="presele-ball" pl="red">7</td>
  229. <td class="presele-ball" pl="red">8</td>
  230. <td class="presele-ball" pl="red">9</td>
  231. <td class="split01"></td>
  232. <td class="presele-ball" pl="blue">0</td>
  233. <td class="presele-ball" pl="blue">1</td>
  234. <td class="presele-ball" pl="blue">2</td>
  235. <td class="presele-ball" pl="blue">3</td>
  236. <td class="presele-ball" pl="blue">4</td>
  237. <td class="presele-ball" pl="blue">5</td>
  238. <td class="presele-ball" pl="blue">6</td>
  239. <td class="presele-ball" pl="blue">7</td>
  240. <td class="presele-ball" pl="blue">8</td>
  241. <td class="presele-ball" pl="blue">9</td>
  242. <td class="split01"></td>
  243. <td class="presele-ball" pl="red">0</td>
  244. <td class="presele-ball" pl="red">1</td>
  245. <td class="presele-ball" pl="red">2</td>
  246. <td class="presele-ball" pl="red">3</td>
  247. <td class="presele-ball" pl="red">4</td>
  248. <td class="presele-ball" pl="red">5</td>
  249. <td class="presele-ball" pl="red">6</td>
  250. <td class="presele-ball" pl="red">7</td>
  251. <td class="presele-ball" pl="red">8</td>
  252. <td class="presele-ball" pl="red">9</td>
  253. <td class="split01"></td>
  254. <td class="presele-ball" pl="blue">0</td>
  255. <td class="presele-ball" pl="blue">1</td>
  256. <td class="presele-ball" pl="blue">2</td>
  257. <td class="presele-ball" pl="blue">3</td>
  258. <td class="presele-ball" pl="blue">4</td>
  259. <td class="presele-ball" pl="blue">5</td>
  260. <td class="presele-ball" pl="blue">6</td>
  261. <td class="presele-ball" pl="blue">7</td>
  262. <td class="presele-ball" pl="blue">8</td>
  263. <td class="presele-ball" pl="blue">9</td>
  264. <td class="split01"></td>
  265. <td class="presele-ball" pl="red">0</td>
  266. <td class="presele-ball" pl="red">1</td>
  267. <td class="presele-ball" pl="red">2</td>
  268. <td class="presele-ball" pl="red">3</td>
  269. <td class="presele-ball" pl="red">4</td>
  270. <td class="presele-ball" pl="red">5</td>
  271. <td class="presele-ball" pl="red">6</td>
  272. <td class="presele-ball" pl="red">7</td>
  273. <td class="presele-ball" pl="red">8</td>
  274. <td class="presele-ball" pl="red">9</td>
  275. <td class="split01"></td>
  276. <td></td>
  277. <td></td>
  278. <td></td>
  279. <td class="brr"></td>
  280. </tr>
  281. <tr class="presele">
  282. <td class="presele-title brl"><strong>选号3</strong></td>
  283. <td class="split01"></td>
  284. <td class="presele-ball" pl="red">0</td>
  285. <td class="presele-ball" pl="red">1</td>
  286. <td class="presele-ball" pl="red">2</td>
  287. <td class="presele-ball" pl="red">3</td>
  288. <td class="presele-ball" pl="red">4</td>
  289. <td class="presele-ball" pl="red">5</td>
  290. <td class="presele-ball" pl="red">6</td>
  291. <td class="presele-ball" pl="red">7</td>
  292. <td class="presele-ball" pl="red">8</td>
  293. <td class="presele-ball" pl="red">9</td>
  294. <td class="split01"></td>
  295. <td class="presele-ball" pl="blue">0</td>
  296. <td class="presele-ball" pl="blue">1</td>
  297. <td class="presele-ball" pl="blue">2</td>
  298. <td class="presele-ball" pl="blue">3</td>
  299. <td class="presele-ball" pl="blue">4</td>
  300. <td class="presele-ball" pl="blue">5</td>
  301. <td class="presele-ball" pl="blue">6</td>
  302. <td class="presele-ball" pl="blue">7</td>
  303. <td class="presele-ball" pl="blue">8</td>
  304. <td class="presele-ball" pl="blue">9</td>
  305. <td class="split01"></td>
  306. <td class="presele-ball" pl="red">0</td>
  307. <td class="presele-ball" pl="red">1</td>
  308. <td class="presele-ball" pl="red">2</td>
  309. <td class="presele-ball" pl="red">3</td>
  310. <td class="presele-ball" pl="red">4</td>
  311. <td class="presele-ball" pl="red">5</td>
  312. <td class="presele-ball" pl="red">6</td>
  313. <td class="presele-ball" pl="red">7</td>
  314. <td class="presele-ball" pl="red">8</td>
  315. <td class="presele-ball" pl="red">9</td>
  316. <td class="split01"></td>
  317. <td class="presele-ball" pl="blue">0</td>
  318. <td class="presele-ball" pl="blue">1</td>
  319. <td class="presele-ball" pl="blue">2</td>
  320. <td class="presele-ball" pl="blue">3</td>
  321. <td class="presele-ball" pl="blue">4</td>
  322. <td class="presele-ball" pl="blue">5</td>
  323. <td class="presele-ball" pl="blue">6</td>
  324. <td class="presele-ball" pl="blue">7</td>
  325. <td class="presele-ball" pl="blue">8</td>
  326. <td class="presele-ball" pl="blue">9</td>
  327. <td class="split01"></td>
  328. <td class="presele-ball" pl="red">0</td>
  329. <td class="presele-ball" pl="red">1</td>
  330. <td class="presele-ball" pl="red">2</td>
  331. <td class="presele-ball" pl="red">3</td>
  332. <td class="presele-ball" pl="red">4</td>
  333. <td class="presele-ball" pl="red">5</td>
  334. <td class="presele-ball" pl="red">6</td>
  335. <td class="presele-ball" pl="red">7</td>
  336. <td class="presele-ball" pl="red">8</td>
  337. <td class="presele-ball" pl="red">9</td>
  338. <td class="split01"></td>
  339. <td></td>
  340. <td></td>
  341. <td></td>
  342. <td class="brr"></td>
  343. </tr>
  344. </tbody>
  345. </table>
  346. <!--数据体部分 end-->
  347. <div class="ctl-box">
  348. 标注形式选择:
  349. <span class="ctl-item"><input type="checkbox" name="ctl_foldLine" id="ctl_foldLine2" checked="checked" autocomplete="off"><label for="ctl_foldLine2">折线</label></span>
  350. <span class="ctl-item"><input type="checkbox" name="ctl_miss" id="ctl_miss2" autocomplete="off"><label for="ctl_miss2">不带遗漏数据</label></span>
  351. <span class="ctl-item"><input type="checkbox" name="ctl_sliceMiss" id="ctl_sliceMiss2" autocomplete="off"><label for="ctl_sliceMiss2">遗漏分层</label></span>
  352. <span class="ctl-item"><input type="checkbox" name="ctl_repeat" id="ctl_repeat2" autocomplete="off"><label for="ctl_repeat2">重号</label></span>
  353. <span class="ctl-item"><input type="checkbox" name="ctl_near" id="ctl_near2" autocomplete="off"><label for="ctl_near2">邻号</label></span>
  354. <span class="ctl-item"><input type="checkbox" name="ctl_jump" id="ctl_jump2" autocomplete="off"><label for="ctl_jump2">跳号</label></span>
  355. <div class="dataAnalysisBox">
  356. <input name="analysisbtn" id="currentAnalysis" checked="checked" type="radio" autocomplete="off">
  357. <label for="currentAnalysis">当前页统计</label>
  358. <input name="analysisbtn" id="historyAnalysis" type="radio" autocomplete="off">
  359. <label for="historyAnalysis">历史统计</label>
  360. </div>
  361. </div>
  362. <!--数据统计-->
  363. <table class="chartTable">
  364. <thead>
  365. <tr>
  366. <th width="45" rowspan="2" class="sort_up brl"><strong>期号</strong></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 colspan="10">十位</th>
  375. <th rowspan="2" class="split02"></th>
  376. <th colspan="10">个位</th>
  377. <th rowspan="2" class="split02"></th>
  378. <th width="20" rowspan="2">和值</th>
  379. <th width="25" rowspan="2">奇偶<br />比例</th>
  380. <th width="25" rowspan="2">大小<br />比例</th>
  381. <th width="25" rowspan="2" class="brr">质合<br />比例</th>
  382. </tr>
  383. <tr>
  384. <th width="20">0</th>
  385. <th width="20">1</th>
  386. <th width="20">2</th>
  387. <th width="20">3</th>
  388. <th width="20">4</th>
  389. <th width="20">5</th>
  390. <th width="20">6</th>
  391. <th width="20">7</th>
  392. <th width="20">8</th>
  393. <th width="20">9</th>
  394. <th width="20">0</th>
  395. <th width="20">1</th>
  396. <th width="20">2</th>
  397. <th width="20">3</th>
  398. <th width="20">4</th>
  399. <th width="20">5</th>
  400. <th width="20">6</th>
  401. <th width="20">7</th>
  402. <th width="20">8</th>
  403. <th width="20">9</th>
  404. <th width="20">0</th>
  405. <th width="20">1</th>
  406. <th width="20">2</th>
  407. <th width="20">3</th>
  408. <th width="20">4</th>
  409. <th width="20">5</th>
  410. <th width="20">6</th>
  411. <th width="20">7</th>
  412. <th width="20">8</th>
  413. <th width="20">9</th>
  414. <th width="20">0</th>
  415. <th width="20">1</th>
  416. <th width="20">2</th>
  417. <th width="20">3</th>
  418. <th width="20">4</th>
  419. <th width="20">5</th>
  420. <th width="20">6</th>
  421. <th width="20">7</th>
  422. <th width="20">8</th>
  423. <th width="20">9</th>
  424. <th width="20">0</th>
  425. <th width="20">1</th>
  426. <th width="20">2</th>
  427. <th width="20">3</th>
  428. <th width="20">4</th>
  429. <th width="20">5</th>
  430. <th width="20">6</th>
  431. <th width="20">7</th>
  432. <th width="20">8</th>
  433. <th width="20">9</th>
  434. </tr>
  435. </thead>
  436. @{ int m = 0; int max = 0; List<fchebeipl5NumMissInfo> miss = Model.Oinfo.yl;}
  437. <tbody id="currentData">
  438. @foreach (var item in miss)
  439. {
  440. m++;
  441. if (m == 4) { max = item.ww.Max(); }
  442. if (item.qw.Max() > max) { max = item.qw.Max(); }
  443. if (item.bw.Max() > max) { max = item.bw.Max(); }
  444. if (item.sw.Max() > max) { max = item.sw.Max(); }
  445. if (item.gw.Max() > max) { max = item.gw.Max(); }
  446. <tr>
  447. <td class="brl @(m%2==1?"bg-blue":"")">@item.name</td>
  448. <td class="split01"></td>
  449. @foreach (var b in item.ww)
  450. {
  451. if (m == 4)
  452. {
  453. <td class="appears @(m%2==1?"bg-blue":"")" @(b > 99 ? $"title=\"{b}\"" : "")>
  454. @if (b > 99)
  455. {<div class="td_yl">@b</div>}
  456. else
  457. {@b} <br \><img width="16" height="@Math.Round((double)b / max * 60)" src="/static/images/line-red.gif">
  458. </td>
  459. }
  460. else
  461. {
  462. <td class=" @(m%2==1?"bg-blue":"")" @(b > 99 ? $"title=\"{b}\"" : "")>
  463. @if (b > 99)
  464. {<div class="td_yl">@b</div>}
  465. else
  466. {@b}
  467. </td>
  468. }
  469. }
  470. <td class="split01"></td>
  471. @foreach (var b in item.qw)
  472. {
  473. if (m == 4)
  474. {
  475. <td class="appears @(m%2==1?"bg-blue":"")" @(b > 99 ? $"title=\"{b}\"" : "")>
  476. @if (b > 99)
  477. {<div class="td_yl">@b</div>}
  478. else
  479. {@b} <br \><img width="16" height="@Math.Round((double)b / max * 60)" src="/static/images/line-blue.gif">
  480. </td>
  481. }
  482. else
  483. {
  484. <td class=" @(m%2==1?"bg-blue":"")" @(b > 99 ? $"title=\"{b}\"" : "")>
  485. @if (b > 99)
  486. {<div class="td_yl">@b</div>}
  487. else
  488. {@b}
  489. </td>
  490. }
  491. }
  492. <td class="split01"></td>
  493. @foreach (var b in item.bw)
  494. {
  495. if (m == 4)
  496. {
  497. <td class="appears @(m%2==1?"bg-blue":"")" @(b > 99 ? $"title=\"{b}\"" : "")>
  498. @if (b > 99)
  499. {<div class="td_yl">@b</div>}
  500. else
  501. {@b} <br \><img width="16" height="@Math.Round((double)b / max * 60)" src="/static/images/line-red.gif">
  502. </td>
  503. }
  504. else
  505. {
  506. <td class=" @(m%2==1?"bg-blue":"")" @(b > 99 ? $"title=\"{b}\"" : "")>
  507. @if (b > 99)
  508. {<div class="td_yl">@b</div>}
  509. else
  510. {@b}
  511. </td>
  512. }
  513. }
  514. <td class="split01"></td>
  515. @foreach (var s in item.sw)
  516. {
  517. if (m == 4)
  518. {
  519. <td class="appears @(m%2==1?"bg-blue":"")" @(s > 99 ? $"title=\"{s}\"" : "")>
  520. @if (s > 99)
  521. {<div class="td_yl">@s</div>}
  522. else
  523. {@s} <br \><img width="16" height="@Math.Round((double)s / max * 60)" src="/static/images/line-blue.gif">
  524. </td>
  525. }
  526. else
  527. {
  528. <td class=" @(m%2==1?"bg-blue":"")" @(s > 99 ? $"title=\"{s}\"" : "")>
  529. @if (s > 99)
  530. {<div class="td_yl">@s</div>}
  531. else
  532. {@s}
  533. </td>
  534. }
  535. }
  536. <td class="split01"></td>
  537. @foreach (var g in item.gw)
  538. {
  539. if (m == 4)
  540. {
  541. <td class="appears @(m%2==1?"bg-blue":"")" @(g > 99 ? $"title=\"{g}\"" : "")>
  542. @if (g > 99)
  543. {<div class="td_yl">@g</div>}
  544. else
  545. {@g} <br \><img width="16" height="@Math.Round((double)g / max * 60)" src="/static/images/line-red.gif">
  546. </td>
  547. }
  548. else
  549. {
  550. <td class=" @(m%2==1?"bg-blue":"")" @(g > 99 ? $"title=\"{g}\"" : "")>
  551. @if (g > 99)
  552. {<div class="td_yl">@g</div>}
  553. else
  554. {@g}
  555. </td>
  556. }
  557. }
  558. <td class="split01"></td>
  559. <td class="@(m%2==1?"bg-blue":"")"></td>
  560. <td class="@(m%2==1?"bg-blue":"")"></td>
  561. <td class="@(m%2==1?"bg-blue":"")"></td>
  562. <td class="@(m%2==1?"bg-blue":"") brr"></td>
  563. </tr>
  564. }
  565. </tbody>
  566. <tbody id="historyData" style="display:none;">
  567. @{m = 0; max = 0; miss = Model.Oinfo.lsyl;}
  568. @foreach (var item in miss)
  569. {
  570. m++;
  571. if (m == 4) { max = item.ww.Max(); }
  572. if (item.qw.Max() > max) { max = item.qw.Max(); }
  573. if (item.bw.Max() > max) { max = item.bw.Max(); }
  574. if (item.sw.Max() > max) { max = item.sw.Max(); }
  575. if (item.gw.Max() > max) { max = item.gw.Max(); }
  576. <tr>
  577. <td class="brl @(m%2==1?"bg-blue":"")">@item.name</td>
  578. <td class="split01"></td>
  579. @foreach (var b in item.ww)
  580. {
  581. if (m == 4)
  582. {
  583. <td class="appears @(m%2==1?"bg-blue":"")" @(b > 99 ? $"title=\"{b}\"" : "")>
  584. @if (b > 99)
  585. {<div class="td_yl">@b</div>}
  586. else
  587. {@b} <br \><img width="16" height="@Math.Round((double)b / max * 100)" src="/static/images/line-red.gif">
  588. </td>
  589. }
  590. else
  591. {
  592. <td class=" @(m%2==1?"bg-blue":"")" @(b > 99 ? $"title=\"{b}\"" : "")>
  593. @if (b > 99)
  594. {<div class="td_yl">@b</div>}
  595. else
  596. {@b}
  597. </td>
  598. }
  599. }
  600. <td class="split01"></td>
  601. @foreach (var b in item.qw)
  602. {
  603. if (m == 4)
  604. {
  605. <td class="appears @(m%2==1?"bg-blue":"")" @(b > 99 ? $"title=\"{b}\"" : "")>
  606. @if (b > 99)
  607. {<div class="td_yl">@b</div>}
  608. else
  609. {@b} <br \><img width="16" height="@Math.Round((double)b / max * 100)" src="/static/images/line-blue.gif">
  610. </td>
  611. }
  612. else
  613. {
  614. <td class=" @(m%2==1?"bg-blue":"")" @(b > 99 ? $"title=\"{b}\"" : "")>
  615. @if (b > 99)
  616. {<div class="td_yl">@b</div>}
  617. else
  618. {@b}
  619. </td>
  620. }
  621. }
  622. <td class="split01"></td>
  623. @foreach (var b in item.bw)
  624. {
  625. if (m == 4)
  626. {
  627. <td class="appears @(m%2==1?"bg-blue":"")" @(b > 99 ? $"title=\"{b}\"" : "")>
  628. @if (b > 99)
  629. {<div class="td_yl">@b</div>}
  630. else
  631. {@b} <br \><img width="16" height="@Math.Round((double)b / max * 100)" src="/static/images/line-red.gif">
  632. </td>
  633. }
  634. else
  635. {
  636. <td class=" @(m%2==1?"bg-blue":"")" @(b > 99 ? $"title=\"{b}\"" : "")>
  637. @if (b > 99)
  638. {<div class="td_yl">@b</div>}
  639. else
  640. {@b}
  641. </td>
  642. }
  643. }
  644. <td class="split01"></td>
  645. @foreach (var s in item.sw)
  646. {
  647. if (m == 4)
  648. {
  649. <td class="appears @(m%2==1?"bg-blue":"")" @(s > 99 ? $"title=\"{s}\"" : "")>
  650. @if (s > 99)
  651. {<div class="td_yl">@s</div>}
  652. else
  653. {@s} <br \><img width="16" height="@Math.Round((double)s / max * 100)" src="/static/images/line-blue.gif">
  654. </td>
  655. }
  656. else
  657. {
  658. <td class=" @(m%2==1?"bg-blue":"")" @(s > 99 ? $"title=\"{s}\"" : "")>
  659. @if (s > 99)
  660. {<div class="td_yl">@s</div>}
  661. else
  662. {@s}
  663. </td>
  664. }
  665. }
  666. <td class="split01"></td>
  667. @foreach (var g in item.gw)
  668. {
  669. if (m == 4)
  670. {
  671. <td class="appears @(m%2==1?"bg-blue":"")" @(g > 99 ? $"title=\"{g}\"" : "")>
  672. @if (g > 99)
  673. {<div class="td_yl">@g</div>}
  674. else
  675. {@g} <br \><img width="16" height="@Math.Round((double)g / max * 100)" src="/static/images/line-red.gif">
  676. </td>
  677. }
  678. else
  679. {
  680. <td class=" @(m%2==1?"bg-blue":"")" @(g > 99 ? $"title=\"{g}\"" : "")>
  681. @if (g > 99)
  682. {<div class="td_yl">@g</div>}
  683. else
  684. {@g}
  685. </td>
  686. }
  687. }
  688. <td class="split01"></td>
  689. <td class="@(m%2==1?"bg-blue":"")"></td>
  690. <td class="@(m%2==1?"bg-blue":"")"></td>
  691. <td class="@(m%2==1?"bg-blue":"")"></td>
  692. <td class="@(m%2==1?"bg-blue":"") brr"></td>
  693. </tr>
  694. }
  695. </tbody>
  696. </table>
  697. </div>
  698. <!--画线及相关 begin-->
  699. <div id="chartLine">
  700. </div>
  701. <!--画线及相关 end-->
  702. </div>
  703. </div>
  704. <!--走势图浮动期号头部 begin-->
  705. <div id='zsScrollBanner' class="scrollBanner">
  706. <div class="scrollTrend">
  707. <table class="chartTable">
  708. <thead id="scrollTrendThead">
  709. </thead>
  710. </table>
  711. </div>
  712. </div>
  713. <!--走势图浮动期号头部 end-->