@pluginarch/create-parch
Version:
this is way to create a ui project
135 lines (134 loc) • 3.59 kB
JavaScript
var menuAttr = {
tag: 'Menu',
attrMap: {
id: 'menu1',
menuList: [
{
index: '1',
icon: '链路状态',
name: '生产指挥类',
style: {
background: '#108D8E',
fontsize: '22',
fontweight: 'bold'
},
children: [
{
index: '1-1',
icon: '服务器类',
name: '电气操作',
style: {
background: '#61B1CA',
fontsize: '18',
fontweight: 'bold'
},
children: [
{
index: '1-1-1',
icon: '安控',
name: '年度规则',
style: {
background: '#d8e1f9',
fontsize: '16'
},
children: [
{
index: '1-1-1-1',
icon: '网安',
name: '四级菜单01'
}
]
},
{
index: '1-1-2',
icon: '应用',
name: '运方临时',
style: {
background: '#d8e1f9'
}
},
{
index: '1-1-3',
icon: '通信',
name: '检修限额',
style: {
background: '#d8e1f9'
}
}
]
},
{
index: '1-2',
icon: 'fengxianxinxi_actived',
name: '生产信息汇报',
style: {
background: '#61B1CA',
fontsize: '18',
fontweight: 'bold'
}
},
{
index: '1-3',
icon: '通信',
name: '应急检修管理',
style: {
background: '#61B1CA',
fontsize: '18',
fontweight: 'bold'
}
},
{
index: '1-4',
icon: '服务器类',
name: '任务发布管理',
style: {
background: '#61B1CA',
fontsize: '18',
fontweight: 'bold'
}
},
{
index: '1-5',
icon: '进程',
name: '稳定限额',
style: {
background: '#61B1CA',
fontsize: '18',
fontweight: 'bold'
}
}
]
},
{
index: '2',
icon: '进程',
name: '调度管理类',
style: {
background: '#108D8E',
fontsize: '22',
fontweight: 'bold'
}
},
{
index: '3',
icon: '服务器类',
name: '数据分析类',
style: {
background: '#108D8E',
fontsize: '22',
fontweight: 'bold'
}
},
{
index: '4',
icon: '安控',
name: '系统管理类',
style: {
background: '#108D8E',
fontsize: '22',
fontweight: 'bold'
}
}
]
}
}