{php define('MUI', true);} {template 'common/header'} {if $activity_type == 'coupon'} {if $op == 'display'}
{if !empty($exchange_lists)} {loop $exchange_lists $item} {php echo tpl_app_coupon_item($item);} {/loop} {else}
暂无可兑换卡券
{/if}
{elseif $op == '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 $op == '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 $op == 'detail'}
{if $coupon_info['type'] == '1'}折扣{else}代金{/if}券详情

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

{/if} {if $op == 'qrcode'}
取消
{$_W['account']['name']}
{$coupon_info['title']}
{$coupon_info['code']}
请在付款时出示此券
{/if} {/if} {if $activity_type == 'goods'} {if $op == 'display'}
{loop $lists $row}
{$row['title']}
{$row['credit']}
兑换
{/loop}
{elseif $op == 'deliver'}
{$goods_info['title']}
{$goods_info['credit']}
(剩余{$goods_info['reside']}件)
{$is_exchange['name']}
兑换说明 收货信息
兑换说明
{$goods_info['exp_date']}
每人只可兑换{$goods_info['pretotal']}件此商品
产品简介
{$goods_info['description']}
收货信息
收货人姓名: {php echo tpl_app_fans_form('username', $address_data['username'], '收货人姓名');} 收货人电话: {php echo tpl_app_fans_form('mobile', $address_data['mobile'], '收货人电话');} 收货人邮编: {php echo tpl_app_fans_form('zipcode', $address_data['zipcode'], '收货人邮编');} 收货人地址: {php echo tpl_app_form_field_district('address',array('province' => $address_data['province'],'city' => $address_data['city'],'district' => $address_data['district']));} {php echo tpl_app_fans_form('address[address]', $address_data['address'], '收货人地址');}
{if $is_exchange['error'] == '1'}
{elseif $is_exchange['error'] == '-1'}
{/if}
{elseif $op == 'mine'}
{loop $lists $row} {if ($row['status'] == '' || $row['status'] == 0)} {/if}
{$row['title']}
{if $row['status'] == '1'} 确认收货 {elseif ($row['status'] == '' || $row['status'] == 0)} 待发货 {elseif $row['status'] == '2'} 已完成 {/if}
{if ($row['status'] == '' || $row['status'] == 0)} {/if} {/loop}
{/if} {/if} {template 'common/footer'}