KJDetail.cshtml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509
  1. @using Models
  2. @using KJH55128_Rec.ViewModels
  3. @using Common
  4. @model LotteryData
  5. @{
  6. string nav = "";
  7. string lotterytype = "";
  8. LotterySupply lotterySuppley = null;
  9. if (ViewBag.area == "qgc")//全国彩
  10. {
  11. nav = "lotterynav";
  12. lotterytype = "QGC";
  13. }
  14. if (ViewBag.area == "dfc")//地方彩
  15. {
  16. nav = "lotterynav";
  17. lotterytype = "DFC";
  18. }
  19. if (ViewBag.lotterysu != null)
  20. {
  21. lotterySuppley = new LotterySupply();
  22. lotterySuppley = ViewBag.lotterysu;
  23. }
  24. string ze = Model.MoneyPond == null ? "0.00" : Model.MoneyCount;
  25. if (Model.MoneyCount != null && Model.MoneyCount.IndexOf(" ") != -1)
  26. {
  27. ze = Model.MoneyCount.Replace(" ", "");
  28. }
  29. }
  30. <!DOCTYPE html>
  31. <html>
  32. <head>
  33. @if (ViewBag.tdk != null)
  34. {
  35. <title>@(ViewBag.tdk.Tags)</title>
  36. if (string.IsNullOrEmpty(ViewBag.tdk.Tags))
  37. {
  38. <title>@(Model.LotteryName)开奖结果_@(Model.LotteryName)开奖结果查询_@(Model.LotteryName)开奖结果今天_开奖助手</title>
  39. }
  40. }
  41. else
  42. {
  43. <title>@(Model.LotteryName)开奖结果_@(Model.LotteryName)开奖结果查询_@(Model.LotteryName)开奖结果今天_开奖助手</title>
  44. }
  45. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  46. @*<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">*@
  47. @if (ViewBag.tdk != null)
  48. {
  49. <meta name="Description" content="@(ViewBag.tdk.Description)">
  50. <meta name="Keywords" content="@(ViewBag.tdk.Keywords)">
  51. }
  52. else
  53. {
  54. <meta name="Description" content="@(Model.LotteryName)开奖结果提供中国福利彩票@(Model.LotteryName)开奖结果查询,包括福利彩票@(Model.LotteryName)开奖结果今天、开奖号码等内容,查询@(Model.LotteryName)开奖结果就上开奖助手">
  55. <meta name="tags" content="开奖助手-双色球,大乐透,体彩,福彩,高频彩,时时彩,走势图,全国彩票开奖结果">
  56. <meta name="Keywords" content="@(Model.LotteryName)开奖结果,@(Model.LotteryName)开奖结果查询">
  57. }
  58. <meta charset="UTF-8">
  59. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css">
  60. <link rel="stylesheet" type="text/css" href="~/Content/css/kaijdetail.css?v=@(DateTime.Now.Millisecond)">
  61. @*<link rel="stylesheet" type="text/less" href="~/public/css/kaijdetail.less?v=@(DateTime.Now.Millisecond)" />*@
  62. <link rel="icon" type="image/x-icon" href="~/Content/images/favicon.ico" mce_href="/images/favicon.ico">
  63. <style type="text/css">
  64. .logo-left {
  65. line-height: 1 !important;
  66. padding-left: 0 !important;
  67. }
  68. </style>
  69. </head>
  70. <body>
  71. @Html.Action("header", "Shared")
  72. <div class="main">
  73. @Html.Action(nav, "Shared", new { type = lotterytype })
  74. @Html.Action("ads", "Shared", new { className = "lg-margin" })
  75. <section class="mainContent row">
  76. <section class="typecell-wrapper col-xs-12 col-sm-7 col-md-9">
  77. <div class="detail-wrapper">
  78. <div class="row kaijbox-padding">
  79. <div class="col-12">
  80. <div class="row" id="kj">
  81. <div class="col-2">
  82. <div class="kaij-icon">
  83. <div class="text-center">
  84. <span class="iconfont icon-@(Model.LotteryType) icon-shadow"></span>
  85. </div>
  86. <span class="kaij-text text-center">@Model.LotteryName</span>
  87. </div>
  88. </div>
  89. <div class="col-10">
  90. <div class="kaij-data">
  91. <div class="kaij-title">
  92. <span class="kaij-name">@(Model.LotteryName)</span>第
  93. <div class="qs-select-wrapper">
  94. <div class="caret"></div>
  95. <p class="qs-select-box">@Model.Term</p>
  96. <ul class="qs-select">
  97. @{ int qs = int.Parse(Model.Term);}
  98. @for (int i = 1; i < 15; i++)
  99. {
  100. if ((qs - i).ToString().IndexOf("000") == -1)
  101. {
  102. <li>
  103. <a href="/kjxq/@(ViewBag.area)-@(Model.LotteryText)-@(qs - i).html" target="_blank">@(qs - i)</a>
  104. </li>
  105. }
  106. else
  107. {
  108. int lastqs = StringHelper.GetLastTermOfLastYear(Model.KJTime);
  109. int year = StringHelper.GetLastYear(Model.Term);
  110. for (int j = 0; j < 6; j++)
  111. {
  112. <li>
  113. <a href="/kjxq/@(ViewBag.area)-@(Model.LotteryText)-@(year)@(lastqs- j).html" target="_blank">@(year)@(lastqs - j)</a>
  114. </li>
  115. }
  116. break;
  117. }
  118. }
  119. </ul>
  120. </div>
  121. 期开奖结果
  122. @*<span class="kaij-name">@(Model.LotteryName)</span>第<span class="kaij-qs">@(Model.Term)</span>&nbsp;期开奖结果*@
  123. <span style="margin-left: 10px;">
  124. 开奖时间:<span style="margin-right: 4px;">@string.Format("{0:yyyy年MM月dd日}", Convert.ToDateTime(Model.OpenTime))</span>|
  125. 兑奖截止:<span style="margin-right: 4px;">@(StringHelper.GetDuiJiangtime(Model.OpenTime).ToString("yyyy年MM月dd日"))</span>
  126. </span>
  127. </div>
  128. <div class="kaij-cartoon">
  129. @if (Model.LotteryText == "hk6" && ViewBag.newBall != null)
  130. {
  131. <div class="kaij-cartoon">
  132. @{ int i = 1;}
  133. @foreach (var balls in ViewBag.newBall)
  134. {
  135. <span class="ball-list @(balls.LotteryAttrItem.BoSeType.ToString().ToLower())">@balls.OpenCode</span>
  136. if (i == 6)
  137. {
  138. <span class="ball-list-newfont gray">+</span>
  139. }
  140. i++;
  141. }
  142. </div>
  143. <div class="kaij-cartoon-new">
  144. @{ i = 1;}
  145. @foreach (var balls in ViewBag.newBall)
  146. {
  147. <span class="ball-list-new">@(balls.LotteryAttrItem.ShengXiao)</span>
  148. if (i == 6)
  149. {
  150. <span class="ball-list-new gray"></span>
  151. }
  152. i++;
  153. }
  154. </div>
  155. <div class="kaij-cartoon-new">
  156. @{ i = 1;}
  157. @foreach (var balls in ViewBag.newBall)
  158. {
  159. <span class="ball-list-new">@(balls.LotteryAttrItem.WuXing)</span>
  160. if (i == 6)
  161. {
  162. <span class="ball-list-new gray"></span>
  163. }
  164. i++;
  165. }
  166. </div>
  167. }
  168. else
  169. {
  170. <div class="kaij-cartoon">
  171. @if (Model.RedBall != null && Model.RedBall.Length > 0)
  172. {
  173. foreach (string ball in Model.RedBall)
  174. {
  175. <span class="ball-list red">@ball</span>
  176. }
  177. }
  178. @if (Model.BlueBall != null && Model.BlueBall.Length > 0)
  179. {
  180. foreach (string ball in Model.BlueBall)
  181. {
  182. <span class="ball-list blue">@ball</span>
  183. }
  184. }
  185. @if (Model.Details != null && Model.Details.Count > 0 && Model.LotteryType == "GP_KLPK3_ShanDong")
  186. {
  187. foreach (LotteryDetail ball in Model.Details)
  188. {
  189. <div class="pk3-list @ball.Label">
  190. <span class="iconfont icon-pk3 icon-@ball.Label"></span>
  191. <span class="ball-pk3">@ball.Value</span>
  192. </div>
  193. }
  194. }
  195. </div>
  196. }
  197. @*@if (Model.RedBall != null && Model.RedBall.Length > 0)
  198. {
  199. foreach (string ball in Model.RedBall)
  200. {
  201. <span class="ball-list red">@ball</span>
  202. }
  203. }
  204. @if (Model.BlueBall != null && Model.BlueBall.Length > 0)
  205. {
  206. foreach (string ball in Model.BlueBall)
  207. {
  208. <span class="ball-list blue">@ball</span>
  209. }
  210. }
  211. @if (Model.Details != null && Model.Details.Count > 0 && Model.LotteryType == "GP_KLPK3_ShanDong")
  212. {
  213. foreach (LotteryDetail ball in Model.Details)
  214. {
  215. <div class="pk3-list @ball.Label">
  216. <span class="iconfont icon-pk3 icon-@ball.Label"></span>
  217. <span class="ball-pk3">@ball.Value</span>
  218. </div>
  219. }
  220. }*@
  221. </div>
  222. <div class="kaij-line"></div>
  223. </div>
  224. <div class="kaij-btns">
  225. <span class="kaij-btn-item2">@(string.IsNullOrWhiteSpace(ViewBag.lotterysu.hezhi) ? "" : "和值:" + (ViewBag.lotterysu.hezhi))</span>|
  226. <span class="kaij-btn-item2">@(string.IsNullOrWhiteSpace(lotterySuppley.jioubi) ? "" : "奇偶比:" + (lotterySuppley.jioubi))</span>|
  227. <span class="kaij-btn-item2">@(string.IsNullOrWhiteSpace(lotterySuppley.daxiaobi) ? "" : "大小比:" + (lotterySuppley.daxiaobi))</span>
  228. <span class="kaij-btn-item2">@(string.Format(" 投注总额:{0:N2}元", float.Parse(ze)))</span>
  229. <span class="kaij-btn-item2">@(string.IsNullOrWhiteSpace(Model.MoneyPond) ? "" : string.Format("滚动奖池:{0:N2}元", float.Parse(Model.MoneyPond)))</span>
  230. </div>
  231. <div class="kaij-btns">
  232. <span class="kaij-btn-item2" style="font-weight:bold">@(Model.LotteryName)历史开奖:</span>
  233. <a class="kaij-btn-item" href="/kjls/@(lotterytype.ToLower())-@(Model.LotteryText)-n30.html" target="_blank">近30期</a>
  234. <a class="kaij-btn-item" href="/kjls/@(lotterytype.ToLower())-@(Model.LotteryText)-n50.html" target="_blank">近50期</a>
  235. <a class="kaij-btn-item" href="/kjls/@(lotterytype.ToLower())-@(Model.LotteryText)-n80.html" target="_blank">近80期</a>
  236. <a class="kaij-btn-item" href="/kjls/@(lotterytype.ToLower())-@(Model.LotteryText)-n120.html" target="_blank">近120期</a>
  237. </div>
  238. <div class="kaij-btns">
  239. <span class="kaij-btn-item2" style="font-weight:bold">@(Model.LotteryName)相关推荐:</span>
  240. @if (Model.LotteryText == "fc3d" || Model.LotteryText == "pl3" || Model.LotteryText == "ssq" || Model.LotteryText == "dlt")
  241. {
  242. <a class="kaij-btn-item" href="/kjh/@(Model.LotteryText).html" target="_blank">开机号</a>
  243. }
  244. @if (Model.LotteryText == "fc3d" || Model.LotteryText == "pl3")
  245. {
  246. <a class="kaij-btn-item" href="/sjh/@(Model.LotteryText).html" target="_blank">试机号</a>
  247. }
  248. <a class="kaij-btn-item" href="/wfgz/@(lotterytype.ToLower())-@(Model.LotteryText).html" target="_blank">玩法规则</a>
  249. <a class="kaij-btn-item" href="/kjls/@(lotterytype.ToLower())-@(Model.LotteryText).html" target="_blank">历史开奖</a>
  250. <a class="kaij-btn-item" href="@(string.IsNullOrWhiteSpace(lotterySuppley.zsurl) ? "http://www.55128.cn/zs/" : "http://www.55128.cn" + (lotterySuppley.zsurl))" target="_blank">走势图</a>
  251. <a class="kaij-btn-item" href="@(string.IsNullOrWhiteSpace(lotterySuppley.gjurl) ? "http://www.55128.cn/tool/" : "http://www.55128.cn" + (lotterySuppley.gjurl))" target="_blank">工具</a>
  252. </div>
  253. @Html.Action("recomurl", "Shared", new { code = Model.LotteryText, type = 0 })
  254. </div>
  255. </div>
  256. </div>
  257. </div>
  258. </div>
  259. @if (Model.LotteryText != "shttc")
  260. {
  261. <div class="typecell" id="table">
  262. <table>
  263. <caption>本期开奖情况</caption>
  264. <thead>
  265. <tr>
  266. <th>奖项</th>
  267. <th>单注奖金(元)</th>
  268. <th>中奖注数</th>
  269. </tr>
  270. </thead>
  271. @if (Model.ResultsList != null && Model.ResultsList.Count > 0)
  272. {
  273. for (int i = 0; i < Model.ResultsList.Count; i++)
  274. {
  275. <tr class="@(i % 2 == 0 ? "b-tr" : "a-tr")">
  276. <td>@Model.ResultsList[i].LevelName</td>
  277. <td>@(string.IsNullOrWhiteSpace(Model.ResultsList[i].Money) ? "0.00" : string.Format("{0:N2}", float.Parse(Model.ResultsList[i].Money)))</td>
  278. <td>@Model.ResultsList[i].Count</td>
  279. </tr>
  280. }
  281. }
  282. else
  283. {
  284. @Html.Raw("<tr class='b-tr'><td colspan='3' style='font-size:1.6rem;'>暂无此彩种开奖情况</td></tr>");
  285. }
  286. </table>
  287. </div>
  288. <div class="typecell">
  289. <div class="explain">
  290. <h3>@(Model.LotteryName)中奖说明</h3>
  291. <div class="explainImg @(Model.LotteryText)">
  292. </div>
  293. </div>
  294. </div>
  295. }
  296. </section>
  297. <section class="main-ads-wrapper col-xs-12 col-sm-5 col-md-3" style="margin-top:15px;">
  298. <section class="ads-section">
  299. <div class="ads-list-title row">
  300. <div class="ads-title-lable col-xs-12">
  301. <span class="iconfont icon-@(Model.LotteryType)" style="padding: 0 5px;font-size:35px;font-weight: normal;">
  302. </span> @(Model.LotteryName)走势图推荐
  303. </div>
  304. </div>
  305. @Html.Action("zsTools", "Shared", new { lottery = Model.LotteryText, type = 1 })
  306. </section>
  307. <section class="ads-section">
  308. <div class="ads-list-title row">
  309. <div class="ads-title-lable col-xs-12">
  310. @(Model.LotteryName)玩法介绍
  311. </div>
  312. </div>
  313. <div class="ads-list-content">
  314. <div class="ads-list">
  315. <a href="/wfgz/@(lotterytype.ToLower())-@(Model.LotteryText).html" title="@(Model.LotteryName)玩法规则说明" style="padding-left: 10px;" target="_blank">
  316. <span class="ads-list-lable">@(Model.LotteryName)玩法规则说明</span>
  317. </a>
  318. </div>
  319. <div class="ads-list">
  320. <a href="/wfgz/@(lotterytype.ToLower())-@(Model.LotteryText).html" title="@(Model.LotteryName)中奖规则" style="padding-left: 10px;" target="_blank">
  321. <span class="ads-list-lable">@(Model.LotteryName)中奖规则</span>
  322. </a>
  323. </div>
  324. <div class="ads-list">
  325. <a href="/wfgz.html" title="其他彩种玩法规则" style="padding-left: 10px;" target="_blank">
  326. <span class="ads-list-lable">其他彩种玩法规则</span>
  327. </a>
  328. </div>
  329. </div>
  330. </section>
  331. @Html.Action("recomzxBytype", "Shared", new { type = Model.LotteryText })
  332. @if (lotterytype == "DFC")
  333. {
  334. <section class="ads-section">
  335. <div class="ads-list-title row">
  336. <div class="ads-title-lable col-xs-10">
  337. @(Model.LotteryName)近8期开奖结果
  338. </div>
  339. <a class="more col-xs-2" href="/kjls/@(lotterytype.ToLower())-@(Model.LotteryText).html" target="_blank"><span>更多 <i class="iconfont icon-right"></i></span></a>
  340. </div>
  341. <div class="ads-list-content">
  342. @for (int i = 1; i <= 8; i++)
  343. {
  344. <div class="ads-list">
  345. <a href="/kjxq/@(lotterytype.ToLower())-@(Model.LotteryText)-@(Int32.Parse(Model.Term)-i).html" style="padding-left: 10px;" target="_blank">
  346. <span class="ads-list-lable" style="padding-right:0px;">@(Model.LotteryName)第@(Int32.Parse(Model.Term) - i)期开奖号详情</span>
  347. </a>
  348. </div>
  349. }
  350. </div>
  351. </section>
  352. }
  353. </section>
  354. @if (Model.LotteryText == "hk6" && ViewBag.newBall != null)
  355. {
  356. <div class="row row-new">
  357. <div class="col-12">
  358. <div class="list">
  359. <div class="list-head">
  360. <span class="head-left">属性参照表</span>
  361. </div>
  362. <div class="list-head">
  363. <span class="head-left-new new-on" id="bs">波色</span><span class="head-left-new" id="sx">生肖</span><span class="head-left-new" id="wx">五行</span>
  364. </div>
  365. <div class="list-content" id="table1">
  366. <!--table-->
  367. <table class="table table-bordered table-striped">
  368. <thead>
  369. </thead>
  370. <tbody>
  371. <tr class="thead-new thead-new-head">
  372. <th scope="col" colspan="3" class="table-headtxt">波色对照表</th>
  373. </tr>
  374. <tr class="thead-new">
  375. <th scope="col" class="table-headtxt red">红波</th>
  376. <th scope="col" class="table-headtxt blue">蓝波</th>
  377. <th scope="col" class="table-headtxt green">绿波</th>
  378. </tr>
  379. <tr>
  380. @foreach (var item in ViewBag.bs)
  381. {
  382. <td class="td-number td-number-new">
  383. @foreach (int item1 in item.Value as List<int>)
  384. {
  385. <span class="ball-list-dnew @item.Key.ToString().ToLower()">@item1</span>
  386. }
  387. </td>
  388. }
  389. </tr>
  390. </tbody>
  391. </table>
  392. </div>
  393. <div class="list-content" id="table2">
  394. <!--table-->
  395. <table class="table table-bordered table-striped">
  396. <thead>
  397. </thead>
  398. <tbody>
  399. <tr class="thead-new1 thead-new-head">
  400. <th scope="col" colspan="12" class="table-headtxt">生肖对照表</th>
  401. </tr>
  402. <tr class="thead-new1">
  403. <th scope="col" class="table-headtxt">鼠</th>
  404. <th scope="col" class="table-headtxt">牛</th>
  405. <th scope="col" class="table-headtxt">虎</th>
  406. <th scope="col" class="table-headtxt">兔</th>
  407. <th scope="col" class="table-headtxt">龙</th>
  408. <th scope="col" class="table-headtxt">蛇</th>
  409. <th scope="col" class="table-headtxt">马</th>
  410. <th scope="col" class="table-headtxt">羊</th>
  411. <th scope="col" class="table-headtxt">猴</th>
  412. <th scope="col" class="table-headtxt">鸡</th>
  413. <th scope="col" class="table-headtxt">狗</th>
  414. <th scope="col" class="table-headtxt">猪</th>
  415. </tr>
  416. <tr>
  417. @foreach (var item in ViewBag.sx)
  418. {
  419. <td class="td-number td-number-new">
  420. @foreach (var item1 in item.Value)
  421. {
  422. <span class="ball-list-dnew rednew">@item1</span>
  423. }
  424. </td>
  425. }
  426. </tr>
  427. </tbody>
  428. </table>
  429. </div>
  430. <div class="list-content" id="table3">
  431. <!--table-->
  432. <table class="table table-bordered table-striped">
  433. <thead>
  434. </thead>
  435. <tbody>
  436. <tr class="thead-new2 thead-new-head">
  437. <th scope="col" colspan="5" class="table-headtxt">五行对照表</th>
  438. </tr>
  439. <tr class="thead-new2">
  440. <th scope="col" class="table-headtxt">金</th>
  441. <th scope="col" class="table-headtxt">木</th>
  442. <th scope="col" class="table-headtxt">水</th>
  443. <th scope="col" class="table-headtxt">火</th>
  444. <th scope="col" class="table-headtxt">土</th>
  445. </tr>
  446. <tr>
  447. @foreach (var item in ViewBag.wx)
  448. {
  449. <td class="td-number td-number-new">
  450. @foreach (var item1 in item.Value)
  451. {
  452. <span class="ball-list-dnew rednew">@item1</span>
  453. }
  454. </td>
  455. }
  456. </tr>
  457. </tbody>
  458. </table>
  459. </div>
  460. </div>
  461. </div>
  462. </div>
  463. }
  464. </section>
  465. </div>
  466. @Html.Action("footer", "Shared")
  467. <script src="~/Content/tools/libs/jquery-3.2.1.min.js"></script>
  468. <script src="~/Content/js/common/public.js"></script>
  469. <script src="~/Content/tools/datePicker/WdatePicker.js"></script>
  470. <script src="~/Content/js/common.js" type="text/javascript" charset="utf-8"></script>
  471. @*<script src="~/public/css/libs/less.min.js"></script>*@
  472. <script>
  473. $(function () {
  474. $(".qs-select-box").click(function (e) {
  475. $(".qs-select").show();
  476. e.stopPropagation();
  477. })
  478. $(".qs-select-wrapper .caret").click(function (e) {
  479. $(".qs-select").show();
  480. e.stopPropagation();
  481. })
  482. $(".qs-select li").click(function (e) {
  483. $(".query-select").hide();
  484. })
  485. $(window).click(function (event) {
  486. var e = event || window.event;
  487. if ($(".qs-select").css("display") != "none") {
  488. $(".qs-select").hide();
  489. }
  490. })
  491. })
  492. </script>
  493. </body>
  494. </html>