diff --git a/view/manager/article/add.html b/view/manager/article/add.html index 0f42bc6..d559f00 100755 --- a/view/manager/article/add.html +++ b/view/manager/article/add.html @@ -45,14 +45,27 @@ --> {if !(in_array($category['id'],[4,5,7,9,10]))}
- {if $category.id!=5} + {if !in_array($category.id, [5, 37])} | 封面 | {/if} - {if $category.id!=42} + {if !in_array($category.id, [42, 37])}手机封面 | {/if} -标题 | + {switch $category.id} + {case 37}年份 | {/case} + {default /}标题 | + {/switch} + {if in_array($category.id, [37])} +月份 | + {/if}创建日期 | 排序 | @@ -97,14 +106,14 @@ use app\model\Category as VCategory; {foreach name="list" item="item"}
- {if $category.id!=5} + {if !in_array($category.id, [5, 37])} | {if !empty($item['src']) && file_exists('.' . $item['src'])} {/if} | {/if} - {if $category.id!=42} + {if !in_array($category.id, [42, 37])}{if !empty($item['src_mobile']) && file_exists('.' . $item['src_mobile'])} @@ -112,7 +121,10 @@ use app\model\Category as VCategory; | {/if}{$item.title} | - + {if in_array($category.id, [37])} +{$item.sub_title} | + {/if} +{$item.create_time|date='Y-m-d'} | {$item.sort} | {if !empty($attributeList)} diff --git a/view/manager/widget/multi.html b/view/manager/widget/multi.html index e1975a1..a17fec5 100755 --- a/view/manager/widget/multi.html +++ b/view/manager/widget/multi.html @@ -1,7 +1,7 @@ {php} use app\service\Image as WImage; {/php} -