module-menu 0.2.39 → 0.2.41

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.39",
3
+ "version": "0.2.41",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main": "src/pages/index.jsx",
6
6
  "scripts": {
@@ -323,13 +323,15 @@ const ModuleMenu = ({ sysName, stash = '' }) => {
323
323
  className={cn(stash !== 'LNRD'? 'menuIcon_size':'menuIcon_size_LNRD', 'menuIcon')}
324
324
  onMouseOver={() => setshowMenuList(true)}
325
325
  style={{
326
- backgroundImage: `url(${menuIconSrc})`,
326
+ // backgroundImage: `url(${menuIconSrc})`,
327
327
  backgroundRepeat: 'no-repeat',
328
328
  backgroundSize: '50%',
329
329
  backgroundPosition: 'center',
330
- backgroundColor: stash !== 'LNRD'? '#4091F7':'#EA1A1A'
330
+ backgroundColor: stash !== 'LNRD'? '#4091F7':'#EA1A1A',
331
331
  }}
332
- ></div>
332
+ >
333
+ <img src={menuIconSrc} className={cn(stash !== 'LNRD'? null:'menuIcon_img')}></img>
334
+ </div>
333
335
  <div className={cn(stash !== 'LNRD'? 'menu_title_content_size':'menu_title_content_size_LNRD', 'menu_title_content')}
334
336
 
335
337
  >
@@ -118,6 +118,7 @@
118
118
  .menuIcon_size_LNRD{
119
119
  width: 75px;
120
120
  height: 75px;
121
+ line-height: 75px;
121
122
  }
122
123
 
123
124