hotlottery.cshtml 924 B

123456789101112131415161718192021222324
  1. @using KJH55128_Rec.ViewModels
  2. @model List<LotteryItems>
  3. <section class="hot-lottery-wrapper">
  4. <h1><span class="hot-lottery-title">
  5. 热门彩种
  6. <span class="iconfont icon-hot"></span>
  7. <span class="lot-more">查看更多<span class="iconfont icon-arrowdown"><span></span>
  8. </span>
  9. </h1>
  10. <div class="hot-lottery-content row">
  11. @if (Model != null && Model.Count > 0)
  12. {
  13. foreach (LotteryItems item in Model)
  14. {
  15. <a class="hot-lottery-list col-xs-3 col-sm-1d5" href="/@(item.ItemValue.Split('_')[0].ToLower()=="gpc"?"kjls":"kjxq")/@(item.ItemValue.Split('_')[0].ToLower())-@(item.SimpleSpelling.ToLower()).html" target="_blank">
  16. <span class="iconfont icon-@(item.ItemValue)"></span>
  17. <span class="icon-lable">@item.ItemName</span>
  18. </a>
  19. }
  20. }
  21. </div>
  22. </section>