@using GBLab.Common.Expand;
@using System.Text;
@{
    var top10data = ViewData["top10data"] as List<GBLab.Entities.T_CmsVedio>;
    StringBuilder sb = new StringBuilder();
    int count = 0;
}

<div class="container-right-head bs-info">最新内容</div>
<div class="container-right-info col-xs-12 col-md-12">
    @{
        sb.Clear();
        count = 0;
        if (top10data != null)
        {
            foreach (var item in top10data)
            {
                count++;
                sb.AppendFormat(@"
<div class='col-xs-12 col-sm-6 col-md-12 {2}'>
<a href='{0}'>{1}</a>
</div>"
        , Url.Domain_RouteUrl("Site.CmsVedios.Node.Detail", new { typeId = item.F_TypeId, id = item.F_Id })
        , item.F_Name
        , count == top10data.Count ? "endline" : ""
        );
            }
        }
    }
    @Html.Raw(sb.ToString())
</div>