mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 20:28:44 +08:00 
			
		
		
		
	
		
			
	
	
		
			20 lines
		
	
	
		
			490 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			20 lines
		
	
	
		
			490 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 
								 | 
							
								export default {
							 | 
						||
| 
								 | 
							
								    props: {
							 | 
						||
| 
								 | 
							
								        // 分成几列
							 | 
						||
| 
								 | 
							
								        col: {
							 | 
						||
| 
								 | 
							
								            type: [String, Number],
							 | 
						||
| 
								 | 
							
								            default: uni.$u.props.grid.col
							 | 
						||
| 
								 | 
							
								        },
							 | 
						||
| 
								 | 
							
								        // 是否显示边框
							 | 
						||
| 
								 | 
							
								        border: {
							 | 
						||
| 
								 | 
							
								            type: Boolean,
							 | 
						||
| 
								 | 
							
								            default: uni.$u.props.grid.border
							 | 
						||
| 
								 | 
							
								        },
							 | 
						||
| 
								 | 
							
								        // 宫格对齐方式,表现为数量少的时候,靠左,居中,还是靠右
							 | 
						||
| 
								 | 
							
								        align: {
							 | 
						||
| 
								 | 
							
								            type: String,
							 | 
						||
| 
								 | 
							
								            default: uni.$u.props.grid.align
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |