module-menu 0.3.1 → 0.3.3
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.
package/package.json
CHANGED
|
@@ -268,7 +268,7 @@ const ModuleMenu = ({ sysName, stash = '' }) => {
|
|
|
268
268
|
}}
|
|
269
269
|
>
|
|
270
270
|
<div
|
|
271
|
-
className=
|
|
271
|
+
className={stash === 'HBJK' ? 'leftMenu_HBJK' : 'leftMenu'}
|
|
272
272
|
style={{
|
|
273
273
|
height:
|
|
274
274
|
item.children.length > 6
|
|
@@ -284,7 +284,10 @@ const ModuleMenu = ({ sysName, stash = '' }) => {
|
|
|
284
284
|
: '70px',
|
|
285
285
|
}}
|
|
286
286
|
>
|
|
287
|
-
<img src={item.url} className={
|
|
287
|
+
<img src={item.url} className={
|
|
288
|
+
stash === 'HBJK' ? 'middle_HBJK' :
|
|
289
|
+
stash !== 'LNRD' ? 'middle' : 'middle_LNRD'
|
|
290
|
+
} />
|
|
288
291
|
<span
|
|
289
292
|
className={cn(stash !== 'LNRD'? 'middle' : 'middle_LNRD', 'textPad')}
|
|
290
293
|
// className=`${{stash !== 'LNRD'? 'middle' : 'middle_LNRD'}} textPad`
|
|
@@ -296,7 +299,7 @@ const ModuleMenu = ({ sysName, stash = '' }) => {
|
|
|
296
299
|
</span>
|
|
297
300
|
</div>
|
|
298
301
|
<div
|
|
299
|
-
className=
|
|
302
|
+
className={stash === 'HBJK' ? 'rightMenu_HBJK' : 'rightMenu'}
|
|
300
303
|
style={{
|
|
301
304
|
height:
|
|
302
305
|
item.children.length > 6
|
|
@@ -39,6 +39,16 @@
|
|
|
39
39
|
font-weight: 400;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
.leftMenu_HBJK {
|
|
43
|
+
width: 130px;
|
|
44
|
+
float: left;
|
|
45
|
+
color: rgba(0, 0, 0, 0.85);
|
|
46
|
+
font-size: 16px;
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
text-align: left;
|
|
49
|
+
font-weight: 400;
|
|
50
|
+
}
|
|
51
|
+
|
|
42
52
|
.rightMenu {
|
|
43
53
|
width: 460px;
|
|
44
54
|
float: left;
|
|
@@ -49,6 +59,17 @@
|
|
|
49
59
|
margin-left: 15px;
|
|
50
60
|
}
|
|
51
61
|
|
|
62
|
+
// 为HBJK添加特定的rightMenu样式
|
|
63
|
+
.rightMenu_HBJK {
|
|
64
|
+
width: 490px;
|
|
65
|
+
float: left;
|
|
66
|
+
vertical-align: middle;
|
|
67
|
+
font-size: 14px;
|
|
68
|
+
color: rgba(0, 0, 0, 0.65);
|
|
69
|
+
font-weight: 400;
|
|
70
|
+
margin-left: 15px;
|
|
71
|
+
}
|
|
72
|
+
|
|
52
73
|
.childMenu:hover {
|
|
53
74
|
cursor: pointer;
|
|
54
75
|
color: #4091F7;
|
|
@@ -67,9 +88,19 @@
|
|
|
67
88
|
display: inline-block;
|
|
68
89
|
}
|
|
69
90
|
|
|
91
|
+
.childMenu_HBJK {
|
|
92
|
+
width: 30%;
|
|
93
|
+
display: inline-block;
|
|
94
|
+
}
|
|
70
95
|
.middle, .middle_LNRD {
|
|
71
96
|
vertical-align: middle;
|
|
72
97
|
}
|
|
98
|
+
|
|
99
|
+
.middle_HBJK {
|
|
100
|
+
vertical-align: middle;
|
|
101
|
+
width: 20px;
|
|
102
|
+
height: 20px;
|
|
103
|
+
}
|
|
73
104
|
// .middle_sub_LNRD {
|
|
74
105
|
// width: 20px;
|
|
75
106
|
// height: 20px;
|