net_beian/Views/Default/friendLinkPartial.cshtml
(完整代码) 540B@model IEnumerable<net_beian.Models.CMS.FriendLink>
@{
int? titleLength =(int?) ViewData["titleLength"];//标题长度(字符串的个数)
}
@foreach (var item in Model)
{
var title = item.Title;
title = title.Replace("<BR>", "");
var sourcetitle = title;
var img = "";
if (titleLength != null && title.Length > titleLength)
{
title = title.Substring(0, (int) titleLength - 4) + "…";
}
<li><a href="@item.Url" title="@sourcetitle" target="_blank">@title</a></li>
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
