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

@item.LotteryName @item.Term 期

开奖时间:@(StringHelper.getKjDesc(item.KJTime))@(item.StartHour):@(item.StartMinute)开奖
距下期开奖仅剩: @item.NextOpenTime
@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; var gj = item.Charts.FirstOrDefault(d => d.Text.Contains("缩水")); if (gj == null) { gj = item.Charts[item.Charts.Count - 1]; } gjname = gj.Text.Replace(item.LotteryName, "").ToString().Trim(); gjurl = gj.UrlStr; } }
} }
@Html.Action("recomlot", "Shared") @Html.Action("news", "Shared") @Html.Action("tools", "Shared")
@Html.Action("footer", "Shared") @**@