@model COMCMS.Core.Category @{ ViewBag.title = Model.KindName; ViewBag.keywords = Model.Keyword; ViewBag.description = Model.Description; //获取同级分类 IList sameList = Category.FindAll(Category._.PId == 0, Category._.Rank.Asc(), null, 0, 0); }
    @foreach (Product p in ViewBag.list) {
  • @p.Title
    @p.Title
  • }
@Html.Raw(Pages.GetPageStr(ViewBag.pagesize, (int)ViewBag.totalCount, ViewBag.page, $"/Product/Index/{Model.Id}" + "?page={0}", 99, 10, ""))