2016-11-05 23:15:07 +08:00
|
|
|
@model Menu
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<p>@Model.Name</p>
|
|
|
|
</li>
|
|
|
|
@foreach (var menu in Model.Menus)
|
|
|
|
{
|
2016-11-06 12:28:53 +08:00
|
|
|
<li><a href="@Url.Content(menu.Url)" data-act="@menu.Url.StartsWith("~")"><i class="@menu.Icon"></i><span>@menu.Name</span></a></li>
|
2016-11-05 23:15:07 +08:00
|
|
|
}
|
|
|
|
</ul>
|
|
|
|
|