net_beian/Views/Default/WXL.cshtml
(完整代码) 2KB@using net_beian.Models.comm
@using PagedList
@using PagedList.Mvc
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Language" content="zh-CN"/>
<link href="@Url.Content("~/content/PagedList.css")" rel="stylesheet" />
<title>@ViewBag.catetitle</title>
<style>
body,div,h1,h2,h3,h4,h5,h6,p,img,ul,ol,li,form{margin:0;padding:0;}
body{font-family:微软雅黑,宋体,Arial,Helvetica;font-size:12px;background:#fff}
ul,ol,li{list-style-type:none;}
a,a:hover{text-decoration:none;}
img{border:none;}
.content_left{
margin-top: 10px;
}
.content_left .title{height:33px;line-height:34px;background:url(@Url.Content("~/content/default/images/titlecontent.jpg"));font-size:14px;color:#de3237;padding-left:30px;}
.content_left .title a{color:#de3237;}
/*内容列表*/
.content_left .tlist .hengxian{background:none;}
.content_left .tlist{border: 1px solid #dfdfdf;border-top:none;padding:15px 0;}
.content_left .tlist li{position:relative; padding:5px 0 5px 18px; background:url(@Url.Content("~/content/default/images/dot11.png")) 10px center no-repeat; border-bottom:1px dotted #dfdfdf; font-size:10.5pt;}
.content_left .tlist li a{color:#1f1f1f; font-size:10.5pt;}
.content_left .tlist li a:hover{color:#ff0000;text-decoration: underline;}
.content_left .tlist li .date{position:absolute; top:6px; right:0px; color:#7D7D7D;}
.content_left .tlist .intop {color:#f00; font-size:10.5pt;}
</style>
</head>
<body>
<div class="content_left">
<ul class="tlist">
@{
var i = 1;
foreach (var item in ViewBag.infoList)
{
var ntitle = @item.shorttitle ?? @item.title;
ntitle=ntitle.Replace("<BR>", "").Replace("<br>", "");
var nl = ntitle.Length;
nl = nl > 40 ? 40 : nl;
ntitle = ntitle.Substring(0, nl);
var classname = item.IsIntop ? "class=intop" : "";
<li><a @classname href='@Url.Content("~/Default/WXC")/@item.InformationId' target="_blank" title="@item.title">@ntitle</a>(@item.CreateTime.ToString("yyyy-MM-dd"))</li>
if (i % 5 == 0 && i != ViewBag.infoList.Count)
{
<li class="hengxian"></li>
}
i++;
}
}
</ul>
@Html.PagedListPager((IPagedList)ViewBag.infoList, p => Url.Action("WXL", new { page = p, keyword = ViewBag.kword, cateid = ViewBag.cateid }))
</div>
</body>
</html>
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
