回复 5楼xiyou的帖子<ul>
@foreach (var item in Html.InfoDataList(new { ColumnId = Html.CurrentColumnId() }, null, null, pageInfo))
{
string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
string thumbnail = item.Thumbnail;
string date = item.Thedate.ToString("yyyy-MM");
string date1 = item.Thedate.ToString("dd");
<li>
<div class="demo_01_01"><img src="@thumbnail" width="380" height="220"></div>
<div class="demo_01_02"><h2><a href="@url">@item.Title</a></h2><h3>@item.Introduction......</h3></div>
<div class="demo_01_03"><h2>@date1</h2><h3>@date</h3></div>
</li>
}
</ul>