{php} use app\service\Image as CImage; use app\model\Category as VCategory; {/php} {layout name="manager/layout" /}
| {if $category.id!=5} | 封面{/if} | 手机封面 | 标题 | 创建日期 | 排序{if !empty($attributeList)} | 属性{/if} | 状态{if $category.id == 39} | 活动预告{/if} {if $category.id == 40} | 推荐{/if} | 操作{foreach name="list" item="item"} | 
| {if $category.id!=5} | {if !empty($item['src']) && file_exists('.' . $item['src'])}{/if} | {if !empty($item['src_mobile']) && file_exists('.' . $item['src_mobile'])} | {$item.title} | {$item.create_time|date='Y-m-d'} | {$item.sort}{if !empty($attributeList)} | {$item.top == 1 ? '置顶 ' : ''}{$item.hot == 1 ? '热门 ' : ''}{$item.recommend == 1 ? '推荐 ' : ''}{/if} | {$item.status ? '正常':'隐藏'}{if $category.id == 39} | {$item.is_prev == 1 ? '是' : '否'}{/if} {if $category.id == 40} | {$item.recommend == 1 ? '是' : '否'}{/if} |