@using KJH55128_Rec.ViewModels @using Common @model List<LotteryKaiJiHaoAdShijihaoHModel> @{ KaiJiHaoAdShijihaoHModel kaij = new KaiJiHaoAdShijihaoHModel(); KaiJiHaoAdShijihaoHModel getKaijh = new KaiJiHaoAdShijihaoHModel(); if (Model != null && Model.Count > 0) { kaij = Model.FirstOrDefault().Kaijihao; getKaijh = Model.FirstOrDefault().Kaijianghao; } List<LotteryKaiJiHaoAdShijihaoHModel> data = Model.ToList(); } <!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>@(kaij.LotteryName)开机号_@(kaij.LotteryName)开机号查询_@(kaij.LotteryName)开机号分析_@(kaij.LotteryName)开机号近10期_开奖助手</title> <meta name="Keywords" content="@(kaij.LotteryName)开机号,@(kaij.LotteryName)开机号近10期,@(kaij.LotteryName)开机号"> <meta name="tags" content="开奖助手-双色球,大乐透,体彩,福彩,高频彩,时时彩,走势图,全国彩票开奖结果"> <meta name="Description" content="@(kaij.LotteryName)开机号专区为彩民提供@(kaij.LotteryName)开机号码、@(kaij.LotteryName)开机号近10期、@(kaij.LotteryName)开机号查询等,想最快获取今天@(kaij.LotteryName)开机号请关注开奖助手。"> @*<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">*@ <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="~/Content/css/common/common.css"> @*<link rel="stylesheet" type="text/less" href="~/public/css/common/common.less?v=@(DateTime.Now.Millisecond)">*@ <link rel="icon" type="image/x-icon" href="~/Content/images/favicon.ico" mce_href="/images/favicon.ico"> <!--[if IE]> <script src="https://cdn.bootcss.com/html5shiv/r29/html5.min.js"></script> <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> @Html.Action("header", "Shared", new { nav = "kjh" }) <div class="main"> <input type="hidden" id="code" value="@ViewBag.code" /> <section class="bread-nav"> <span class="lable">当前位置:开机号</span> <span class="iconfont icon-right"></span> <span class="lable">@(kaij.LotteryName)开机号</span> </section> @Html.Action("ads", "Shared") <section class="mainContent row"> <section class="main-title-wrapper"> <section class="main-title"> <span class="main-title-lable @(ViewBag.code=="ssq"?"active":"")" href="/kjh/ssq.html" onclick="redictPage('ssq')">双色球</span> <span class="main-title-lable @(ViewBag.code=="fc3d"?"active":"")" href="/kjh/fc3d.html" onclick="redictPage('fc3d')">福彩3D</span> <span class="main-title-lable @(ViewBag.code=="pl3"?"active":"")" href="/kjh/pl3.html" onclick="redictPage('pl3')">排列三</span> <span class="main-title-lable @(ViewBag.code=="dlt"?"active":"")" href="/kjh/dlt.html" onclick="redictPage('dlt')">大乐透</span> </section> </section> <section class="ksj-content-wrapper"> <section class="ksj-main-content row"> <section class="row col-xs-12 col-smm-6 col-sm-9"> <section class="row"> <section class="col-xs-12 col-md-6d5"> <section class="ksj-num-wrapper"> <p class="qishu"> 第<span id="qs1" style="font-size:1.8rem;color:#c31a00;">@(kaij.Term)</span>期开机号: <span class="btn-refresh" onclick="window.location = window.location.href;">刷新</span> </p> <div class="ksj-ball"> @if (kaij.RedBall != null && kaij.RedBall.Length > 0) { foreach (string ball in kaij.RedBall) { <span class="ball-list red">@ball</span> } } @if (kaij.BlueBall != null && kaij.BlueBall.Length > 0) { foreach (string ball in kaij.BlueBall) { <span class="ball-list blue">@ball</span> } } </div> <p class="ksjxq" style="line-height:25px;"> <strong style="font-size:1.6rem"> 开奖时间:</strong><span>@string.Format("{0:yyyy年MM月dd日}", Convert.ToDateTime(kaij.OpenTime))</span> | <strong style="font-size:1.6rem"> 兑奖截止:</strong><span>@(StringHelper.GetDuiJiangtime(kaij.OpenTime).ToString("yyyy年MM月dd日"))</span> </p> <p class="ksjxq" style="line-height:25px;"> 和值:<span id="hz" style="margin-right: 4px;">@(kaij.hezhi)</span> | 奇偶比:<span id="job" style="margin-right: 4px;">@(kaij.jio)</span> | 大小比:<span id="dxb" style="margin-right: 4px;">@(kaij.daxiao)</span> </p> <p class="kj-btn qishu-box" style="line-height:25px;"> <span class="strong">历史:</span> <a data-rows="30" target="_blank" class="lot-btn lot-rows @(ViewBag.term==30?"active":"")" href="/kjh/@(ViewBag.code)-n30.html">近30期</a> <a data-rows="50" target="_blank" class="lot-btn lot-rows @(ViewBag.term==50?"active":"")" href="/kjh/@(ViewBag.code)-n50.html">近50期</a> <a data-rows="80" target="_blank" class="lot-btn lot-rows @(ViewBag.term==80?"active":"")" href="/kjh/@(ViewBag.code)-n80.html">近80期</a> <a data-rows="120" target="_blank" class="lot-btn lot-rows @(ViewBag.term==120?"active":"")" href="/kjh/@(ViewBag.code)-n120.html">近120期</a> </p> <p class="kj-btn" style="line-height:25px;"> <span class="strong">推荐:</span> @if (ViewBag.code == "pl3" || ViewBag.code == "fc3d") { <a class="lot-btn" href="/sjh/@(ViewBag.code).html" target="_blank">试机号</a> } <a class="lot-btn" href="/kjls/qgc-@(ViewBag.code).html" target="_blank">开奖历史</a> <a class="lot-btn" href="/wfgz/qgc-@(ViewBag.code).html" target="_blank">玩法</a> <a class="lot-btn" href="http://www.55128.cn@(ViewBag.zsSrc)" target="_blank">走势图</a> <a class="lot-btn" href="@(string.IsNullOrWhiteSpace(ViewBag.toolSrc)?"http://www.55128.cn/tool/":"http://www.55128.cn"+ViewBag.toolSrc)" target="_blank">工具</a> </p> </section> </section> <section class="col-xs-12 col-md-5d5"> <section class="ksj-num-wrapper"> <div class="ads-list-title row"> <div class="ads-title-lable col-xs-12"><span class="iconfont icon-@(kaij.LotteryType)" style="padding: 0 5px;font-size:40px;font-weight: normal;"></span>@(kaij.LotteryName)分析工具</div> </div> @Html.Action("zsTools", "Shared", new { lottery = ViewBag.code, type = 0 }) </section> </section> </section> <section class="row ksj-table-wrapper"> <div class="title"> @*<span>@(kaij.LotteryName)开机号<span id="Year"></span>近<span id="rows">@(ViewBag.term)</span>期开机号</span>*@ <section class="ksj-select-wrapper"> @*<p class="title">开机号查询</p>*@ <div class="select-list"> <span class="lable">按期号:</span> <div class="input-btn-group"> <input id="termInput" type="text" value="" placeholder="请输入期号" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="7"> @if (!string.IsNullOrEmpty(getKaijh.Term)) { int qs = Int32.Parse(getKaijh.Term); <ul class="query-select"> @for (int i = 0; i < 19; i++) { if ((qs - i).ToString().IndexOf("000") == -1) { <li><a href="/kjh/@(ViewBag.code)-q@(qs - i).html">@(qs - i)</a></li> } else { int lastqs = StringHelper.GetLastTermOfLastYear(getKaijh.KJTime); int year = StringHelper.GetLastYear(getKaijh.Term); for (int j = 0; j < 6; j++) { <li> <a href="/kjh/@(ViewBag.code)-q@(year)@(lastqs - j).html" target="_blank">@(year)@(lastqs - j)</a> </li> } break; } } </ul> } <button onclick="queryKSJH('kjh','Term')" style="cursor: pointer;">查询</button> </div> @*<span class="eg">如:2018001</span>*@ </div> <div class="select-list"> <span class="lable">按年份:</span> <div class="input-btn-group"> <input id="yearInput" type="text" value="" placeholder="请输入年份" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="4"> <button onclick="queryKSJH('kjh','Year')" style="cursor: pointer;">查询</button> </div> @*<span class="eg">如:2018</span>*@ </div> <div class="select-list"> <div class="input-btn-group"> <input id="startInput" type="number" value="@kaij.Term" max="@kaij.Term" placeholder="开始期数" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="7"> <span style="float: left;padding:0 3px;">-</span> <input id="endInput" type="number" value="@kaij.Term" max="@kaij.Term" placeholder="结束期数" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength="7"> <button onclick="queryKSJH('kjh', 'range')" style="cursor: pointer;">查询</button> </div> </div> </section> <div class="qishu-box"> <span>@(kaij.LotteryName)开机号:</span> <a target="_blank" class="lot-btn @(ViewBag.term==30?"active":"")" href="/kjh/@(ViewBag.code)-n30.html">近30期</a> <a target="_blank" class="lot-btn @(ViewBag.term==50?"active":"")" href="/kjh/@(ViewBag.code)-n50.html">近50期</a> <a target="_blank" class="lot-btn @(ViewBag.term==80?"active":"")" href="/kjh/@(ViewBag.code)-n80.html">近80期</a> <a target="_blank" class="lot-btn @(ViewBag.term==120?"active":"")" href="/kjh/@(ViewBag.code)-n120.html">近120期</a> </div> </div> <div id="table"> <table class="ksj-table" border="0" cellspacing="0" cellpadding="0"> <thead> <tr class="single"> <th rowspan="2" style="border:1px solid #ddd;">期号</th> <th rowspan="2" style="border:1px solid #ddd;">日期</th> <th colspan="4" style="border:1px solid #ddd;"> 开机号 </th> <th colspan="4" style="border:1px solid #ddd;">开奖号</th> </tr> <tr class="single" style="border:1px solid #ddd;"> <th style="border:1px solid #ddd;">号码</th> <th style="border:1px solid #ddd;">和值</th> <th style="border:1px solid #ddd;">奇偶比</th> <th style="border:1px solid #ddd;">大小比</th> <th style="border:1px solid #ddd;">号码</th> <th style="border:1px solid #ddd;">和值</th> <th style="border:1px solid #ddd;">奇偶比</th> <th style="border:1px solid #ddd;">大小比</th> </tr> </thead> @if (Model != null && data.Count > 0) { for (int i = 0; i < data.Count; i++) { KaiJiHaoAdShijihaoHModel kaiji = data[i].Kaijihao; KaiJiHaoAdShijihaoHModel kaijiang = data[i].Kaijianghao; <tr class="@(i%2==0?"double":"single")"> <td>@(string.IsNullOrWhiteSpace(kaijiang.Term) ? "-" : kaijiang.Term)</td> <td>@(string.IsNullOrWhiteSpace(kaijiang.OpenTime) ? "-" : string.Format("{0:yyyy-MM-dd}", Convert.ToDateTime(kaijiang.OpenTime)))</td> <!--开机号--> <td> @if (kaiji.RedBall != null && kaiji.RedBall.Length > 0) { for (int j = 0; j < kaiji.RedBall.Length; j++) { string ball = kaiji.RedBall[j]; <span class="red">@ball</span> if (kaiji.BlueBall == null && j == kaiji.RedBall.Length - 1) { } else { <span>,</span> } } } @if (kaiji.BlueBall != null && kaiji.BlueBall.Length > 0) { for (int j = 0; j < kaiji.BlueBall.Length; j++) { string ball = kaiji.BlueBall[j]; <span class="blue">@ball</span> if (j == kaiji.BlueBall.Length - 1) { } else { <span>,</span> } } } @if (kaij.BlueBall == null && kaij.RedBall == null) { <span>-</span> } </td> <td>@(string.IsNullOrWhiteSpace(kaiji.hezhi) ? "-" : kaiji.hezhi)</td> <td>@(string.IsNullOrWhiteSpace(kaiji.jio) ? "-" : kaiji.jio)</td> <td>@(string.IsNullOrWhiteSpace(kaiji.daxiao) ? "-" : kaiji.daxiao)</td> <!--开奖号--> <td> @if (kaijiang.RedBall != null && kaijiang.RedBall.Length > 0) { for (int j = 0; j < kaijiang.RedBall.Length; j++) { string ball = kaijiang.RedBall[j]; <span class="red">@ball</span> if (j == kaijiang.RedBall.Length - 1) { } else { <span>,</span> } } } @if (kaijiang.BlueBall != null && kaijiang.BlueBall.Length > 0) { <span>,</span> for (int j = 0; j < kaijiang.BlueBall.Length; j++) { string ball = kaijiang.BlueBall[j]; <span class="blue">@ball</span> if (j == kaijiang.BlueBall.Length - 1) { } else { <span>,</span> } } } </td> <td>@(string.IsNullOrWhiteSpace(kaijiang.hezhi) ? "-" : kaijiang.hezhi)</td> <td>@(string.IsNullOrWhiteSpace(kaijiang.jio) ? "-" : kaijiang.jio)</td> <td>@(string.IsNullOrWhiteSpace(kaijiang.daxiao) ? "-" : kaijiang.daxiao)</td> </tr> } } </table> </div> </section> </section> <section class="col-xs-12 col-smm-6 col-sm-3"> <section class="ads-section"> <div class="ads-list-title row"> <div class="ads-title-lable col-xs-12">什么是@(kaij.LotteryName)开机号</div> </div> <div class="ads-list-content"> <div class="ads-wfcontent"> @Html.Raw(ViewBag.desc) </div> </div> </section> <section class="ads-section"> <div class="ads-list-title row"> <div class="ads-title-lable col-xs-12">热门开机号</div> </div> <div class="ads-list-content"> @Html.Action("recomkjh", "Shared", new { lottery = ViewBag.code, type = "kjh" }) </div> </section> <section class="ads-section"> <div class="ads-list-title row"> <div class="ads-title-lable col-xs-12">@(kaij.LotteryName)试机号分析走势图</div> </div> <div class="ads-list-content"> <div> <a href="#"><img width="100%" src="~/Content/images/sjh_zst.gif" /></a> </div> @Html.Action("recomzs", "Shared", new { code = ViewBag.code, type = "kjh" }) </div> </section> @Html.Action("recomzxBytype", "Shared", new { type = ViewBag.code }) </section> </section> </section> </section> </div> @Html.Action("footer", "Shared") <script src="~/Content/js/common.js" type="text/javascript" charset="utf-8"></script> <script src="~/Content/js/common/public.js" type="text/javascript" charset="utf-8"></script> @*<script src="~/Content/tools/libs/layer/layer.js"></script>*@ <script src="~/Content/js/kjh.js" type="text/javascript" charset="utf-8"></script> @*<script src="~/public/css/libs/less.min.js"></script>*@ <script> function redictPage(type) { if (type != '@(ViewBag.code)') { if (type == 'fc3d') { window.location.href = '/kjh/fc3d.html'; } else if (type == 'ssq') { window.location.href = '/kjh/ssq.html'; } else if (type == 'dlt') { window.location.href = '/kjh/dlt.html'; } else { window.location.href = '/kjh/pl3.html'; } } } </script> </body> </html>