{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->goodsCategory,$this->catId)}
您当前的位置: 首页 » {if:isset($goodsCatTree['id'])} {$goodsCatTree['name']} {if:$goodsCatTree['id']!=$this->catRow['id']} » {$this->catRow['name']} {/if}
{/if}
{query:name=category_extend as ca join = left join goods as go on ca.goods_id eq go.id left join commend_goods as co on co.goods_id eq go.id where = ca.category_id in ($this->childId) and co.commend_id eq 4 and go.is_del eq 0 items = $pro_list limit = 6 order = go.sort asc,go.id desc fields= DISTINCT 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= category_extend as ca join = left join goods as go on ca.goods_id eq go.id left join brand as b on b.id eq go.brand_id where = ca.category_id in ( $this->childId ) and go.is_del eq 0 and go.brand_id neq 0 fields = DISTINCT b.id,b.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 = goods_class::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}