module-menu 0.1.12 → 0.1.13

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.12",
3
+ "version": "0.1.13",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main":"src/pages/index.jsx",
6
6
  "scripts": {
@@ -7,33 +7,30 @@ export const menuList = [{
7
7
  name: '数据汇聚',
8
8
  url: require('../../assets/ic_shujuhuiju_m.svg'),
9
9
  children: [{
10
- childName: '数据集成平台'
10
+ childName: '数据集成'
11
11
  }]
12
12
  },
13
13
  {
14
14
  name: '数据治理',
15
15
  url: require('../../assets/ic_shujuzhili_m.svg'),
16
16
  children: [{
17
- childName: '数据治理平台'
18
- },
19
- {
20
- childName: '数据资产管理'
17
+ childName: '数据治理'
21
18
  },
22
19
  {
23
20
  childName: '元数据管理'
24
21
  },
25
22
  {
26
- childName: '数据质量管理'
23
+ childName: '数据质量'
27
24
  }]
28
25
  },
29
26
  {
30
27
  name: '数据开发',
31
28
  url: require('../../assets/ic_shujukaifa_m.svg'),
32
29
  children: [{
33
- childName: '离线开发平台'
30
+ childName: '离线开发'
34
31
  },
35
32
  {
36
- childName: '实时开发平台'
33
+ childName: '实时开发'
37
34
  }]
38
35
  },
39
36
  {
@@ -43,17 +40,17 @@ export const menuList = [{
43
40
  childName: '数据服务'
44
41
  },
45
42
  {
46
- childName: '数据集市'
43
+ childName: '数据资产'
44
+ },
45
+ {
46
+ childName: '数据共享'
47
47
  }]
48
48
  },
49
49
  {
50
50
  name: '数据应用',
51
51
  url: require('../../assets/ic_shujuyingyong_m.svg'),
52
52
  children: [{
53
- childName: '标签管理系统'
54
- },
55
- {
56
- childName: '数据可视化'
53
+ childName: '数据标签'
57
54
  }]
58
55
  },
59
56
  {
@@ -67,6 +64,9 @@ export const menuList = [{
67
64
  },
68
65
  {
69
66
  childName: '工单管理'
67
+ },
68
+ {
69
+ childName: '消息中心'
70
70
  }]
71
71
  }];
72
72
  export const menuIconSrc = require('../../assets/menuIcon.svg');
@@ -131,12 +131,12 @@ const ModuleMenu = ({sysName})=>{
131
131
 
132
132
  const menu = menuList.map((item, index) => {
133
133
  return (
134
- <div key={item.name} className="cardLine" style={{height: index === 2 ? '90px' : ''}}>
134
+ <div key={item.name} className="cardLine" style={{height: index === 6 ? '90px' : ''}}>
135
135
  <div className='leftMenu'>
136
136
  <img src={item.url} className="middle"/>
137
137
  <span className="middle textPad" onClick={() => {toHomePage(index)}}>{item.name}</span>
138
138
  </div>
139
- <div className='rightMenu' style={{height: index === 2 ? '90px' : '', borderBottom: index === 6 ? '0px' : '1px solid #E9E9E9'}}>
139
+ <div className='rightMenu' style={{height: index === 6 ? '90px' : '', borderBottom: index === 6 ? '0px' : '1px solid #E9E9E9'}}>
140
140
  {
141
141
  item.children.map((child, idx) => {
142
142
  return (
@@ -40,6 +40,7 @@
40
40
  font-size: 14px;
41
41
  color: rgba(0,0,0,0.65);
42
42
  font-weight: 400;
43
+ margin-left: 15px;
43
44
  }
44
45
  .childMenu:hover{
45
46
  cursor: pointer;