<?php use yii\helpers\Html; use blobt\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel common\models\searchs\BrandSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Brands'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="row"> <div class="col-xs-12"> <?= GridView::widget([ 'dataProvider' => $dataProvider, 'filter' => $this->render("_search", ['model' => $searchModel]), 'batch' => [ [ "label" => "删除", "url" => "brand/deletes" ], ], 'columns' => $columns ]); ?> </div> </div>