底部切换栏

底部工具栏进行了重写,可以结合api.openFrameGroup()完成切换

<footer class="aui-nav" id="aui-footer" style="position:relative"><ul class="aui-bar-tab">
            <li class="active-warning" id="tabbar1" onclick="randomSwitchBtn(this,'栏目1',0)">
                <span class="aui-iconfont aui-icon-favor"></span><p>栏目1</p></li>
            <li id="tabbar2" onclick="randomSwitchBtn(this,'栏目2',1)">
                <span class="aui-iconfont aui-icon-mark"></span><p>栏目2</p></li>
            <li id="tabbar3" onclick="randomSwitchBtn(this,'栏目3',2)">
                <span class="aui-iconfont aui-icon-like"></span><p>栏目3</p></li>
            <li id="tabbar4" onclick="randomSwitchBtn(this,'栏目4',3)">
                <span class="aui-iconfont aui-icon-my"></span><p>栏目4</p></li>
        </ul></footer>