@extends('admin.layout')

@section('content')
    <div class="row">
        <div class="ibox-content">
            <div class="list-group">


                <div class="list-group-item">

                    <h3 class="list-group-item-heading">标题</h3>

                    <p class="list-group-item-text"> {{ $data['title'] or ''}}</p>

                </div>
                <div class="list-group-item">

                    <h3 class="list-group-item-heading">封面图</h3>

                    <p class="list-group-item-text"><img style="width: 80px" src="{{ $data['thumb'] or ''}}" alt=""></p>

                </div>

                <div class="list-group-item">

                    <h3 class="list-group-item-heading">内容</h3>

                    <p class="list-group-item-text"> <?php if (isset($data['content'])) {
                            echo htmlspecialchars_decode($data['content']);
                        }?></p>

                </div>

                <div class="list-group-item">

                    <h3 class="list-group-item-heading">添加时间</h3>

                    <p class="list-group-item-text"> {{ $data['created_at'] or ''}}</p>

                </div>

            </div>
        </div>
    </div>
@endsection