{php define('MUI', true);} {template 'common/header'} {if $do == 'display'}
{if !empty($exchange_lists)} {loop $exchange_lists $item} {php echo tpl_app_coupon_item($item);} {/loop} {else}
暂无可兑换卡券
{/if}
{elseif $do == 'mine'}
{if !empty($coupon_records)} {loop $coupon_records $row}
{if COUPON_TYPE == WECHAT_COUPON} {else} {/if}
{$row['icon']}
{$row['title']}
{$row['extra_date_info']}
⇌ 使用

{$row['description']}

{$type_names[$row['type']][0]}使用规则
{/loop} {else}
暂无卡券 {if $exchange_enable['exchange_enable'] == 1} ,点击兑换 {/if}
{/if}
{/if} {if $do == 'use'}
{$_W['account']['name']}
{$coupon_info['title']}
{if $starttime > strtotime(date('Ymd'))} 未到可用时间 {else} 立即使用 {/if}
{$coupon_info['sub_title']}
{$coupon_info['exp_date']}

- {if $coupon_info['type'] == '1'}折扣{else}代金{/if}券详情
- 立即使用
- 个人中心 点击进入

{/if} {if $do == 'detail'}
{if $coupon_info['type'] == '1'}折扣{else}代金{/if}券详情

优惠说明
  {$coupon_info['discount_info']}
有效日期
  {$coupon_info['detail_date_info']}
使用须知
  {$coupon_info['description']}

{/if} {if $do == 'qrcode'}
取消
{$_W['account']['name']}
{$coupon_info['title']}
{$coupon_info['code']}
请在付款时出示此券
{/if} {template 'common/footer'}