{if $c.input_type eq 2}
增加
{if $attr[$c.id]} {foreach item=a_c key=k from=$attr[$c[id]][value]}
价格:
{/foreach} {else}
价格:
{/if}
{else} {/if}