<{if isset($max_images) && $max_images > 1}>
<{if isset($existing_images) && $existing_images}> <{foreach from=$existing_images item=image key=index}>
图片<{$index+1}> <{if !isset($readonly) || !$readonly}>
×
<{/if}>
<{/foreach}> <{/if}> <{if (!isset($readonly) || !$readonly) && (!isset($existing_images) || $existing_images|@count < $max_images)}>
+ 添加图片
<{/if}>
已上传 <{if isset($existing_images) && $existing_images}><{$existing_images|count}><{else}>0<{/if}> / <{$max_images}> 张图片
<{else}>
<{if isset($image_src) && $image_src && $image_src != $transparent_gif}> 图片 <{if !isset($readonly) || !$readonly}>
×
<{/if}> <{else}> <{if !isset($readonly) || !$readonly}>
点击上传图片
×
<{else}>
暂无图片
<{/if}> <{/if}>
<{if !isset($readonly) || !$readonly}> <{/if}>
<{/if}>