信仰
'rowOptions' => function($model, $key, $index, $grid) {
return ['class' => $index % 2 ==0 ? 'label-red' : 'label-green']; },
这个好像没有什么效果啊!!!