{php} use app\service\Image as CImage; {/php} {layout name="manager/layout" /} {if isset($history) && count($history) > 0}
| 事例标题 | 图组 | 状态 | 操作 | 
| {$item.title} | {if !empty($item.imgs)}
                    {php} $imgArr = json_decode($item['imgs'], true);{/php}
                    {if !empty($imgArr)}
                    {foreach $imgArr as $img} | {:$item.visible == 0 ? '隐藏' : '正常'} | 向上 向下 编辑 删除 |