diff --git a/data/menu.json b/data/menu.json index 7949099..ea6f379 100644 --- a/data/menu.json +++ b/data/menu.json @@ -280,6 +280,112 @@ "spread": false } ] + }, + { + "title": "多级菜单", + "path": "", + "font": "layui-icon", + "icon": "", + "spread": false, + "children": [ + { + "title": "购物网站", + "path": "", + "font": "layui-icon", + "icon": "", + "spread": false, + "children": [ + { + "title": "苏宁", + "path": "https://www.suning.com", + "font": "layui-icon", + "icon": "", + "spread": false + }, + { + "title": "京东", + "path": "https://www.jd.com", + "font": "layui-icon", + "icon": "", + "spread": false + }, + { + "title": "阿里", + "path": "", + "font": "layui-icon", + "icon": "", + "spread": false, + "children": [ + { + "title": "淘宝", + "path": "https://www.taobao.com", + "font": "layui-icon", + "icon": "", + "spread": false + }, + { + "title": "天猫", + "path": "https://www.tmall.com", + "font": "layui-icon", + "icon": "", + "spread": false + }, + { + "title": "聚划算", + "path": "https://ju.taobao.com", + "font": "layui-icon", + "icon": "", + "spread": false + } + ] + } + ] + }, + { + "title": "二级菜单", + "path": "pages/use/use-okTab.html", + "font": "layui-icon", + "icon": "", + "spread": false + }, + { + "title": "二级菜单", + "path": "pages/use/use-okTab.html", + "font": "layui-icon", + "icon": "", + "spread": false, + "children": [ + { + "title": "三级菜单", + "path": "pages/use/use-okTab.html", + "font": "layui-icon", + "icon": "", + "spread": false + }, + { + "title": "三级菜单", + "path": "pages/use/use-okTab.html", + "font": "layui-icon", + "icon": "", + "spread": false + } + ] + }, + { + "title": "二级菜单", + "path": "pages/use/use-okTab.html", + "font": "layui-icon", + "icon": "", + "spread": false + }, + { + "title": "二级菜单", + "path": "pages/use/use-okTab.html", + "font": "layui-icon", + "icon": "", + "spread": false + } + ] } ] } diff --git a/index.html b/index.html index 2e50b5c..4c7936b 100644 --- a/index.html +++ b/index.html @@ -45,6 +45,39 @@