getmore_2onlyrank.html 1.97 KB
<!--如果是美妆会员-->
<if condition="$rank_field">
    <!---如果是秒杀,团购,积分购,拼团--->
    <if condition="($v.prom_type eq 1 || $v.prom_type eq 2 || $v.prom_type eq 4 || $v.prom_type eq 6 )">
         <p><span class="new_price" style="color: #C4182E;">
			 {:getActualPrice2($v)}
		 </span></p>
        <p><del style="font-size: 11px;color: #999;margin-left: 3px">¥{$v.market_price}</del></p>
    <else/>
        <if condition="$v[$rank_field] gt 0"/>
        <p><span class="new_price" >¥{$v[$rank_field]}</span><span style="display: inline-block">
            <i class="rank rank3">
            <img class="s_mz_img2" src="__STATIC__/images/weixin/dj_icon.png"></i>
            </span>
        </p>
        <else/>
           <p><span class="new_price" style="color: #C4182E;">{:getActualPrice2($v)}</span></p>
        </if>
        <p><del style="font-size: 11px;color: #999;margin-left: 3px">¥{$v.market_price}</del></p>
    </if>
<else/>
    <if condition="($v.prom_type eq 1 || $v.prom_type eq 2 || $v.prom_type eq 4 || $v.prom_type eq 6 )">
         <p><span class="new_price" style="color: #C4182E;">
			 {:getActualPrice2($v)}
		 </span></p>
         <p><del style="font-size: 11px;color: #999;margin-left: 3px">¥{$v.market_price}</del></p>
    <else/>
        <if condition="get_card_price($all_card,$v) gt 0">
           <p><span class="new_price" style="color: #C4182E;">{:getActualPrice2($v)}</span><del style="font-size: 10px;color: #999;">¥{$v.market_price}</del></p>
            <p>¥{:get_card_price($all_card,$v)}<span style="display: inline-block">
                <i class="rank rank3">
                <img class="s_mz_img2" src="__STATIC__/images/weixin/dj_icon.png"></i>
                </span>
            </p>
        <else/>
           <p><span class="new_price" style="color: #C4182E;">{:getActualPrice2($v)}</span></p>
           <p><del style="font-size: 11px;color: #999;margin-left: 3px">¥{$v.market_price}</del></p>
        </if>
    </if>
</if>