@extends('admin.public.base') @section('body_class') style="margin: 0 auto;width: 96%;padding: 30px 0px;" @endsection @section('content') @if(check_auth('admin/riddle_answer/add')) @endif
重置
@foreach ($list as $a) @endforeach
ID 题目 题目选项 是否答案 修改时间 操作
{{$a['id']}} @foreach ($questionList as $value) @if( $value['id'] == $a['question_id'] ) {{$value['title']}} @endif @endforeach {{$a['value']}} @if( $a['is_answer'] ) 是 @else 否 @endif {{date('Y/m/d H:i:s',$a['update_time'])}} @if(check_auth('admin/riddle_answer/edit')) 编辑 @endif @if(check_auth('admin/riddle_answer/set_answer')) @if( !$a['is_answer'] ) 设为答案 @endif @endif
{{$list->render()}}
总计 {{$list->total()}} 个题目
@endsection