vue2-client 1.4.48 → 1.4.49

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.
Files changed (104) hide show
  1. package/.env +15 -15
  2. package/.eslintrc.js +82 -82
  3. package/CHANGELOG.md +4 -1
  4. package/index.js +30 -30
  5. package/package.json +1 -1
  6. package/src/assets/img/querySlotDemo.svg +15 -15
  7. package/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox.vue +225 -225
  8. package/src/base-client/components/common/AmapMarker/AmapPointRendering.vue +113 -113
  9. package/src/base-client/components/common/CitySelect/CitySelect.vue +244 -244
  10. package/src/base-client/components/common/CitySelect/index.js +3 -3
  11. package/src/base-client/components/common/CitySelect/index.md +109 -109
  12. package/src/base-client/components/common/CreateQuery/CreateQueryItem.vue +777 -777
  13. package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQuery.vue +310 -310
  14. package/src/base-client/components/common/FormGroupQuery/FormGroupQuery.vue +165 -165
  15. package/src/base-client/components/common/JSONToTree/jsontotree.vue +275 -275
  16. package/src/base-client/components/common/PersonSetting/PersonSetting.vue +210 -210
  17. package/src/base-client/components/common/PersonSetting/index.js +3 -3
  18. package/src/base-client/components/common/Upload/index.js +3 -3
  19. package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +327 -327
  20. package/src/base-client/components/common/XCard/XCard.vue +64 -64
  21. package/src/base-client/components/common/XForm/XForm.vue +274 -274
  22. package/src/base-client/components/common/XForm/XFormItem.vue +469 -469
  23. package/src/base-client/components/common/XFormTable/index.md +96 -96
  24. package/src/base-client/components/system/QueryParamsDetailsView/QueryParamsDetailsView.vue +281 -281
  25. package/src/base-client/components/ticket/TicketDetailsView/TicketDetailsView.vue +807 -807
  26. package/src/base-client/components/ticket/TicketDetailsView/index.md +29 -29
  27. package/src/base-client/components/ticket/TicketDetailsView/part/TicketDetailsFlow.vue +260 -260
  28. package/src/base-client/components/ticket/TicketSubmitSuccessView/TicketSubmitSuccessView.vue +532 -532
  29. package/src/base-client/components/ticket/TicketSubmitSuccessView/index.md +29 -29
  30. package/src/base-client/plugins/AppData.js +73 -73
  31. package/src/base-client/plugins/GetLoginInfoService.js +179 -179
  32. package/src/base-client/plugins/PagedList.js +177 -177
  33. package/src/base-client/plugins/compatible/LoginServiceOA.js +20 -20
  34. package/src/base-client/plugins/i18n-extend.js +32 -32
  35. package/src/components/Ellipsis/index.md +38 -38
  36. package/src/components/NumberInfo/index.md +43 -43
  37. package/src/components/STable/README.md +341 -341
  38. package/src/components/STable/index.js +318 -318
  39. package/src/components/Trend/index.md +45 -45
  40. package/src/components/checkbox/ColorCheckbox.vue +157 -157
  41. package/src/components/checkbox/ImgCheckbox.vue +163 -163
  42. package/src/components/form/FormRow.vue +52 -52
  43. package/src/components/index.js +36 -36
  44. package/src/components/menu/SideMenu.vue +62 -62
  45. package/src/components/menu/menu.js +273 -273
  46. package/src/components/page/header/index.less +40 -40
  47. package/src/components/setting/Setting.vue +235 -235
  48. package/src/components/table/StandardTable.vue +141 -141
  49. package/src/components/table/advance/ActionColumns.vue +158 -158
  50. package/src/components/table/advance/SearchArea.vue +355 -355
  51. package/src/components/tool/AStepItem.vue +60 -60
  52. package/src/components/tool/AvatarList.vue +68 -68
  53. package/src/components/tool/Drawer.vue +142 -142
  54. package/src/components/tool/TagSelect.vue +83 -83
  55. package/src/components/transition/PageToggleTransition.vue +97 -97
  56. package/src/config/CreateQueryConfig.js +310 -310
  57. package/src/config/default/admin.config.js +18 -18
  58. package/src/config/replacer/resolve.config.js +67 -67
  59. package/src/layouts/AdminLayout.vue +174 -174
  60. package/src/layouts/PageLayout.vue +151 -151
  61. package/src/layouts/SinglePageView.vue +105 -105
  62. package/src/layouts/header/AdminHeader.vue +104 -104
  63. package/src/layouts/header/HeaderNotice.vue +167 -167
  64. package/src/layouts/header/HeaderSearch.vue +67 -67
  65. package/src/layouts/header/InstitutionDetail.vue +181 -181
  66. package/src/layouts/header/index.less +92 -92
  67. package/src/layouts/tabs/TabsHead.vue +190 -190
  68. package/src/layouts/tabs/TabsView.vue +379 -379
  69. package/src/mock/goods/index.js +108 -108
  70. package/src/pages/CreateQueryPage.vue +65 -65
  71. package/src/pages/login/Login.vue +345 -345
  72. package/src/pages/report/ReportTable.js +124 -124
  73. package/src/pages/report/ReportTableHome.vue +28 -28
  74. package/src/pages/resourceManage/orgListManage.vue +98 -98
  75. package/src/pages/system/dictionary/index.vue +43 -43
  76. package/src/pages/system/file/index.vue +317 -317
  77. package/src/pages/system/monitor/loginInfor/index.vue +36 -36
  78. package/src/pages/system/monitor/operLog/index.vue +36 -36
  79. package/src/pages/system/queryParams/index.vue +43 -43
  80. package/src/router/async/config.async.js +27 -27
  81. package/src/router/async/router.map.js +65 -65
  82. package/src/router/index.js +27 -27
  83. package/src/services/api/DictionaryDetailsViewApi.js +6 -6
  84. package/src/services/api/LogDetailsViewApi.js +10 -10
  85. package/src/services/api/QueryParamsDetailsViewApi.js +6 -6
  86. package/src/services/api/TicketDetailsViewApi.js +34 -34
  87. package/src/services/api/cas.js +79 -79
  88. package/src/services/api/commonTempTable.js +10 -10
  89. package/src/services/api/index.js +17 -17
  90. package/src/services/api/manage.js +8 -8
  91. package/src/services/api/restTools.js +24 -24
  92. package/src/services/apiService.js +13 -13
  93. package/src/services/user.js +53 -53
  94. package/src/store/modules/index.js +4 -4
  95. package/src/theme/default/nprogress.less +76 -76
  96. package/src/theme/default/style.less +47 -47
  97. package/src/utils/colors.js +107 -103
  98. package/src/utils/excel/Blob.js +180 -180
  99. package/src/utils/excel/Export2Excel.js +141 -141
  100. package/src/utils/formatter.js +68 -68
  101. package/src/utils/i18n.js +80 -80
  102. package/src/utils/theme-color-replacer-extend.js +91 -91
  103. package/src/utils/themeUtil.js +100 -100
  104. package/src/utils/util.js +230 -230
