优惠劵
可用
已使用
已过期
{php $data_index = 1;} {loop $couponlist $item} {php $data_status = $data_index%3;}
{$item['sncode']}
{if $item['dmoney']>0}{$setting['currency']}{$item['dmoney']}(满{$setting['currency']}{$item['gmoney']}可用){else} 满{$setting['currency']}{$item['gmoney']}可用{/if}
{$item['title']} (已过期)
有效期{php echo date("Y年m月d日", $item['starttime'])}-{php echo date("Y年m月d日", $item['endtime'])}
适用门店:{$storelist[$item['storeid']]['title']}
适用商品:{if $item['goodsids'] > 0}{loop $item['goods'] $goodsrow}{php echo $goodsrow['title']};{/loop}{else}所有商品{/if}
{php $data_index++;} {/loop}