liuhhtx - 2019/8/1 11:36:17
foreach (var item in Html.InfoDataList(new { ColumnId = 170 }))
{
string url = Html.InfoDataSharedUrl(233, (int)item.Id);
<li class="item clearfix">
<a href="@url" target="_blank">@item.Title</a>
</li>
}
输出结果:
<li class="item clearfix">
<a target="_blank">测试共享数据文章</a>
</li>
v4.07的版本
liuhhtx - 2019/8/1 11:50:41
解决了,原来栏目设置成单面了