@{ Layout = null; } @using Models @model LotteryData @(Model.LotteryName)开奖详情 @**@
@Html.Partial("header2", Model.LotteryName)
@Model.Term期开奖结果
@if (Model.RedBall != null) { foreach (string ball in Model.RedBall) { @ball } } @if (Model.BlueBall != null) { foreach (string ball in Model.BlueBall) { @ball } } @if (Model.LotteryType == "GP_KLPK3_ShanDong" && Model.Details != null && Model.Details.Count > 0) { foreach (LotteryDetail subitem in Model.Details) {
@subitem.Value
} }
@if (Model.Details != null) { foreach (LotteryDetail item in Model.Details) {
@(item.Label):@(item.Value)
} }
@{ string ze = Model.MoneyPond == null ? "0.00":Model.MoneyCount; if(Model.MoneyCount!=null&&Model.MoneyCount.IndexOf(" ")!=-1){ ze = Model.MoneyCount.Replace(" ",""); } }
投注总额:@(string.Format("{0:N2}", ze.IsEmpty()?0: float.Parse(ze)))元
滚动奖池:@(string.IsNullOrWhiteSpace(Model.MoneyPond)? "0.00" : string.Format("{0:N2}", float.Parse(Model.MoneyPond)))元
@if (Model.LotteryName == "双色球"|| Model.LotteryName == "大乐透") {
(目前奖池至少可开出0注1000万大奖)
}
@Model.LotteryName@Model.Term期开奖详情
@if (Model.ResultsList != null) { for (int i = 0; i <= Model.ResultsList.Count - 1; i++) { if ((i+1) % 2 == 0) { } else { } } }
奖项 中奖注数 每注金额(元)
@Model.ResultsList[i].LevelName @Model.ResultsList[i].Count @(string.IsNullOrWhiteSpace(Model.ResultsList[i].Money)? "0.00" : string.Format("{0:N2}", float.Parse(Model.ResultsList[i].Money)))
@Model.ResultsList[i].LevelName @Model.ResultsList[i].Count @(string.IsNullOrWhiteSpace(Model.ResultsList[i].Money) ? "0.00" : string.Format("{0:N2}", float.Parse(Model.ResultsList[i].Money)))