Q1zs.cshtml 16 KB

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