|
@@ -45,7 +45,7 @@ class DistVideoController extends AdminDistController
|
|
|
$grid->column('id')->display(function () {
|
|
|
return $this->_index+1;
|
|
|
});
|
|
|
- $grid->column('title');
|
|
|
+ $grid->column('title')->width('30%');
|
|
|
$grid->column('dist_video_category.name',admin_trans_label('category_name'));
|
|
|
$grid->column('cover_image')->display(function ($image) {
|
|
|
// 开始生成 HTML
|
|
@@ -83,7 +83,7 @@ class DistVideoController extends AdminDistController
|
|
|
protected function detail($id)
|
|
|
{
|
|
|
return Show::make($id, DistVideo::with(['distVideoCategory']), function (Show $show) {
|
|
|
- $show->field('title')->width('30%');
|
|
|
+ $show->field('title');
|
|
|
$show->field('dist_video_category.name',admin_trans_label('category_name'));
|
|
|
$show->field('cover_image')->as(function ($image) {
|
|
|
// 开始生成 HTML
|