_gpc11x5.cshtml 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. @using KJH55128_Rec.ViewModels
  2. @model List<LotteryViewModel>
  3. <table class="table table-bordered table-striped">
  4. <thead>
  5. <tr>
  6. <th scope="col" class="table-headtxt">开奖时间</th>
  7. <th scope="col" class="table-headtxt">期数</th>
  8. <th scope="col" class="table-headtxt">号码</th>
  9. @if (ViewBag.Dispaly)
  10. {
  11. <th scope="col" class="table-headtxt">和值</th><!--仅江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
  12. }
  13. else
  14. {
  15. <!--待处理-->
  16. <th colspan="2" scope="col" class="table-headtxt">和值特征</th><!--无 江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
  17. }
  18. <th scope="col" class="table-headtxt">奇偶比</th><!--all-->
  19. @if (!ViewBag.Dispaly)
  20. {
  21. @*<th scope="col" class="table-headtxt">大小比</th>*@<!--无 江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
  22. <th scope="col" class="table-headtxt">大小形态</th><!--无 江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
  23. }
  24. <th scope="col" class="table-headtxt">跨度</th><!--all-->
  25. @if (ViewBag.Dispaly)
  26. {
  27. <th scope="col" class="table-headtxt">质合比</th><!--仅江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
  28. }
  29. else
  30. {
  31. <th scope="col" class="table-headtxt">012路个数比</th><!--无江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
  32. }
  33. </tr>
  34. </thead>
  35. <tbody>
  36. @if (Model != null && Model.Count > 0)
  37. {
  38. foreach (LotteryViewModel item in Model)
  39. {
  40. <tr>
  41. <td class="td-number">@item.OpenTime</td>
  42. <td class="td-number">@item.Term</td>
  43. @*开奖号码处理*@
  44. <td class="td-number">
  45. @if (item.RedBall != null && item.RedBall.Length > 0)
  46. {
  47. foreach (string ball in item.RedBall)
  48. {
  49. <span class="ball-list red">@ball</span>
  50. }
  51. }
  52. @if (item.BlueBall != null && item.BlueBall.Length > 0)
  53. {
  54. foreach (string ball in item.BlueBall)
  55. {
  56. <span class="ball-list blue">@ball</span>
  57. }
  58. }
  59. </td>
  60. @if (ViewBag.Dispaly)
  61. {
  62. <td class="td-number">@item.hezhi</td><!--仅江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
  63. }
  64. else
  65. {
  66. <!--和值特征 处理-->
  67. <td class="td-number">@item.hezhi</td>
  68. @(int.Parse(item.hezhi) % 2 == 0 ? Html.Raw("<td class='td-number'>双</td>") : Html.Raw("<td class='td-number'>单</td>"))<!--无 江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
  69. }
  70. <td class="td-number">@item.jio</td>
  71. @if (!ViewBag.Dispaly)
  72. {
  73. @*<td class="td-number">@item.daxiao</td>*@<!--无 江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
  74. <td class="td-number">@item.dxxt</td><!--无 江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
  75. }
  76. <td class="td-number">@item.kuadu</td>
  77. @if (ViewBag.Dispaly)
  78. {
  79. <td class="td-number">@item.zihebi</td><!--仅江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
  80. }
  81. else
  82. {
  83. <td class="td-number">@item.zotgsb</td><!--无江苏||黑龙江||广东||河北||辽宁||江西||吉林||山东||云南||浙江-->
  84. }
  85. </tr>
  86. }
  87. }
  88. </tbody>
  89. </table>