1.面包屑

<div class="position"><span>您当前的位置:</span><a href="{url:}">首页</a>{foreach:items=$breadGuide} » <a href="{url:/site/pro_list/cat/$item[id]}">{$item['name']}</a>{/foreach} » {$name}</div>

2.商品编号:

{echo:$goods_no?$goods_no:$id}

3.品牌

{if:isset($brand)}品牌:{$brand}{/if}

4.抢购

<!--抢购-->
            {if:$promo == 'time'}
                {if:isset($promotion)}
                <!--抢购正常-->
                <li class="current">
                    <span class="bold red2">抢购价:</span><b class="price red2"><span class="f30">¥</span>{$promotion['award_value']}</b>
                    {query:name=promotion fields=award_value,end_time,user_group where=type eq 1 and `condition` eq $id and NOW() between start_time and end_time}
                    {set:$free_time = ITime::getDiffSec($item['end_time']);}
                    <span class="time" >
                    {/query}
                </li>
                <li>
                    销售价:<span class="price light_gray"><s class="f30">¥<label >
                    立省:¥{echo:abs($sell_price-$promotion['award_value'])}
                </li>
                {else:}
                <!--抢购过期-->
                <li><span class="f30"><img src="{skin:images/front/grab_expir.png}" style="float:right;" name="timeover" /></span></li>
                <li>销售价:<b class="price red2"><span class="f30">{if:$minSellPrice != $maxSellPrice}¥{$minSellPrice} - ¥{$maxSellPrice}{else:}¥{$sell_price}{/if}</span></b></li>
                {/if}
            {/if}
View Code

相关文章: