@extends('admin/public/layout') @section('title')分类管理@endsection @section('content') 分类管理 根分类 @foreach($parentCategoies as $parentCategory) @if($parentId == $parentCategory->id) {{ $parentCategory->name }} @else {{ $parentCategory->name }} @endif @endforeach ID 排序 名称 标示 所属栏目 创建时间 {{-- 状态--}} 操作 @foreach($categories as $category) {{ $category->id }} {{ $category->sort }} {{ $category->name }} {{ $category->slug }} {{ $category->type }} {{ $category->created_at }} {{-- {{ trans_common_status($category->status) }} --}} @if( $category->grade < 3 ) 查看 添加 @endif 编辑 @endforeach @endsection @section('script') @endsection