@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">ID</h3>

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

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

                    <h3 class="list-group-item-heading">规格名称</h3>

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

                </div>

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

                    <h3 class="list-group-item-heading">所属产品</h3>

                    <p class="list-group-item-text"> {{ $data->catename() }}</p>

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

                    <h3 class="list-group-item-heading">原价</h3>

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

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

                    <h3 class="list-group-item-heading">优惠价</h3>

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

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

                    <h3 class="list-group-item-heading">服务时长</h3>

                    <p class="list-group-item-text"> {{ $data['service_time'] or ''}}</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 class="list-group-item">

                    <h3 class="list-group-item-heading">更新时间</h3>

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

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