前端,分类

怎么把分类分别放入滑动导航栏DIV,      对应的商品放入选项卡DIV.attachments-2020-02-TdjiJHNM5e355ea19262e.jpg

代码<!-- 中间导航 -->

<div class="container dysj">

<div class="swiper-container swiper1">

<div class="swiper-wrapper">

<div class="swiper-slide selected">推荐</div>

<div class="swiper-slide">女装</div>

<div class="swiper-slide">女鞋</div>

<div class="swiper-slide">包包</div>

<div class="swiper-slide">美妆</div>

<div class="swiper-slide">模特</div>

<div class="swiper-slide">7</div>

<div class="swiper-slide">8</div>

<div class="swiper-slide">9</div>

<div class="swiper-slide">10</div>

</div>

</div>

<!-- swiper2 -->

<div class="swiper-container swiper2">

<div class="swiper-wrapper">

<div class="swiper-slide swiper-no-swiping">

<div style="width: 100%;height: 100%;background-color: transparent;">

  <div class="home-floor ">推存商品内容 </div>

                               </div>

                              <div class="swiper-slide swiper-no-swiping">女装 女装 女装 女装</div>

<div class="swiper-slide swiper-no-swiping">女鞋 女鞋 女鞋 女鞋</div>

<div class="swiper-slide swiper-no-swiping">包包 包包 包包 包包</div>

<div class="swiper-slide swiper-no-swiping">美妆 美妆 美妆 美妆</div>

<div class="swiper-slide swiper-no-swiping">模特 模特 模特 模特</div>

<div class="swiper-slide swiper-no-swiping">7 7 7 7 7</div>

<div class="swiper-slide swiper-no-swiping">8 8 8 8 8</div>

<div class="swiper-slide swiper-no-swiping">9 9 9 9 9 </div>

<div class="swiper-slide swiper-no-swiping">10 10 10 10</div>

</div>

</div>


</div>

请先 登录 后评论

2 个回答

shone - 开发爱好者
擅长:PHP,Java,全栈

可以通过amazeui的选项卡实现(http://amazeui.shopxo.net/widgets/tabs/),也可以用swiper的选项卡实现

请先 登录 后评论
wujian

谢谢,滑动导航选项卡已经做好,不懂后台PHP,传不了值,亲我发源文件个你还有给我看看嘛?做好50红包

请先 登录 后评论
  • 2 关注
  • 0 收藏,124 浏览
  • wujian 提出于 2020-02-01 19:30

相似问题