{T "content","head",TPLID}
{php $filterurl_config = get_config('filterurl_config','tuan');}
<!-- -------------------------------- -->
<!--wuzhi-shaixuan-->
<!-- -------------------------------- -->
<?php //print_r($sub_categorys);?>
<div class="wuzhi-shaixuan">
    <div class="container">
        <div class="row">
            <div class="col-xs-12">
                <dl>
                    <dt>类别</dt>
                    <dd>
                        <a class="{if $variables['space']==0}active{/if}" href="{filterurl('tuan','cid',$cid)}">全部</a>
                        {loop $sub_categorys $_k $_v}
                        <a class="{if $variables['cid']==$_k}active{/if}" href="{filterurl('tuan','cid',$_k)}">{$_v['name']}</a>
                        {/loop}
                    </dd>
                </dl>
                <dl>
                    <dt>价位</dt>
                    <dd>
                        <a class="{if $variables['price']==0}active{/if}" href="{filterurl('tuan','price',0)}">全部</a>
                        {loop $filterurl_config['price'] $_k $_v}
                        <a class="{if $variables['price']==$_k}active{/if}" href="{filterurl('tuan','price',$_k)}">{$_v['name']}</a>
                        {/loop}
                    </dd>
                </dl>
                <dl>
                    <dt>排序</dt>
                    <dd>
                        {loop $filterurl_config['order'] $_k $_v}
                        <a class="{if $variables['order']==$_k}active{/if}" href="{filterurl('tuan','order',$_k)}">{$_v['name']}</a>
                        {/loop}
                    </dd>
                </dl>
            </div>
        </div>
    </div>
</div>


<div class="tuangou-one-screen">
    <div class="container">
        <div class="lm-title margin_bottom15">
            <h3 class="lm-title-left">特惠推荐 <span class="fubiaoti color_777 font_size12 margin_left10">低价优惠 该出手了 </span></h3>
        </div>
        {block=26}
    </div>
</div>
{loop $sub_categorys $_k $_v}
<div class="tuangou-{if ($i%2)}one{else}second{/if}-screen">
    <div class="container">

        <div class="lm-title margin_bottom15">
            <h3 class="lm-title-left">{$_v['name']} <span class="fubiaoti margin_left10" style="color: #777777">精选品牌  优质多多</span></h3>
            <a href="{$_v['url']}" class="lm-title-right">查看更多 <span class="glyphicon glyphicon-circle-arrow-right"
                                                         aria-hidden="true" style="font-size: smaller"></span></a>
        </div>
        <div class="row">
            {wz:content action="listing" pagesize="8" cid="$_k" where="$where" page="$page" order="$orderby" urlrule="$_POST['page_urlrule']" variables="$variables" modelid="$modelid"}
            {loop $rs $r}
            <div class="col-xs-3">
                <div class="thumbnail">
                    <div class="pic_Control_g">
                        <a href="{$r['url']}"><img src="{$r['thumb']}" alt="..."></a>
                    </div>
                    <div class="caption">
                        <h4 class="manhangyichu"><a href="{$r['url']}">{$r['title']}</a></h4>
                        <div class="price-and-pingjia">
                            <div class="p-a-p-price">￥{$r['price']} </div>
                            <div class="p-a-p-pingjia" style="padding-top: 12px">
                                <del class="color_999  font_size14">￥{$r['iprice']}</del>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            {/loop}
            {/wz}
        </div>
    </div>
</div>
{$i++}
{/loop}
{T "content","foot",TPLID}
