|
|
|
@ -137,9 +137,11 @@ class GoodsActivityController extends AdminController |
|
|
|
|
|
|
|
$show->width(6)->field('spec')->as(function ($value){ |
|
|
|
$text = ''; |
|
|
|
if(!empty($value) && is_array($value)){ |
|
|
|
foreach ($value as $v){ |
|
|
|
$text .= '【'.$v['spec_key'] .':'.$v['spec_value'].'】 '; |
|
|
|
} |
|
|
|
} |
|
|
|
return $text; |
|
|
|
}); |
|
|
|
// $show->width(6)->field('details_imgs');
|
|
|
|
|