@using Models @using Common @using KJH55128_Rec.ViewModels @model List 地方彩票开奖结果_开机号_试机号_历史开奖结果_开奖助手 @**@ @**@ @Html.Action("header", "Shared", new { nav = "dfc" })
@Html.Action("lotterynav", "Shared", new { type = "DFC" })
@if (Model != null && Model.Count > 0) { foreach (LotteryData item in Model) {

@item.LotteryName @item.Term 期

开奖时间:@(StringHelper.getKjDesc(item.KJTime))@(item.StartHour.PadLeft(2, '0')):@(item.StartMinute.PadLeft(2, '0'))开奖
距下期开奖仅剩: @item.NextOpenTime
@if (item.LotteryText == "hk6") {//香港彩 if (ViewBag.newBall != null) {
@{ int i = 1;} @foreach (var balls in ViewBag.newBall) { @balls.OpenCode if (i == 6) { + } i++; }
} } else {
@if (item.RedBall != null && item.RedBall.Length > 0) { foreach (string ball in item.RedBall) { @ball } } @if (item.BlueBall != null && item.BlueBall.Length > 0) { foreach (string ball in item.BlueBall) { @ball } }
} @*@if (item.RedBall != null && item.RedBall.Length > 0) { foreach (string ball in item.RedBall) { @ball } } @if (item.BlueBall != null && item.BlueBall.Length > 0) { foreach (string ball in item.BlueBall) { @ball } }*@
@**@ @{ string zsname = "", zsurl = "", gjname = "", gjurl = ""; if (item.Charts != null && item.Charts.Count > 0) { var zs = item.Charts.FirstOrDefault(d => d.Text.Contains("基本")); if (zs == null) { zs = item.Charts[0]; } zsname = zs.Text.Replace(item.LotteryName, ""); zsurl = zs.UrlStr; } }
} }
@Html.Action("recomlot", "Shared") @Html.Action("news", "Shared") @Html.Action("tools", "Shared")
@Html.Action("footer", "Shared") @**@