xiabin修改购物车
This commit is contained in:
		
							parent
							
								
									836ddc9f0e
								
							
						
					
					
						commit
						014aa8e02b
					
				| @ -86,6 +86,10 @@ | ||||
|                 <el-button :disabled="data.length == 0" :type="data.length != 0 ? 'primary' : 'info'" @click="toSettlement">结算</el-button> | ||||
|               </div> | ||||
|             </div> | ||||
|             <!-- <div class="pagination"> | ||||
|               <div style="color: #999999; font-size: 15px">共{{ data.total }}条</div> | ||||
|               <el-pagination :page-size="20" :pager-count="11" layout="prev, pager, next" :total="data.total" /> | ||||
|             </div> --> | ||||
|           </div> | ||||
|         </div> | ||||
|       </template> | ||||
| @ -152,7 +156,6 @@ let datalist = reactive([ | ||||
| 
 | ||||
| onMounted(() => { | ||||
|   shoppingCart(page).then((res) => { | ||||
|     console.log(res.data.records); | ||||
|     data.value = res.data.records; | ||||
|     addIsCheckProperty(data); | ||||
|   }); | ||||
| @ -446,7 +449,19 @@ function removeCheckedItems(data) { | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|     .pagination { | ||||
|       padding-left: 20px; | ||||
|       align-items: center; | ||||
|       display: flex; | ||||
|       z-index: 999; | ||||
|       width: 65%; | ||||
|       height: 40px; | ||||
|       background-color: #fff; | ||||
|       position: fixed; | ||||
|       bottom: 38px; | ||||
|     } | ||||
|     .fix-bottom { | ||||
|       // bottom: 30px; | ||||
|       bottom: 0; | ||||
|       display: inline-flex; | ||||
|       justify-content: space-between; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user