瀏覽代碼

Merge remote-tracking branch 'remotes/origin/developer' into developerA

zhengjinyi 1 年之前
父節點
當前提交
7f2cf1a7b1
共有 3 個文件被更改,包括 16 次插入13 次删除
  1. 11 11
      pages/seller/cart/cart.vue
  2. 3 0
      pages/seller/cart/components/cm-unit-popup.vue
  3. 2 2
      services/config.env.js

+ 11 - 11
pages/seller/cart/cart.vue

@@ -273,11 +273,11 @@
 			:skuProduct="handlePros"
 			:skuProduct="handlePros"
 			@skuBtnConfirm="handleBtnConfirm"
 			@skuBtnConfirm="handleBtnConfirm"
 			@handleFuction="handleFuctionData"
 			@handleFuction="handleFuctionData"
-		></cm-unit-popup>
+		/>
 		<!-- 促销活动弹窗 -->
 		<!-- 促销活动弹窗 -->
-		<activi-popup :product="handlerPros" :popupShow="popupShow1"></activi-popup>
+		<activi-popup :product="handlerPros" :popupShow="popupShow1" />
 		<!-- 透明模态层 -->
 		<!-- 透明模态层 -->
-		<modal-layer v-if="modallayer"></modal-layer>
+		<modal-layer v-if="modallayer" />
 	</view>
 	</view>
 </template>
 </template>
 <script>
 <script>
@@ -294,7 +294,7 @@ const defaultListQuery = {
 	serviceProviderId: 0, //协销Id
 	serviceProviderId: 0, //协销Id
 	againBuyProductIds: '', // 再次购买商品ids
 	againBuyProductIds: '', // 再次购买商品ids
 	pageNum: 1, // 页码
 	pageNum: 1, // 页码
-	pageSize: 10 // 条数
+	pageSize: 50 // 条数
 }
 }
 export default {
 export default {
 	mixins: [apisMixins, cartMixins],
 	mixins: [apisMixins, cartMixins],
@@ -1053,13 +1053,13 @@ export default {
 			this.handlePros = pros
 			this.handlePros = pros
 		}
 		}
 	},
 	},
-	onReachBottom() {
-		if (this.hasNextPage) {
-			this.loadding = true
-			this.pullUpOn = true
-			this.getOnReachBottomData()
-		}
-	},
+	// onReachBottom() {
+	// 	if (this.hasNextPage) {
+	// 		this.loadding = true
+	// 		this.pullUpOn = true
+	// 		this.getOnReachBottomData()
+	// 	}
+	// },
 	onPullDownRefresh() {
 	onPullDownRefresh() {
 		//下拉刷新
 		//下拉刷新
 		this.initGetCartGoodsList()
 		this.initGetCartGoodsList()

+ 3 - 0
pages/seller/cart/components/cm-unit-popup.vue

@@ -267,6 +267,9 @@ export default {
 					this.$util.msg('购买量必须为起订量的整数倍', 2000)
 					this.$util.msg('购买量必须为起订量的整数倍', 2000)
 					this.productCount = this.handleMinNumber
 					this.productCount = this.handleMinNumber
 					return
 					return
+				}else{
+					this.addParams.productCount = this.productCount
+					this.handleAddClubCart(this.addParams)
 				}
 				}
 			}else{
 			}else{
 				this.addParams.productCount = this.productCount
 				this.addParams.productCount = this.productCount

+ 2 - 2
services/config.env.js

@@ -5,8 +5,8 @@ if(process.env.NODE_ENV === 'development'){
     // URL_CONFIG = 'http://192.168.2.68:18002'	 //涛涛联调地址
     // URL_CONFIG = 'http://192.168.2.68:18002'	 //涛涛联调地址
     // URL_CONFIG = 'http://192.168.2.102:18002' //志国联调地址
     // URL_CONFIG = 'http://192.168.2.102:18002' //志国联调地址
     // URL_CONFIG = 'http://192.168.2.103:18002'    //陈凯联调地址
     // URL_CONFIG = 'http://192.168.2.103:18002'    //陈凯联调地址
-    URL_CONFIG = 'https://core-b.caimei365.com'
-    // URL_CONFIG = 'https://core.caimei365.com'    
+    // URL_CONFIG = 'https://core-b.caimei365.com' 
+    URL_CONFIG = 'https://core.caimei365.com'    
 }else{
 }else{
     // 生产环境
     // 生产环境
     // URL_CONFIG = 'https://core-b.caimei365.com'
     // URL_CONFIG = 'https://core-b.caimei365.com'