头像
xiuno插入图片轮番图
初心不改 发表于 2022-01-10 15:35:14

8234 1 0

在首页代码处插入代码:

<div id="demo" class="carousel slide mb-3" data-ride="carousel">
  
  <!-- 指示符 -->
  <ul class="carousel-indicators">
    <li data-target="#demo" data-slide-to="0" class="active"></li>
    <li data-target="#demo" data-slide-to="1" class=""></li>
    <li data-target="#demo" data-slide-to="2" class=""></li>
  </ul>
  
  <!-- 轮播图片 -->
  <div class="carousel-inner">
      <div class="carousel-item active">
      <a href="<a href="https://bbs.2025ly.cn" target="_blank"><img src="https://bbs.2025ly.cn/view/img/01.jpg"></a>" target="_blank"><span style="color:#0070c0">https://bbs.2025ly.cn" target="_blank"><img src="https://bbs.2025ly.cn/view/img/01.jpg"></a></span></a>
    </div>
        <div class="carousel-item">
      <a href="<a href="https://bbs.2025ly.cn/forum-1.htm" target="_blank"><img src="https://bbs.2025ly.cn/view/img/02.jpg"></a>" target="_blank"><span style="color:#0070c0">https://bbs.2025ly.cn/forum-1.htm" target="_blank"><img src="https://bbs.2025ly.cn/view/img/02.jpg"></a></span></a>
    </div>
        <div class="carousel-item">
      <a href="<a href="https://bbs.2025ly.cn/user-create.htm" target="_blank"><img src="https://bbs.2025ly.cn/view/img/03.jpg"></a>" target="_blank"><span style="color:#0070c0">https://bbs.2025ly.cn/user-create.htm" target="_blank"><img src="https://bbs.2025ly.cn/view/img/03.jpg"></a></span></a>
    </div>
    
  </div>
  
  <!-- 左右切换按钮 -->
  <a class="carousel-control-prev" href="#demo" data-slide="prev">
    <span class="carousel-control-prev-icon"></span>
  </a>
  <a class="carousel-control-next" href="#demo" data-slide="next">
    <span class="carousel-control-next-icon"></span>
  </a>
  
</div>
──── 0人觉得很赞 ────
最新回复 (1)
  • 头像
    独乐乐 发表于 2022-02-26 21:23:06
    0 引用 沙发
    沙发我没有,板凳我没有,板也没有,只好站在后面排队支持! 
    • 折腾BBS
      3
        登录 注册 QQ登录