首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >jQuery手风琴菜单子项错误-白屏

jQuery手风琴菜单子项错误-白屏
EN

Stack Overflow用户
提问于 2021-09-13 22:48:10
回答 1查看 50关注 0票数 0

我有一个Laravel 7站点与Vue和引导,我有一个页面与jquery手风琴菜单。当您单击一个可扩展的

  • 它显示一个白色的屏幕,即使在background...help中存在background...help源文件?

https://dev8.oddballsinvitations.net/category

EN

回答 1

Stack Overflow用户

发布于 2021-09-13 23:08:55

看起来你的点击事件触发了一个"fadeOut“类被应用到你的html标记中,而不是针对于手风琴div。

屏幕截图

https://paste.pics/DV1C4

以下是从引导5.0文档中可以看到的手风琴html的样子。

代码语言:javascript
复制
  <div class="accordion-item">
    <h2 class="accordion-header" id="headingOne">
      <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
        Accordion Item #1
      </button>
    </h2>
    <div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne" data-bs-parent="#accordionExample">
      <div class="accordion-body">
        <strong>This is the first item's accordion body.</strong> It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
      </div>
    </div>
  </div>
</div>```
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/69169874

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档