35 lines
		
	
	
		
			885 B
		
	
	
	
		
			JavaScript
		
	
	
	
		
		
			
		
	
	
			35 lines
		
	
	
		
			885 B
		
	
	
	
		
			JavaScript
		
	
	
	
| 
								 | 
							
								export default {
							 | 
						||
| 
								 | 
							
								    props: {
							 | 
						||
| 
								 | 
							
								        // 是否展示工具条
							 | 
						||
| 
								 | 
							
								        show: {
							 | 
						||
| 
								 | 
							
								            type: Boolean,
							 | 
						||
| 
								 | 
							
								            default: uni.$u.props.toolbar.show
							 | 
						||
| 
								 | 
							
								        },
							 | 
						||
| 
								 | 
							
								        // 取消按钮的文字
							 | 
						||
| 
								 | 
							
								        cancelText: {
							 | 
						||
| 
								 | 
							
								            type: String,
							 | 
						||
| 
								 | 
							
								            default: uni.$u.props.toolbar.cancelText
							 | 
						||
| 
								 | 
							
								        },
							 | 
						||
| 
								 | 
							
								        // 确认按钮的文字
							 | 
						||
| 
								 | 
							
								        confirmText: {
							 | 
						||
| 
								 | 
							
								            type: String,
							 | 
						||
| 
								 | 
							
								            default: uni.$u.props.toolbar.confirmText
							 | 
						||
| 
								 | 
							
								        },
							 | 
						||
| 
								 | 
							
								        // 取消按钮的颜色
							 | 
						||
| 
								 | 
							
								        cancelColor: {
							 | 
						||
| 
								 | 
							
								            type: String,
							 | 
						||
| 
								 | 
							
								            default: uni.$u.props.toolbar.cancelColor
							 | 
						||
| 
								 | 
							
								        },
							 | 
						||
| 
								 | 
							
								        // 确认按钮的颜色
							 | 
						||
| 
								 | 
							
								        confirmColor: {
							 | 
						||
| 
								 | 
							
								            type: String,
							 | 
						||
| 
								 | 
							
								            default: uni.$u.props.toolbar.confirmColor
							 | 
						||
| 
								 | 
							
								        },
							 | 
						||
| 
								 | 
							
								        // 标题文字
							 | 
						||
| 
								 | 
							
								        title: {
							 | 
						||
| 
								 | 
							
								            type: String,
							 | 
						||
| 
								 | 
							
								            default: uni.$u.props.toolbar.title
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |