commit | author | age | ||
74344a | 1 | //main1-home布局设置 |
I | 2 | const screenConfig = { |
3 | colMini: { | |
4 | xs: 1, | |
5 | sm: 1, | |
6 | md: 0, | |
7 | lg: 0, | |
8 | xl: 0, | |
9 | xxl: 0 | |
10 | }, | |
11 | colApiLeft: { | |
12 | xs: 0, | |
13 | sm: 0, | |
14 | md: { | |
15 | span: 8, | |
16 | }, | |
17 | lg: { | |
18 | span: 7, | |
19 | offset: 1, | |
20 | }, | |
21 | xl: { | |
22 | span: 5, | |
23 | offset: 2, | |
24 | }, | |
25 | xxl: { | |
26 | span: 4, | |
27 | offset: 3, | |
28 | }, | |
29 | }, | |
30 | colApiRight: { | |
31 | xs: 0, | |
32 | sm: 0, | |
33 | md: 0, | |
34 | lg: 1, | |
35 | xl: 1, | |
36 | xxl: 1, | |
37 | }, | |
38 | colApiMain: { | |
39 | xs: 24, | |
40 | sm: { | |
41 | span: 20, | |
42 | offset: 2, | |
43 | }, | |
44 | md: { | |
45 | span: 15, | |
46 | offset: 1, | |
47 | }, | |
48 | lg: { | |
49 | span: 13, | |
50 | offset: 2, | |
51 | }, | |
52 | xl: { | |
53 | span: 13, | |
54 | offset: 2, | |
55 | }, | |
56 | xxl: { | |
57 | span: 11, | |
58 | offset: 2, | |
59 | }, | |
60 | }, | |
61 | // 放大版布局 | |
62 | colApiMainScale: { | |
63 | xs: 24, | |
64 | sm: 24, | |
65 | md: { | |
66 | span: 20, | |
67 | offset: 2, | |
68 | }, | |
69 | lg: { | |
70 | span: 20, | |
71 | offset: 2, | |
72 | }, | |
73 | xl: { | |
74 | span: 17, | |
75 | offset: 4, | |
76 | }, | |
77 | xxl: { | |
78 | span: 17, | |
79 | offset: 4, | |
80 | }, | |
81 | }, | |
82 | // 放大版布局 | |
83 | colApiLeftScale: { | |
84 | xs: 0, | |
85 | sm: 0, | |
86 | md: 0, | |
87 | lg: 0, | |
88 | xl: 0, | |
89 | xxl: 0, | |
90 | }, | |
41b36f | 91 | } |
74344a | 92 | export default screenConfig; |