{include file="head.html"}
{include file="header.html"}
{include file="inc/show_breadcrumb.html"}

{get data=imgsdata model=imgs fun=get('product',"$data.id")} {if $imgsdata} {foreach item=c from=$imgsdata}
{/foreach} {else}
{/if}

### {$data.title}

{$data.description}
{get data=kslist model=product_ks fun=getTitle("$data.id")} {if $kslist}
颜色款式：
{foreach item=c from=$kslist}
{$c.title}
{/foreach}
尺寸大小：
{foreach item=c from=$kslist}
{$c.size}
{/foreach}
{/if}

#### 购买数量 件`库存{$data.total_num}件`

#####

- 商品详情
- 商品评论
- 相关商品

{$data.content}
{include file="comment/inc_common.html"}
{api data=t_c control=productapi fun=getByIds("$data.product_ids")}
{foreach item=c from=$t_c}

{$c.title}
￥{$c.price}
{/foreach}
{include file="footer.html"}