# Coupon 优惠券

# 现金券(兰)

<AmberCoupon />
显示代码 复制代码

# 满赠券(桔红)

<AmberCoupon type="fullMinus"  type-title="满赠折扣券" />
显示代码 复制代码

# 包邮券(桔黄)

<AmberCoupon type="freeShip"></AmberCoupon>
显示代码 复制代码

# Coupon Attributes

参数 说明 类型 是否必要 默认值
type 券类型 string default
typeTitle 类型标题文字 string -
title 券标题 string 代金券
describe 券描述 string -
time 券有效期 string -
price 券金额 number/string 存在right插槽 插槽优先
icon 券背景图标 string a-xingzhuangjiehe3x1
beOverdue 已使用或已过期 Boolean false

# Coupon Slots

name 说明
content 券中间标题部分
right 券右侧部分金额折扣部分

# Coupon Active

name 说明 返回值
click 券点击回调 e