提交 | 用户 | 时间 | ||
314507 | 1 | import { ComponentStyle, DiyComponent } from '@/components/DiyEditor/util' |
H | 2 | |
3 | /** 用户卡券属性 */ | |
4 | export interface UserCouponProperty { | |
5 | // 组件样式 | |
6 | style: ComponentStyle | |
7 | } | |
8 | ||
9 | // 定义组件 | |
10 | export const component = { | |
11 | id: 'UserCoupon', | |
12 | name: '用户卡券', | |
13 | icon: 'ep:ticket', | |
14 | property: { | |
15 | style: { | |
16 | bgType: 'color', | |
17 | bgColor: '', | |
18 | marginLeft: 8, | |
19 | marginRight: 8, | |
20 | marginBottom: 8 | |
21 | } as ComponentStyle | |
22 | } | |
23 | } as DiyComponent<UserCouponProperty> |