Hzzs.cshtml 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579
  1. @model CP.Web.ZstOutHelp
  2. @using CP.Model;
  3. @using CP.Common;
  4. @{
  5. Layout = "~/Views/Shared/_zst.cshtml";
  6. Page.Chart = Model.Chart;
  7. Page.Cz = Model.Cz;
  8. Page.InnerLink = Model.InnerLinkList;
  9. Page.ZsList = Model.ZsList;
  10. Page.GjList = Model.GjList;
  11. Page.YlList = Model.YlList;
  12. Page.TbList = Model.TbList;
  13. Page.ZtList = Model.ZtList;
  14. Page.Title = Model.Chart.title;
  15. Page.Description = Model.Chart.description;
  16. Page.Keywords = Model.Chart.keywords;
  17. var chart = Model.Chart;
  18. var cz = Model.Cz;
  19. var tjmenu = Model.InnerLinkList;
  20. var pagesize = Model.PageSize;
  21. var year = Model.Year;
  22. var week = Model.Week;
  23. }
  24. <div class="wrap">
  25. <div class="navbar">
  26. <span>当前位置:</span><a href="/">首页</a> - <a href="/zs/">走势图</a> - <a href="">@cz.name</a> - @chart.name
  27. </div>
  28. </div>
  29. <div class="wrap">
  30. <div class="container">
  31. <div class="title">
  32. <div class="search-box" id="trendSearchBox">
  33. <div class="search-link">
  34. @Html.Raw(Model.Pagehtml)
  35. </div>
  36. <div class="mSelectBox" id="mSelectBox">
  37. <span class="mSelect year">按年份</span>
  38. <div class="mSelectList year">
  39. @Html.Raw(Model.Yearhtml)
  40. </div>
  41. </div>
  42. <div class="zs-search">
  43. <input type="text" id="startTerm" name="startTerm" class="input-term" value="@Model.Sqi"
  44. onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" /><span>至</span>
  45. <input type="text" id="endTerm" name="endTerm" class="input-term" value="@Model.Eqi"
  46. onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" /><span>期</span>
  47. </div>
  48. <input type="submit" value="查看" class="btn-search" id="btnSearch" />
  49. <input type="button" value="刷新" class="btn-search" id="btnRefresh" />
  50. </div>
  51. <h1>
  52. @chart.name
  53. </h1>
  54. </div>
  55. <div class="trend" id="trendBox">
  56. <!--走势图功能选择部分 begin-->
  57. <div class="ctl-box">
  58. 标注形式选择:
  59. <span class="ctl-item"><input type="checkbox" name="ctl_foldLine" id="ctl_foldLine1" checked="checked" autocomplete="off"><label for="ctl_foldLine1">折线</label></span>
  60. <span class="ctl-item"><input type="checkbox" name="ctl_miss" id="ctl_miss1" autocomplete="off"><label for="ctl_miss1">不带遗漏数据</label></span>
  61. <span class="ctl-item"><input type="checkbox" name="ctl_sliceMiss" id="ctl_sliceMiss1" autocomplete="off"><label for="ctl_sliceMiss1">遗漏分层</label></span>
  62. </div>
  63. <!--走势图功能选择部分 end-->
  64. <!--数据体部分 begin-->
  65. <table class="chartTable" id="chartBody">
  66. <thead>
  67. <tr>
  68. <th width="50" rowspan="2" class="sort_up brl"><strong>期号</strong></th>
  69. <th rowspan="2" class="split02"></th>
  70. <th width="30" rowspan="2"><strong>星期</strong></th>
  71. <th rowspan="2" class="split02"></th>
  72. <th width="125" rowspan="2" colspan="5">开奖号码</th>
  73. <th rowspan="2" class="split02"></th>
  74. <th width="35" rowspan="2">和值</th>
  75. <th rowspan="2" class="split02"></th>
  76. <th colspan="15">和值分布</th>
  77. <th rowspan="2" class="split02"></th>
  78. <th colspan="2">和值<br />形态</th>
  79. <th rowspan="2" class="split02"></th>
  80. <th width="35" rowspan="2">和尾</th>
  81. <th rowspan="2" class="split02"></th>
  82. <th colspan="10">和尾分布</th>
  83. <th rowspan="2" class="split02"></th>
  84. <th colspan="4" class="brr">和尾形态</th>
  85. </tr>
  86. <tr>
  87. <th width="32">15<br />|<br />25</th>
  88. <th width="32">26<br />|<br />30</th>
  89. <th width="32">31<br />|<br />35</th>
  90. <th width="32">36<br />|<br />40</th>
  91. <th width="32">41<br />|<br />45</th>
  92. <th width="32">46<br />|<br />50</th>
  93. <th width="32">51<br />|<br />55</th>
  94. <th width="32">56<br />|<br />60</th>
  95. <th width="32">61<br />|<br />65</th>
  96. <th width="32">66<br />|<br />70</th>
  97. <th width="32">71<br />|<br />75</th>
  98. <th width="32">76<br />|<br />80</th>
  99. <th width="32">81<br />|<br />85</th>
  100. <th width="32">86<br />|<br />90</th>
  101. <th width="32">91<br />|<br />100</th>
  102. <th width="20" class="no-border-lr">奇</th>
  103. <th width="20" class="no-border-lr">偶</th>
  104. <th width="25">0</th>
  105. <th width="25">1</th>
  106. <th width="25">2</th>
  107. <th width="25">3</th>
  108. <th width="25">4</th>
  109. <th width="25">5</th>
  110. <th width="25">6</th>
  111. <th width="25">7</th>
  112. <th width="25">8</th>
  113. <th width="25">9</th>
  114. <th width="20" class="no-border-lr">奇</th>
  115. <th width="20" class="no-border-lr">偶</th>
  116. <th width="20" class="no-border-r">大</th>
  117. <th width="20" class="no-border-l brr">小</th>
  118. </tr>
  119. </thead>
  120. <tbody id="chartData">
  121. @Html.Raw(Model.Oinfo.zsthtml)
  122. </tbody>
  123. <!--模拟选号框-->
  124. <tbody id="preseleBody">
  125. <tr class="presele" style="height:40px;">
  126. <td colspan="11" class="presele-title brl"><strong>选号1</strong></td>
  127. <td class="split01"></td>
  128. <td style="height:15px;line-height:15px;" pl="hz_red">15<br />|<br />25</td>
  129. <td style="height:15px;line-height:15px;" pl="hz_red">26<br />|<br />30</td>
  130. <td style="height:15px;line-height:15px;" pl="hz_red">31<br />|<br />35</td>
  131. <td style="height:15px;line-height:15px;" pl="hz_red">36<br />|<br />40</td>
  132. <td style="height:15px;line-height:15px;" pl="hz_red">41<br />|<br />45</td>
  133. <td style="height:15px;line-height:15px;" pl="hz_red">46<br />|<br />50</td>
  134. <td style="height:15px;line-height:15px;" pl="hz_red">51<br />|<br />55</td>
  135. <td style="height:15px;line-height:15px;" pl="hz_red">56<br />|<br />60</td>
  136. <td style="height:15px;line-height:15px;" pl="hz_red">61<br />|<br />65</td>
  137. <td style="height:15px;line-height:15px;" pl="hz_red">66<br />|<br />70</td>
  138. <td style="height:15px;line-height:15px;" pl="hz_red">71<br />|<br />75</td>
  139. <td style="height:15px;line-height:15px;" pl="hz_red">76<br />|<br />80</td>
  140. <td style="height:15px;line-height:15px;" pl="hz_red">81<br />|<br />85</td>
  141. <td style="height:15px;line-height:15px;" pl="hz_red">86<br />|<br />90</td>
  142. <td style="height:15px;line-height:15px;" pl="hz_red">91<br />|<br />100</td>
  143. <td class="split01"></td>
  144. <td pl="bg-box1">奇</td>
  145. <td pl="bg-box1">偶</td>
  146. <td class="split01"></td>
  147. <td></td>
  148. <td class="split01"></td>
  149. <td pl="bg-box2">0</td>
  150. <td pl="bg-box2">1</td>
  151. <td pl="bg-box2">2</td>
  152. <td pl="bg-box2">3</td>
  153. <td pl="bg-box2">4</td>
  154. <td pl="bg-box2">5</td>
  155. <td pl="bg-box2">6</td>
  156. <td pl="bg-box2">7</td>
  157. <td pl="bg-box2">8</td>
  158. <td pl="bg-box2">9</td>
  159. <td class="split01"></td>
  160. <td pl="bg-box1">奇</td>
  161. <td pl="bg-box1">偶</td>
  162. <td pl="bg-box2">大</td>
  163. <td class="brr" pl="bg-box2">小</td>
  164. </tr>
  165. <tr class="presele" style="height:40px;">
  166. <td colspan="11" class="presele-title brl"><strong>选号2</strong></td>
  167. <td class="split01"></td>
  168. <td style="height:15px;line-height:15px;" pl="hz_red">15<br />|<br />25</td>
  169. <td style="height:15px;line-height:15px;" pl="hz_red">26<br />|<br />30</td>
  170. <td style="height:15px;line-height:15px;" pl="hz_red">31<br />|<br />35</td>
  171. <td style="height:15px;line-height:15px;" pl="hz_red">36<br />|<br />40</td>
  172. <td style="height:15px;line-height:15px;" pl="hz_red">41<br />|<br />45</td>
  173. <td style="height:15px;line-height:15px;" pl="hz_red">46<br />|<br />50</td>
  174. <td style="height:15px;line-height:15px;" pl="hz_red">51<br />|<br />55</td>
  175. <td style="height:15px;line-height:15px;" pl="hz_red">56<br />|<br />60</td>
  176. <td style="height:15px;line-height:15px;" pl="hz_red">61<br />|<br />65</td>
  177. <td style="height:15px;line-height:15px;" pl="hz_red">66<br />|<br />70</td>
  178. <td style="height:15px;line-height:15px;" pl="hz_red">71<br />|<br />75</td>
  179. <td style="height:15px;line-height:15px;" pl="hz_red">76<br />|<br />80</td>
  180. <td style="height:15px;line-height:15px;" pl="hz_red">81<br />|<br />85</td>
  181. <td style="height:15px;line-height:15px;" pl="hz_red">86<br />|<br />90</td>
  182. <td style="height:15px;line-height:15px;" pl="hz_red">91<br />|<br />100</td>
  183. <td class="split01"></td>
  184. <td pl="bg-box1">奇</td>
  185. <td pl="bg-box1">偶</td>
  186. <td class="split01"></td>
  187. <td></td>
  188. <td class="split01"></td>
  189. <td pl="bg-box2">0</td>
  190. <td pl="bg-box2">1</td>
  191. <td pl="bg-box2">2</td>
  192. <td pl="bg-box2">3</td>
  193. <td pl="bg-box2">4</td>
  194. <td pl="bg-box2">5</td>
  195. <td pl="bg-box2">6</td>
  196. <td pl="bg-box2">7</td>
  197. <td pl="bg-box2">8</td>
  198. <td pl="bg-box2">9</td>
  199. <td class="split01"></td>
  200. <td pl="bg-box1">奇</td>
  201. <td pl="bg-box1">偶</td>
  202. <td pl="bg-box2">大</td>
  203. <td class="brr" pl="bg-box2">小</td>
  204. </tr>
  205. <tr class="presele" style="height:40px;">
  206. <td colspan="11" class="presele-title brl"><strong>选号3</strong></td>
  207. <td class="split01"></td>
  208. <td style="height:15px;line-height:15px;" pl="hz_red">15<br />|<br />25</td>
  209. <td style="height:15px;line-height:15px;" pl="hz_red">26<br />|<br />30</td>
  210. <td style="height:15px;line-height:15px;" pl="hz_red">31<br />|<br />35</td>
  211. <td style="height:15px;line-height:15px;" pl="hz_red">36<br />|<br />40</td>
  212. <td style="height:15px;line-height:15px;" pl="hz_red">41<br />|<br />45</td>
  213. <td style="height:15px;line-height:15px;" pl="hz_red">46<br />|<br />50</td>
  214. <td style="height:15px;line-height:15px;" pl="hz_red">51<br />|<br />55</td>
  215. <td style="height:15px;line-height:15px;" pl="hz_red">56<br />|<br />60</td>
  216. <td style="height:15px;line-height:15px;" pl="hz_red">61<br />|<br />65</td>
  217. <td style="height:15px;line-height:15px;" pl="hz_red">66<br />|<br />70</td>
  218. <td style="height:15px;line-height:15px;" pl="hz_red">71<br />|<br />75</td>
  219. <td style="height:15px;line-height:15px;" pl="hz_red">76<br />|<br />80</td>
  220. <td style="height:15px;line-height:15px;" pl="hz_red">81<br />|<br />85</td>
  221. <td style="height:15px;line-height:15px;" pl="hz_red">86<br />|<br />90</td>
  222. <td style="height:15px;line-height:15px;" pl="hz_red">91<br />|<br />100</td>
  223. <td class="split01"></td>
  224. <td pl="bg-box1">奇</td>
  225. <td pl="bg-box1">偶</td>
  226. <td class="split01"></td>
  227. <td></td>
  228. <td class="split01"></td>
  229. <td pl="bg-box2">0</td>
  230. <td pl="bg-box2">1</td>
  231. <td pl="bg-box2">2</td>
  232. <td pl="bg-box2">3</td>
  233. <td pl="bg-box2">4</td>
  234. <td pl="bg-box2">5</td>
  235. <td pl="bg-box2">6</td>
  236. <td pl="bg-box2">7</td>
  237. <td pl="bg-box2">8</td>
  238. <td pl="bg-box2">9</td>
  239. <td class="split01"></td>
  240. <td pl="bg-box1">奇</td>
  241. <td pl="bg-box1">偶</td>
  242. <td pl="bg-box2">大</td>
  243. <td class="brr" pl="bg-box2">小</td>
  244. </tr>
  245. </tbody>
  246. </table>
  247. <!--数据体部分 end-->
  248. <div class="ctl-box">
  249. 标注形式选择:
  250. <span class="ctl-item"><input type="checkbox" name="ctl_foldLine" id="ctl_foldLine2" checked="checked" autocomplete="off"><label for="ctl_foldLine2">折线</label></span>
  251. <span class="ctl-item"><input type="checkbox" name="ctl_miss" id="ctl_miss2" autocomplete="off"><label for="ctl_miss2">不带遗漏数据</label></span>
  252. <span class="ctl-item"><input type="checkbox" name="ctl_sliceMiss" id="ctl_sliceMiss2" autocomplete="off"><label for="ctl_sliceMiss2">遗漏分层</label></span>
  253. <div class="dataAnalysisBox">
  254. <input name="analysisbtn" id="currentAnalysis" checked="checked" type="radio" autocomplete="off">
  255. <label for="currentAnalysis">当前页统计</label>
  256. <input name="analysisbtn" id="historyAnalysis" type="radio" autocomplete="off">
  257. <label for="historyAnalysis">历史统计</label>
  258. </div>
  259. </div>
  260. <!--数据统计-->
  261. <table class="chartTable" id="chartBody">
  262. <tbody>
  263. <tr>
  264. <th width="50" rowspan="2" class="sort_up brl"><strong>期号</strong></th>
  265. <th rowspan="2" class="split02"></th>
  266. <th width="30" rowspan="2"><strong>星期</strong></th>
  267. <th rowspan="2" class="split02"></th>
  268. <th width="125" rowspan="2" colspan="5">开奖号码</th>
  269. <th rowspan="2" class="split02"></th>
  270. <th width="35" rowspan="2">和值</th>
  271. <th rowspan="2" class="split02"></th>
  272. <th colspan="15">和值分布</th>
  273. <th rowspan="2" class="split02"></th>
  274. <th colspan="2">和值<br />形态</th>
  275. <th rowspan="2" class="split02"></th>
  276. <th width="35" rowspan="2">和尾</th>
  277. <th rowspan="2" class="split02"></th>
  278. <th colspan="10">和尾分布</th>
  279. <th rowspan="2" class="split02"></th>
  280. <th colspan="4" class="brr">和尾形态</th>
  281. </tr>
  282. <tr>
  283. <th width="32">15<br />|<br />25</th>
  284. <th width="32">26<br />|<br />30</th>
  285. <th width="32">31<br />|<br />35</th>
  286. <th width="32">36<br />|<br />40</th>
  287. <th width="32">41<br />|<br />45</th>
  288. <th width="32">46<br />|<br />50</th>
  289. <th width="32">51<br />|<br />55</th>
  290. <th width="32">56<br />|<br />60</th>
  291. <th width="32">61<br />|<br />65</th>
  292. <th width="32">66<br />|<br />70</th>
  293. <th width="32">71<br />|<br />75</th>
  294. <th width="32">76<br />|<br />80</th>
  295. <th width="32">81<br />|<br />85</th>
  296. <th width="32">86<br />|<br />90</th>
  297. <th width="32">91<br />|<br />100</th>
  298. <th width="20" class="no-border-lr">奇</th>
  299. <th width="20" class="no-border-lr">偶</th>
  300. <th width="25">0</th>
  301. <th width="25">1</th>
  302. <th width="25">2</th>
  303. <th width="25">3</th>
  304. <th width="25">4</th>
  305. <th width="25">5</th>
  306. <th width="25">6</th>
  307. <th width="25">7</th>
  308. <th width="25">8</th>
  309. <th width="25">9</th>
  310. <th width="20" class="no-border-lr">奇</th>
  311. <th width="20" class="no-border-lr">偶</th>
  312. <th width="20" class="no-border-r">大</th>
  313. <th width="20" class="no-border-l brr">小</th>
  314. </tr>
  315. </tbody>
  316. <tbody id="currentData" style="">
  317. @{
  318. var ylList = (List<ah25x5hzMissInfo>)Model.Oinfo.yl;
  319. var index = 0;
  320. if (ylList.Count > 0)
  321. {
  322. foreach (var yl in ylList)
  323. {
  324. var trbg = index % 2 == 0 ? "bg-blue" : "";
  325. if (index < 3)
  326. {
  327. <tr class="@trbg">
  328. <td colspan="11" class="brl" title="@yl.name">@yl.name</td>
  329. <td class="split01"></td>
  330. @foreach (var hz in yl.hz)
  331. {
  332. if (hz > 99)
  333. {
  334. <td title="@hz"><div class="ft9">@hz</div></td>
  335. }
  336. else
  337. {
  338. <td>@hz</td>
  339. }
  340. }
  341. <td class="split01"></td>
  342. @foreach (var jo in yl.hzjo)
  343. {
  344. if (jo > 99)
  345. {
  346. <td title="@jo"><div class="ft9">@jo</div></td>
  347. }
  348. else
  349. {
  350. <td>@jo</td>
  351. }
  352. }
  353. <td class="split01"></td>
  354. <td></td>
  355. <td class="split01"></td>
  356. @for (var k = 0; k < yl.hw.Length; k++)
  357. {
  358. var hw = yl.hw[k];
  359. if (hw > 99)
  360. {
  361. <td title="@hw"><div class="ft9">@hw</div></td>
  362. }
  363. else
  364. {
  365. <td>@hw</td>
  366. }
  367. }
  368. <td class="split01"></td>
  369. @foreach (var jo in yl.hwjo)
  370. {
  371. if (jo > 99)
  372. {
  373. <td title="@jo"><div class="ft9">@jo</div></td>
  374. }
  375. else
  376. {
  377. <td>@jo</td>
  378. }
  379. }
  380. @for (var k = 0; k < yl.hwdx.Length; k++)
  381. {
  382. var cls = k == yl.hwdx.Length - 1 ? "brr" : "";
  383. var dx = yl.hwdx[k];
  384. if (dx > 99)
  385. {
  386. <td class="@cls" title="@dx"><div class="ft9">@dx</div></td>
  387. }
  388. else
  389. {
  390. <td class="@cls">@dx</td>
  391. }
  392. }
  393. </tr>
  394. }
  395. else
  396. {
  397. var max = new int[] { yl.hz.Max(), yl.hzjo.Max(), yl.hw.Max(), yl.hwjo.Max(), yl.hwdx.Max() }.Max();
  398. <tr class="@trbg">
  399. <td colspan="11" class="brl" title="@yl.name">@yl.name</td>
  400. <td class="split01"></td>
  401. @{
  402. foreach (var hz in yl.hz)
  403. {
  404. <td class="appears">@hz<br><img width="16" height="@Math.Round((double)hz / max * 60)" src="/static/images/line-red.gif" alt=""></td>
  405. }
  406. <td class="split01"></td>
  407. foreach (var jo in yl.hzjo)
  408. {
  409. <td class="appears">@jo<br><img width="16" height="@Math.Round((double)jo / max * 60)" src="/static/images/line-purple.gif" alt=""></td>
  410. }
  411. <td class="split01"></td>
  412. <td></td>
  413. <td class="split01"></td>
  414. for (var k = 0; k < yl.hw.Length; k++)
  415. {
  416. var hw = yl.hw[k];
  417. <td class="appears">@hw<br><img width="16" height="@Math.Round((double)hw / max * 60)" src="/static/images/line-red.gif" alt=""></td>
  418. }
  419. <td class="split01"></td>
  420. foreach (var jo in yl.hwjo)
  421. {
  422. <td class="appears">@jo<br><img width="16" height="@Math.Round((double)jo / max * 60)" src="/static/images/line-purple.gif" alt=""></td>
  423. }
  424. for (var k = 0; k < yl.hwdx.Length; k++)
  425. {
  426. var dx = yl.hwdx[k];
  427. var cls = k == yl.hwdx.Length - 1 ? "brr" : "";
  428. <td class="appears @cls">@dx<br><img width="16" height="@Math.Round((double)dx / max * 60)" src="/static/images/line-purple.gif" alt=""></td>
  429. }
  430. }
  431. </tr>
  432. }
  433. index++;
  434. }
  435. }
  436. }
  437. </tbody>
  438. <tbody id="historyData" style="display:none;">
  439. @{
  440. ylList = (List<ah25x5hzMissInfo>)Model.Oinfo.lsyl;
  441. index = 0;
  442. if (ylList.Count > 0)
  443. {
  444. foreach (var yl in ylList)
  445. {
  446. var trbg = index % 2 == 0 ? "bg-blue" : "";
  447. if (index < 3)
  448. {
  449. <tr class="@trbg">
  450. <td colspan="11" class="brl" title="@yl.name">@yl.name</td>
  451. <td class="split01"></td>
  452. @foreach (var hz in yl.hz)
  453. {
  454. if (hz > 99)
  455. {
  456. <td title="@hz"><div class="ft9">@hz</div></td>
  457. }
  458. else
  459. {
  460. <td>@hz</td>
  461. }
  462. }
  463. <td class="split01"></td>
  464. @foreach (var jo in yl.hzjo)
  465. {
  466. if (jo > 99)
  467. {
  468. <td title="@jo"><div class="ft9">@jo</div></td>
  469. }
  470. else
  471. {
  472. <td>@jo</td>
  473. }
  474. }
  475. <td class="split01"></td>
  476. <td></td>
  477. <td class="split01"></td>
  478. @for (var k = 0; k < yl.hw.Length; k++)
  479. {
  480. var hw = yl.hw[k];
  481. if (hw > 99)
  482. {
  483. <td title="@hw"><div class="ft9">@hw</div></td>
  484. }
  485. else
  486. {
  487. <td>@hw</td>
  488. }
  489. }
  490. <td class="split01"></td>
  491. @foreach (var jo in yl.hwjo)
  492. {
  493. if (jo > 99)
  494. {
  495. <td title="@jo"><div class="ft9">@jo</div></td>
  496. }
  497. else
  498. {
  499. <td>@jo</td>
  500. }
  501. }
  502. @for (var k = 0; k < yl.hwdx.Length; k++)
  503. {
  504. var cls = k == yl.hwdx.Length - 1 ? "brr" : "";
  505. var dx = yl.hwdx[k];
  506. if (dx > 99)
  507. {
  508. <td class="@cls" title="@dx"><div class="ft9">@dx</div></td>
  509. }
  510. else
  511. {
  512. <td class="@cls">@dx</td>
  513. }
  514. }
  515. </tr>
  516. }
  517. else
  518. {
  519. var max = new int[] { yl.hz.Max(), yl.hzjo.Max(), yl.hw.Max(), yl.hwjo.Max(), yl.hwdx.Max() }.Max();
  520. <tr class="@trbg">
  521. <td colspan="11" class="brl" title="@yl.name">@yl.name</td>
  522. <td class="split01"></td>
  523. @{
  524. foreach (var hz in yl.hz)
  525. {
  526. <td class="appears">@hz<br><img width="16" height="@Math.Round((double)hz / max * 60)" src="/static/images/line-red.gif" alt=""></td>
  527. }
  528. <td class="split01"></td>
  529. foreach (var jo in yl.hzjo)
  530. {
  531. <td class="appears">@jo<br><img width="16" height="@Math.Round((double)jo / max * 60)" src="/static/images/line-purple.gif" alt=""></td>
  532. }
  533. <td class="split01"></td>
  534. <td></td>
  535. <td class="split01"></td>
  536. for (var k = 0; k < yl.hw.Length; k++)
  537. {
  538. var hw = yl.hw[k];
  539. <td class="appears">@hw<br><img width="16" height="@Math.Round((double)hw / max * 60)" src="/static/images/line-red.gif" alt=""></td>
  540. }
  541. <td class="split01"></td>
  542. foreach (var jo in yl.hwjo)
  543. {
  544. <td class="appears">@jo<br><img width="16" height="@Math.Round((double)jo / max * 60)" src="/static/images/line-purple.gif" alt=""></td>
  545. }
  546. for (var k = 0; k < yl.hwdx.Length; k++)
  547. {
  548. var dx = yl.hwdx[k];
  549. var cls = k == yl.hwdx.Length - 1 ? "brr" : "";
  550. <td class="appears @cls">@dx<br><img width="16" height="@Math.Round((double)dx / max * 60)" src="/static/images/line-purple.gif" alt=""></td>
  551. }
  552. }
  553. </tr>
  554. }
  555. index++;
  556. }
  557. }
  558. }
  559. </tbody>
  560. </table>
  561. </div>
  562. <!--画线及相关 begin-->
  563. <div id="chartLine">
  564. </div>
  565. <!--画线及相关 end-->
  566. </div>
  567. </div>
  568. <!--走势图浮动期号头部 begin-->
  569. <div id='zsScrollBanner' class="scrollBanner">
  570. <div class="scrollTrend">
  571. <table class="chartTable">
  572. <thead id="scrollTrendThead">
  573. </thead>
  574. </table>
  575. </div>
  576. </div>
  577. <!--走势图浮动期号头部 end-->