{loop $diyitem['data'] $saledata} {if $saledata['type']=='yushou'} {if $goods['ispresell']==1 && ( $goods['preselltimeend'] > time() || $goods['preselltimeend'] == 0)}
预售
{if $goods['preselltimeend'] > 0} 结束时间:{php echo date('m月d日 H:i:s', $goods['preselltimeend'])}
{/if} 预计发货:{if $goods['presellsendtype']>0}购买后{$goods['presellsendtime']}天发货{else}{php echo date('m月d日', $goods['presellsendstatrttime'])}{/if}
{/if} {elseif $saledata['type']=='erci'} {if floatval($goods['buyagain'])>0 && empty($seckillinfo)}
此商品二次购买 可享受 {$goods['buyagain']} 折优惠 {if empty($goods['buyagain_sale'])}
二次购买的时候 不与其他优惠共享 {/if}
{/if} {elseif $saledata['type']=='huiyuan' && empty($seckillinfo)} {if empty($goods['isdiscount']) || (!empty($goods['isdiscount']) &&$goods['isdiscount_time']
您的会员等级是 {$level['levelname']} 可享受 ¥{$memberprice} 的价格
{/if} {/if} {elseif $saledata['type']=='jifen'} {if (!empty($goods['deduct']) && $goods['deduct'] != '0.00') || !empty($goods['credit'])}
{$_W['shopset']['trade']['credittext']} {if !empty($goods['deduct']) && $goods['deduct'] != '0.00'}最高抵扣 {$goods['deduct']} 元{/if} {if !empty($goods['credit'])}购买赠送 {$goods['credit']} {$_W['shopset']['trade']['credittext']}{/if}
{/if} {elseif $saledata['type']=='bupeisong'} {if $has_city}
不配送区域: {loop $citys $item} {$item} {/loop}
{/if} {elseif $saledata['type']=='youhui' && empty($seckillinfo)} {if $hasSales}
优惠 {if $enoughfree && $enoughfree==-1} 全场包邮 {else} {if $goods['ednum']>0}单品满 {$goods['ednum']} {php echo empty($goods['unit'])?'件':$goods['unit']}包邮{/if} {if $goods['edmoney']>0}单品满 ¥{$goods['edmoney']} 包邮{/if} {if $enoughfree}全场满 ¥{$enoughfree} 包邮{/if} {/if} {if $enoughs && count($enoughs)>0} 全场满 ¥{$enoughs[0]['enough']} 立减 ¥{$enoughs[0]['money']} {/if}
{/if} {elseif $saledata['type']=='biaoqian'} {if $hasServices || $labelname}
{if $goods['cash']==2}货到付款{/if} {if $goods['quality']}正品保证{/if} {if $goods['repair']}保修{/if} {if $goods['invoice']}发票{/if} {if $goods['seven']}7天退换{/if} {if $labelname} {loop $labelname $item} {$item} {/loop} {/if}
{/if} {elseif $saledata['type']=='coupon'} {if com('coupon')&&$coupons}
领取可用优惠券
{/if} {/if} {/loop}