Skip to content

Commit

Permalink
fix:购物车--不选择商品点击去结算,出现加载图片,不消失
Browse files Browse the repository at this point in the history
  • Loading branch information
gooking committed Sep 3, 2017
1 parent 42032bf commit 90e0d29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
## 用户案例

<p>
<img src="https://cdn.it120.cc/apifactory/2017/09/03/697ee3f23484f96f6e86e0eea2a93a1a.jpeg" width="200px">
<img src="https://cdn.it120.cc/apifactory/2017/06/12/448c4cc5d256aa02ddc4106399a19256.png" width="200px">
<img src="https://cdn.it120.cc/apifactory/2017/06/21/4ae4c66856f377a8830f32a670dc0614.png" width="200px">
<img src="https://cdn.it120.cc/apifactory/2017/07/29/24bb29461e92a8d8450265e28439d61e.jpg" width="200px">
Expand Down
2 changes: 2 additions & 0 deletions pages/shop-cart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ Page({
wx.showLoading();
var that = this;
if (this.data.goodsList.noSelect) {
wx.hideLoading();
return;
}
// 重新计算价格,判断库存
Expand All @@ -265,6 +266,7 @@ Page({
});
}
if (shopList.length == 0) {
wx.hideLoading();
return;
}
var isFail = false;
Expand Down

0 comments on commit 90e0d29

Please sign in to comment.