module-menu 0.1.15 → 0.1.17

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.1.15",
3
+ "version": "0.1.17",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main":"src/pages/index.jsx",
6
6
  "scripts": {
@@ -141,11 +141,16 @@ const ModuleMenu = ({ sysName }) => {
141
141
  <img src={item.url} className="middle" />
142
142
  <span className="middle textPad" onClick={() => { toHomePage(index) }}>{item.name}</span>
143
143
  </div>
144
- <div className='rightMenu' style={{ height: index === 6 ? '90px' : '', borderBottom: index === 6 ? '0px' : '1px solid #E9E9E9' }}>
144
+ <div className='rightMenu'
145
+ style={{
146
+ height: index === 6 ? '90px' : '',
147
+ // lineHeight: index === 6 ? '' : '60px',
148
+ borderBottom: index === 6 ? '0px' : '1px solid #E9E9E9',
149
+ }}>
145
150
  {
146
151
  item.children.map((child, idx) => {
147
152
  return (
148
- <span key={child.childName}>
153
+ <span key={child.childName} style={{lineHeight: idx > 2 ? '30px' : '60px', }}>
149
154
  <img src={childIconSrc} className="middle iconPad" />
150
155
  <span className='childMenu textPad middle' onClick={() => { toModulePage(child.childName) }}>{child.childName}</span>
151
156
  </span>
@@ -14,12 +14,13 @@
14
14
  border: 1px solid #E9E9E9;
15
15
  z-index: 2;
16
16
  float: left;
17
- // border: 1px solid #E9E9E9;
18
17
  position: fixed;
19
18
  top: 50px;
20
19
  left:0;
21
20
  background-color: #FFF;
22
21
  box-shadow: rgba(0, 0, 0, 0.2) 1px 2px 10px;
22
+ padding-left: 35px;
23
+ padding-bottom: 20px;
23
24
  }
24
25
  .cardLine{
25
26
  height: 60px;
@@ -29,7 +30,7 @@ box-shadow: rgba(0, 0, 0, 0.2) 1px 2px 10px;
29
30
  padding-left: 10px;
30
31
  }
31
32
  .iconPad{
32
- padding-top: 15px;
33
+ // padding-top: 15px;
33
34
  }
34
35
  .leftMenu{
35
36
  width: 100px;
@@ -47,7 +48,7 @@ box-shadow: rgba(0, 0, 0, 0.2) 1px 2px 10px;
47
48
  height: 60px;
48
49
  float: left;
49
50
  vertical-align: middle;
50
- padding: 5px 10px 0px 10px;
51
+ // padding: 5px 10px 0px 10px;
51
52
  font-size: 14px;
52
53
  color: rgba(0,0,0,0.65);
53
54
  font-weight: 400;
@@ -60,7 +61,7 @@ box-shadow: rgba(0, 0, 0, 0.2) 1px 2px 10px;
60
61
  .childMenu{
61
62
  width: 29%;
62
63
  display: inline-block;
63
- padding-top: 15px;
64
+ // padding-top: 15px;
64
65
  }
65
66
  .middle{
66
67
  vertical-align: middle;