recomlot.cshtml 720 B

1234567891011121314151617181920
  1. @using KJH55128_Rec.ViewModels
  2. @model List<LotteryItems>
  3. <section class="ads-section">
  4. <div class="ads-list-title">
  5. <div class="ads-title-lable">推荐彩种</div>
  6. </div>
  7. <div class="ads-list-content row">
  8. @if (Model != null && Model.Count > 0)
  9. {
  10. foreach (LotteryItems item in Model)
  11. {
  12. <a class="col-xs-4 hot-lottery-list" href="/kjxq/@(item.ItemValue.Split('_')[0].ToLower())-@(item.SimpleSpelling.ToLower()).html" target="_blank">
  13. <span class="iconfont icon-@(item.ItemValue)"></span>
  14. <span class="icon-lable">@item.ItemName</span>
  15. </a>
  16. }
  17. }
  18. </div>
  19. </section>