<{foreach from=$page_product_basic.spec.goods key=key item=spec}>
<{$page_product_basic.spec.specification.spec_name.$key}>: <{foreach from=$spec key=item_key item=item}> <{if $item_key==$page_product_basic.spec.product.$key}> <{$item.spec_value}> <{/if}> <{/foreach}>
<{/foreach}>

<{foreach from=$page_product_basic.spec.goods key=key item=spec}>
- <{$page_product_basic.spec.specification.spec_name.$key}>：
  <{foreach from=$spec key=item_key item=item}> <{if $item_key==$page_product_basic.spec.product.$key}> <{$item.spec_value}> <{else}> <{if $item.product_id}> <{$item.spec_value}> <{/if}> <{/if}> <{/foreach}>
<{/foreach}>