123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <!--地方彩共计33个彩种-->
- @using KJH55128_Rec.ViewModels
- @model List<LotteryViewModel>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th scope="col" class="table-headtxt">开奖时间</th>
- <th scope="col" class="table-headtxt">期数</th>
- <th scope="col" class="table-headtxt">号码</th>
- <!--和值特征 处理-->
- <th colspan="2" scope="col" class="table-headtxt">和值特征</th>
- <th scope="col" class="table-headtxt">奇偶比</th>
- <th scope="col" class="table-headtxt">奇偶形态</th>
- @if (ViewBag.lottery == "DF_HD15x5")
- {
- <th scope="col" class="table-headtxt">大小比</th><!--仅华东15x5-->
- <th scope="col" class="table-headtxt">大小形态</th><!--仅华东15x5-->
- <th scope="col" class="table-headtxt">跨度</th><!--仅华东15x5-->
- <th scope="col" class="table-headtxt">012路个数比</th><!--仅华东15x5-->
- <th scope="col" class="table-headtxt">三区比</th><!--仅华东15x5-->
- <th scope="col" class="table-headtxt">AC值</th><!--仅华东15x5-->
- }
- <th scope="col" class="table-headtxt">其他</th>
- @*<th scope="col" class="table-headtxt">走势图</th>*@
- </tr>
- </thead>
- <tbody>
- @if (Model != null && Model.Count > 0)
- {
- foreach (LotteryViewModel item in Model)
- {
- <tr>
- <td class="td-number">@string.Format("{0:yyyy-MM-dd}", Convert.ToDateTime(item.OpenTime))</td>
- @*<td class="td-number">@item.OpenTime</td>*@
- <td class="td-number">@item.Term</td>
- @*开奖号码处理*@
- <td class="td-number">
- @if (ViewBag.lottery == "DF_SMHLHC_HongKong")
- {
- <div>
- @{int i = 1;}
- @foreach (var balls in item.HKBall)
- {
- <span class="ball-list @(balls.LotteryAttrItem.BoSeType.ToString().ToLower())">@balls.OpenCode</span>
- if (i == 6)
- {
- <span class="ball-list-newfont gray">+</span>
- }
- i++;
- }
- </div>
- <div>
- @{ i = 1;}
- @foreach (var balls in item.HKBall)
- {
- <span class="ball-list-new">@(balls.LotteryAttrItem.ShengXiao)</span>
- if (i == 6)
- {
- <span class="ball-list-new gray"></span>
- }
- i++;
- }
- </div>
- <div>
- @{ i = 1;}
- @foreach (var balls in item.HKBall)
- {
- <span class="ball-list-new">@(balls.LotteryAttrItem.WuXing)</span>
- if (i == 6)
- {
- <span class="ball-list-new gray"></span>
- }
- i++;
- }
- </div>
-
- }
- else
- {
- if (item.RedBall != null && item.RedBall.Length > 0)
- {
- foreach (string ball in item.RedBall)
- {
- <span class="ball-list red">@ball</span>
- }
- }
- if (item.BlueBall != null && item.BlueBall.Length > 0)
- {
- foreach (string ball in item.BlueBall)
- {
- <span class="ball-list blue">@ball</span>
- }
- }
- }
- </td>
- @*和值特征 处理*@
- <td class="td-number">@item.hezhi</td>
- @(int.Parse(item.hezhi) % 2 == 0 ? Html.Raw("<td class='td-number'>双</td>") : Html.Raw("<td class='td-number'>单</td>"))
- <td class="td-number">@item.jio</td>
- <td class="td-number">@item.jioxt</td>
- @if (ViewBag.lottery == "DF_HD15x5")
- {
- <td class="td-number">@item.daxiao</td>
- <td class="td-number">@item.dxxt</td>
- <td class="td-number">@item.kuadu</td>
- <td class="td-number">@item.zotgsb</td>
- <td class="td-number">@item.sanqu</td>
- <td class="td-number">@item.zihebi</td>
- }
- <td class="td-number">
- <a href="/kjxq/qgc-@(item.LotteryText)-@(item.Term).html" target="_blank" style="font-weight:bold;">详情</a>
- <a href="@(string.IsNullOrWhiteSpace(ViewBag.zsSrc)?"http://www.55128.cn/zs/":"http://www.55128.cn"+ViewBag.zsSrc)" target="_blank" style="font-weight:bold;color:blue;">走势图</a>
- </td>
- @*<td class="td-number"><a href="@(string.IsNullOrWhiteSpace(ViewBag.zsSrc)?"http://www.55128.cn/zs/":"http://www.55128.cn"+ViewBag.zsSrc)" target="_blank" style="font-weight:bold;">走势图</a></td>*@
- </tr>
- }
- }
- </tbody>
- </table>
|