@using JXCMS.CMS.Movie.Entity @using JXCMS.Core.Extensions @model List @{ ViewBag.Title = "分类目录"; Layout = "_Layout"; }
@if (Model.Count == 0) { } @foreach (var classifyEntity in Model) { }
名称 别名 上级分类 视频数量 操作
无数据
@classifyEntity.Name @(classifyEntity.Alias.IsNullOrEmpty() ? "-" : classifyEntity.Alias) @(classifyEntity.Parent == null ? "无" : classifyEntity.Parent.Name) @classifyEntity.Count
    @if (ViewBag.pageNumber != 1) {
  • <<
  • } @for (int i = ViewBag.pageNumber - 3; i < ViewBag.pageNumber + 3; i++) { if (i < 1 || i > ViewBag.totlePage) { continue; } if (i == ViewBag.pageNumber) {
  • @i
  • } else {
  • @i
  • } } @if (ViewBag.pageNumber < ViewBag.totlePage) {
  • >>
  • }
@section style { } @section script { }