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