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
/**
@Name��layuiAdmin iframe��ȫ������
@Author������
@Site��http://www.layui.com/admin/
@License��LPPL��layui���Ѳ�ƷЭ�飩
*/
layui.define(['laytpl', 'layer', 'element', 'util'], function(exports){
exports('setter', {
container: 'LAY_app' //����ID
,base: layui.cache.base //��¼��̬��Դ����·��
,views: layui.cache.base + 'tpl/' //��̬ģ������Ŀ¼
,entry: 'index' //Ĭ����ͼ�ļ���
,engine: '.html' //��ͼ�ļ�����
,pageTabs: true //�Ƿ���ҳ��ѡ����ܡ�iframe
,name: 'js'
,tableName: 'js' //���ش洢����
,MOD_NAME: 'admin' //ģ���¼���
,debug: true //�Ƿ�������ģʽ���翪�����ӿ��쳣ʱ���׳��쳣 URL ����Ϣ
//�Զ��������ֶ�
,request: {
tokenName: false //�Զ�Я�� token ���ֶ����磺access_token���������� false ��Я��
}
//�Զ�����Ӧ�ֶ�
,response: {
statusName: 'code' //���״̬���ֶ����
,statusCode: {
ok: 0 //���״̬һ�����״̬��
,logout: 1001 //��¼״̬ʧЧ��״̬��
}
,msgName: 'msg' //״̬��Ϣ���ֶ����
,dataName: 'data' //���������ֶ����
}
//��չ�ĵ���ģ��
,extend: [
'echarts', //echarts ����
'echartsTheme' //echarts ����
]
//��������
,theme: {
//����������ɫ����
color: [{
main: '#20222A' //����ɫ
,selected: '#009688' //ѡ��ɫ
,alias: 'default' //Ĭ�ϱ���
},{
main: '#03152A'
,selected: '#3B91FF'
,alias: 'dark-blue' //����
},{
main: '#2E241B'
,selected: '#A48566'
,alias: 'coffee' //����
},{
main: '#50314F'
,selected: '#7A4D7B'
,alias: 'purple-red' //�Ϻ�
},{
main: '#344058'
,logo: '#1E9FFF'
,selected: '#1E9FFF'
,alias: 'ocean' //����
},{
main: '#3A3D49'
,logo: '#2F9688'
,selected: '#5FB878'
,alias: 'green' //ī��
},{
main: '#20222A'
,logo: '#F78400'
,selected: '#F78400'
,alias: 'red' //��ɫ
},{
main: '#28333E'
,logo: '#AA3130'
,selected: '#AA3130'
,alias: 'fashion-red' //ʱ�к�
},{
main: '#24262F'
,logo: '#3A3D49'
,selected: '#009688'
,alias: 'classic-black' //�����
},{
logo: '#226A62'
,header: '#2F9688'
,alias: 'green-header' //ī��ͷ
},{
main: '#344058'
,logo: '#0085E8'
,selected: '#1E9FFF'
,header: '#1E9FFF'
,alias: 'ocean-header' //����ͷ
},{
header: '#393D49'
,alias: 'classic-black-header' //�����ͷ
}]
//��ʼ����ɫ�����Ӧ�������ɫ������������
//�����Ѿ�������ɫ��¼�����Ա��ؼ�¼Ϊ���ȣ����������ݣ�localStorage��
,initColorIndex: 0
}
});
});