注意*号为必填选项!
{php} $title = '标题'; $titleNotice = '注:建议60个字符长度以内'; switch ($category['id']) { case 37: $title = '年份'; break; } {/php}
{$titleNotice}
{if in_array($category['id'], [9,10,23,24,25,40,42])}
注:建议60个字符长度以内
{/if} {if !(in_array($category['id'],[4,5,7]))}
{php} $subtitle = '副标题'; $titleNotice = ''; $titleValue = $item['sub_title']; switch ($category['id']) { case 37: $subtitle = '月份'; $titleNotice = '月份必填 不填则默认为1月'; $titleValue = $item['sub_title'] ?: 1; break; } {/php}
{$titleNotice}
{/if} {if !(in_array($category['id'],[5,37]))}
{php} switch ($category['id']) { case 37: $imgSize = '545*200'; break; } {/php} {:widget('manager.upload/image',['src' => $item.src??'', 'imgSize' => $imgSize ?: $coverSize])}
{/if} {if !(in_array($category['id'],[5,37,42]))}
{:widget('manager.upload/image',['src' => $item.src_mobile??'','imgSize' => $mobileCoverSize, 'append' => '_mobile'])}
{/if}
以/开头,完全匹配 需保证全局唯一
{if in_array($category['id'], [39,9,10,23,24,25,37])}
{php} $imgName = 'PC组图'; $pcImgSize = $pcImgSize??''; switch ($category['id']) { case 37: $imgName = '大事记'; $pcImgSize = $pcImgSize ?: '830*500'; break; } {/php}
{:widget('manager.upload/multi',['append' => '_imgs', 'imgs' => $item.imgs??'', 'num' => $item.num??10, 'imgSize' => $pcImgSize, $item['id']??''])}
{/if} {if in_array($category['id'], [39,9,10,23,24,25])}
{:widget('manager.upload/multi',['append' => '_imgs_mobile','imgs' => $item.imgs_mobile??'', 'num' => $item.num??10, 'imgSize' => $mobileImgSize, $item['id']??''])}
{/if} {if in_array($category['id'], [9,10,23,24,42])}
{:widget('manager.upload/multi',['fields' => false,'append' => '_resource', 'imgs' => $item.other_text1??'', 'num' => 50, 'imgSize' => '1360*0px', $item['id']??''])}
{:widget('manager.upload/multi',['append' => '_resource_mobile','imgs' => $item.other_text2??'', 'num' => 50, 'imgSize' => '365*0px', $item['id']??''])}
{/if} {if $allowVideo ?? false}
{:widget('manager.upload/video', ['src' => $item.video ?? ''])}
{/if} {if !isset($allowSummary) || $allowSummary} {if !(in_array($category['id'],[4,5,9,10,6,35,36,42]))}
{if $category['id'] == 37} {elseif $category['id'] == 38} {else /} {/if}
注:建议200字以内 {if $category['id'] == 37} 大事记月份后需使用空格分割 {/if}
{/if} {/if} {if !empty($attributeList)}
请选择
    {foreach $attributeList as $ki => $v}
  • {$v}
  • {/foreach}
{/if}
{if $category['id'] == 39}
{/if} {if $category['id'] == 40}
{/if} {if !(in_array($category['id'],[37,38]))} {if !isset($allowContent) || $allowContent}
{if !(in_array($category['id'],[5]))} {else/} {/if}
{else /}
{if !(in_array($category['id'],[5]))} {else/} {/if}
{/if} {/if} {if $allowTag ?? false}
{/if}
{if isset($otherTextList)} {foreach $otherTextList as $otherTextItem} {if $otherTextItem['type'] == 'textarea'}
{else /}
{/if} {/foreach} {/if} {if !isset($seoRaw) || !$seoRaw}
SEO信息
注:内容字符长度为60
注:内容字符长度为60
{/if}