下拉菜单

点击显示/隐藏 <a href="javascript:;" class="btn dropdown-show" data-target="#dropdown-1">点击显示/隐藏</a> <div class="dropdown" id="dropdown-1"> <a href="" class="dropdown-item">批量删除</a> <a href="" class="dropdown-item">批量恢复</a> <div class="dropdown-line"></div> <a href="" class="dropdown-item">批量推荐</a> <a href="" class="dropdown-item">批量置顶全部</a> </div>





位置

top right bottom bottom-left top-left right-top <a href="javascript:;" class="btn dropdown-show" data-target="#dropdown-1" data-align="top">top</a> <a href="javascript:;" class="btn dropdown-show" data-target="#dropdown-1" data-align="right">right</a> <a href="javascript:;" class="btn dropdown-show" data-target="#dropdown-1" data-align="bottom">bottom</a> <a href="javascript:;" class="btn dropdown-show" data-target="#dropdown-1" data-align="bottom-left">bottom-left</a> <a href="javascript:;" class="btn dropdown-show" data-target="#dropdown-1" data-align="top-left">top-left</a> <a href="javascript:;" class="btn dropdown-show" data-target="#dropdown-1" data-align="right-top">right-top</a> <div class="dropdown" id="dropdown-1"> <a href="" class="dropdown-item">批量删除</a> <a href="" class="dropdown-item">批量恢复</a> <div class="dropdown-line"></div> <a href="" class="dropdown-item">批量推荐</a> <a href="" class="dropdown-item">批量置顶全部</a> </div>