You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
821 B

  1. <?php
  2. use yii\helpers\Html;
  3. use iron\grid\GridView;
  4. /* @var $this yii\web\View */
  5. /* @var $searchModel backend\modules\shop\models\searchs\CommentSearch */
  6. /* @var $dataProvider yii\data\ActiveDataProvider */
  7. $this->title = '评论';
  8. $this->params['breadcrumbs'][] = $this->title;
  9. ?>
  10. <div class="row">
  11. <div class="col-12">
  12. <?= GridView::widget([
  13. 'dataProvider' => $dataProvider,
  14. 'filter' => $this->render("_search", ['model' => $searchModel]),
  15. 'batch' => [
  16. [
  17. "label" => "删除",
  18. "url" => "comment/deletes"
  19. ],
  20. ],
  21. 'columns' => $columns,
  22. 'batchTemplate' => '',
  23. 'create' => '',
  24. 'export' => '',
  25. ]);
  26. ?>
  27. </div>
  28. </div>