@foreach (PageLottery plitem in Model.Item2)
{
@plitem.Name
@foreach (LotteryData item in plitem.Data)
{
@item.LotteryName
第@(item.Term)期
@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.LotteryType == "GP_KLPK3_ShanDong" && item.Details != null && item.Details.Count > 0)
{
foreach (LotteryDetail subitem in item.Details)
{
@subitem.Value
}
}
@*
*@
@{
string moneyPond = "";
if (item.GetType().GetProperty("MoneyPond") != null)
{
moneyPond = item.MoneyPond;
}
}
奖池:@(string.IsNullOrWhiteSpace(moneyPond) ? "0.00" : string.Format("{0:N2}", float.Parse(moneyPond)))元
}
}