lilei 11 mesiacov pred
rodič
commit
e10939cc71
2 zmenil súbory, kde vykonal 6 pridanie a 12 odobranie
  1. 0 11
      pages.json
  2. 6 1
      pagesB/promoDetail.vue

+ 0 - 11
pages.json

@@ -429,17 +429,6 @@
 				"bounce":"none"
 				"bounce":"none"
 			}
 			}
 		},
 		},
-		{
-			"path" : "promoProduct",
-			"style" : 
-			{
-				"navigationBarTitleText" : "促销产品列表",
-				"enablePullDownRefresh": false,
-				"titleView":false,
-				// 将回弹属性关掉
-				"bounce":"none"
-			}
-		},
 		{
 		{
 			"path" : "coupon",
 			"path" : "coupon",
 			"style" : 
 			"style" : 

+ 6 - 1
pagesB/promoDetail.vue

@@ -42,7 +42,7 @@
 			<!-- </scroll-view> -->
 			<!-- </scroll-view> -->
 		</view>
 		</view>
 		<!-- 底部栏 -->
 		<!-- 底部栏 -->
-		<view class="bottom-bar" @click="clearAction">
+		<view class="bottom-bar" @click="clearAction" v-if="total>0">
 			<view class="bottom-bar-left">
 			<view class="bottom-bar-left">
 				<view class="bottom-bar-left-item">
 				<view class="bottom-bar-left-item">
 					<view class="bottom-bar-left-item-icon" @click="openChoose">
 					<view class="bottom-bar-left-item-icon" @click="openChoose">
@@ -456,6 +456,11 @@
 							this.$store.state.vuex_tempData = res.data
 							this.$store.state.vuex_tempData = res.data
 							this.clearChooseData()
 							this.clearChooseData()
 							this.submitOk = true
 							this.submitOk = true
+						}else{
+							uni.showToast({
+								title: res.message,
+								icon: 'none'
+							})
 						}
 						}
 					})
 					})
 				}else{
 				}else{