module-menu 0.2.15 → 0.2.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.2.15",
3
+ "version": "0.2.17",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main": "src/pages/index.jsx",
6
6
  "scripts": {
Binary file
@@ -87,6 +87,11 @@ export const menuList = (stash) => [
87
87
  path: '/gongxuduijie',
88
88
  url: require('../../assets/gongxuduijie_slogo.png'),
89
89
  },
90
+ {
91
+ childName: '级联管理',
92
+ path: '/jilianguanli',
93
+ url: require('../../assets/jilianguanl_slogo.png'),
94
+ },
90
95
  ]
91
96
  : [
92
97
  {
@@ -141,6 +141,9 @@ const ModuleMenu = ({ sysName, stash }) => {
141
141
  thirdPartyServiceJumpPath =
142
142
  '/admin-ui/supply-and-demand-docking/dataRequirement/propose/list';
143
143
  break;
144
+ case '级联管理':
145
+ thirdPartyServiceJumpPath = '';
146
+ break;
144
147
  default:
145
148
  break;
146
149
  }
@@ -183,13 +186,30 @@ const ModuleMenu = ({ sysName, stash }) => {
183
186
  <div
184
187
  key={item.name}
185
188
  className="cardLine"
186
- style={{ height: item.children.length > 3 ? '90px' : '' }}
189
+ style={{
190
+ height:
191
+ item.children.length > 6
192
+ ? '140px'
193
+ : item.children.length > 3
194
+ ? '90px'
195
+ : '',
196
+ }}
187
197
  >
188
198
  <div
189
199
  className="leftMenu"
190
200
  style={{
191
- height: item.children.length > 3 ? '96px' : '70px',
192
- lineHeight: item.children.length > 3 ? '45px' : '70px',
201
+ height:
202
+ item.children.length > 6
203
+ ? '140px'
204
+ : item.children.length > 3
205
+ ? '96px'
206
+ : '70px',
207
+ lineHeight:
208
+ item.children.length > 6
209
+ ? '140px'
210
+ : item.children.length > 3
211
+ ? '45px'
212
+ : '70px',
193
213
  }}
194
214
  >
195
215
  <img src={item.url} className="middle" />
@@ -205,8 +225,18 @@ const ModuleMenu = ({ sysName, stash }) => {
205
225
  <div
206
226
  className="rightMenu"
207
227
  style={{
208
- height: item.children.length > 3 ? '96px' : '70px',
209
- lineHeight: item.children.length > 3 ? '45px' : '70px',
228
+ height:
229
+ item.children.length > 6
230
+ ? '140px'
231
+ : item.children.length > 3
232
+ ? '96px'
233
+ : '70px',
234
+ lineHeight:
235
+ item.children.length > 6
236
+ ? '140px'
237
+ : item.children.length > 3
238
+ ? '45px'
239
+ : '70px',
210
240
  borderBottom:
211
241
  index === menuList.length - 1 ? '0px' : '1px solid #E9E9E9',
212
242
  }}