网站首页 网站源码
website
站点相关全部源代码,隐藏了一些关于服务器的信息
@model Tuple<IList<VmArticleMini>,IList<VmArticleMini>,IList<string>>
@{
    var tag = Context.Request.Query["tag"];
}
<div class="article-category shadow tags">
    <div class="article-category-title">分类导航</div>
    @foreach (var item in Model.Item3)
    {
        if (tag == item)
        {
            <a asp-controller="Article" asp-action="Index" asp-route-tag="@item" class="tag-this">@item</a>
        }
        else
        {
            <a asp-controller="Article" asp-action="Index" asp-route-tag="@item">@item</a>
        }

    }
    <div class="clear"></div>
</div>
<div class="blog-module shadow">
    <div class="blog-module-title">或许你会喜欢</div>
    <ul class="fa-ul blog-module-ul">
        @foreach (var item in Model.Item1)
        {
            <li>
                <i class="fa-li fa fa-hand-o-right"></i>
                <a asp-action="Read" asp-controller="Article" asp-route-id="@item.Id" data-pjax>@item.Title</a>
            </li>
        }
    </ul>
</div>
<div class="blog-module shadow">
    <div class="blog-module-title">最近文章</div>
    <ul class="fa-ul blog-module-ul">
        @foreach (var item in Model.Item2)
        {
            <li>
                <i class="fa-li fa fa-hand-o-right"></i>
                <a asp-action="Read" asp-controller="Article" asp-route-id="@item.Id" data-pjax>@item.Title</a>
            </li>
        }
    </ul>
</div>

<!--右边悬浮 平板或手机设备显示-->
<div class="category-toggle"><i class="fa fa-chevron-left"></i></div>
loading