@@ -1,310 +1,310 @@
1
- module.exports = {
2
- // 数据模式类型
3
- dataModeType: [
4
- {
5
- label: '渲染查询表单项',
6
- value: 'queryForm',
7
- noMatch: ['file', 'image', 'textarea', 'personSetting', 'checkbox']
8
- },
9
- {
10
- label: '渲染表格列',
11
- value: 'table',
12
- noMatch: ['file', 'image', 'personSetting', 'checkbox']
13
- },
14
- {
15
- label: '渲染新增/修改表单项',
16
- value: 'addOrEditForm',
17
- noMatch: []
18
- },
19
- {
20
- label: 'SQL生成查询项',
21
- value: 'sqlQueryItem',
22
- noMatch: ['file', 'personSetting', 'checkbox']
23
- },
24
- {
25
- label: 'SQL生成查询表达式',
26
- value: 'sqlQueryCondition',
27
- noMatch: ['file', 'image', 'textarea', 'personSetting', 'checkbox']
28
- }
29
- ],
30
- // 表单类型
31
- formType: [
32
- {
33
- label: '输入框', key: 'input'
34
- },
35
- {
36
- label: '选择框', key: 'select'
37
- },
38
- {
39
- label: '级联选择框', key: 'selects'
40
- },
41
- {
42
- label: 'cascader选择框', key: 'cascader'
43
- },
44
- {
45
- label: '多选框', key: 'checkbox'
46
- },
47
- {
48
- label: '地点搜索框', key: 'addressSearch'
49
- },
50
- {
51
- label: '省市区选择框', key: 'citySelect'
52
- },
53
- {
54
- label: '单选框', key: 'radio'
55
- },
56
- {
57
- label: '日期范围选择框', key: 'rangePicker'
58
- },
59
- {
60
- label: '年份选择框', key: 'yearPicker'
61
- },
62
- {
63
- label: '月份选择框', key: 'monthPicker'
64
- },
65
- {
66
- label: '单日选择框', key: 'datePicker'
67
- },
68
- {
69
- label: '文本域', key: 'textarea'
70
- },
71
- {
72
- label: '文件上传', key: 'file'
73
- },
74
- {
75
- label: '图片上传', key: 'image'
76
- },
77
- {
78
- label: '人员选择框', key: 'personSetting'
79
- },
80
- ],
81
- // 文件上传类型
82
- fileType: [
83
- {
84
- label: '无限制',
85
- accept: '*'
86
- },
87
- {
88
- label: 'word文档',
89
- accept: '.doc,.docx,'
90
- },
91
- {
92
- label: 'excel表格',
93
- accept: '.xls,.xlsx,'
94
- },
95
- {
96
- label: 'ppt幻灯片',
97
- accept: '.ppt,.pptx,'
98
- },
99
- {
100
- label: '图片',
101
- accept: '.jpg,.jpeg,.ico,.gif,svg,.webp,.png,.bmp,.pjpeg,'
102
- },
103
- {
104
- label: '视频',
105
- accept: '.mp4,.mov,.m4v,.wmv,.asf,.asx,.rm,.rmvb,.3gp,.avi,.mkv,'
106
- },
107
- {
108
- label: '音频',
109
- accept: '.mp3,.cda,.wav,.aif,.aiff,.ape,.ra,'
110
- },
111
- {
112
- label: '压缩包',
113
- accept: '.zip,.rar,.7z,'
114
- },
115
- {
116
- label: '文本/JSON',
117
- accept: '.json,.txt,'
118
- }
119
- ],
120
- // 表单校验类型
121
- formRuleType: [
122
- {
123
- label: '字符串', key: 'string'
124
- },
125
- {
126
- label: '数字', key: 'number'
127
- },
128
- {
129
- label: '布尔值', key: 'boolean'
130
- },
131
- {
132
- label: '正则表达式', key: 'regexp'
133
- },
134
- {
135
- label: '整数', key: 'integer'
136
- },
137
- {
138
- label: '小数', key: 'float'
139
- },
140
- {
141
- label: '数组或集合', key: 'array'
142
- },
143
- {
144
- label: '邮箱', key: 'email'
145
- }
146
- ],
147
- // 作用域插槽类型
148
- slotType: [
149
- {
150
- label: '不设置',
151
- key: 'default',
152
- match: ['input', 'select', 'selects', 'checkbox', 'radio', 'addressSearch', 'citySelect']
153
- },
154
- {
155
- label: '文本溢出省略',
156
- key: 'ellipsis',
157
- match: ['input', 'citySelect', 'addressSearch']
158
- },
159
- {
160
- label: '多彩徽标',
161
- key: 'badge',
162
- match: ['select', 'selects', 'citySelect', 'addressSearch']
163
- },
164
- {
165
- label: '日期格式化',
166
- key: 'date',
167
- match: ['rangePicker', 'datePicker']
168
- },
169
- {
170
- label: '日期时间格式化',
171
- key: 'dateTime',
172
- match: ['rangePicker', 'datePicker']
173
- },
174
- {
175
- label: '操作列',
176
- key: 'action',
177
- match: [
178
- 'input'
179
- ]
180
- },
181
- ],
182
- // 查询方式
183
- queryType: [
184
- {
185
- label: '相等[=]',
186
- key: '=',
187
- match: ['input', 'select', 'radio', 'monthPicker', 'yearPicker', 'selects', 'addressSearch', 'citySelect']
188
- },
189
- {
190
- label: '不相等[!=]',
191
- key: '!=',
192
- match: ['input']
193
- },
194
- {
195
- label: '全模糊[like]',
196
- key: 'LIKE',
197
- match: ['input']
198
- },
199
- {
200
- label: '左模糊[left like]',
201
- key: 'LEFT_LIKE',
202
- match: ['input']
203
- },
204
- {
205
- label: '右模糊[right like]',
206
- key: 'RIGHT_LIKE',
207
- match: ['input']
208
- },
209
- {
210
- label: '大于[>]',
211
- key: '>',
212
- match: ['input', 'radio', 'monthPicker', 'yearPicker']
213
- },
214
- {
215
- label: '大于等于[>=]',
216
- key: '>=',
217
- match: ['input', 'radio', 'monthPicker', 'yearPicker']
218
- },
219
- {
220
- label: '小于[<]',
221
- key: '<',
222
- match: ['input', 'radio', 'monthPicker', 'yearPicker']
223
- },
224
- {
225
- label: '小于等于[<=]',
226
- key: '<=',
227
- match: ['input', 'radio', 'monthPicker', 'yearPicker']
228
- },
229
- {
230
- label: '包含[in]',
231
- key: 'IN',
232
- match: ['checkbox']
233
- },
234
- {
235
- label: '不包含[not in]',
236
- key: 'NOT_IN',
237
- match: ['checkbox']
238
- },
239
- {
240
- label: '之间[between]',
241
- key: 'BETWEEN',
242
- match: ['rangePicker', 'datePicker']
243
- }
244
- ],
245
- // 新增/修改场景类型
246
- addOrEditType: [
247
- {
248
- label: '新增和修改',
249
- key: 'all',
250
- match: ['all']
251
- },
252
- {
253
- label: '仅支持新增',
254
- key: 'add',
255
- match: ['all']
256
- },
257
- {
258
- label: '仅支持修改',
259
- key: 'edit',
260
- match: ['all']
261
- },
262
- {
263
- label: '静默新增(不生成表单)',
264
- key: 'silenceAdd',
265
- match: ['input', 'rangePicker']
266
- },
267
- {
268
- label: '版本号',
269
- key: 'version',
270
- match: ['input']
271
- }
272
- ],
273
- // 字段用途类型
274
- silencePurposeType: [
275
- {
276
- label: '创建时间',
277
- key: 'createTime'
278
- },
279
- {
280
- label: '创建/操作人',
281
- key: 'operator'
282
- },
283
- {
284
- label: '组织机构ID',
285
- key: 'orgId'
286
- },
287
- {
288
- label: '自定义',
289
- key: 'customize'
290
- }
291
- ],
292
- // 数据源类型
293
- selectDataType: [
294
- {
295
- label: '字典键',
296
- key: 'key',
297
- noMatch: ['selects', 'cascader']
298
- },
299
- {
300
- label: '固定集合',
301
- key: 'fixArray',
302
- noMatch: ['selects', 'cascader']
303
- },
304
- {
305
- label: '业务逻辑',
306
- key: 'logic',
307
- noMatch: []
308
- }
309
- ]
310
- }
1
+ module.exports = {
2
+ // 数据模式类型
3
+ dataModeType: [
4
+ {
5
+ label: '渲染查询表单项',
6
+ value: 'queryForm',
7
+ noMatch: ['file', 'image', 'textarea', 'personSetting', 'checkbox']
8
+ },
9
+ {
10
+ label: '渲染表格列',
11
+ value: 'table',
12
+ noMatch: ['file', 'image', 'personSetting', 'checkbox']
13
+ },
14
+ {
15
+ label: '渲染新增/修改表单项',
16
+ value: 'addOrEditForm',
17
+ noMatch: []
18
+ },
19
+ {
20
+ label: 'SQL生成查询项',
21
+ value: 'sqlQueryItem',
22
+ noMatch: ['file', 'personSetting', 'checkbox']
23
+ },
24
+ {
25
+ label: 'SQL生成查询表达式',
26
+ value: 'sqlQueryCondition',
27
+ noMatch: ['file', 'image', 'textarea', 'personSetting', 'checkbox']
28
+ }
29
+ ],
30
+ // 表单类型
31
+ formType: [
32
+ {
33
+ label: '输入框', key: 'input'
34
+ },
35
+ {
36
+ label: '选择框', key: 'select'
37
+ },
38
+ {
39
+ label: '级联选择框', key: 'selects'
40
+ },
41
+ {
42
+ label: 'cascader选择框', key: 'cascader'
43
+ },
44
+ {
45
+ label: '多选框', key: 'checkbox'
46
+ },
47
+ {
48
+ label: '地点搜索框', key: 'addressSearch'
49
+ },
50
+ {
51
+ label: '省市区选择框', key: 'citySelect'
52
+ },
53
+ {
54
+ label: '单选框', key: 'radio'
55
+ },
56
+ {
57
+ label: '日期范围选择框', key: 'rangePicker'
58
+ },
59
+ {
60
+ label: '年份选择框', key: 'yearPicker'
61
+ },
62
+ {
63
+ label: '月份选择框', key: 'monthPicker'
64
+ },
65
+ {
66
+ label: '单日选择框', key: 'datePicker'
67
+ },
68
+ {
69
+ label: '文本域', key: 'textarea'
70
+ },
71
+ {
72
+ label: '文件上传', key: 'file'
73
+ },
74
+ {
75
+ label: '图片上传', key: 'image'
76
+ },
77
+ {
78
+ label: '人员选择框', key: 'personSetting'
79
+ },
80
+ ],
81
+ // 文件上传类型
82
+ fileType: [
83
+ {
84
+ label: '无限制',
85
+ accept: '*'
86
+ },
87
+ {
88
+ label: 'word文档',
89
+ accept: '.doc,.docx,'
90
+ },
91
+ {
92
+ label: 'excel表格',
93
+ accept: '.xls,.xlsx,'
94
+ },
95
+ {
96
+ label: 'ppt幻灯片',
97
+ accept: '.ppt,.pptx,'
98
+ },
99
+ {
100
+ label: '图片',
101
+ accept: '.jpg,.jpeg,.ico,.gif,svg,.webp,.png,.bmp,.pjpeg,'
102
+ },
103
+ {
104
+ label: '视频',
105
+ accept: '.mp4,.mov,.m4v,.wmv,.asf,.asx,.rm,.rmvb,.3gp,.avi,.mkv,'
106
+ },
107
+ {
108
+ label: '音频',
109
+ accept: '.mp3,.cda,.wav,.aif,.aiff,.ape,.ra,'
110
+ },
111
+ {
112
+ label: '压缩包',
113
+ accept: '.zip,.rar,.7z,'
114
+ },
115
+ {
116
+ label: '文本/JSON',
117
+ accept: '.json,.txt,'
118
+ }
119
+ ],
120
+ // 表单校验类型
121
+ formRuleType: [
122
+ {
123
+ label: '字符串', key: 'string'
124
+ },
125
+ {
126
+ label: '数字', key: 'number'
127
+ },
128
+ {
129
+ label: '布尔值', key: 'boolean'
130
+ },
131
+ {
132
+ label: '正则表达式', key: 'regexp'
133
+ },
134
+ {
135
+ label: '整数', key: 'integer'
136
+ },
137
+ {
138
+ label: '小数', key: 'float'
139
+ },
140
+ {
141
+ label: '数组或集合', key: 'array'
142
+ },
143
+ {
144
+ label: '邮箱', key: 'email'
145
+ }
146
+ ],
147
+ // 作用域插槽类型
148
+ slotType: [
149
+ {
150
+ label: '不设置',
151
+ key: 'default',
152
+ match: ['input', 'select', 'selects', 'checkbox', 'radio', 'addressSearch', 'citySelect']
153
+ },
154
+ {
155
+ label: '文本溢出省略',
156
+ key: 'ellipsis',
157
+ match: ['input', 'citySelect', 'addressSearch']
158
+ },
159
+ {
160
+ label: '多彩徽标',
161
+ key: 'badge',
162
+ match: ['select', 'selects', 'citySelect', 'addressSearch']
163
+ },
164
+ {
165
+ label: '日期格式化',
166
+ key: 'date',
167
+ match: ['rangePicker', 'datePicker']
168
+ },
169
+ {
170
+ label: '日期时间格式化',
171
+ key: 'dateTime',
172
+ match: ['rangePicker', 'datePicker']
173
+ },
174
+ {
175
+ label: '操作列',
176
+ key: 'action',
177
+ match: [
178
+ 'input'
179
+ ]
180
+ },
181
+ ],
182
+ // 查询方式
183
+ queryType: [
184
+ {
185
+ label: '相等[=]',
186
+ key: '=',
187
+ match: ['input', 'select', 'radio', 'monthPicker', 'yearPicker', 'selects', 'addressSearch', 'citySelect']
188
+ },
189
+ {
190
+ label: '不相等[!=]',
191
+ key: '!=',
192
+ match: ['input']
193
+ },
194
+ {
195
+ label: '全模糊[like]',
196
+ key: 'LIKE',
197
+ match: ['input']
198
+ },
199
+ {
200
+ label: '左模糊[left like]',
201
+ key: 'LEFT_LIKE',
202
+ match: ['input']
203
+ },
204
+ {
205
+ label: '右模糊[right like]',
206
+ key: 'RIGHT_LIKE',
207
+ match: ['input']
208
+ },
209
+ {
210
+ label: '大于[>]',
211
+ key: '>',
212
+ match: ['input', 'radio', 'monthPicker', 'yearPicker']
213
+ },
214
+ {
215
+ label: '大于等于[>=]',
216
+ key: '>=',
217
+ match: ['input', 'radio', 'monthPicker', 'yearPicker']
218
+ },
219
+ {
220
+ label: '小于[<]',
221
+ key: '<',
222
+ match: ['input', 'radio', 'monthPicker', 'yearPicker']
223
+ },
224
+ {
225
+ label: '小于等于[<=]',
226
+ key: '<=',
227
+ match: ['input', 'radio', 'monthPicker', 'yearPicker']
228
+ },
229
+ {
230
+ label: '包含[in]',
231
+ key: 'IN',
232
+ match: ['checkbox']
233
+ },
234
+ {
235
+ label: '不包含[not in]',
236
+ key: 'NOT_IN',
237
+ match: ['checkbox']
238
+ },
239
+ {
240
+ label: '之间[between]',
241
+ key: 'BETWEEN',
242
+ match: ['rangePicker', 'datePicker']
243
+ }
244
+ ],
245
+ // 新增/修改场景类型
246
+ addOrEditType: [
247
+ {
248
+ label: '新增和修改',
249
+ key: 'all',
250
+ match: ['all']
251
+ },
252
+ {
253
+ label: '仅支持新增',
254
+ key: 'add',
255
+ match: ['all']
256
+ },
257
+ {
258
+ label: '仅支持修改',
259
+ key: 'edit',
260
+ match: ['all']
261
+ },
262
+ {
263
+ label: '静默新增(不生成表单)',
264
+ key: 'silenceAdd',
265
+ match: ['input', 'rangePicker']
266
+ },
267
+ {
268
+ label: '版本号',
269
+ key: 'version',
270
+ match: ['input']
271
+ }
272
+ ],
273
+ // 字段用途类型
274
+ silencePurposeType: [
275
+ {
276
+ label: '创建时间',
277
+ key: 'createTime'
278
+ },
279
+ {
280
+ label: '创建/操作人',
281
+ key: 'operator'
282
+ },
283
+ {
284
+ label: '组织机构ID',
285
+ key: 'orgId'
286
+ },
287
+ {
288
+ label: '自定义',
289
+ key: 'customize'
290
+ }
291
+ ],
292
+ // 数据源类型
293
+ selectDataType: [
294
+ {
295
+ label: '字典键',
296
+ key: 'key',
297
+ noMatch: ['selects', 'cascader']
298
+ },
299
+ {
300
+ label: '固定集合',
301
+ key: 'fixArray',
302
+ noMatch: ['selects', 'cascader']
303
+ },
304
+ {
305
+ label: '业务逻辑',
306
+ key: 'logic',
307
+ noMatch: []
308
+ }
309
+ ]
310
+ }
@@ -1,18 +1,18 @@
1
- // admin 配置
2
- const ADMIN = {
3
- palettes: ['#f5222d', '#fa541c', '#fadb14', '#3eaf7c', '#13c2c2', '#1890ff', '#722ed1', '#eb2f96'],
4
- animates: require('./animate.config').preset,
5
- theme: {
6
- mode: {
7
- DARK: 'dark',
8
- LIGHT: 'light',
9
- NIGHT: 'night'
10
- }
11
- },
12
- layout: {
13
- SIDE: 'side',
14
- HEAD: 'head'
15
- }
16
- }
17
-
18
- module.exports = ADMIN
1
+ // admin 配置
2
+ const ADMIN = {
3
+ palettes: ['#f5222d', '#fa541c', '#fadb14', '#3eaf7c', '#13c2c2', '#1890ff', '#722ed1', '#eb2f96', '#507CAD'],
4
+ animates: require('./animate.config').preset,
5
+ theme: {
6
+ mode: {
7
+ DARK: 'dark',
8
+ LIGHT: 'light',
9
+ NIGHT: 'night'
10
+ }
11
+ },
12
+ layout: {
13
+ SIDE: 'side',
14
+ HEAD: 'head'
15
+ }
16
+ }
17
+
18
+ module.exports = ADMIN