{set:$seo_data=array(); $site_config=new Config('site_config');} {set:$seo_data['title'] = $this->catRow['title']?$this->catRow['title']:$this->catRow['name']} {set:$seo_data['title'].="_".$site_config->name} {set:$seo_data['keywords']=$this->catRow['keywords']} {set:$seo_data['description']=$this->catRow['descript']} {set:seo::set($seo_data);} {set:$breadGuide = goods_class::catRecursion($this->catId)}
您当前的位置: 首页{foreach:items=$breadGuide} » {$item['name']}{/foreach}
{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.img,go.sell_price,go.name,go.id,go.market_price,go.description /} {if:$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:$brandList}
品牌:
不限 {foreach:items = $brandList} {$item['name']} {/foreach}
{/if} {query:name=category as ca join=left join attribute as attr on ca.model_id eq attr.model_id where = ca.id in ( $this->childId ) and attr.search eq 1 group = ca.model_id 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:$this->spec} {foreach:items = $this->spec}
{$item['name']}:
不限 {if:$item['type'] == 1} {foreach:items=JSON::decode($item['value']) item = $spec} {$spec} {/foreach} {else:} {foreach:items=JSON::decode($item['value']) item = $spec} {/foreach} {/if}
{/foreach} {/if}
价格:

不限 {set:$goodsPrice = goods_class::getGoodsPrice($this->childId)} {foreach:items=$goodsPrice} {set:$priceZone = explode('-',$item)} {$item} {/foreach}
排序:
    {foreach:items=search_goods::getOrderType()} {set:$next = search_goods::getOrderValue($key)}
  • {$item} 
  • {/foreach}
显示方式:
{set:$goodsObj = search_goods::find(array('category_extend' => $this->childId));$resultData = $goodsObj->find()} {if:$resultData} {set:$listSize = search_goods::getListSize(IFilter::act(IReq::get('show_type')))} {$goodsObj->getPageBar()} {else:}

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

{/if}