响应式网格商品展示及加入购物车

所属分类:UI-布局

 22415  247  查看评论 (2)
分享到微信朋友圈
X
响应式网格商品展示及加入购物车 ie兼容9

响应式网格商品展示及加入购物车效果

商品展示网格布局:

商品展示网格布局:

添加要比较的商品界面截图:

添加要比较的商品界面截图:

三种商品详细信息比较的界面:

三种商品详细信息比较的界面:

实现方法

HTML结构

该商品比较的HTML结构如下:

<!-- Compare basket -->
<div class="compare-basket">
  <!-- comparison item miniatures come here -->
  <button class="action action--button action--compare"><i class="fa fa-check"></i><span class="action__text">Compare</span></button>
</div>
<!-- Main view -->
<div class="view">
  <!-- Blueprint header -->
  <header class="bp-header cf"><!-- ... --></header>
  <!-- Product grid -->
  <section class="grid">
    <!-- Products -->
    <div class="product">
      <div class="product__info">
        <img class="product__image" src="images/1.png" alt="Product 1" />
        <h3 class="product__title">Chryseia</h3>
        <span class="product__year extra highlight">2011</span>
        <span class="product__region extra highlight">Douro</span>
        <span class="product__varietal extra highlight">Touriga Nacional</span>
        <span class="product__alcohol extra highlight">13%</span>
        <span class="product__price highlight">$55.90</span>
        <button class="action action--button action--buy">
          <i class="fa fa-shopping-cart"></i>
          <span class="action__text">Add to cart</span>
        </button>
      </div>
      <label class="action action--compare-add">
        <input class="check-hidden" type="checkbox" />
        <i class="fa fa-plus"></i>
        <i class="fa fa-check"></i>
        <span class="action__text action__text--invisible">Add to compare</span>
      </label>
    </div>
    <div class="product">
      <!-- ... -->
    </div>
    <div class="product">
      <!-- ... -->   
    </div>
    <!-- ... --> 
    </section>
</div><!-- /view -->
<!-- product compare wrapper -->
<section class="compare">
  <!-- comparison items come here -->
  <button class="action action--close"><i class="fa fa-remove"></i><span class="action__text action__text--invisible">Close comparison overlay</span></button>
</section>
<script src="js/classie.js"></script>
<script src="js/main.js"></script>

详细的CSS和js文件请参考下载文件。

相关插件-布局

jQuery bootstrap响应式网站模板

jQuery bootstrap响应式网站模板,它具有下拉菜单,移动画布菜单,流畅的动画,旋转轮播图,jQuery计数器等功能。 使用最新技术构建,如HTML5,CSS3,和jQuery。
  布局
 22733  305

2017大米首页

新手上路请多指教
  布局
 36231  462

响应式Bootstrap3婚礼HTML模板

响应式Bootstrap3红色大气婚礼HTML模板|单页面滚动
  布局
 34035  496

jQuery bootstrap设计公司模板

jQuery bootstrap响应式设计公司模板
  布局
 30789  397

讨论这个项目(2)回答他人问题或分享插件使用方法奖励jQ币 评论用户自律公约

    壹起航-建站部设计 0
    2019/8/24 10:04:37
    add to cart没反应,要点加号才行。。。。。
        丶空白0
        2019/12/5 17:18:01
        标签设置下就行了
    回复
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
取消回复