|  | @@ -85,7 +85,7 @@
 | 
	
		
			
				|  |  |  		<view class="cart-bottom">
 | 
	
		
			
				|  |  |  			<view class="inner u-flex u-row-between">
 | 
	
		
			
				|  |  |  				<view class="left u-flex">
 | 
	
		
			
				|  |  | -					<view class="checkbox">
 | 
	
		
			
				|  |  | +					<view class="checkbox" @click="checkboxClick" style="padding: 10px;">
 | 
	
		
			
				|  |  |  						<u-checkbox-group @change="allCheckboxChange">
 | 
	
		
			
				|  |  |  							<u-checkbox shape="circle" :checked="allChecked" :name="allCheckbox.name" label="全选"></u-checkbox>
 | 
	
		
			
				|  |  |  						</u-checkbox-group>
 | 
	
	
		
			
				|  | @@ -258,6 +258,14 @@
 | 
	
		
			
				|  |  |  					}
 | 
	
		
			
				|  |  |  				})
 | 
	
		
			
				|  |  |  			},
 | 
	
		
			
				|  |  | +			checkboxClick(){
 | 
	
		
			
				|  |  | +				// console.log('checkboxClick',this.allChecked);
 | 
	
		
			
				|  |  | +				this.dataList.forEach(item => {
 | 
	
		
			
				|  |  | +					if(item.quantity<=item.stock){
 | 
	
		
			
				|  |  | +						item.checked = !this.allChecked
 | 
	
		
			
				|  |  | +					}
 | 
	
		
			
				|  |  | +				})
 | 
	
		
			
				|  |  | +			},
 | 
	
		
			
				|  |  |  			checkboxChange(n){
 | 
	
		
			
				|  |  |  				// console.log('checkboxChange',n);
 | 
	
		
			
				|  |  |  			},
 | 
	
	
		
			
				|  | @@ -447,6 +455,7 @@
 | 
	
		
			
				|  |  |  		right: 0;
 | 
	
		
			
				|  |  |  		bottom: 0;
 | 
	
		
			
				|  |  |  		padding: 0 20rpx;
 | 
	
		
			
				|  |  | +		padding-left: 0;
 | 
	
		
			
				|  |  |  		.total-price{
 | 
	
		
			
				|  |  |  			font-size: 30rpx;
 | 
	
		
			
				|  |  |  			color: #333;
 |