nubomed-ui 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/.env.bi +13 -0
- package/.env.terminal +13 -0
- package/.vscode/extensions.json +3 -0
- package/README.md +17 -0
- package/index.html +13 -0
- package/nubomed-ui/nubomed-ui.es.js +2005 -0
- package/nubomed-ui/nubomed-ui.umd.js +1 -0
- package/nubomed-ui/style.css +1 -0
- package/package.json +19 -7
- package/src/App.vue +31 -0
- package/src/bi-demos/Header.vue +29 -0
- package/src/bi-demos/Table.vue +69 -0
- package/src/bi-demos/index.vue +132 -0
- package/src/bi-packages/components/Box/images/corner-error.png +0 -0
- package/src/bi-packages/components/Box/images/corner-warning.png +0 -0
- package/src/bi-packages/components/Box/images/corner.png +0 -0
- package/src/bi-packages/components/Box/index.scss +86 -0
- package/src/bi-packages/components/Box/index.vue +53 -0
- package/src/bi-packages/components/Carousel/CarouselItem.vue +0 -0
- package/src/bi-packages/components/Carousel/index.vue +0 -0
- package/src/bi-packages/components/Header/images/left-bg.png +0 -0
- package/src/bi-packages/components/Header/images/logo.png +0 -0
- package/src/bi-packages/components/Header/images/right-bg.png +0 -0
- package/src/bi-packages/components/Header/index.scss +50 -0
- package/src/bi-packages/components/Header/index.vue +54 -0
- package/src/bi-packages/components/Table/TableColgroup.vue +43 -0
- package/src/bi-packages/components/Table/index copy.vue +107 -0
- package/src/bi-packages/components/Table/index.scss +118 -0
- package/src/bi-packages/components/Table/index.vue +108 -0
- package/src/bi-packages/components/TableColumn/index.scss +7 -0
- package/src/bi-packages/components/TableColumn/index.vue +60 -0
- package/src/bi-packages/fonts/OPPOSans-B.ttf +0 -0
- package/src/bi-packages/fonts/OPPOSans-M.ttf +0 -0
- package/src/bi-packages/fonts/font.scss +11 -0
- package/src/bi-packages/iconfont-svg/demo.css +539 -0
- package/src/bi-packages/iconfont-svg/demo_index.html +4811 -0
- package/src/bi-packages/iconfont-svg/iconfont.css +819 -0
- package/src/bi-packages/iconfont-svg/iconfont.js +1 -0
- package/src/bi-packages/iconfont-svg/iconfont.json +1416 -0
- package/src/bi-packages/iconfont-svg/iconfont.ttf +0 -0
- package/src/bi-packages/iconfont-svg/iconfont.woff +0 -0
- package/src/bi-packages/iconfont-svg/iconfont.woff2 +0 -0
- package/src/bi-packages/index.js +34 -0
- package/src/bi-packages/styles/mixin.scss +12 -0
- package/src/bi-packages/styles/var.scss +11 -0
- package/src/demos/ActionBar.vue +59 -0
- package/src/demos/Badge.vue +28 -0
- package/src/demos/Button copy.vue +302 -0
- package/src/demos/Button.vue +116 -0
- package/src/demos/ButtonGroup.vue +40 -0
- package/src/demos/Check.vue +29 -0
- package/src/demos/Dialog.vue +255 -0
- package/src/demos/Empty.vue +38 -0
- package/src/demos/FooterMenu.vue +49 -0
- package/src/demos/Header.vue +71 -0
- package/src/demos/Icons.vue +314 -0
- package/src/demos/Input.vue +87 -0
- package/src/demos/InputKeyboard.vue +30 -0
- package/src/demos/InputNumber.vue +34 -0
- package/src/demos/LeftMenu.vue +128 -0
- package/src/demos/Menus.vue +106 -0
- package/src/demos/OpenCabinetBall.vue +37 -0
- package/src/demos/Statusbar.vue +146 -0
- package/src/demos/Steps.vue +45 -0
- package/src/demos/Tost.vue +35 -0
- package/src/demos/button/button.md +19 -0
- package/src/demos/data/terList.json +145 -0
- package/src/demos/images/cabinets/H3000-D.png +0 -0
- package/src/demos/images/cabinets/H3000-R.png +0 -0
- package/src/demos/images/cabinets/H3000-Rh.png +0 -0
- package/src/demos/images/cabinets/H3000-Rh2.png +0 -0
- package/src/demos/images/cabinets/H3010-R.png +0 -0
- package/src/demos/index.vue +348 -0
- package/src/docs/icons/Icon.vue +72 -0
- package/src/docs/icons/icon.md +21 -0
- package/src/docs/index.html +15 -0
- package/src/docs/index.vue +301 -0
- package/src/main.js +23 -0
- package/src/packages/components/ActionBar/images/error.png +0 -0
- package/src/packages/components/ActionBar/images/loading.gif +0 -0
- package/src/packages/components/ActionBar/images/success.png +0 -0
- package/src/packages/components/ActionBar/images/warning.png +0 -0
- package/src/packages/components/ActionBar/images/warning_yellow.png +0 -0
- package/src/packages/components/ActionBar/index.scss +81 -0
- package/src/packages/components/ActionBar/index.vue +100 -0
- package/src/packages/components/Badge/index.scss +50 -0
- package/src/packages/components/Badge/index.vue +75 -0
- package/src/packages/components/Button/index.scss +241 -0
- package/src/packages/components/Button/index.vue +111 -0
- package/src/packages/components/ButtonGroup/index.scss +54 -0
- package/src/packages/components/ButtonGroup/index.vue +75 -0
- package/src/packages/components/Check/Cate.vue +138 -0
- package/src/packages/components/Check/index.scss +47 -0
- package/src/packages/components/Check/index.vue +105 -0
- package/src/packages/components/Dialog/images/error.png +0 -0
- package/src/packages/components/Dialog/images/success.png +0 -0
- package/src/packages/components/Dialog/images/warning-red.png +0 -0
- package/src/packages/components/Dialog/images/warning-yellow.png +0 -0
- package/src/packages/components/Dialog/index.scss +154 -0
- package/src/packages/components/Dialog/index.vue +305 -0
- package/src/packages/components/Empty/images/empty-abnormal.png +0 -0
- package/src/packages/components/Empty/images/empty-data.png +0 -0
- package/src/packages/components/Empty/images/empty-search.png +0 -0
- package/src/packages/components/Empty/index.vue +68 -0
- package/src/packages/components/Form/FormItem.vue +73 -0
- package/src/packages/components/Form/index.vue +76 -0
- package/src/packages/components/Icon/index.vue +30 -0
- package/src/packages/components/Input/index.scss +184 -0
- package/src/packages/components/Input/index.vue +189 -0
- package/src/packages/components/InputKeyboard/index.scss +63 -0
- package/src/packages/components/InputKeyboard/index.vue +117 -0
- package/src/packages/components/InputNumber/index.scss +103 -0
- package/src/packages/components/InputNumber/index.vue +160 -0
- package/src/packages/components/Menu/index.scss +559 -0
- package/src/packages/components/Menu/index.vue +211 -0
- package/src/packages/components/OpenCabinetBall/CabinetStatus.vue +94 -0
- package/src/packages/components/OpenCabinetBall/index.scss +204 -0
- package/src/packages/components/OpenCabinetBall/index.vue +113 -0
- package/src/packages/components/Statusbar/CabinetList.vue +125 -0
- package/src/packages/components/Statusbar/CabinetListStatus.vue +75 -0
- package/src/packages/components/Statusbar/CabinetListTempHum.vue +108 -0
- package/src/packages/components/Statusbar/index.scss +205 -0
- package/src/packages/components/Statusbar/index.vue +83 -0
- package/src/packages/components/Steps/index.scss +104 -0
- package/src/packages/components/Steps/index.vue +66 -0
- package/src/packages/components/SvgIcon/index.vue +41 -0
- package/src/packages/components/Toast/index.vue +72 -0
- package/src/packages/fonts/OPPOSans-B.ttf +0 -0
- package/src/packages/fonts/OPPOSans-M.ttf +0 -0
- package/src/packages/fonts/font.scss +11 -0
- package/src/packages/iconfont-svg/demo.css +539 -0
- package/src/packages/iconfont-svg/demo_index.html +4811 -0
- package/src/packages/iconfont-svg/iconfont.css +819 -0
- package/src/packages/iconfont-svg/iconfont.js +1 -0
- package/src/packages/iconfont-svg/iconfont.json +1416 -0
- package/src/packages/iconfont-svg/iconfont.ttf +0 -0
- package/src/packages/iconfont-svg/iconfont.woff +0 -0
- package/src/packages/iconfont-svg/iconfont.woff2 +0 -0
- package/src/packages/index.js +64 -0
- package/src/packages/styles/var.scss +24 -0
- package/src/utils/create.js +48 -0
- package/src/utils/index.js +13 -0
- package/src/utils/validate.js +3 -0
- package/vite.config.js +47 -0
- package/nubomed-ui.es.js +0 -152
- package/nubomed-ui.umd.js +0 -1
- package/style.css +0 -1
@@ -0,0 +1,559 @@
|
|
1
|
+
:root {
|
2
|
+
--nb-menu-left-width: 360px;
|
3
|
+
--nb-menu-footer-height: 96px;
|
4
|
+
--nb-menu-header-height: 80px;
|
5
|
+
--nb-menu-gird-width: 1000px;
|
6
|
+
--nb-menu-gird-height: 640px;
|
7
|
+
}
|
8
|
+
|
9
|
+
.nb-menu--left {
|
10
|
+
width: var(--nb-menu-left-width);
|
11
|
+
height: 100%;
|
12
|
+
display: flex;
|
13
|
+
flex-direction: column;
|
14
|
+
border-right: 1px solid #cad0e0;
|
15
|
+
overflow-x: hidden;
|
16
|
+
overflow-y: auto;
|
17
|
+
padding: 24px 0;
|
18
|
+
background-color: #f4f6f9;
|
19
|
+
|
20
|
+
.nb-menu__title {
|
21
|
+
text-align: left;
|
22
|
+
font-size: 36px;
|
23
|
+
line-height: 47px;
|
24
|
+
margin-bottom: 24px;
|
25
|
+
padding: 0 30px;
|
26
|
+
}
|
27
|
+
|
28
|
+
.nb-menu__group {
|
29
|
+
width: 100%;
|
30
|
+
}
|
31
|
+
|
32
|
+
.nb-menu__group + .nb-menu__group {
|
33
|
+
margin-top: 24px;
|
34
|
+
}
|
35
|
+
|
36
|
+
.nb-menu__item {
|
37
|
+
min-height: 88px;
|
38
|
+
padding: 0 32px;
|
39
|
+
background-color: #fff;
|
40
|
+
position: relative;
|
41
|
+
overflow: hidden;
|
42
|
+
display: flex;
|
43
|
+
align-items: center;
|
44
|
+
|
45
|
+
&__icon {
|
46
|
+
width: 40px;
|
47
|
+
height: 40px;
|
48
|
+
margin-right: 16px;
|
49
|
+
color: inherit;
|
50
|
+
}
|
51
|
+
|
52
|
+
&__text {
|
53
|
+
flex: 1;
|
54
|
+
font-size: 28px;
|
55
|
+
line-height: 42px;
|
56
|
+
padding: 16px 16px 16px 0;
|
57
|
+
word-break: break-all;
|
58
|
+
}
|
59
|
+
|
60
|
+
&__count {
|
61
|
+
font-size: 28px;
|
62
|
+
line-height: 42px;
|
63
|
+
color: var(--nb-font-color-5);
|
64
|
+
}
|
65
|
+
|
66
|
+
&__arrow {
|
67
|
+
position: absolute;
|
68
|
+
top: 28px;
|
69
|
+
right: 16px;
|
70
|
+
width: 32px;
|
71
|
+
height: 32px;
|
72
|
+
color: #cad0e0;
|
73
|
+
}
|
74
|
+
|
75
|
+
// 选中
|
76
|
+
&--active {
|
77
|
+
background-color: var(--nb-theme-color);
|
78
|
+
color: #fff;
|
79
|
+
|
80
|
+
.nb-menu__item__count,
|
81
|
+
.nb-menu__item__arrow {
|
82
|
+
color: #ffffff !important;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
// 选中且异常
|
87
|
+
&--abnormal {
|
88
|
+
background-color: var(--nb-abnormal-color);
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
.nb-menu__item + .nb-menu__item {
|
93
|
+
&::before {
|
94
|
+
content: '';
|
95
|
+
position: absolute;
|
96
|
+
left: 32px;
|
97
|
+
right: 0;
|
98
|
+
top: 0;
|
99
|
+
background-color: #f4f6f9;
|
100
|
+
height: 1px;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
.nb-menu--footer {
|
106
|
+
width: 100%;
|
107
|
+
height: var(--nb-menu-footer-height);
|
108
|
+
background-color: var(--nb-font-color);
|
109
|
+
color: #ffffff;
|
110
|
+
display: flex;
|
111
|
+
align-items: center;
|
112
|
+
justify-content: center;
|
113
|
+
overflow-y: hidden;
|
114
|
+
overflow-x: auto;
|
115
|
+
|
116
|
+
.nb-menu__item {
|
117
|
+
height: 100%;
|
118
|
+
display: flex;
|
119
|
+
align-items: center;
|
120
|
+
justify-content: center;
|
121
|
+
|
122
|
+
&__text {
|
123
|
+
height: 100%;
|
124
|
+
display: flex;
|
125
|
+
flex-direction: column;
|
126
|
+
justify-content: center;
|
127
|
+
|
128
|
+
span {
|
129
|
+
background-color: #0f377a;
|
130
|
+
padding: 0 30px;
|
131
|
+
min-width: 200px;
|
132
|
+
height: 56px;
|
133
|
+
border-radius: 32px;
|
134
|
+
text-align: center;
|
135
|
+
font-size: 28px;
|
136
|
+
line-height: 56px;
|
137
|
+
box-sizing: border-box;
|
138
|
+
position: relative;
|
139
|
+
}
|
140
|
+
|
141
|
+
i {
|
142
|
+
position: absolute;
|
143
|
+
top: -8px;
|
144
|
+
right: -8px;
|
145
|
+
min-width: 32px;
|
146
|
+
height: 32px;
|
147
|
+
text-align: center;
|
148
|
+
line-height: 32px;
|
149
|
+
border-radius: 16px;
|
150
|
+
color: #fff;
|
151
|
+
background-color: var(--nb-abnormal-color);
|
152
|
+
font-style: normal;
|
153
|
+
font-size: 24px;
|
154
|
+
padding: 0 4px;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
|
158
|
+
&__arrow {
|
159
|
+
width: 32px;
|
160
|
+
height: 32px;
|
161
|
+
margin: 0 16px;
|
162
|
+
color: #cad0e0;
|
163
|
+
}
|
164
|
+
|
165
|
+
&--active {
|
166
|
+
.nb-menu__item__text span {
|
167
|
+
background-color: var(--nb-theme-color);
|
168
|
+
font-family: var(--nb-font-bold-family);
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
&--disabled {
|
173
|
+
cursor: not-allowed;
|
174
|
+
|
175
|
+
.nb-menu__item__text span {
|
176
|
+
background-color: #122e67;
|
177
|
+
color: rgba(#ffffff, 0.2);
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
&--import {
|
182
|
+
.nb-menu__item__text span {
|
183
|
+
color: #f98900;
|
184
|
+
font-family: var(--nb-font-bold-family);
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
.nb-menu--header {
|
191
|
+
width: 100%;
|
192
|
+
height: var(--nb-menu-header-height);
|
193
|
+
background-color: var(--nb-font-color);
|
194
|
+
color: #ffffff;
|
195
|
+
display: flex;
|
196
|
+
align-items: center;
|
197
|
+
justify-content: space-between;
|
198
|
+
overflow-y: hidden;
|
199
|
+
overflow-x: auto;
|
200
|
+
color: #ffffff;
|
201
|
+
position: relative;
|
202
|
+
overflow: hidden;
|
203
|
+
|
204
|
+
.nb-menu__back {
|
205
|
+
padding: 0 20px 0 32px;
|
206
|
+
height: 100%;
|
207
|
+
display: flex;
|
208
|
+
align-items: center;
|
209
|
+
justify-content: center;
|
210
|
+
|
211
|
+
.svg-icon {
|
212
|
+
width: 40px;
|
213
|
+
height: 40px;
|
214
|
+
margin-right: 4px;
|
215
|
+
}
|
216
|
+
|
217
|
+
&__text {
|
218
|
+
font-size: 32px;
|
219
|
+
line-height: 42px;
|
220
|
+
font-family: var(--nb-font-bold-family);
|
221
|
+
}
|
222
|
+
}
|
223
|
+
|
224
|
+
.nb-menu__logout {
|
225
|
+
padding: 0 32px 0 34px;
|
226
|
+
height: 100%;
|
227
|
+
display: flex;
|
228
|
+
align-items: center;
|
229
|
+
justify-content: center;
|
230
|
+
|
231
|
+
.svg-icon {
|
232
|
+
width: 40px;
|
233
|
+
height: 40px;
|
234
|
+
margin-right: 4px;
|
235
|
+
}
|
236
|
+
|
237
|
+
&__text {
|
238
|
+
font-size: 32px;
|
239
|
+
line-height: 42px;
|
240
|
+
font-family: var(--nb-font-bold-family);
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|
244
|
+
.nb-menu__title,
|
245
|
+
.nb-menu__menus {
|
246
|
+
height: 100%;
|
247
|
+
position: absolute;
|
248
|
+
top: 50%;
|
249
|
+
left: 50%;
|
250
|
+
transform: translate(-50%, -50%);
|
251
|
+
z-index: 1;
|
252
|
+
}
|
253
|
+
|
254
|
+
.nb-menu__title {
|
255
|
+
width: fit-content;
|
256
|
+
text-align: center;
|
257
|
+
font-size: 32px;
|
258
|
+
line-height: 42px;
|
259
|
+
font-family: var(--nb-font-bold-family);
|
260
|
+
display: flex;
|
261
|
+
align-items: center;
|
262
|
+
justify-content: center;
|
263
|
+
}
|
264
|
+
|
265
|
+
.nb-menu__menus {
|
266
|
+
display: flex;
|
267
|
+
align-items: center;
|
268
|
+
justify-content: center;
|
269
|
+
|
270
|
+
.nb-menu__item {
|
271
|
+
height: 100%;
|
272
|
+
display: flex;
|
273
|
+
align-items: center;
|
274
|
+
justify-content: center;
|
275
|
+
|
276
|
+
&__text {
|
277
|
+
height: 48px;
|
278
|
+
display: flex;
|
279
|
+
flex-direction: column;
|
280
|
+
justify-content: center;
|
281
|
+
background-color: #0f377a;
|
282
|
+
overflow: hidden;
|
283
|
+
|
284
|
+
span {
|
285
|
+
padding: 0 30px;
|
286
|
+
min-width: 200px;
|
287
|
+
height: 48px;
|
288
|
+
text-align: center;
|
289
|
+
font-size: 28px;
|
290
|
+
line-height: 48px;
|
291
|
+
box-sizing: border-box;
|
292
|
+
position: relative;
|
293
|
+
}
|
294
|
+
|
295
|
+
i {
|
296
|
+
position: absolute;
|
297
|
+
top: -8px;
|
298
|
+
right: -8px;
|
299
|
+
min-width: 32px;
|
300
|
+
height: 32px;
|
301
|
+
text-align: center;
|
302
|
+
line-height: 32px;
|
303
|
+
border-radius: 16px;
|
304
|
+
color: #fff;
|
305
|
+
background-color: var(--nb-abnormal-color);
|
306
|
+
font-style: normal;
|
307
|
+
font-size: 24px;
|
308
|
+
padding: 0 4px;
|
309
|
+
}
|
310
|
+
}
|
311
|
+
|
312
|
+
&--active {
|
313
|
+
.nb-menu__item__text span {
|
314
|
+
background-color: var(--nb-theme-color);
|
315
|
+
border-radius: 24px !important;
|
316
|
+
}
|
317
|
+
}
|
318
|
+
|
319
|
+
&--disabled {
|
320
|
+
cursor: not-allowed;
|
321
|
+
|
322
|
+
.nb-menu__item__text span {
|
323
|
+
background-color: #122e67;
|
324
|
+
color: rgba(#ffffff, 0.2);
|
325
|
+
}
|
326
|
+
}
|
327
|
+
}
|
328
|
+
|
329
|
+
.nb-menu__item:first-child .nb-menu__item__text {
|
330
|
+
border-radius: 24px 0 0 24px;
|
331
|
+
}
|
332
|
+
|
333
|
+
.nb-menu__item:last-child .nb-menu__item__text {
|
334
|
+
border-radius: 0 24px 24px 0;
|
335
|
+
}
|
336
|
+
}
|
337
|
+
}
|
338
|
+
|
339
|
+
.nb-menu--grid {
|
340
|
+
display: inline-flex;
|
341
|
+
flex-wrap: wrap;
|
342
|
+
width: var(--nb-menu-gird-width);
|
343
|
+
height: var(--nb-menu-gird-height);
|
344
|
+
overflow: hidden;
|
345
|
+
.nb-menu__item {
|
346
|
+
border-radius: 12px;
|
347
|
+
color: #fff;
|
348
|
+
position: relative;
|
349
|
+
display: flex;
|
350
|
+
flex-direction: column;
|
351
|
+
justify-content: space-between;
|
352
|
+
padding: 30px 30px 22px 30px;
|
353
|
+
box-sizing: border-box;
|
354
|
+
&__icon {
|
355
|
+
width: 56px;
|
356
|
+
height: 56px;
|
357
|
+
}
|
358
|
+
&__name {
|
359
|
+
font-size: 40px;
|
360
|
+
line-height: 60px;
|
361
|
+
word-break: break-all;
|
362
|
+
}
|
363
|
+
&__desc {
|
364
|
+
font-size: 18px;
|
365
|
+
line-height: 28px;
|
366
|
+
color: rgba(255, 255, 255, 0.7);
|
367
|
+
}
|
368
|
+
}
|
369
|
+
// 1个菜单
|
370
|
+
&--1 {
|
371
|
+
.nb-menu__item:nth-child(1) {
|
372
|
+
width: 480px;
|
373
|
+
height: 240px;
|
374
|
+
background: #009a82;
|
375
|
+
margin-right: 40px;
|
376
|
+
}
|
377
|
+
}
|
378
|
+
// 2个菜单
|
379
|
+
&--2 {
|
380
|
+
.nb-menu__item:nth-child(1) {
|
381
|
+
width: 480px;
|
382
|
+
height: 240px;
|
383
|
+
background: #009a82;
|
384
|
+
margin-right: 40px;
|
385
|
+
}
|
386
|
+
.nb-menu__item:nth-child(2) {
|
387
|
+
width: 480px;
|
388
|
+
height: 240px;
|
389
|
+
background: #B0529F;
|
390
|
+
}
|
391
|
+
}
|
392
|
+
// 3个菜单
|
393
|
+
&--3 {
|
394
|
+
.nb-menu__item:nth-child(1) {
|
395
|
+
width: 480px;
|
396
|
+
height: 240px;
|
397
|
+
background: #009a82;
|
398
|
+
margin-right: 40px;
|
399
|
+
}
|
400
|
+
.nb-menu__item:nth-child(2) {
|
401
|
+
width: 480px;
|
402
|
+
height: 240px;
|
403
|
+
background: #B0529F;
|
404
|
+
}
|
405
|
+
.nb-menu__item:nth-child(3) {
|
406
|
+
width: 420px;
|
407
|
+
height: 360px;
|
408
|
+
background: #5963AE;
|
409
|
+
margin-top: 40px;
|
410
|
+
}
|
411
|
+
}
|
412
|
+
// 4个菜单
|
413
|
+
&--4 {
|
414
|
+
.nb-menu__item:nth-child(1) {
|
415
|
+
width: 480px;
|
416
|
+
height: 240px;
|
417
|
+
background: #009a82;
|
418
|
+
margin-right: 40px;
|
419
|
+
}
|
420
|
+
.nb-menu__item:nth-child(2) {
|
421
|
+
width: 480px;
|
422
|
+
height: 360px;
|
423
|
+
background: #B0529F;
|
424
|
+
}
|
425
|
+
.nb-menu__item:nth-child(3) {
|
426
|
+
width: 480px;
|
427
|
+
height: 360px;
|
428
|
+
background: #5963AE;
|
429
|
+
margin-top: -80px;
|
430
|
+
margin-right: 40px;
|
431
|
+
}
|
432
|
+
.nb-menu__item:nth-child(4) {
|
433
|
+
width: 480px;
|
434
|
+
height: 240px;
|
435
|
+
background: #E5A354;
|
436
|
+
margin-top: 40px;
|
437
|
+
}
|
438
|
+
}
|
439
|
+
// 5个菜单
|
440
|
+
&--5 {
|
441
|
+
.nb-menu__item:nth-child(1) {
|
442
|
+
width: 480px;
|
443
|
+
height: 240px;
|
444
|
+
background: #009a82;
|
445
|
+
margin-right: 40px;
|
446
|
+
}
|
447
|
+
.nb-menu__item:nth-child(2) {
|
448
|
+
width: 220px;
|
449
|
+
height: 360px;
|
450
|
+
background: #B0529F;
|
451
|
+
margin-right: 40px;
|
452
|
+
}
|
453
|
+
.nb-menu__item:nth-child(3) {
|
454
|
+
width: 220px;
|
455
|
+
height: 360px;
|
456
|
+
background: #5963AE;
|
457
|
+
}
|
458
|
+
.nb-menu__item:nth-child(4) {
|
459
|
+
width: 480px;
|
460
|
+
height: 360px;
|
461
|
+
background: #E5A354;
|
462
|
+
margin-top: -80px;
|
463
|
+
margin-right: 40px;
|
464
|
+
}
|
465
|
+
.nb-menu__item:nth-child(5) {
|
466
|
+
width: 480px;
|
467
|
+
height: 240px;
|
468
|
+
background: #00A3B3;
|
469
|
+
margin-top: 40px;
|
470
|
+
}
|
471
|
+
}
|
472
|
+
// 6个菜单
|
473
|
+
&--6 {
|
474
|
+
.nb-menu__item:nth-child(1) {
|
475
|
+
width: 480px;
|
476
|
+
height: 240px;
|
477
|
+
background: #009a82;
|
478
|
+
margin-right: 40px;
|
479
|
+
}
|
480
|
+
.nb-menu__item:nth-child(2) {
|
481
|
+
width: 220px;
|
482
|
+
height: 360px;
|
483
|
+
background: #B0529F;
|
484
|
+
margin-right: 40px;
|
485
|
+
}
|
486
|
+
.nb-menu__item:nth-child(3) {
|
487
|
+
width: 220px;
|
488
|
+
height: 360px;
|
489
|
+
background: #5963AE;
|
490
|
+
}
|
491
|
+
.nb-menu__item:nth-child(4) {
|
492
|
+
width: 220px;
|
493
|
+
height: 360px;
|
494
|
+
background: #E5A354;
|
495
|
+
margin-top: -80px;
|
496
|
+
margin-right: 40px;
|
497
|
+
}
|
498
|
+
.nb-menu__item:nth-child(5) {
|
499
|
+
width: 220px;
|
500
|
+
height: 360px;
|
501
|
+
background: #5963AE;
|
502
|
+
margin-top: -80px;
|
503
|
+
margin-right: 40px;
|
504
|
+
}
|
505
|
+
.nb-menu__item:nth-child(6) {
|
506
|
+
width: 480px;
|
507
|
+
height: 240px;
|
508
|
+
background: #00A3B3;
|
509
|
+
margin-top: 40px;
|
510
|
+
}
|
511
|
+
}
|
512
|
+
// 7个菜单
|
513
|
+
&--7 {
|
514
|
+
.nb-menu__item:nth-child(1) {
|
515
|
+
width: 480px;
|
516
|
+
height: 240px;
|
517
|
+
background: #009a82;
|
518
|
+
margin-right: 40px;
|
519
|
+
}
|
520
|
+
.nb-menu__item:nth-child(2) {
|
521
|
+
width: 220px;
|
522
|
+
height: 360px;
|
523
|
+
background: #B0529F;
|
524
|
+
margin-right: 40px;
|
525
|
+
}
|
526
|
+
.nb-menu__item:nth-child(3) {
|
527
|
+
width: 220px;
|
528
|
+
height: 360px;
|
529
|
+
background: #5963AE;
|
530
|
+
}
|
531
|
+
.nb-menu__item:nth-child(4) {
|
532
|
+
width: 220px;
|
533
|
+
height: 360px;
|
534
|
+
background: #E5A354;
|
535
|
+
margin-top: -80px;
|
536
|
+
margin-right: 40px;
|
537
|
+
}
|
538
|
+
.nb-menu__item:nth-child(5) {
|
539
|
+
width: 220px;
|
540
|
+
height: 360px;
|
541
|
+
background: #5963AE;
|
542
|
+
margin-top: -80px;
|
543
|
+
margin-right: 40px;
|
544
|
+
}
|
545
|
+
.nb-menu__item:nth-child(6) {
|
546
|
+
width: 220px;
|
547
|
+
height: 240px;
|
548
|
+
background: #00A3B3;
|
549
|
+
margin-top: 40px;
|
550
|
+
margin-right: 40px;
|
551
|
+
}
|
552
|
+
.nb-menu__item:nth-child(7) {
|
553
|
+
width: 220px;
|
554
|
+
height: 240px;
|
555
|
+
background: #009A82;
|
556
|
+
margin-top: 40px;
|
557
|
+
}
|
558
|
+
}
|
559
|
+
}
|