{"action":"created","issue":{"url":"https://api.github.com/repos/allmobilize/amazeui/issues/554","labels_url":"https://api.github.com/repos/allmobilize/amazeui/issues/554/labels{/name}","comments_url":"https://api.github.com/repos/allmobilize/amazeui/issues/554/comments","events_url":"https://api.github.com/repos/allmobilize/amazeui/issues/554/events","html_url":"https://github.com/allmobilize/amazeui/issues/554","id":74191839,"number":554,"title":"关于Collapse组件的parent标签","user":{"login":"eworthcms","id":5815004,"avatar_url":"https://avatars.githubusercontent.com/u/5815004?v=3","gravatar_id":"","url":"https://api.github.com/users/eworthcms","html_url":"https://github.com/eworthcms","followers_url":"https://api.github.com/users/eworthcms/followers","following_url":"https://api.github.com/users/eworthcms/following{/other_user}","gists_url":"https://api.github.com/users/eworthcms/gists{/gist_id}","starred_url":"https://api.github.com/users/eworthcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eworthcms/subscriptions","organizations_url":"https://api.github.com/users/eworthcms/orgs","repos_url":"https://api.github.com/users/eworthcms/repos","events_url":"https://api.github.com/users/eworthcms/events{/privacy}","received_events_url":"https://api.github.com/users/eworthcms/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/allmobilize/amazeui/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-08T01:45:04Z","updated_at":"2015-05-08T02:47:32Z","closed_at":null,"body":"代码如下\r\n```\r\n<ul class=\"am-nav ads-nav\" id=\"ads-nav\">\r\n  <li class=\"am-active\" data-am-collapse=\"{parent:'#ads-nav',target: '#ad-subnav'}\"><a href=\"#\"><span class=\"am-icon-home\"></span> 首页<span class=\"am-icon-angle-right am-fr am-margin-right\"></span></a></li>\r\n  <dl class=\"am-collapse am-in\" id=\"ad-subnav\">\r\n    <dd><a href=\"\"><i class=\"home icon\"></i>管理首页</a></dd>\r\n    <dd><a href=\"\"><i class=\"list ol icon\"></i>站点统计</a></dd>\r\n    <dd><a href=\"\"><i class=\"protect icon\"></i>安全中心</a></dd>\r\n    <dd><a href=\"\"><i class=\"history icon\"></i>系统更新</a></dd>\r\n  </dl>\r\n  <li><a href=\"#\"><span class=\"am-icon-table\"></span> 表单</a></li>\r\n  <li><a href=\"#\"><span class=\"am-icon-pencil-square-o\"></span> 表格</a></li>\r\n  <li data-am-collapse=\"{parent:'#ads-nav',target: '#ad-subnav2'}\" id=\"myCollapse\"><a href=\"#\"><span class=\"am-icon-th\"></span> 相册页面</a></li>\r\n  <dl class=\"am-collapse\" id=\"ad-subnav2\">\r\n    <dd><a href=\"\"><i class=\"home icon\"></i>管理首页</a></dd>\r\n    <dd><a href=\"\"><i class=\"list ol icon\"></i>站点统计</a></dd>\r\n    <dd><a href=\"\"><i class=\"protect icon\"></i>安全中心</a></dd>\r\n    <dd><a href=\"\"><i class=\"history icon\"></i>系统更新</a></dd>\r\n  </dl>\r\n  <li><a href=\"#\"><span class=\"am-icon-sign-out\"></span> 注销</a></li>\r\n</ul>\r\n```\r\n这里指定 parent 能不能实现 点击一个展开 其余的合上呢？类似panel手风琴效果？求解答"},"comment":{"url":"https://api.github.com/repos/allmobilize/amazeui/issues/comments/100079633","html_url":"https://github.com/allmobilize/amazeui/issues/554#issuecomment-100079633","issue_url":"https://api.github.com/repos/allmobilize/amazeui/issues/554","id":100079633,"user":{"login":"eworthcms","id":5815004,"avatar_url":"https://avatars.githubusercontent.com/u/5815004?v=3","gravatar_id":"","url":"https://api.github.com/users/eworthcms","html_url":"https://github.com/eworthcms","followers_url":"https://api.github.com/users/eworthcms/followers","following_url":"https://api.github.com/users/eworthcms/following{/other_user}","gists_url":"https://api.github.com/users/eworthcms/gists{/gist_id}","starred_url":"https://api.github.com/users/eworthcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eworthcms/subscriptions","organizations_url":"https://api.github.com/users/eworthcms/orgs","repos_url":"https://api.github.com/users/eworthcms/repos","events_url":"https://api.github.com/users/eworthcms/events{/privacy}","received_events_url":"https://api.github.com/users/eworthcms/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T02:47:32Z","updated_at":"2015-05-08T02:47:32Z","body":"收到，已成功！谢谢"}}