1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- @using KJH55128_Rec.ViewModels
- @model List<LotteryViewModel>
- <!--共计10个彩种-->
- <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>
- @if (ViewBag.lottery != "GP_QYH_ShanDong")
- {
- <th colspan="2" scope="col" class="table-headtxt">和值特征</th><!--仅山东群英会无-->
- }
- @if (ViewBag.lottery == "GP_QYH_ShanDong")
- {
- <th scope="col" class="table-headtxt">和值</th><!--仅山东群英会-->
- }
- <th scope="col" class="table-headtxt">奇偶比</th>
- @if (ViewBag.lottery != "GP_QYH_ShanDong")
- {
- <th scope="col" class="table-headtxt">大小比</th><!--仅山东群英会无-->
- <th scope="col" class="table-headtxt">大小形态</th><!--仅山东群英会无-->
- }
- <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">@item.OpenTime</td>
- <td class="td-number">@item.Term</td>
- @*开奖号码处理*@
- <td class="td-number">
- @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>
- @if (ViewBag.lottery != "GP_QYH_ShanDong")
- {
- @*和值特征 处理*@
- <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>"))
- }
- @if (ViewBag.lottery == "GP_QYH_ShanDong")
- {
- <td class="td-number">@item.hezhi</td>
- }
- <td class="td-number">@item.jio</td>
- @if (ViewBag.lottery != "GP_QYH_ShanDong")
- {
- <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.zihebi</td>
- </tr>
- }
- }
- </tbody>
- </table>
|