<div class="container margin-top-20">
<p class="ma-title">MAIN CATEGORIES</p>
<ul class="categortes imgae-same-size">
@foreach (var item in Html.InfoDataList(new { ColumnIds="243,247",ShowNumber = 8, IsGood = "1" }))
{
string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
<li class="col-sm-3 text-center margin-bottom-20">
<a href="@url" class="margin-bottom-20" style="display:block;">
<img src="@item.Thumbnail" alt="@item.Title" />
</a>
<a href="@url" class="margin-top-10 home-jtan-title font-size-12">@(item.Title)</a>
</li>
}
</ul>
</div>
换成ColumnIds的方式也不行,不知道哪错了?