@extends('vip.layouts')
@section('content')
    <style>
        .layui-laydate-range {
            width: auto;
        }
    </style>
    <!---注单管理-->
    <div class="layui-row">

        <!-- <div class="layui-col-xs12 layui-col-sm2 layui-col-md2">
            <ul id="tree" class="tree-table-tree-box"></ul>
        </div>-->
        <div class="layui-col-xs12 layui-col-sm12 layui-col-md12">

            <form class="layui-form rewrite" eventType="eventForm" action="">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">{{ trans('notice.title') }}</label>
                        <div class="layui-input-inline">
                            <input type="text" name="title" id="title" eventType="event-query"  value="{{ $title }}" lay-verify="required" autocomplete="off"
                                   class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">{{ trans('notice.type') }}</label>
                        <div class="layui-input-inline">
                            <select name="type" id="type" lay-verify="" autocomplete="off" eventType="event-query">
                                <option value="">{{ trans('menu.select_menutype') }}</option>
                                @foreach(trans('status.article.type') as $k=>$v):
                                <option value="{{$k}}" @if($k==$type) selected @endif>{{$v}}</option>
                                @endforeach
                            </select>
                        </div>
                    </div>
                    {{--<!--  <div class="layui-inline">
                         <label class="layui-form-label">{{ trans('notice.add_startime') }}</label>
                         <div class="layui-input-inline">
                             <input type="text" name="add_startime" id="add_startime" placeholder=" - " lay-verify=""
                                    autocomplete="off" class="layui-input test-item" value="{{trans('status.default_time.atime')}}" eventType=event-query>
                         </div>
                     </div>
                     <div class="layui-inline">
                         <label class="layui-form-label">{{ trans('notice.add_endtime') }}</label>
                         <div class="layui-input-inline">
                             <input type="text" name="add_endtime" id="add_endtime" placeholder=" - " lay-verify=""
                                    autocomplete="off" class="layui-input test-item" value="{{trans('status.default_time.etime')}}" eventType=event-query>
                         </div>
                     </div> -->--}}
                    <div class="layui-inline">
                        <a class="layui-btn layui-btn-sm lay-btn-diy"  eventType="event-query-submit"
                           style="opacity: 1; pointer-events: auto;">提交</a>
                        <a class="layui-btn   layui-btn-sm  layui-btn-normal reset" data-type="reload"
                           style="opacity: 1; pointer-events: auto;">重置</a>
                        <a class="layui-btn layui-btn-sm layui-btn-green set" data-type="reload"
                           style="opacity: 1; pointer-events: auto;"><i class="layui-icon">ဂ</i></a>
                    </div>
                    @if(checkRriv('/admin/Notice/addNotice'))<div class="layui-inline">
                        <a href="/admin/Notice/addNotice" class="layui-btn layui-btn-sm  ">添加</a>

                    </div>@endif
                    @if(checkRriv('/admin/Notice/delete'))<div class="layui-inline"><a href="javascript:delWin('/admin/Notice/delete?id=');" class="layui-btn layui-btn-sm  layui-btn-danger">删除</a></div>@endif
                </div>
            </form>
        </div>
        @push('dataTableJS')


        @endpush

        @include('vip.datatable')
        <link rel="stylesheet" href="{{ asset('/css/untablelist.css') }}"  />
    </div>
    </div>
    <p>开发中</p>
@endsection
