Html Bootstrap折叠效应不存在';我不能正常工作

Html Bootstrap折叠效应不存在';我不能正常工作,html,bootstrap-4,collapse,effect,Html,Bootstrap 4,Collapse,Effect,我不太擅长引导。有人能帮我解释为什么塌陷效应不起作用吗 这是我从bootstrap获得的链接 <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin=

我不太擅长引导。有人能帮我解释为什么塌陷效应不起作用吗

这是我从bootstrap获得的链接

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" 
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">

<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" 
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>

<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" 
integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>

<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" 
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>

这是我的HTML代码。正如你所看到的,我有数据切换和aria扩展,所以我不知道我在这里遗漏了什么

<div id="accordion">

    <div class="card">
        <div class="card-header" id="headingOne">
        <h5 class="mb-0">
            <button class="btn btn-link" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
            Collapsible Group Item #1
            </button>
        </h5>
        </div>

        <div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
        <div class="card-body">
            Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 
            3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum 
            eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla 
            assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt 
            sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, 
            raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
        </div>
        </div>
    </div>

    <div class="card">
        <div class="card-header" id="headingTwo">
        <h5 class="mb-0">
            <button class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
            Collapsible Group Item #2
            </button>
        </h5>
        </div>
        <div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion">
        <div class="card-body">
            Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 
            3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum 
            eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla 
            assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt 
            sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, 
            raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
        </div>
        </div>
    </div>

</div>

可折叠组项目#1
动物保护协会的陈词滥调,埃尼姆·埃乌斯莫德的高寿命accusamus terry richardson广告鱿鱼。
3狼月亮奥特餐厅,非丘比特滑板多洛早午餐。食品车藜麦
埃乌斯莫德。早午餐3狼月亮临时,圣阿利夸放了一只鸟在上面鱿鱼单一来源咖啡纳拉
假设shoreditch等Nihil anim keffiyeh helvetica,工艺啤酒工人wes anderson cred nesciunt
智慧是一种骄傲。纯素食主义者,屠夫副洛莫。从工艺啤酒场到餐桌,
粗斜纹棉布美学合成器Nescuint您可能还没有听说过accusamus labore可持续VHS。
可折叠组项目#2
动物保护协会的陈词滥调,埃尼姆·埃乌斯莫德的高寿命accusamus terry richardson广告鱿鱼。
3狼月亮奥特餐厅,非丘比特滑板多洛早午餐。食品车藜麦
埃乌斯莫德。早午餐3狼月亮临时,圣阿利夸放了一只鸟在上面鱿鱼单一来源咖啡纳拉
假设shoreditch等Nihil anim keffiyeh helvetica,工艺啤酒工人wes anderson cred nesciunt
智慧是一种骄傲。纯素食主义者,屠夫副洛莫。从工艺啤酒场到餐桌,
粗斜纹棉布美学合成器Nescuint您可能还没有听说过accusamus labore可持续VHS。

但是折叠效果不起作用。

jQuery必须首先出现,然后是Popper.js然后是Bootstrap.js,如果需要,再是我们的JavaScript插件


可折叠组项目#1
动物保护协会的陈词滥调,埃尼姆·埃乌斯莫德的高寿命accusamus terry richardson广告鱿鱼。
3狼月亮奥特餐厅,非丘比特滑板多洛早午餐。食品车藜麦
埃乌斯莫德。早午餐3狼月亮临时,圣阿利夸放了一只鸟在上面鱿鱼单一来源咖啡纳拉
假设shoreditch等Nihil anim keffiyeh helvetica,工艺啤酒工人wes anderson cred nesciunt
智慧是一种骄傲。纯素食主义者,屠夫副洛莫。从工艺啤酒场到餐桌,
粗斜纹棉布美学合成器Nescuint您可能还没有听说过accusamus labore可持续VHS。
可折叠组项目#2
动物保护协会的陈词滥调,埃尼姆·埃乌斯莫德的高寿命accusamus terry richardson广告鱿鱼。
3狼月亮奥特餐厅,非丘比特滑板多洛早午餐。食品车藜麦
埃乌斯莫德。早午餐3狼月亮临时,圣阿利夸放了一只鸟在上面鱿鱼单一来源咖啡纳拉
假设shoreditch等Nihil anim keffiyeh helvetica,工艺啤酒工人wes anderson cred nesciunt
智慧是一种骄傲。纯素食主义者,屠夫副洛莫。从工艺啤酒场到餐桌,
粗斜纹棉布美学合成器Nescuint您可能还没有听说过accusamus labore可持续VHS。

@Alucard
更改bootstrap.min.js的位置此文件应位于popper.min.js文件的底部,因此在像1-jquery、2-popper.min.js这样排列之后,最后一个是bootstrap.min.js,然后折叠将起作用。