{php} use app\service\Image as CImage; use app\model\Category as VCategory; {/php} {layout name="manager/layout" /}
{php} if(!VCategory::hasChildren($category['id'])):{/php} 添加内容 {php}endif;{/php}

{if !in_array($category.id, [5, 37])} {/if} {if !in_array($category.id, [42, 37])} {/if} {if in_array($category.id, [37])} {/if} {if !empty($attributeList)} {/if} {if !in_array($category.id, [5, 37, 38])} {/if} {if !in_array($category.id, [42, 37, 38])} {/if} {switch $category.id} {case 37}{/case} {default /} {/switch} {if in_array($category.id, [37])} {/if} {if !empty($attributeList)} {/if} {if $category.id == 39} {/if} {foreach name="list" item="item"} {if !in_array($category.id, [5, 37, 38])} {/if} {if !in_array($category.id, [42, 37, 38])} {/if} {if in_array($category.id, [37])} {/if} {if !empty($attributeList)} {/if} {if $category.id == 39} {/if} {/foreach}
封面手机封面年份标题月份 创建日期 排序属性状态活动预告操作
{if !empty($item['src']) && file_exists('.' . $item['src'])} {/if} {if !empty($item['src_mobile']) && file_exists('.' . $item['src_mobile'])} {/if} {$item.title}{$item.sub_title} {$item.create_time|date='Y-m-d'} {$item.sort}{$item.top == 1 ? '置顶 ' : ''}{$item.hot == 1 ? '热门 ' : ''}{$item.recommend == 1 ? '推荐 ' : ''} {$item.status ? '正常':'隐藏'} {$item.is_prev == 1 ? '是' : '否'}
{if !empty($attributeList)} 属性 {/if} 向上 向下 编辑 删除
{$list->render()|raw}