{template 'common/header'}
{if $do == 'display'}
折扣券 代金券 团购券 礼品券 优惠券
{if !empty($data)} {loop $data $da}
{$da['title']}
{$da['brand_name']}
{$da['endtime']}
{/loop}
{$pager}
{else}
没有符合条件的优惠券
{/if}
{elseif $do == 'use'}
{$card['brand_name']}
{$card['title']}
{$card['sub_title']}
{if $card['date_info']['time_type'] == 1} 有效期:{$card['date_info']['time_limit_start']}~{$card['date_info']['time_limit_end']} {else} 有效期:领取后{$card['date_info']['deadline']}天后生效,{$card['date_info']['limit']}天有效 {/if}
{if $error_code == 1}
code码错误
{else}
店员可使用微信扫描上面二维码进行核销
code码：{$code['code']}
{/if}
{$card['notice']}
{if $error_code == 1} code码错误 {else} {/if}
{/if} {template 'common/footer'}