| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -21,8 +21,10 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
													<view class="info"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
														<view class="title"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
															<view class="text-ellipsis">{{ item.name }}</view> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
															<view> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
															<view class="text-ellipsis" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
															style="width: 220rpx;" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
															>{{ item.name }}</view> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
															<view style="flex-shrink: 0;"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
																<uv-number-box v-model="item.num" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
																	@change="e => valChange(item, e)"></uv-number-box> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
															</view> | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -90,6 +92,7 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							@submit="ordersPay" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							:price="totalPrice" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							:depositPrice="totalPrice" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							:depositPriceList="depositPriceList" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							ref="cartSubmitSelect"/> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							<tabber select="3" /> | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -133,7 +136,6 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							}, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							computed: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								totalPrice() { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									if (!this.checkboxValue.length) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										return 0 | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -144,8 +146,39 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											price += n.depositPrice * n.num | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									}) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									return price.toFixed(2) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								}, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								depositPriceList(){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									if (!this.checkboxValue.length) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										return [] | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									let list = [] | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									this.list.records.forEach(n => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										if (this.checkboxValue.includes(n.id)) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											// price += n.depositPrice * n.num | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											let len = list.length | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											for(let i = 0;i < len;i++){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
												let item = list[i] | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
												if(item.price == n.depositPrice){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
													item.num += n.num | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
													return | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
												} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											list.push({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
												price : n.depositPrice, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
												num : n.num, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											}) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									}) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									return list | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								}, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							}, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							onShow() { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								this.getData() | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -331,6 +364,8 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									display: flex; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									justify-content: center; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									align-items: center; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									padding: 0 10rpx; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									flex-shrink: 0; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								.image { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |