@using GBLab.Common.Expand;
@using System.Text;
@{
    var leftMenu = ViewData["leftMenu"] as List<GBLab.Entities.SiteNodes>;
    StringBuilder sb = new StringBuilder();
    int count = 0;
}
<div class="container-right-head">功能导航</div>
<div class="container-right-info col-xs-12 col-md-12">
    @{
        sb.Clear();
        count = 0;
        if (leftMenu != null)
        {
            foreach (var item in leftMenu)
            {
                count++;
                sb.AppendFormat(@"
<div class='col-xs-12 col-sm-6 col-md-12 {2}'>
<a href='{0}'>{1}</a>
</div>"
        , GBLab.Entities.T_CmsNode.ChangeToUrl(item.node)
        , item.node.F_Name
        , count == leftMenu.Count ? "endline" : ""
        );
            }
        }
    }
    @Html.Raw(sb.ToString())
</div>
