5

easyUI ,在<div>中怎么引用 这个导航栏 的内容?

 <script type="text/javascript">
var _menus = {"menus":[
          {"menuid":"1","icon":"icon-sys","menuname":"功能菜单",
                "menus":[{"menuname":"菜单管理","icon":"icon-nav","url":"http://www.baidu.com"},

                    ]
            },{"menuid":"12","icon":"icon-sys","menuname":"用户管理",
                "menus":[{"menuname":"个人信息","icon":"icon-nav","url":"http://www.baidu.com"},
                        {"menuname":"投票记录","icon":"icon-nav","url":"http://www.baidu.com"}
                    ]
            },{"menuid":"56","icon":"icon-sys","menuname":"投票管理",
                "menus":[{"menuname":"维护","icon":"icon-nav","url":"http://www.baidu.com"},
                        {"menuname":"发布新投票","icon":"icon-nav","url":"http://www.baidu.com"},
                        {"menuname":"所有投票","icon":"icon-nav","url":"http://www.baidu.com"}
                    ]
            }

    ]};

 <div class="easyui-accordion" fit="true" border="false">
        <!--  导航内容 -->

            </div>
查看全部
qq_20910227
qq_20910227
2015/08/17 09:18
  • easyui
  • 导航
  • 点赞
  • 收藏
  • 回答
    私信

3个回复