[web-app] 菜单功能布局大致样式定义

This commit is contained in:
tomsun28
2021-11-28 14:58:20 +08:00
parent 0f8d39eea3
commit d189b4e547
21 changed files with 384 additions and 1663 deletions

View File

@@ -6,11 +6,11 @@
"user": {
"name": "Admin",
"avatar": "./assets/tmp/img/avatar.svg",
"email": "tomsun28@outlook.com"
"email": "管理员"
},
"menu": [
{
"text": "主导航",
"text": "总览",
"i18n": "menu.main",
"group": true,
"hideInBreadcrumb": true,
@@ -19,289 +19,85 @@
"text": "仪表盘",
"i18n": "menu.dashboard",
"icon": "anticon-dashboard",
"link": "/dashboard/v1"
}
]
},
{
"text": "监控",
"i18n": "menu.monitor",
"group": true,
"hideInBreadcrumb": true,
"children": [
{
"text": "应用服务",
"i18n": "menu.monitor.service",
"icon": "anticon-cloud",
"children": [
{
"text": "仪表盘V1",
"link": "/dashboard/v1",
"i18n": "menu.dashboard.v1"
"i18n": "monitor.app.http"
},
{
"text": "分析页",
"link": "/dashboard/analysis",
"i18n": "menu.dashboard.analysis"
"i18n": "monitor.app.ping"
},
{
"text": "监控页",
"link": "/dashboard/monitor",
"i18n": "menu.dashboard.monitor"
},
{
"text": "工作台",
"link": "/dashboard/workplace",
"i18n": "menu.dashboard.workplace"
"i18n": "monitor.app.telnet"
}
]
},
{
"text": "快捷菜单",
"i18n": "menu.shortcut",
"icon": "anticon-rocket",
"shortcutRoot": true,
"children": []
},
{
"text": "小部件",
"i18n": "menu.widgets",
"link": "/widgets",
"icon": "anticon-appstore",
"badge": 2
}
]
},
{
"text": "Alain",
"i18n": "menu.alain",
"group": true,
"hideInBreadcrumb": true,
"children": [
{
"text": "样式",
"i18n": "menu.style",
"icon": "anticon-info",
"text": "数据库",
"i18n": "menu.monitor.db",
"icon": "anticon-database",
"children": [
{
"text": "Typography",
"link": "/style/typography",
"i18n": "menu.style.typography",
"shortcut": true
"text": "Mysql",
"link": "/dashboard/v1",
"i18n": "monitor.app.mysql"
},
{
"text": "Grid Masonry",
"link": "/style/gridmasonry",
"i18n": "menu.style.gridmasonry"
"text": "Oracle",
"link": "/dashboard/analysis",
"i18n": "monitor.app.oracle"
},
{
"text": "Colors",
"link": "/style/colors",
"i18n": "menu.style.colors"
}
]
},
{
"text": "Delon",
"i18n": "menu.delon",
"icon": "anticon-bulb",
"children": [
{
"text": "Dynamic Form",
"link": "/delon/form",
"i18n": "menu.delon.form"
},
{
"text": "Simple Table",
"link": "/delon/st",
"i18n": "menu.delon.table"
},
{
"text": "Util",
"link": "/delon/util",
"i18n": "menu.delon.util",
"acl": "role-a"
},
{
"text": "Print",
"link": "/delon/print",
"i18n": "menu.delon.print",
"acl": "role-b"
},
{
"text": "QR",
"link": "/delon/qr",
"i18n": "menu.delon.qr"
},
{
"text": "ACL",
"link": "/delon/acl",
"i18n": "menu.delon.acl"
},
{
"text": "Route Guard",
"link": "/delon/guard",
"i18n": "menu.delon.guard"
},
{
"text": "Cache",
"link": "/delon/cache",
"i18n": "menu.delon.cache"
},
{
"text": "Down File",
"link": "/delon/downfile",
"i18n": "menu.delon.downfile"
},
{
"text": "Xlsx",
"link": "/delon/xlsx",
"i18n": "menu.delon.xlsx"
},
{
"text": "Zip",
"link": "/delon/zip",
"i18n": "menu.delon.zip"
"text": "Redis",
"link": "/dashboard/monitor",
"i18n": "monitor.app.redis"
}
]
}
]
},
{
"text": "Pro",
"i18n": "menu.pro",
"text": "告警",
"i18n": "menu.alert",
"group": true,
"hideInBreadcrumb": true,
"children": [
{
"text": "Form Page",
"i18n": "menu.form",
"link": "/pro/form",
"icon": "anticon-edit",
"children": [
{
"text": "Basic Form",
"link": "/pro/form/basic-form",
"i18n": "menu.form.basicform",
"shortcut": true
},
{
"text": "Step Form",
"link": "/pro/form/step-form",
"i18n": "menu.form.stepform"
},
{
"text": "Advanced Form",
"link": "/pro/form/advanced-form",
"i18n": "menu.form.advancedform"
}
]
"text": "告警中心",
"i18n": "menu.alert.center",
"icon": "anticon-alert",
"link": "/style/typography"
},
{
"text": "List",
"i18n": "menu.list",
"icon": "anticon-appstore",
"children": [
{
"text": "Table List",
"link": "/pro/list/table-list",
"i18n": "menu.list.searchtable",
"shortcut": true
},
{
"text": "Basic List",
"link": "/pro/list/basic-list",
"i18n": "menu.list.basiclist"
},
{
"text": "Card List",
"link": "/pro/list/card-list",
"i18n": "menu.list.cardlist"
},
{
"text": "Search List",
"i18n": "menu.list.searchlist",
"children": [
{
"link": "/pro/list/articles",
"i18n": "menu.list.searchlist.articles"
},
{
"link": "/pro/list/projects",
"i18n": "menu.list.searchlist.projects",
"shortcut": true
},
{
"link": "/pro/list/applications",
"i18n": "menu.list.searchlist.applications"
}
]
}
]
"text": "告警配置",
"i18n": "menu.alert.setting",
"icon": "anticon-setting",
"link": "/style/typography"
},
{
"text": "Profile",
"i18n": "menu.profile",
"icon": "anticon-profile",
"children": [
{
"text": "Basic",
"link": "/pro/profile/basic",
"i18n": "menu.profile.basic"
},
{
"text": "Advanced",
"link": "/pro/profile/advanced",
"i18n": "menu.profile.advanced",
"shortcut": true
}
]
},
{
"text": "Result",
"i18n": "menu.result",
"icon": "anticon-check-circle",
"children": [
{
"text": "Success",
"link": "/pro/result/success",
"i18n": "menu.result.success"
},
{
"text": "Fail",
"link": "/pro/result/fail",
"i18n": "menu.result.fail"
}
]
},
{
"text": "Exception",
"i18n": "menu.exception",
"link": "/",
"icon": "anticon-exception",
"children": [
{
"text": "403",
"link": "/exception/403",
"i18n": "menu.exception.not-permission",
"reuse": false
},
{
"text": "404",
"link": "/exception/404",
"i18n": "menu.exception.not-find",
"reuse": false
},
{
"text": "500",
"link": "/exception/500",
"i18n": "menu.exception.server-error",
"reuse": false
}
]
},
{
"text": "Account",
"i18n": "menu.account",
"icon": "anticon-user",
"children": [
{
"text": "center",
"link": "/pro/account/center",
"i18n": "menu.account.center"
},
{
"text": "settings",
"link": "/pro/account/settings",
"i18n": "menu.account.settings"
}
]
"text": "告警转发",
"i18n": "menu.alert.dispatch",
"icon": "anticon-notification",
"link": "/style/typography"
}
]
},
@@ -312,40 +108,16 @@
"hideInBreadcrumb": true,
"children": [
{
"text": "Report",
"i18n": "menu.report",
"icon": "anticon-cloud",
"children": [
{
"text": "Relation",
"link": "/data-v/relation",
"i18n": "menu.report.relation",
"reuse": false
}
]
"text": "Help Center",
"link": "/extras/helpcenter",
"i18n": "menu.extras.helpcenter",
"icon": "anticon-link"
},
{
"text": "Extras",
"i18n": "menu.extras",
"link": "/extras",
"icon": "anticon-link",
"children": [
{
"text": "Help Center",
"link": "/extras/helpcenter",
"i18n": "menu.extras.helpcenter"
},
{
"text": "Settings",
"link": "/extras/settings",
"i18n": "menu.extras.settings"
},
{
"text": "Poi",
"link": "/extras/poi",
"i18n": "menu.extras.poi"
}
]
"text": "Settings",
"link": "/extras/settings",
"i18n": "menu.extras.settings",
"icon": "anticon-setting"
}
]
}