Index.cshtml 38 KB

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