Bootstrap菜单会展开,但不会折叠

时间:2019-03-15 02:49:08

标签: bootstrap-4

我的是从“引导”页面复制的直接引导菜单,但是自从打开以来,我显然有一种奇怪的情况,但是它不会关闭。

这是菜单的全部代码:

<nav class="navbar navbar-expand-lg mt-2 navbar-dark">
<a class="navbar-brand mx-auto text-white" href="#">ЗАПАЗИ-ЧАС.eu</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
    </button>
    <div class="navbar-collapse w-100 order-3 dual-collapse2 collapse" id='navbarSupportedContent'>
        <ul class="navbar-nav ml-auto">
            <li class="nav-item">
                <a v-on:click='switchPage("reservation")' class="nav-link text-white" href="javascript: void(0)">Резервация</a>
            </li>
            <li class="nav-item">
                <a class="nav-link text-white" href="javascript: void(0)">Информация</a>
            </li>
            <li class="nav-item">
                <a v-on:click='switchPage("contacts")' class="nav-link text-white" href="javascript: void(0)">Контакти</a>
            </li>
        </ul>
    </div>
</nav>

这是现场直播:http://zapazi-chas.eu/kiokushin

编辑:修复了链接。

0 个答案:

没有答案