mini-tabs多个div并列,并可隐藏某个div
<div class="mini-tabs" activeIndex="0" id="tabs"> <div title="title1"></div> <div title="title1"></div> <div name="xian" title="title1"></div> </div>
function onEdit(id){ var tabs = mini.get("tabs"); var tab = tabs.getTab("xian"); tabs.updateTab(tab, { visible: false });//false隐藏,true显现 }