{set:$seo_data=array(); $site_config=new Config('site_config');$site_config=$site_config->getInfo();} {set:$seo_data['title']= $this->catRow['title']?$this->catRow['title']:$this->catRow['name']} {if:isset($site_config['name'])} {set:$seo_data['title'].="_".$site_config['name']} {/if} {if:$this->catRow['keywords']!=""} {set:$seo_data['keywords']=$this->catRow['keywords']} {/if} {if:$this->catRow['descript']!=""} {set:$seo_data['description']=$this->catRow['descript']} {/if} {set:seo::set($seo_data);} {set:$allCatIdArray=array();$catIdArray=array();} {set:$goodsCatTree = block::getCatTree($this->goods_category,$this->catId)}
您当前的位置: 首页 » {$goodsCatTree['name']} {if:$goodsCatTree['id']!=$this->catRow['id']} » {$this->catRow['name']}{/if}
{query:name=commend_goods as co join=left join goods as go on (co.goods_id eq go.id) where=co.commend_id eq 4 and go.category_id in ($this->childId) AND go.id is not null items=$pro_list limit = 6 order = go.sort asc,go.id desc fields=go.list_img,go.sell_price,go.name,go.id,go.market_price,go.description /} {if:!empty($pro_list)}

推荐

    {foreach:items=$pro_list}
  • {$item['name']}

    {$item['name']}{$item['description']}

    ¥{$item['sell_price']} ¥{$item['market_price']}

  • {/foreach}
{/if}
{$this->catRow['name']}
{query:name=brand where = id in (select DISTINCT brand_id from goods where category_id in ( $this->childId )) fields = id,name limit = 10 items = $brandList /} {if:!empty($brandList)}
品牌:
不限 {foreach:items = $brandList} {$item['name']} {/foreach}
{/if} {if:stripos($this->childId,',') === false} {query:name=category as ca join=left join attribute as attr on ca.model_id eq attr.model_id where = ca.id eq $this->childId and attr.search eq 1 fields= attr.name as name,attr.id ,attr.value as value }
{$item['name']}:
不限 {set:$attrVal = explode(',',$item['value']);} {foreach:items=$attrVal item=$attr} {$attr} {/foreach}
{/query} {if:!empty($this->spec)} {foreach:items = $this->spec}
{$item['name']}:
不限 {if:$item['type'] == 1} {foreach:items=unserialize($item['value']) item = $spec} {$spec} {/foreach} {else:} {foreach:items=unserialize($item['value']) item = $spec} {/foreach} {/if}
{/foreach} {/if} {/if}
价格:

不限 {set:$goodsPrice = site::getGoodsPrice($this->childId)} {foreach:items=$goodsPrice} {set:$priceZone = explode('-',$item)} {$item} {/foreach}
排序:
    {foreach:items=$this->orderArray} {if:$this->order == $key} {set:$next = $key.'_toggle';$tip = 'desc';} {else:} {set:$next = $key;$tip = '';} {/if}
  • {$item} 
  • {/foreach}
显示方式:
{if:!empty($this->resultData)}
{$this->goodsObj->getPageBar()}
{else:}

对不起,没有找到相关商品

{/if}