作者 王晓刚
1 个管道 的构建 通过 耗费 13 秒

订单模块问题修改

@@ -986,6 +986,7 @@ @@ -986,6 +986,7 @@
986 function initPinnerClick() { 986 function initPinnerClick() {
987 $('.spinner .btn:first-of-type').on('click', function() { 987 $('.spinner .btn:first-of-type').on('click', function() {
988 if($('#numberInput').val() >= $('#inventory').text()){ 988 if($('#numberInput').val() >= $('#inventory').text()){
  989 + console.log($('#inventory').val());
989 return false; 990 return false;
990 } 991 }
991 $('.spinner input').val( parseFloat($('.spinner input').val(), 10) + 1); 992 $('.spinner input').val( parseFloat($('.spinner input').val(), 10) + 1);
@@ -398,7 +398,7 @@ @@ -398,7 +398,7 @@
398 <div id="clearanceList-container" class="swiper-container"> 398 <div id="clearanceList-container" class="swiper-container">
399 <div class="swiper-wrapper clearance_goods_dom"> 399 <div class="swiper-wrapper clearance_goods_dom">
400 {foreach name="$clearance_goods" item="c_g"} 400 {foreach name="$clearance_goods" item="c_g"}
401 - <div class="swiper-slide"> 401 + <div class="swiper-slide" style="width: 175px">
402 <a href="{:url('index/goods/detail',array('goods_id'=>$c_g.id))}"> 402 <a href="{:url('index/goods/detail',array('goods_id'=>$c_g.id))}">
403 <img src="{$c_g.thumbnail}" alt="img"> 403 <img src="{$c_g.thumbnail}" alt="img">
404 <p class="commodityTitle">{$c_g.goodsname}</p> 404 <p class="commodityTitle">{$c_g.goodsname}</p>