1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
| /*
| * @description: 得到装饰组件配置
| */
| export default function getComponentConfig (type, classNameType) {
| const className =
| 'com.sxlinks.modules.system.components.visual.ScreenDecorationChart'
| switch (type) {
| case 'decoration1':
| return {
| name: '装饰一',
| title: '装饰一',
| img: require('data-room-ui/Decorations/images/01.png'),
| component: null,
| className,
| w: 350,
| h: 30,
| x: 0,
| y: 0,
| type
| }
| case 'decoration2':
| return {
| name: '装饰三',
| title: '装饰三',
| img: require('data-room-ui/Decorations/images/03.png'),
| component: null,
| className,
| w: 350,
| h: 20,
| x: 0,
| y: 0,
| type
| }
| case 'decoration2Reverse':
| return {
| name: '装饰三(旋转)',
| title: '装饰三(旋转)',
| img: require('data-room-ui/Decorations/images/03_reverse.png'),
| component: null,
| className,
| w: 20,
| h: 350,
| x: 0,
| y: 0,
| type
| }
| case 'decoration3':
| return {
| name: '装饰二',
| title: '装饰二',
| img: require('data-room-ui/Decorations/images/02.png'),
| component: null,
| className,
| w: 350,
| h: 30,
| x: 0,
| y: 0,
| type
| }
| case 'decoration4':
| return {
| name: '装饰四',
| title: '装饰四',
| img: require('data-room-ui/Decorations/images/04.png'),
| component: null,
| className,
| w: 30,
| h: 320,
| x: 0,
| y: 0,
| type
| }
| case 'decoration4Reverse':
| return {
| name: '装饰四(旋转)',
| title: '装饰四(旋转)',
| img: require('data-room-ui/Decorations/images/04_reverse.png'),
| component: null,
| className,
| w: 320,
| h: 30,
| x: 0,
| y: 0,
| type
| }
| case 'decoration5':
| return {
| name: '装饰五',
| title: '装饰五',
| img: require('data-room-ui/Decorations/images/05.png'),
| component: null,
| className,
| w: 350,
| h: 50,
| x: 0,
| y: 0,
| type
| }
| case 'decoration6':
| return {
| name: '装饰六',
| title: '装饰六',
| img: require('data-room-ui/Decorations/images/06.png'),
| component: null,
| className,
| w: 350,
| h: 30,
| x: 0,
| y: 0,
| type
| }
| case 'decoration8':
| return {
| name: '装饰七',
| title: '装饰七',
| img: require('data-room-ui/Decorations/images/07.png'),
| component: null,
| className,
| w: 350,
| h: 50,
| x: 0,
| y: 0,
| type
| }
| case 'decoration8Reverse':
| return {
| name: '装饰七(旋转)',
| title: '装饰七(旋转)',
| img: require('data-room-ui/Decorations/images/07_reverse.png'),
| component: null,
| className,
| w: 350,
| h: 50,
| x: 0,
| y: 0,
| type
| }
| case 'decoration9':
| return {
| name: '装饰八',
| title: '装饰八',
| img: require('data-room-ui/Decorations/images/08.png'),
| component: null,
| className,
| w: 150,
| h: 150,
| x: 0,
| y: 0,
| type
| }
| case 'decoration10':
| return {
| name: '装饰九',
| title: '装饰九',
| img: require('data-room-ui/Decorations/images/09.png'),
| component: null,
| className,
| w: 350,
| h: 50,
| x: 0,
| y: 0,
| type
| }
| case 'decoration11':
| return {
| name: '装饰十',
| title: '装饰十',
| img: require('data-room-ui/Decorations/images/10.png'),
| component: null,
| className,
| w: 350,
| h: 50,
| x: 0,
| y: 0,
| type
| }
| default:
| return {}
| }
| }
|
|