module-menu 0.3.2 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "module-menu",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main": "src/pages/index.jsx",
6
6
  "scripts": {
@@ -299,7 +299,7 @@ const ModuleMenu = ({ sysName, stash = '' }) => {
299
299
  </span>
300
300
  </div>
301
301
  <div
302
- className="rightMenu"
302
+ className={stash === 'HBJK' ? 'rightMenu_HBJK' : 'rightMenu'}
303
303
  style={{
304
304
  height:
305
305
  item.children.length > 6
@@ -40,7 +40,7 @@
40
40
  }
41
41
 
42
42
  .leftMenu_HBJK {
43
- width: 120px;
43
+ width: 130px;
44
44
  float: left;
45
45
  color: rgba(0, 0, 0, 0.85);
46
46
  font-size: 16px;
@@ -59,6 +59,17 @@
59
59
  margin-left: 15px;
60
60
  }
61
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
+
62
73
  .childMenu:hover {
63
74
  cursor: pointer;
64
75
  color: #4091F7;