csj 7 years ago
parent
commit
1c67f3a255
1 changed files with 3 additions and 2 deletions
  1. 3 2
      tooth/shopping-cart.html

+ 3 - 2
tooth/shopping-cart.html

@@ -18,7 +18,7 @@
 
 	<body>
 		<!--底部菜单开始-->
-		<footer class="mui-bar mui-bar-tab" id="footer-bar-tab" style="display: none;">
+		<footer class="mui-bar mui-bar-tab" id="footer-bar-tab">
 			<a class="mui-tab-item">
 				<span class="iconfont icon-shouye"></span>
 				<span class="mui-tab-label">首页</span>
@@ -102,7 +102,8 @@
 									$(".shopping-box,.buy-footer1").hide();
 									$(".gwc_null").show();
 								}else{
-								mui.each(dt.data.cartList, function(index) {									
+								mui.each(dt.data.cartList, function(index) {	
+									$("#footer-bar-tab").hide();
 									var li = document.createElement("li");
 									li.className = 'mui-table-view-cell mui-media';
 									var num = this.cartNum;