lanyun-coupon

lanyun-coupon

介绍

该组件用于展示可用或不可用的优惠券

使用方法

import "../../components/lanyun-coupon/lanyun-coupon.stml";

例子

<lanyun-coupon
    v-for="coupon in coupons"
    :data="coupon"
    class="coupon"
/>

props 属性

参数 说明 类型 默认值
data 优惠券数据, 详细参数见demo, 必填 object -

events 事件

事件名 说明 回调参数
click 当点击优惠券时触发 coupon: 优惠券数据
是否仍需要帮助? 请保持联络!
最后更新于 2024/04/24