Xtzs.cshtml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  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="60" rowspan="2">奖号</th>
  63. <th width="30" rowspan="2">和值</th>
  64. <th width="30" rowspan="2">跨度</th>
  65. <th rowspan="2" class="split02"></th>
  66. <th colspan="4">形态</th>
  67. <th rowspan="2" class="split02"></th>
  68. <th width="40" rowspan="2">大小<br />形态</th>
  69. <th colspan="4">大小比走势</th>
  70. <th rowspan="2" class="split02"></th>
  71. <th width="40" rowspan="2">奇偶<br />形态</th>
  72. <th colspan="4">奇偶比走势</th>
  73. <th rowspan="2" class="split02"></th>
  74. <th width="40" rowspan="2">质合<br />形态</th>
  75. <th colspan="4">质合比走势</th>
  76. <th rowspan="2" class="split02"></th>
  77. <th width="40" rowspan="2" class="brr">012路<br />比例</th>
  78. </tr>
  79. <tr>
  80. <th width="40">豹子</th>
  81. <th width="40">组三</th>
  82. <th width="40">组六</th>
  83. <th width="40">顺子</th>
  84. <th width="40">0:3</th>
  85. <th width="40">1:2</th>
  86. <th width="40">2:1</th>
  87. <th width="40">3:0</th>
  88. <th width="40">0:3</th>
  89. <th width="40">1:2</th>
  90. <th width="40">2:1</th>
  91. <th width="40">3:0</th>
  92. <th width="40">0:3</th>
  93. <th width="40">1:2</th>
  94. <th width="40">2:1</th>
  95. <th width="40">3:0</th>
  96. </tr>
  97. </thead>
  98. <tbody id="chartData">
  99. @Html.Raw(Model.Oinfo.zsthtml)
  100. <tr class="tdblock"><td style="height: 1px;" colspan="56"></td></tr>
  101. </tbody>
  102. <!--模拟选号框-->
  103. <tbody id="preseleBody">
  104. <tr class="presele">
  105. <td class="presele-title brl"><strong>选号1</strong></td>
  106. <td colspan="3"></td>
  107. <td class="split01"></td>
  108. <td class="presele-square" pl="bgred">豹子</td>
  109. <td class="presele-square" pl="bgred">组三</td>
  110. <td class="presele-square" pl="bgred">组六</td>
  111. <td class="presele-square" pl="bgred">顺子</td>
  112. <td class="split01"></td>
  113. <td></td>
  114. <td class="presele-square" pl="bgblue">0:3</td>
  115. <td class="presele-square" pl="bgblue">1:2</td>
  116. <td class="presele-square" pl="bgblue">2:1</td>
  117. <td class="presele-square" pl="bgblue">3:0</td>
  118. <td class="split01"></td>
  119. <td></td>
  120. <td class="presele-square" pl="bggreen">0:3</td>
  121. <td class="presele-square" pl="bggreen">1:2</td>
  122. <td class="presele-square" pl="bggreen">2:1</td>
  123. <td class="presele-square" pl="bggreen">3:0</td>
  124. <td class="split01"></td>
  125. <td></td>
  126. <td class="presele-square" pl="bgblue">0:3</td>
  127. <td class="presele-square" pl="bgblue">1:2</td>
  128. <td class="presele-square" pl="bgblue">2:1</td>
  129. <td class="presele-square" pl="bgblue">3:0</td>
  130. <td class="split01"></td>
  131. <td class="brr"></td>
  132. </tr>
  133. <tr class="presele">
  134. <td class="presele-title brl"><strong>选号2</strong></td>
  135. <td colspan="3"></td>
  136. <td class="split01"></td>
  137. <td class="presele-square" pl="bgred">豹子</td>
  138. <td class="presele-square" pl="bgred">组三</td>
  139. <td class="presele-square" pl="bgred">组六</td>
  140. <td class="presele-square" pl="bgred">顺子</td>
  141. <td class="split01"></td>
  142. <td></td>
  143. <td class="presele-square" pl="bgblue">0:3</td>
  144. <td class="presele-square" pl="bgblue">1:2</td>
  145. <td class="presele-square" pl="bgblue">2:1</td>
  146. <td class="presele-square" pl="bgblue">3:0</td>
  147. <td class="split01"></td>
  148. <td></td>
  149. <td class="presele-square" pl="bggreen">0:3</td>
  150. <td class="presele-square" pl="bggreen">1:2</td>
  151. <td class="presele-square" pl="bggreen">2:1</td>
  152. <td class="presele-square" pl="bggreen">3:0</td>
  153. <td class="split01"></td>
  154. <td></td>
  155. <td class="presele-square" pl="bgblue">0:3</td>
  156. <td class="presele-square" pl="bgblue">1:2</td>
  157. <td class="presele-square" pl="bgblue">2:1</td>
  158. <td class="presele-square" pl="bgblue">3:0</td>
  159. <td class="split01"></td>
  160. <td class="brr"></td>
  161. </tr>
  162. <tr class="presele">
  163. <td class="presele-title brl"><strong>选号3</strong></td>
  164. <td colspan="3"></td>
  165. <td class="split01"></td>
  166. <td class="presele-square" pl="bgred">豹子</td>
  167. <td class="presele-square" pl="bgred">组三</td>
  168. <td class="presele-square" pl="bgred">组六</td>
  169. <td class="presele-square" pl="bgred">顺子</td>
  170. <td class="split01"></td>
  171. <td></td>
  172. <td class="presele-square" pl="bgblue">0:3</td>
  173. <td class="presele-square" pl="bgblue">1:2</td>
  174. <td class="presele-square" pl="bgblue">2:1</td>
  175. <td class="presele-square" pl="bgblue">3:0</td>
  176. <td class="split01"></td>
  177. <td></td>
  178. <td class="presele-square" pl="bggreen">0:3</td>
  179. <td class="presele-square" pl="bggreen">1:2</td>
  180. <td class="presele-square" pl="bggreen">2:1</td>
  181. <td class="presele-square" pl="bggreen">3:0</td>
  182. <td class="split01"></td>
  183. <td></td>
  184. <td class="presele-square" pl="bgblue">0:3</td>
  185. <td class="presele-square" pl="bgblue">1:2</td>
  186. <td class="presele-square" pl="bgblue">2:1</td>
  187. <td class="presele-square" pl="bgblue">3:0</td>
  188. <td class="split01"></td>
  189. <td class="brr"></td>
  190. </tr>
  191. </tbody>
  192. </table>
  193. <!--数据体部分 end-->
  194. <div class="ctl-box">
  195. 标注形式选择:
  196. <span class="ctl-item"><input type="checkbox" name="ctl_foldLine" id="ctl_foldLine2" checked="checked" autocomplete="off"><label for="ctl_foldLine2">折线</label></span>
  197. <span class="ctl-item"><input type="checkbox" name="ctl_miss" id="ctl_miss2" autocomplete="off"><label for="ctl_miss2">不带遗漏数据</label></span>
  198. <span class="ctl-item"><input type="checkbox" name="ctl_sliceMiss" id="ctl_sliceMiss2" autocomplete="off"><label for="ctl_sliceMiss2">遗漏分层</label></span>
  199. <div class="dataAnalysisBox">
  200. <input name="analysisbtn" id="currentAnalysis" checked="checked" type="radio" autocomplete="off">
  201. <label for="currentAnalysis">当前页统计</label>
  202. </div>
  203. </div>
  204. <!--数据统计-->
  205. <table class="chartTable">
  206. <thead>
  207. <tr>
  208. <th width="60" rowspan="2" class="sort_up brl"><strong>期号</strong></th>
  209. <th width="60" rowspan="2">奖号</th>
  210. <th width="30" rowspan="2">和值</th>
  211. <th width="30" rowspan="2">跨度</th>
  212. <th rowspan="2" class="split02"></th>
  213. <th colspan="4">形态</th>
  214. <th rowspan="2" class="split02"></th>
  215. <th width="40" rowspan="2">大小比</th>
  216. <th colspan="4">大小比走势</th>
  217. <th rowspan="2" class="split02"></th>
  218. <th width="40" rowspan="2">奇偶比</th>
  219. <th colspan="4">奇偶比走势</th>
  220. <th rowspan="2" class="split02"></th>
  221. <th width="40" rowspan="2">质合比</th>
  222. <th colspan="4">质合比走势</th>
  223. <th rowspan="2" class="split02"></th>
  224. <th width="40" rowspan="2" class="brr">012路<br />比例</th>
  225. </tr>
  226. <tr>
  227. <th width="40">豹子</th>
  228. <th width="40">组三</th>
  229. <th width="40">组六</th>
  230. <th width="40">顺子</th>
  231. <th width="40">0:3</th>
  232. <th width="40">1:2</th>
  233. <th width="40">2:1</th>
  234. <th width="40">3:0</th>
  235. <th width="40">0:3</th>
  236. <th width="40">1:2</th>
  237. <th width="40">2:1</th>
  238. <th width="40">3:0</th>
  239. <th width="40">0:3</th>
  240. <th width="40">1:2</th>
  241. <th width="40">2:1</th>
  242. <th width="40">3:0</th>
  243. </tr>
  244. </thead>
  245. @{
  246. int m = 0;
  247. List<Basek3ChzsMissInfo> miss = Model.Oinfo.yl;
  248. if (miss == null) { miss = new List<Basek3ChzsMissInfo>(); }
  249. }
  250. <tbody id="currentData">
  251. @foreach (var item in miss)
  252. {
  253. m++;
  254. <tr>
  255. <td colspan="4" class="brl @(m%2==1?"bg-blue":"")">@item.name</td>
  256. <td class="split01"></td>
  257. @foreach (var f in item.xt)
  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. <td class=" @(m%2==1?"bg-blue":"")"></td>
  268. @foreach (var b in item.dxb)
  269. {
  270. <td class=" @(m%2==1?"bg-blue":"")" @(b > 99 ? $"title=\"{b}\"" : "")>
  271. @if (b > 99)
  272. {<div class="td_yl">@b</div>}
  273. else
  274. {@b}
  275. </td>
  276. }
  277. <td class="split01"></td>
  278. <td class=" @(m%2==1?"bg-blue":"")"></td>
  279. @foreach (var s in item.job)
  280. {
  281. <td class=" @(m%2==1?"bg-blue":"")" @(s > 99 ? $"title=\"{s}\"" : "")>
  282. @if (s > 99)
  283. {<div class="td_yl">@s</div>}
  284. else
  285. {@s}
  286. </td>
  287. }
  288. <td class="split01"></td>
  289. <td class=" @(m%2==1?"bg-blue":"")"></td>
  290. @foreach (var s in item.zhb)
  291. {
  292. <td class=" @(m%2==1?"bg-blue":"")" @(s > 99 ? $"title=\"{s}\"" : "")>
  293. @if (s > 99)
  294. {<div class="td_yl">@s</div>}
  295. else
  296. {@s}
  297. </td>
  298. }
  299. <td class="split01"></td>
  300. <td class="@(m%2==1?"bg-blue":"") brr"></td>
  301. </tr>
  302. }
  303. </tbody>
  304. </table>
  305. </div>
  306. <!--画线及相关 begin-->
  307. <div id="chartLine">
  308. </div>
  309. <!--画线及相关 end-->
  310. </div>
  311. </div>
  312. <!--走势图浮动期号头部 begin-->
  313. <div id='zsScrollBanner' class="scrollBanner">
  314. <div class="scrollTrend">
  315. <table class="chartTable">
  316. <thead id="scrollTrendThead">
  317. </thead>
  318. </table>
  319. </div>
  320. </div>
  321. <!--走势图浮动期号头部 end-->
  322. @section script{
  323. }