1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- @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>
- @if (ViewBag.Dispaly)
- {
- <th scope="col" class="table-headtxt">和值</th><!--仅江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
- }
- else
- {
- <!--待处理-->
- <th colspan="2" scope="col" class="table-headtxt">和值特征</th><!--无 江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
- }
- <th scope="col" class="table-headtxt">奇偶比</th><!--all-->
- @if (!ViewBag.Dispaly)
- {
- @*<th scope="col" class="table-headtxt">大小比</th>*@<!--无 江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
- <th scope="col" class="table-headtxt">大小形态</th><!--无 江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
- }
- <th scope="col" class="table-headtxt">跨度</th><!--all-->
- @if (ViewBag.Dispaly)
- {
- <th scope="col" class="table-headtxt">质合比</th><!--仅江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
- }
- else
- {
- <th scope="col" class="table-headtxt">012路个数比</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.Dispaly)
- {
- <td class="td-number">@item.hezhi</td><!--仅江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
- }
- else
- {
- <!--和值特征 处理-->
- <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>
- @if (!ViewBag.Dispaly)
- {
- @*<td class="td-number">@item.daxiao</td>*@<!--无 江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
- <td class="td-number">@item.dxxt</td><!--无 江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
- }
- <td class="td-number">@item.kuadu</td>
- @if (ViewBag.Dispaly)
- {
- <td class="td-number">@item.zihebi</td><!--仅江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
- }
- else
- {
- <td class="td-number">@item.zotgsb</td><!--无江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
- }
- </tr>
- }
- }
- </tbody>
- </table>
|