Zhzs.cshtml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  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.Dayhtml)
  35. </div>
  36. <div class="zs-search day">
  37. <input type="text" id="searchTime" name="searchTime" class="input-term" value=""
  38. placeholder="请输入查询日期,如:20160609" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" />
  39. </div>
  40. <input type="submit" value="查看" class="btn-search" id="btnSearch" />
  41. <input type="button" value="刷新" class="btn-search" id="btnRefresh" />
  42. </div>
  43. <h1>
  44. @chart.name
  45. </h1>
  46. </div>
  47. <div class="trend" id="trendBox">
  48. <!--走势图功能选择部分 begin-->
  49. <div class="ctl-box">
  50. 标注形式选择:
  51. <span class="ctl-item"><input type="checkbox" name="ctl_foldLine" id="ctl_foldLine1" checked="checked" autocomplete="off"><label for="ctl_foldLine1">折线</label></span>
  52. <span class="ctl-item"><input type="checkbox" name="ctl_miss" id="ctl_miss1" autocomplete="off"><label for="ctl_miss1">不带遗漏数据</label></span>
  53. <span class="ctl-item"><input type="checkbox" name="ctl_sliceMiss" id="ctl_sliceMiss1" autocomplete="off"><label for="ctl_sliceMiss1">遗漏分层</label></span>
  54. </div>
  55. <!--走势图功能选择部分 end-->
  56. <!--数据体部分 begin-->
  57. <table class="chartTable" id="chartBody">
  58. <thead>
  59. <tr>
  60. <th width="50" rowspan="2" class="sort_up brl"><strong>期号</strong></th>
  61. <th rowspan="2" class="split02"></th>
  62. <th width="400" colspan="20" rowspan="2">开奖号码</th>
  63. <th rowspan="2" class="split02"></th>
  64. <th width="35" rowspan="2">质合比</th>
  65. <th rowspan="2" class="split02"></th>
  66. <th colspan="21" class="brr">质合比走势</th>
  67. </tr>
  68. <tr>
  69. <th width="30">0<br />:<br />20</th>
  70. <th width="30">1<br />:<br />19</th>
  71. <th width="30">2<br />:<br />18</th>
  72. <th width="30">3<br />:<br />17</th>
  73. <th width="30">4<br />:<br />16</th>
  74. <th width="30">5<br />:<br />15</th>
  75. <th width="30">6<br />:<br />14</th>
  76. <th width="30">7<br />:<br />13</th>
  77. <th width="30">8<br />:<br />12</th>
  78. <th width="30">9<br />:<br />11</th>
  79. <th width="30">10<br />:<br />10</th>
  80. <th width="30">11<br />:<br />9</th>
  81. <th width="30">12<br />:<br />8</th>
  82. <th width="30">13<br />:<br />7</th>
  83. <th width="30">14<br />:<br />6</th>
  84. <th width="30">15<br />:<br />5</th>
  85. <th width="30">16<br />:<br />4</th>
  86. <th width="30">17<br />:<br />3</th>
  87. <th width="30">18<br />:<br />2</th>
  88. <th width="30">19<br />:<br />1</th>
  89. <th width="30" class="brr">20<br />:<br />0</th>
  90. </tr>
  91. </thead>
  92. <tbody id="chartData">
  93. @Html.Raw(Model.Oinfo.zsthtml)
  94. </tbody>
  95. <!--模拟选号框-->
  96. <tbody id="preseleBody">
  97. <tr class="presele" style="height:40px;">
  98. <td class="presele-title brl"><strong>选号1</strong></td>
  99. <td class="split01"></td>
  100. <td colspan="20"></td>
  101. <td class="split01"></td>
  102. <td></td>
  103. <td class="split01"></td>
  104. <td style="height:15px;line-height:15px;" pl="hz_red">0<br />:<br />20</td>
  105. <td style="height:15px;line-height:15px;" pl="hz_red">1<br />:<br />19</td>
  106. <td style="height:15px;line-height:15px;" pl="hz_red">2<br />:<br />18</td>
  107. <td style="height:15px;line-height:15px;" pl="hz_red">3<br />:<br />17</td>
  108. <td style="height:15px;line-height:15px;" pl="hz_red">4<br />:<br />16</td>
  109. <td style="height:15px;line-height:15px;" pl="hz_red">5<br />:<br />15</td>
  110. <td style="height:15px;line-height:15px;" pl="hz_red">6<br />:<br />14</td>
  111. <td style="height:15px;line-height:15px;" pl="hz_red">7<br />:<br />13</td>
  112. <td style="height:15px;line-height:15px;" pl="hz_red">8<br />:<br />12</td>
  113. <td style="height:15px;line-height:15px;" pl="hz_red">9<br />:<br />11</td>
  114. <td style="height:15px;line-height:15px;" pl="hz_red">10<br />:<br />10</td>
  115. <td style="height:15px;line-height:15px;" pl="hz_red">11<br />:<br />9</td>
  116. <td style="height:15px;line-height:15px;" pl="hz_red">12<br />:<br />8</td>
  117. <td style="height:15px;line-height:15px;" pl="hz_red">13<br />:<br />7</td>
  118. <td style="height:15px;line-height:15px;" pl="hz_red">14<br />:<br />6</td>
  119. <td style="height:15px;line-height:15px;" pl="hz_red">15<br />:<br />5</td>
  120. <td style="height:15px;line-height:15px;" pl="hz_red">16<br />:<br />4</td>
  121. <td style="height:15px;line-height:15px;" pl="hz_red">17<br />:<br />3</td>
  122. <td style="height:15px;line-height:15px;" pl="hz_red">18<br />:<br />2</td>
  123. <td style="height:15px;line-height:15px;" pl="hz_red">19<br />:<br />1</td>
  124. <td style="height:15px;line-height:15px;" pl="hz_red" class="brr">20<br />:<br />0</td>
  125. </tr>
  126. <tr class="presele" style="height:40px;">
  127. <td class="presele-title brl"><strong>选号2</strong></td>
  128. <td class="split01"></td>
  129. <td colspan="20"></td>
  130. <td class="split01"></td>
  131. <td></td>
  132. <td class="split01"></td>
  133. <td style="height:15px;line-height:15px;" pl="hz_red">0<br />:<br />20</td>
  134. <td style="height:15px;line-height:15px;" pl="hz_red">1<br />:<br />19</td>
  135. <td style="height:15px;line-height:15px;" pl="hz_red">2<br />:<br />18</td>
  136. <td style="height:15px;line-height:15px;" pl="hz_red">3<br />:<br />17</td>
  137. <td style="height:15px;line-height:15px;" pl="hz_red">4<br />:<br />16</td>
  138. <td style="height:15px;line-height:15px;" pl="hz_red">5<br />:<br />15</td>
  139. <td style="height:15px;line-height:15px;" pl="hz_red">6<br />:<br />14</td>
  140. <td style="height:15px;line-height:15px;" pl="hz_red">7<br />:<br />13</td>
  141. <td style="height:15px;line-height:15px;" pl="hz_red">8<br />:<br />12</td>
  142. <td style="height:15px;line-height:15px;" pl="hz_red">9<br />:<br />11</td>
  143. <td style="height:15px;line-height:15px;" pl="hz_red">10<br />:<br />10</td>
  144. <td style="height:15px;line-height:15px;" pl="hz_red">11<br />:<br />9</td>
  145. <td style="height:15px;line-height:15px;" pl="hz_red">12<br />:<br />8</td>
  146. <td style="height:15px;line-height:15px;" pl="hz_red">13<br />:<br />7</td>
  147. <td style="height:15px;line-height:15px;" pl="hz_red">14<br />:<br />6</td>
  148. <td style="height:15px;line-height:15px;" pl="hz_red">15<br />:<br />5</td>
  149. <td style="height:15px;line-height:15px;" pl="hz_red">16<br />:<br />4</td>
  150. <td style="height:15px;line-height:15px;" pl="hz_red">17<br />:<br />3</td>
  151. <td style="height:15px;line-height:15px;" pl="hz_red">18<br />:<br />2</td>
  152. <td style="height:15px;line-height:15px;" pl="hz_red">19<br />:<br />1</td>
  153. <td style="height:15px;line-height:15px;" pl="hz_red" class="brr">20<br />:<br />0</td>
  154. </tr>
  155. <tr class="presele" style="height:40px;">
  156. <td class="presele-title brl"><strong>选号3</strong></td>
  157. <td class="split01"></td>
  158. <td colspan="20"></td>
  159. <td class="split01"></td>
  160. <td></td>
  161. <td class="split01"></td>
  162. <td style="height:15px;line-height:15px;" pl="hz_red">0<br />:<br />20</td>
  163. <td style="height:15px;line-height:15px;" pl="hz_red">1<br />:<br />19</td>
  164. <td style="height:15px;line-height:15px;" pl="hz_red">2<br />:<br />18</td>
  165. <td style="height:15px;line-height:15px;" pl="hz_red">3<br />:<br />17</td>
  166. <td style="height:15px;line-height:15px;" pl="hz_red">4<br />:<br />16</td>
  167. <td style="height:15px;line-height:15px;" pl="hz_red">5<br />:<br />15</td>
  168. <td style="height:15px;line-height:15px;" pl="hz_red">6<br />:<br />14</td>
  169. <td style="height:15px;line-height:15px;" pl="hz_red">7<br />:<br />13</td>
  170. <td style="height:15px;line-height:15px;" pl="hz_red">8<br />:<br />12</td>
  171. <td style="height:15px;line-height:15px;" pl="hz_red">9<br />:<br />11</td>
  172. <td style="height:15px;line-height:15px;" pl="hz_red">10<br />:<br />10</td>
  173. <td style="height:15px;line-height:15px;" pl="hz_red">11<br />:<br />9</td>
  174. <td style="height:15px;line-height:15px;" pl="hz_red">12<br />:<br />8</td>
  175. <td style="height:15px;line-height:15px;" pl="hz_red">13<br />:<br />7</td>
  176. <td style="height:15px;line-height:15px;" pl="hz_red">14<br />:<br />6</td>
  177. <td style="height:15px;line-height:15px;" pl="hz_red">15<br />:<br />5</td>
  178. <td style="height:15px;line-height:15px;" pl="hz_red">16<br />:<br />4</td>
  179. <td style="height:15px;line-height:15px;" pl="hz_red">17<br />:<br />3</td>
  180. <td style="height:15px;line-height:15px;" pl="hz_red">18<br />:<br />2</td>
  181. <td style="height:15px;line-height:15px;" pl="hz_red">19<br />:<br />1</td>
  182. <td style="height:15px;line-height:15px;" pl="hz_red" class="brr">20<br />:<br />0</td>
  183. </tr>
  184. </tbody>
  185. </table>
  186. <!--数据体部分 end-->
  187. <div class="ctl-box">
  188. 标注形式选择:
  189. <span class="ctl-item"><input type="checkbox" name="ctl_foldLine" id="ctl_foldLine2" checked="checked" autocomplete="off"><label for="ctl_foldLine2">折线</label></span>
  190. <span class="ctl-item"><input type="checkbox" name="ctl_miss" id="ctl_miss2" autocomplete="off"><label for="ctl_miss2">不带遗漏数据</label></span>
  191. <span class="ctl-item"><input type="checkbox" name="ctl_sliceMiss" id="ctl_sliceMiss2" autocomplete="off"><label for="ctl_sliceMiss2">遗漏分层</label></span>
  192. <div class="dataAnalysisBox">
  193. <input name="analysisbtn" id="currentAnalysis" checked="checked" type="radio" autocomplete="off">
  194. <label for="currentAnalysis">当前页统计</label>
  195. </div>
  196. </div>
  197. <!--数据统计-->
  198. <table class="chartTable" id="chartBody">
  199. <tbody>
  200. <tr>
  201. <th width="50" rowspan="2" class="sort_up brl"><strong>期号</strong></th>
  202. <th rowspan="2" class="split02"></th>
  203. <th width="400" colspan="20" rowspan="2">开奖号码</th>
  204. <th rowspan="2" class="split02"></th>
  205. <th width="35" rowspan="2">质合比</th>
  206. <th rowspan="2" class="split02"></th>
  207. <th colspan="21" class="brr">质合比走势</th>
  208. </tr>
  209. <tr>
  210. <th width="30">0<br />:<br />20</th>
  211. <th width="30">1<br />:<br />19</th>
  212. <th width="30">2<br />:<br />18</th>
  213. <th width="30">3<br />:<br />17</th>
  214. <th width="30">4<br />:<br />16</th>
  215. <th width="30">5<br />:<br />15</th>
  216. <th width="30">6<br />:<br />14</th>
  217. <th width="30">7<br />:<br />13</th>
  218. <th width="30">8<br />:<br />12</th>
  219. <th width="30">9<br />:<br />11</th>
  220. <th width="30">10<br />:<br />10</th>
  221. <th width="30">11<br />:<br />9</th>
  222. <th width="30">12<br />:<br />8</th>
  223. <th width="30">13<br />:<br />7</th>
  224. <th width="30">14<br />:<br />6</th>
  225. <th width="30">15<br />:<br />5</th>
  226. <th width="30">16<br />:<br />4</th>
  227. <th width="30">17<br />:<br />3</th>
  228. <th width="30">18<br />:<br />2</th>
  229. <th width="30">19<br />:<br />1</th>
  230. <th width="30" class="brr">20<br />:<br />0</th>
  231. </tr>
  232. </tbody>
  233. <tbody id="currentData" style="">
  234. @{
  235. var ylList = (List<Fcbjkl8ZhbMissInfo>)Model.Oinfo.yl;
  236. var index = 0;
  237. if (ylList.Count > 0)
  238. {
  239. foreach (var yl in ylList)
  240. {
  241. var trbg = index % 2 == 0 ? "bg-blue" : "";
  242. if (index < 3)
  243. {
  244. <tr class="@trbg">
  245. <td class="brl" title="@yl.name">@yl.name</td>
  246. <td class="split01"></td>
  247. <td colspan="20"></td>
  248. <td class="split01"></td>
  249. <td></td>
  250. <td class="split01"></td>
  251. @{
  252. for (var k = 0; k < yl.zhb.Length; k++)
  253. {
  254. var brr = k == yl.zhb.Length - 1 ? "brr" : "";
  255. var zhb = yl.zhb[k];
  256. if (zhb > 99)
  257. {
  258. <td title="@zhb" class="@brr"><div class="ft9">@zhb</div></td>
  259. }
  260. else
  261. {
  262. <td class="@brr">@zhb</td>
  263. }
  264. }
  265. }
  266. </tr>
  267. }
  268. else
  269. {
  270. <tr class="@trbg">
  271. <td class="brl" title="@yl.name">@yl.name</td>
  272. <td class="split01"></td>
  273. <td colspan="20"></td>
  274. <td class="split01"></td>
  275. <td></td>
  276. <td class="split01"></td>
  277. @{
  278. for (var k = 0; k < yl.zhb.Length; k++)
  279. {
  280. var brr = k == yl.zhb.Length - 1 ? "brr" : "";
  281. var zhb = yl.zhb[k];
  282. if (zhb > 99)
  283. {
  284. <td title="@zhb" class="@brr"><div class="ft9">@zhb</div></td>
  285. }
  286. else
  287. {
  288. <td class="@brr">@zhb</td>
  289. }
  290. }
  291. }
  292. </tr>
  293. }
  294. index++;
  295. }
  296. }
  297. }
  298. </tbody>
  299. </table>
  300. </div>
  301. <!--画线及相关 begin-->
  302. <div id="chartLine">
  303. </div>
  304. <!--画线及相关 end-->
  305. </div>
  306. </div>
  307. <!--走势图浮动期号头部 begin-->
  308. <div id='zsScrollBanner' class="scrollBanner">
  309. <div class="scrollTrend">
  310. <table class="chartTable">
  311. <thead id="scrollTrendThead">
  312. </thead>
  313. </table>
  314. </div>
  315. </div>
  316. <!--走势图浮动期号头部 end-->