{include="style"}
{include="header"}
{if($jz['pictures'])} {php $pictures = explode('||',$jz['pictures'])/} {foreach $pictures as $v} {php $pic = explode('|',$v);/} {/foreach} {else} {/if}

### {$jz['title']}

{if($jz['tags'])} {foreach explode(',',$jz['tags']) as $v} {if($v)}{$v}{/if} {/foreach} {/if}

￥{$jz['price']} {if(checkCollect($type['id'],$jz['id']))} {else} {/if} {if(checkLikes($type['id'],$jz['id']))} {else} {/if}

参数 | 值
--- | ---
{foreach jz_show_fields($jz,'color,lx,hy') as $v}
{$v['title']} | {$v['data']}
{/foreach}

库存：{$jz['stock_num']} 件

{$jz['description']}
{$type['classname']}
{if(!$jz['member_id'])} 发布者 {fun adminInfo($jz['userid'],'name')} {else} 发布者 {fun memberInfo($jz['member_id'],'username')} {/if}
{fun date('Y-m-d H:i:s',$jz['addtime'])} 热度 {$jz['hits']}
{$jz['body']}
{if($aprev)} 上一篇：{$aprev['title']} {/if} {if($anext)} 下一篇：{$anext['title']} {/if}

### 相关商品

{loop table="product" notempty="litpic" tid="$jz['tid']" isshow="1" isall="1" orderby="rand()" limit="3" as="v"}
作者 {fun adminInfo($v['userid'],'name')}

### {$v['title']}

￥ {$v['price']}

{fun date('Y-m-d',$v['addtime'])} 热度 {$v['hits']}
{/loop}
{include="comment"}
{include="footer"} {include="js"}