ap-dev 1.2.20 → 1.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,3 +1,283 @@
|
|
|
1
|
-
const elementIcons = ['delete-solid', 'delete', 's-tools', 'setting', 'user-solid', 'user', 'phone', 'phone-outline', 'more', 'more-outline', 'star-on', 'star-off', 's-goods', 'goods', 'warning', 'warning-outline', 'question', 'info', 'remove', 'circle-plus', 'success', 'error', 'zoom-in', 'zoom-out', 'remove-outline', 'circle-plus-outline', 'circle-check', 'circle-close', 's-help', 'help', 'minus', 'plus', 'check', 'close', 'picture', 'picture-outline', 'picture-outline-round', 'upload', 'upload2', 'download', 'camera-solid', 'camera', 'video-camera-solid', 'video-camera', 'message-solid', 'bell', 's-cooperation', 's-order', 's-platform', 's-fold', 's-unfold', 's-operation', 's-promotion', 's-home', 's-release', 's-ticket', 's-management', 's-open', 's-shop', 's-marketing', 's-flag', 's-comment', 's-finance', 's-claim', 's-custom', 's-opportunity', 's-data', 's-check', 's-grid', 'menu', 'share', 'd-caret', 'caret-left', 'caret-right', 'caret-bottom', 'caret-top', 'bottom-left', 'bottom-right', 'back', 'right', 'bottom', 'top', 'top-left', 'top-right', 'arrow-left', 'arrow-right', 'arrow-down', 'arrow-up', 'd-arrow-left', 'd-arrow-right', 'video-pause', 'video-play', 'refresh', 'refresh-right', 'refresh-left', 'finished', 'sort', 'sort-up', 'sort-down', 'rank', 'loading', 'view', 'c-scale-to-original', 'date', 'edit', 'edit-outline', 'folder', 'folder-opened', 'folder-add', 'folder-remove', 'folder-delete', 'folder-checked', 'tickets', 'document-remove', 'document-delete', 'document-copy', 'document-checked', 'document', 'document-add', 'printer', 'paperclip', 'takeaway-box', 'search', 'monitor', 'attract', 'mobile', 'scissors', 'umbrella', 'headset', 'brush', 'mouse', 'coordinate', 'magic-stick', 'reading', 'data-line', 'data-board', 'pie-chart', 'data-analysis', 'collection-tag', 'film', 'suitcase', 'suitcase-1', 'receiving', 'collection', 'files', 'notebook-1', 'notebook-2', 'toilet-paper', 'office-building', 'school', 'table-lamp', 'house', 'no-smoking', 'smoking', 'shopping-cart-full', 'shopping-cart-1', 'shopping-cart-2', 'shopping-bag-1', 'shopping-bag-2', 'sold-out', 'sell', 'present', 'box', 'bank-card', 'money', 'coin', 'wallet', 'discount', 'price-tag', 'news', 'guide', 'male', 'female', 'thumb', 'cpu', 'link', 'connection', 'open', 'turn-off', 'set-up', 'chat-round', 'chat-line-round', 'chat-square', 'chat-dot-round', 'chat-dot-square', 'chat-line-square', 'message', 'postcard', 'position', 'turn-off-microphone', 'microphone', 'close-notification', 'bangzhu', 'time', 'odometer', 'crop', 'aim', 'switch-button', 'full-screen', 'copy-document', 'mic', 'stopwatch', 'medal-1', 'medal', 'trophy', 'trophy-1', 'first-aid-kit', 'discover', 'place', 'location', 'location-outline', 'location-information', 'add-location', 'delete-location', 'map-location', 'alarm-clock', 'timer', 'watch-1', 'watch', 'lock', 'unlock', 'key', 'service', 'mobile-phone', 'bicycle', 'truck', 'ship', 'basketball', 'football', 'soccer', 'baseball', 'wind-power', 'light-rain', 'lightning', 'heavy-rain', 'sunrise', 'sunrise-1', 'sunset', 'sunny', 'cloudy', 'partly-cloudy', 'cloudy-and-sunny', 'moon', 'moon-night', 'dish', 'dish-1', 'food', 'chicken', 'fork-spoon', 'knife-fork', 'burger', 'tableware', 'sugar', 'dessert', 'ice-cream', 'hot-water', 'water-cup', 'coffee-cup', 'cold-drink', 'goblet', 'goblet-full', 'goblet-square', 'goblet-square-full', 'refrigerator', 'grape', 'watermelon', 'cherry', 'apple', 'pear', 'orange', 'coffee', 'ice-tea', 'ice-drink', 'milk-tea', 'potato-strips', 'lollipop', 'ice-cream-square', 'ice-cream-round']
|
|
1
|
+
// const elementIcons = ['delete-solid', 'delete', 's-tools', 'setting', 'user-solid', 'user', 'phone', 'phone-outline', 'more', 'more-outline', 'star-on', 'star-off', 's-goods', 'goods', 'warning', 'warning-outline', 'question', 'info', 'remove', 'circle-plus', 'success', 'error', 'zoom-in', 'zoom-out', 'remove-outline', 'circle-plus-outline', 'circle-check', 'circle-close', 's-help', 'help', 'minus', 'plus', 'check', 'close', 'picture', 'picture-outline', 'picture-outline-round', 'upload', 'upload2', 'download', 'camera-solid', 'camera', 'video-camera-solid', 'video-camera', 'message-solid', 'bell', 's-cooperation', 's-order', 's-platform', 's-fold', 's-unfold', 's-operation', 's-promotion', 's-home', 's-release', 's-ticket', 's-management', 's-open', 's-shop', 's-marketing', 's-flag', 's-comment', 's-finance', 's-claim', 's-custom', 's-opportunity', 's-data', 's-check', 's-grid', 'menu', 'share', 'd-caret', 'caret-left', 'caret-right', 'caret-bottom', 'caret-top', 'bottom-left', 'bottom-right', 'back', 'right', 'bottom', 'top', 'top-left', 'top-right', 'arrow-left', 'arrow-right', 'arrow-down', 'arrow-up', 'd-arrow-left', 'd-arrow-right', 'video-pause', 'video-play', 'refresh', 'refresh-right', 'refresh-left', 'finished', 'sort', 'sort-up', 'sort-down', 'rank', 'loading', 'view', 'c-scale-to-original', 'date', 'edit', 'edit-outline', 'folder', 'folder-opened', 'folder-add', 'folder-remove', 'folder-delete', 'folder-checked', 'tickets', 'document-remove', 'document-delete', 'document-copy', 'document-checked', 'document', 'document-add', 'printer', 'paperclip', 'takeaway-box', 'search', 'monitor', 'attract', 'mobile', 'scissors', 'umbrella', 'headset', 'brush', 'mouse', 'coordinate', 'magic-stick', 'reading', 'data-line', 'data-board', 'pie-chart', 'data-analysis', 'collection-tag', 'film', 'suitcase', 'suitcase-1', 'receiving', 'collection', 'files', 'notebook-1', 'notebook-2', 'toilet-paper', 'office-building', 'school', 'table-lamp', 'house', 'no-smoking', 'smoking', 'shopping-cart-full', 'shopping-cart-1', 'shopping-cart-2', 'shopping-bag-1', 'shopping-bag-2', 'sold-out', 'sell', 'present', 'box', 'bank-card', 'money', 'coin', 'wallet', 'discount', 'price-tag', 'news', 'guide', 'male', 'female', 'thumb', 'cpu', 'link', 'connection', 'open', 'turn-off', 'set-up', 'chat-round', 'chat-line-round', 'chat-square', 'chat-dot-round', 'chat-dot-square', 'chat-line-square', 'message', 'postcard', 'position', 'turn-off-microphone', 'microphone', 'close-notification', 'bangzhu', 'time', 'odometer', 'crop', 'aim', 'switch-button', 'full-screen', 'copy-document', 'mic', 'stopwatch', 'medal-1', 'medal', 'trophy', 'trophy-1', 'first-aid-kit', 'discover', 'place', 'location', 'location-outline', 'location-information', 'add-location', 'delete-location', 'map-location', 'alarm-clock', 'timer', 'watch-1', 'watch', 'lock', 'unlock', 'key', 'service', 'mobile-phone', 'bicycle', 'truck', 'ship', 'basketball', 'football', 'soccer', 'baseball', 'wind-power', 'light-rain', 'lightning', 'heavy-rain', 'sunrise', 'sunrise-1', 'sunset', 'sunny', 'cloudy', 'partly-cloudy', 'cloudy-and-sunny', 'moon', 'moon-night', 'dish', 'dish-1', 'food', 'chicken', 'fork-spoon', 'knife-fork', 'burger', 'tableware', 'sugar', 'dessert', 'ice-cream', 'hot-water', 'water-cup', 'coffee-cup', 'cold-drink', 'goblet', 'goblet-full', 'goblet-square', 'goblet-square-full', 'refrigerator', 'grape', 'watermelon', 'cherry', 'apple', 'pear', 'orange', 'coffee', 'ice-tea', 'ice-drink', 'milk-tea', 'potato-strips', 'lollipop', 'ice-cream-square', 'ice-cream-round']
|
|
2
2
|
|
|
3
|
+
const elementIcons = {
|
|
4
|
+
'ice-cream-round': "e6a0",
|
|
5
|
+
'ice-cream-square': "e6a3",
|
|
6
|
+
'lollipop': "e6a4",
|
|
7
|
+
'potato-strips': "e6a5",
|
|
8
|
+
'milk-tea': "e6a6",
|
|
9
|
+
'ice-drink': "e6a7",
|
|
10
|
+
'ice-tea': "e6a9",
|
|
11
|
+
'coffee': "e6aa",
|
|
12
|
+
'orange': "e6ab",
|
|
13
|
+
'pear': "e6ac",
|
|
14
|
+
'apple': "e6ad",
|
|
15
|
+
'cherry': "e6ae",
|
|
16
|
+
'watermelon': "e6af",
|
|
17
|
+
'grape': "e6b0",
|
|
18
|
+
'refrigerator': "e6b1",
|
|
19
|
+
'goblet-square-full': "e6b2",
|
|
20
|
+
'goblet-square': "e6b3",
|
|
21
|
+
'goblet-full': "e6b4",
|
|
22
|
+
'goblet': "e6b5",
|
|
23
|
+
'cold-drink': "e6b6",
|
|
24
|
+
'coffee-cup': "e6b8",
|
|
25
|
+
'water-cup': "e6b9",
|
|
26
|
+
'hot-water': "e6ba",
|
|
27
|
+
'ice-cream': "e6bb",
|
|
28
|
+
'dessert': "e6bc",
|
|
29
|
+
'sugar': "e6bd",
|
|
30
|
+
'tableware': "e6be",
|
|
31
|
+
'burger': "e6bf",
|
|
32
|
+
'knife-fork': "e6c1",
|
|
33
|
+
'fork-spoon': "e6c2",
|
|
34
|
+
'chicken': "e6c3",
|
|
35
|
+
'food': "e6c4",
|
|
36
|
+
'dish-1': "e6c5",
|
|
37
|
+
'dish': "e6c6",
|
|
38
|
+
'moon-night': "e6ee",
|
|
39
|
+
'moon': "e6f0",
|
|
40
|
+
'cloudy-and-sunny': "e6f1",
|
|
41
|
+
'partly-cloudy': "e6f2",
|
|
42
|
+
'cloudy': "e6f3",
|
|
43
|
+
'sunny': "e6f6",
|
|
44
|
+
'sunset': "e6f7",
|
|
45
|
+
'sunrise-1': "e6f8",
|
|
46
|
+
'sunrise': "e6f9",
|
|
47
|
+
'heavy-rain': "e6fa",
|
|
48
|
+
'lightning': "e6fb",
|
|
49
|
+
'light-rain': "e6fc",
|
|
50
|
+
'wind-power': "e6fd",
|
|
51
|
+
'baseball': "e712",
|
|
52
|
+
'soccer': "e713",
|
|
53
|
+
'football': "e715",
|
|
54
|
+
'basketball': "e716",
|
|
55
|
+
'ship': "e73f",
|
|
56
|
+
'truck': "e740",
|
|
57
|
+
'bicycle': "e741",
|
|
58
|
+
'mobile-phone': "e6d3",
|
|
59
|
+
'service': "e6d4",
|
|
60
|
+
'key': "e6e2",
|
|
61
|
+
'unlock': "e6e4",
|
|
62
|
+
'lock': "e6e5",
|
|
63
|
+
'watch': "e6fe",
|
|
64
|
+
'watch-1': "e6ff",
|
|
65
|
+
'timer': "e702",
|
|
66
|
+
'alarm-clock': "e703",
|
|
67
|
+
'map-location': "e704",
|
|
68
|
+
'delete-location': "e705",
|
|
69
|
+
'add-location': "e706",
|
|
70
|
+
'location-information': "e707",
|
|
71
|
+
'location-outline': "e708",
|
|
72
|
+
'location': "e79e",
|
|
73
|
+
'place': "e709",
|
|
74
|
+
'discover': "e70a",
|
|
75
|
+
'first-aid-kit': "e70b",
|
|
76
|
+
'trophy-1': "e70c",
|
|
77
|
+
'trophy': "e70d",
|
|
78
|
+
'medal': "e70e",
|
|
79
|
+
'medal-1': "e70f",
|
|
80
|
+
'stopwatch': "e710",
|
|
81
|
+
'mic': "e711",
|
|
82
|
+
'copy-document': "e718",
|
|
83
|
+
'full-screen': "e719",
|
|
84
|
+
'switch-button': "e71b",
|
|
85
|
+
'aim': "e71c",
|
|
86
|
+
'crop': "e71d",
|
|
87
|
+
'odometer': "e71e",
|
|
88
|
+
'time': "e71f",
|
|
89
|
+
'bangzhu': "e724",
|
|
90
|
+
'close-notification': "e726",
|
|
91
|
+
'microphone': "e727",
|
|
92
|
+
'turn-off-microphone': "e728",
|
|
93
|
+
'position': "e729",
|
|
94
|
+
'postcard': "e72a",
|
|
95
|
+
'message': "e72b",
|
|
96
|
+
'chat-line-square': "e72d",
|
|
97
|
+
'chat-dot-square': "e72e",
|
|
98
|
+
'chat-dot-round': "e72f",
|
|
99
|
+
'chat-square': "e730",
|
|
100
|
+
'chat-line-round': "e731",
|
|
101
|
+
'chat-round': "e732",
|
|
102
|
+
'set-up': "e733",
|
|
103
|
+
'turn-off': "e734",
|
|
104
|
+
'open': "e735",
|
|
105
|
+
'connection': "e736",
|
|
106
|
+
'link': "e737",
|
|
107
|
+
'cpu': "e738",
|
|
108
|
+
'thumb': "e739",
|
|
109
|
+
'female': "e73a",
|
|
110
|
+
'male': "e73b",
|
|
111
|
+
'guide': "e73c",
|
|
112
|
+
'news': "e73e",
|
|
113
|
+
'price-tag': "e744",
|
|
114
|
+
'discount': "e745",
|
|
115
|
+
'wallet': "e747",
|
|
116
|
+
'coin': "e748",
|
|
117
|
+
'money': "e749",
|
|
118
|
+
'bank-card': "e74a",
|
|
119
|
+
'box': "e74b",
|
|
120
|
+
'present': "e74c",
|
|
121
|
+
'sell': "e6d5",
|
|
122
|
+
'sold-out': "e6d6",
|
|
123
|
+
'shopping-bag-2': "e74d",
|
|
124
|
+
'shopping-bag-1': "e74e",
|
|
125
|
+
'shopping-cart-2': "e74f",
|
|
126
|
+
'shopping-cart-1': "e750",
|
|
127
|
+
'shopping-cart-full': "e751",
|
|
128
|
+
'smoking': "e752",
|
|
129
|
+
'no-smoking': "e753",
|
|
130
|
+
'house': "e754",
|
|
131
|
+
'table-lamp': "e755",
|
|
132
|
+
'school': "e756",
|
|
133
|
+
'office-building': "e757",
|
|
134
|
+
'toilet-paper': "e758",
|
|
135
|
+
'notebook-2': "e759",
|
|
136
|
+
'notebook-1': "e75a",
|
|
137
|
+
'files': "e75b",
|
|
138
|
+
'collection': "e75c",
|
|
139
|
+
'receiving': "e75d",
|
|
140
|
+
'suitcase-1': "e760",
|
|
141
|
+
'suitcase': "e761",
|
|
142
|
+
'film': "e763",
|
|
143
|
+
'collection-tag': "e765",
|
|
144
|
+
'data-analysis': "e766",
|
|
145
|
+
'pie-chart': "e767",
|
|
146
|
+
'data-board': "e768",
|
|
147
|
+
'data-line': "e76d",
|
|
148
|
+
'reading': "e769",
|
|
149
|
+
'magic-stick': "e76a",
|
|
150
|
+
'coordinate': "e76b",
|
|
151
|
+
'mouse': "e76c",
|
|
152
|
+
'brush': "e76e",
|
|
153
|
+
'headset': "e76f",
|
|
154
|
+
'umbrella': "e770",
|
|
155
|
+
'scissors': "e771",
|
|
156
|
+
'mobile': "e773",
|
|
157
|
+
'attract': "e774",
|
|
158
|
+
'monitor': "e775",
|
|
159
|
+
'search': "e778",
|
|
160
|
+
'takeaway-box': "e77a",
|
|
161
|
+
'paperclip': "e77d",
|
|
162
|
+
'printer': "e77e",
|
|
163
|
+
'document-add': "e782",
|
|
164
|
+
'document': "e785",
|
|
165
|
+
'document-checked': "e786",
|
|
166
|
+
'document-copy': "e787",
|
|
167
|
+
'document-delete': "e788",
|
|
168
|
+
'document-remove': "e789",
|
|
169
|
+
'tickets': "e78b",
|
|
170
|
+
'folder-checked': "e77f",
|
|
171
|
+
'folder-delete': "e780",
|
|
172
|
+
'folder-remove': "e781",
|
|
173
|
+
'folder-add': "e783",
|
|
174
|
+
'folder-opened': "e784",
|
|
175
|
+
'folder': "e78a",
|
|
176
|
+
'edit-outline': "e764",
|
|
177
|
+
'edit': "e78c",
|
|
178
|
+
'date': "e78e",
|
|
179
|
+
'c-scale-to-original': "e7c6",
|
|
180
|
+
'view': "e6ce",
|
|
181
|
+
'loading': "e6cf",
|
|
182
|
+
'rank': "e6d1",
|
|
183
|
+
'sort-down': "e7c4",
|
|
184
|
+
'sort-up': "e7c5",
|
|
185
|
+
'sort': "e6d2",
|
|
186
|
+
'finished': "e6cd",
|
|
187
|
+
'refresh-left': "e6c7",
|
|
188
|
+
'refresh-right': "e6c8",
|
|
189
|
+
'refresh': "e6d0",
|
|
190
|
+
'video-play': "e7c0",
|
|
191
|
+
'video-pause': "e7c1",
|
|
192
|
+
'd-arrow-right': "e6dc",
|
|
193
|
+
'd-arrow-left': "e6dd",
|
|
194
|
+
'arrow-up': "e6e1",
|
|
195
|
+
'arrow-down': "e6df",
|
|
196
|
+
'arrow-right': "e6e0",
|
|
197
|
+
'arrow-left': "e6de",
|
|
198
|
+
'top-right': "e6e7",
|
|
199
|
+
'top-left': "e6e8",
|
|
200
|
+
'top': "e6e6",
|
|
201
|
+
'bottom': "e6eb",
|
|
202
|
+
'right': "e6e9",
|
|
203
|
+
'back': "e6ea",
|
|
204
|
+
'bottom-right': "e6ec",
|
|
205
|
+
'bottom-left': "e6ed",
|
|
206
|
+
'caret-top': "e78f",
|
|
207
|
+
'caret-bottom': "e790",
|
|
208
|
+
'caret-right': "e791",
|
|
209
|
+
'caret-left': "e792",
|
|
210
|
+
'd-caret': "e79a",
|
|
211
|
+
'share': "e793",
|
|
212
|
+
'menu': "e798",
|
|
213
|
+
's-grid': "e7a6",
|
|
214
|
+
's-check': "e7a7",
|
|
215
|
+
's-data': "e7a8",
|
|
216
|
+
's-opportunity': "e7aa",
|
|
217
|
+
's-custom': "e7ab",
|
|
218
|
+
's-claim': "e7ad",
|
|
219
|
+
's-finance': "e7ae",
|
|
220
|
+
's-comment': "e7af",
|
|
221
|
+
's-flag': "e7b0",
|
|
222
|
+
's-marketing': "e7b1",
|
|
223
|
+
's-shop': "e7b4",
|
|
224
|
+
's-open': "e7b5",
|
|
225
|
+
's-management': "e7b6",
|
|
226
|
+
's-ticket': "e7b7",
|
|
227
|
+
's-release': "e7b8",
|
|
228
|
+
's-home': "e7b9",
|
|
229
|
+
's-promotion': "e7ba",
|
|
230
|
+
's-operation': "e7bb",
|
|
231
|
+
's-unfold': "e7bc",
|
|
232
|
+
's-fold': "e7a9",
|
|
233
|
+
's-platform': "e7bd",
|
|
234
|
+
's-order': "e7be",
|
|
235
|
+
's-cooperation': "e7bf",
|
|
236
|
+
'bell': "e725",
|
|
237
|
+
'message-solid': "e799",
|
|
238
|
+
'video-camera': "e772",
|
|
239
|
+
'video-camera-solid': "e796",
|
|
240
|
+
'camera': "e779",
|
|
241
|
+
'camera-solid': "e79b",
|
|
242
|
+
'download': "e77c",
|
|
243
|
+
'upload2': "e77b",
|
|
244
|
+
'upload': "e7c3",
|
|
245
|
+
'picture-outline-round': "e75f",
|
|
246
|
+
'picture-outline': "e75e",
|
|
247
|
+
'picture': "e79f",
|
|
248
|
+
'close': "e6db",
|
|
249
|
+
'check': "e6da",
|
|
250
|
+
'plus': "e6d9",
|
|
251
|
+
'minus': "e6d8",
|
|
252
|
+
'help': "e73d",
|
|
253
|
+
's-help': "e7b3",
|
|
254
|
+
'circle-close': "e78d",
|
|
255
|
+
'circle-check': "e720",
|
|
256
|
+
'circle-plus-outline': "e723",
|
|
257
|
+
'remove-outline': "e722",
|
|
258
|
+
'zoom-out': "e776",
|
|
259
|
+
'zoom-in': "e777",
|
|
260
|
+
'error': "e79d",
|
|
261
|
+
'success': "e79c",
|
|
262
|
+
'circle-plus': "e7a0",
|
|
263
|
+
'remove': "e7a2",
|
|
264
|
+
'info': "e7a1",
|
|
265
|
+
'question': "e7a4",
|
|
266
|
+
'warning-outline': "e6c9",
|
|
267
|
+
'warning': "e7a3",
|
|
268
|
+
'goods': "e7c2",
|
|
269
|
+
's-goods': "e7b2",
|
|
270
|
+
'star-off': "e717",
|
|
271
|
+
'star-on': "e797",
|
|
272
|
+
'more-outline': "e6cc",
|
|
273
|
+
'more': "e794",
|
|
274
|
+
'phone-outline': "e6cb",
|
|
275
|
+
'phone': "e795",
|
|
276
|
+
'user': "e6e3",
|
|
277
|
+
'user-solid': "e7a5",
|
|
278
|
+
'setting': "e6ca",
|
|
279
|
+
's-tools': "e7ac",
|
|
280
|
+
'delete': "e6d7",
|
|
281
|
+
'delete-solid': "e7c9",
|
|
282
|
+
};
|
|
3
283
|
export default elementIcons
|
|
@@ -193,7 +193,7 @@ const iconGroup = [
|
|
|
193
193
|
'success',
|
|
194
194
|
'error',
|
|
195
195
|
'zoom-in',
|
|
196
|
-
'supervise',
|
|
196
|
+
// 'supervise',
|
|
197
197
|
'zoom-out',
|
|
198
198
|
'remove-outline',
|
|
199
199
|
'circle-plus-outline',
|
|
@@ -393,6 +393,7 @@ const iconGroup = [
|
|
|
393
393
|
'camera',
|
|
394
394
|
'video-camera-solid',
|
|
395
395
|
'video-camera',
|
|
396
|
+
'supervise',
|
|
396
397
|
'message-solid',
|
|
397
398
|
'bell',
|
|
398
399
|
's-cooperation',
|
|
@@ -1,11 +1,27 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<ap-container>
|
|
3
3
|
<ap-header margin="1101">
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
<div>
|
|
5
|
+
<el-radio v-model="showType" :label="0">分类显示</el-radio>
|
|
6
|
+
<el-radio v-model="showType" :label="1">自定义</el-radio>
|
|
7
|
+
<el-radio v-model="showType" :label="2">Element默认</el-radio>
|
|
8
|
+
<el-radio v-model="showType" :label="3">图片</el-radio>
|
|
9
|
+
</div>
|
|
8
10
|
<div class="ap-split-line"/>
|
|
11
|
+
<div>
|
|
12
|
+
<div v-for="(value,key) in errorIcon">
|
|
13
|
+
<div v-for="item of value" :key="item.icon_id" class="icon-ctn">
|
|
14
|
+
<div class="icon-item-ctn">
|
|
15
|
+
<span class="icon-item" style="color: red">
|
|
16
|
+
<i :class="getIconClass(item) "/>
|
|
17
|
+
</span>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="icon-text-ctn">
|
|
20
|
+
<span class="icon-text" style="color: red">{{ getIconClass(item) }}</span>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
9
25
|
</ap-header>
|
|
10
26
|
<ap-main margin="0111" class="icons-container">
|
|
11
27
|
<template v-if="showType == 0">
|
|
@@ -43,7 +59,7 @@
|
|
|
43
59
|
</div>
|
|
44
60
|
</template>
|
|
45
61
|
<template v-if="showType == 2">
|
|
46
|
-
<div v-for="item of
|
|
62
|
+
<div v-for="item of eleIcons" :key="item" class="icon-ctn">
|
|
47
63
|
<div class="icon-item-ctn">
|
|
48
64
|
<span class="icon-item">
|
|
49
65
|
<i
|
|
@@ -85,9 +101,14 @@ export default {
|
|
|
85
101
|
for (let i = 0; i < iconGroup.length; i++) {
|
|
86
102
|
activeNames.push(iconGroup[i].name)
|
|
87
103
|
}
|
|
104
|
+
let eleIcons = [];
|
|
105
|
+
for (let key in elementIcons) {
|
|
106
|
+
eleIcons.push(key);
|
|
107
|
+
}
|
|
88
108
|
return {
|
|
109
|
+
errorIcon: this.getErrorIcon(),
|
|
89
110
|
myIcons,
|
|
90
|
-
|
|
111
|
+
eleIcons,
|
|
91
112
|
showType: 0,
|
|
92
113
|
iconImgs: ["a101.png","a102.png","a103.png","a104.png","a105.png","a106.png","a107.png","a108.png","a109.png","a110.png","a111.png","a112.png","a113.png","a114.png","a201.png","a202.png","a203.png","a204.png","a205.png","a206.png","a207.png","a301.png","a302.png","a303.png","a304.png","a305.png","a306.png","a307.png","a308.png","a309.png","a310.png","a311.png","a401.png","a402.png","a403.png","a404.png","a405.png","a406.png","a407.png","a408.png","a501.png","a502.png","a503.png","a504.png","a505.png","a506.png","b101.png","b102.png","b103.png","b104.png","b105.png","b106.png","b201.png","b202.png","b203.png","b204.png","b205.png","b206.png","b207.png","b208.png","b209.png","b210.png","b212.png","b213.png","b214.png","b215.png","b301.png","b302.png","b303.png","b304.png","b305.png","b306.png","b307.png","b308.png","b401.png","b402.png","b403.png","b404.png","b405.png","b406.png","b407.png","c101.png","c102.png","c103.png","c104.png","c105.png","c106.png","c107.png","c108.png","c109.png","c110.png","c111.png","c112.png","c201.png","c202.png","c203.png","c204.png","c205.png","c206.png","c207.png","c208.png","c209.png","c210.png","c211.png","c212.png","c213.png","c214.png","c215.png","c216.png","c217.png","c218.png","c219.png","c220.png","c221.png","c222.png","c223.png","c224.png","c225.png","c226.png","c227.png","c228.png","c229.png","c230.png","c231.png","c301.png","c302.png","c303.png","c304.png","c305.png","c306.png","d101.png","d102.png","d103.png","d104.png","d105.png","d106.png","d107.png","d108.png","d109.png","d110.png","d111.png","d112.png","d113.png","d114.png","d115.png","d116.png","d117.png","d118.png","d119.png","d120.png","d121.png","d122.png","d123.png","d124.png","d125.png","d126.png","d201.png","d202.png","d203.png","d204.png","d205.png","d206.png","d207.png","d208.png","d209.png","d210.png","d211.png","d213.png","d301.png","d302.png","d303.png","d304.png","d305.png","d306.png","d307.png","d308.png","d309.png","d310.png","d311.png","d312.png","d313.png","d314.png","d315.png","d316.png","d317.png","d318.png","d319.png","d320.png","d321.png","d322.png","d323.png","d325.png","d326.png","d327.png","d328.png","d329.png","d330.png","e101.png","e102.png","e103.png","e104.png","e105.png","e106.png","e107.png","e108.png","e109.png","e110.png","e111.png","e112.png","e113.png","e114.png","e115.png","e116.png","e117.png","e118.png","e119.png","e120.png","e121.png","e122.png","e123.png","e124.png","e201.png","e202.png","e203.png","e204.png","e205.png","e206.png","e207.png","e208.png","e301.png","e302.png","e303.png","e304.png","e305.png","e306.png","e401.png","e402.png","e403.png","e404.png","e405.png","e406.png","e407.png","e408.png","e409.png","e410.png","e411.png","f101.png","f102.png","f103.png","f104.png","f105.png","f106.png","f107.png","f108.png","f109.png","f110.png","f111.png","f112.png","f113.png","f114.png","f115.png","f116.png","f117.png","f118.png","f119.png","f120.png","f121.png","f201.png","f202.png","f203.png","f204.png","f205.png","f206.png","f207.png","f208.png","f209.png","f210.png","f211.png","f212.png","f213.png","f301.png","f302.png","f303.png","f304.png","f305.png","f306.png","f307.png","f308.png","f309.png","f310.png","f311.png","f312.png","g101.png","g102.png","g103.png","g104.png","g105.png","g106.png","g107.png","g201.png","g202.png","g203.png","g204.png","g205.png","g206.png","g301.png","g302.png","g303.png","g304.png","g305.png","g306.png","g307.png","g308.png","g309.png","g310.png","g311.png","g312.png","g313.png","g314.png","g315.png","g316.png","g317.png","g318.png","g319.png","g320.png","g321.png","g322.png","g323.png"],
|
|
93
114
|
iconGroup,
|
|
@@ -99,6 +120,35 @@ export default {
|
|
|
99
120
|
this.initUnGroup();
|
|
100
121
|
},
|
|
101
122
|
methods: {
|
|
123
|
+
getErrorIcon() {
|
|
124
|
+
console.log(111111);
|
|
125
|
+
const myIcons = icons.glyphs;
|
|
126
|
+
var allCode = {}
|
|
127
|
+
var errorObj = {}
|
|
128
|
+
for (let i = 0; i < myIcons.length; i++) {
|
|
129
|
+
let arr = allCode[myIcons[i].unicode];
|
|
130
|
+
if (arr == null) {
|
|
131
|
+
arr = [];
|
|
132
|
+
}
|
|
133
|
+
arr.push(myIcons[i].font_class);
|
|
134
|
+
allCode[myIcons[i].unicode] = arr;
|
|
135
|
+
}
|
|
136
|
+
let errorList = {}
|
|
137
|
+
for (let key in elementIcons) {
|
|
138
|
+
let arr = allCode[elementIcons[key]];
|
|
139
|
+
if (arr == null) {
|
|
140
|
+
arr = [];
|
|
141
|
+
}
|
|
142
|
+
arr.push(key);
|
|
143
|
+
allCode[elementIcons[key]] = arr;
|
|
144
|
+
}
|
|
145
|
+
for (let key in allCode) {
|
|
146
|
+
if (allCode[key] != null && allCode[key].length > 1) {
|
|
147
|
+
errorObj[key] = allCode[key];
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
return errorObj;
|
|
151
|
+
},
|
|
102
152
|
getIconCode(value) {
|
|
103
153
|
return `<i class="el-icon-${value}" />`
|
|
104
154
|
},
|
|
@@ -132,8 +182,8 @@ export default {
|
|
|
132
182
|
|
|
133
183
|
let unAddedArr = [];
|
|
134
184
|
// element自带
|
|
135
|
-
for (let i = 0; i < this.
|
|
136
|
-
let item = this.
|
|
185
|
+
for (let i = 0; i < this.eleIcons.length; i++) {
|
|
186
|
+
let item = this.eleIcons[i];
|
|
137
187
|
if (addedArr.indexOf(item) < 0){
|
|
138
188
|
unAddedArr.push(item);
|
|
139
189
|
}
|