| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 | @extends('admin/layout')@section('content')    <body class="gray-bg">    <div class="wrapper wrapper-content animated fadeInRight">        <div class="row">            <div class="col-sm-12">                <div class="ibox float-e-margins">                    <div class="ibox-content">                        <div class="table-responsive">                            <table id="table" class="table table-condensed" data-mobile-responsive="true"></table>                        </div>                    </div>                </div>            </div>        </div>    </div>    </body>@endsection@section('footer')    <script src="{{asset('js/plugins/layDate-v5.0.9/laydate/laydate.js')}}"></script>    <script>        var units = {            getIdsBySelections: function () {                var selections = $("#table").bootstrapTable('getSelections');                var ids = [];                $.each(selections, function (inx, val) {                    ids.push(val.id);                });                return ids;            },        };        var config = {};        config.url = '/admin/sites/' + "{{$siteId}}" + '/keyword';        config.columns = [ //字段            {                title: '序号', align: 'center', formatter: function (value, item, index) {                    return index + 1;                }            },            {title: '项目名称', field: 'project_name', align: 'center'},           {title: '项目状态', field: 'project_status_text', align: 'center'},           {title: '中文关键词', field: 'chinese_keyword', align: 'center'},           {title: '英文关键词', field: 'keyword', align: 'center'},            {title: 'google_rank', field: 'google_rank', align: 'center'},            {title: 'resules', field: 'resules', align: 'center'},           {title: '数据同步时间', field: 'time', align: 'center'},           {title: '下次同步时间', field: 'next_time', align: 'center'},           {title: '排名系统', field: 'number_title', align: 'center'},        ];        tips.bootstrapTable(config);        config.onLoadSuccess = function (data) {             $("#sum_total").text(data.sum_total);        };        laydate.render({            elem: '#start_at', //指定元素            type: 'datetime'        });        laydate.render({            elem: '#end_at', //指定元素            type: 'datetime'        });    </script>@endsection
 |