@extends('layouts.baseframe') @section('title', $_title) @section('content')

{{ $_title }}

@include('layouts._search_field', [ 'list' => [ 'name' => ['name' => trans('res.role.field.name'),'type' => 'text'], //'status' => ['name' => '用户状态','type' => 'select','data' => \App\Models\User::$statusMap], 'created_at' => ['name' => trans('res.common.created_at'),'type' => 'datetime'] ] ])
   
@foreach ($data as $item) @endforeach
@lang('res.role.field.name') @lang('res.role.field.description') @lang('res.common.created_at') @lang('res.common.updated_at') @lang('res.common.operate')
{{ $item->name }} {{ $item->description }} {{ $item->created_at }} {{ $item->updated_at }}

@lang('res.common.total') {{ $data->total() }} @lang('res.common.count')

{!! $data->appends($params)->render() !!}
@endsection