@{
    //注：本模板为自定义页面模板，不能在栏目中调用。
    int tagId = StringHelper.Format<int>(Html.CustomViewParameter("tagId"));
    dynamic tagData = Html.TagData(tagId);//获取tagid对应的标签数据
    string tagName="";
    if (tagData!= null)
    {
        tagName = tagData.Name;
        ViewBag.Title = tagName; //自定义seo标题
        ViewBag.Path = "/news/tag-" + tagId + "/";//分页文件PagebreakPartial用到。
    }
    int currentPage = StringHelper.Format<int>(Html.CustomViewParameter("page"));
    if (currentPage == 0)
    {
        currentPage = 1;
    }
    PageInfo pageInfo = new PageInfo()
    {
        PageSize = 10,//每页显示10条数据
        CurrentPage = currentPage //当前页码
    };
   var dataList=Html.InfoDataList(new { Table ="article",TagId= tagId},null, null, pageInfo);
}
<div class="container mycontainer padding-top-20 clearFix">
    <div class="rightmain-box float-left padding-right-30">
        <div>
            <ul class="breadcrumb">
                <li><a href="/"><span class="fa fa-home"> 首页</span></a></li>
                <li><a>&gt; @tagName</a></li>
            </ul>
        </div>
         @Html.Partial("ArticleListModel", dataList)
         @Html.Partial("zdyPagebreakPartial", pageInfo)
    </div>
    <div class="leftnav-box float-left">
        @Html.Partial("leftNavPartial")
    </div>
</div>