@if(empty($messages))
    <div class="empty">
        暂无消息
    </div>
@else
    @foreach($messages as $message)
        <div class="item">
            <a class="remove" href="javascript:;" data-ajax-request-loading data-ajax-request="/member/message_delete/{{$message['id']}}" data-uk-tooltip title="删除">
                <i class="uk-icon-trash"></i>
            </a>
            <div class="html">
                {!! $message['content'] !!}
            </div>
            <div class="time">
                <i class="uk-icon-clock-o"></i>
                <time datetime="{{$message['createTime']}}"></time>
            </div>
        </div>
    @endforeach
@endif