开始做登录
This commit is contained in:
		
							
								
								
									
										22
									
								
								miniprogram_npm/@vant/weapp/stepper/index.wxs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								miniprogram_npm/@vant/weapp/stepper/index.wxs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| /* eslint-disable */ | ||||
| var style = require('../wxs/style.wxs'); | ||||
| var addUnit = require('../wxs/add-unit.wxs'); | ||||
|  | ||||
| function buttonStyle(data) { | ||||
|   return style({ | ||||
|     width: addUnit(data.buttonSize), | ||||
|     height: addUnit(data.buttonSize), | ||||
|   }); | ||||
| } | ||||
|  | ||||
| function inputStyle(data) { | ||||
|   return style({ | ||||
|     width: addUnit(data.inputWidth), | ||||
|     height: addUnit(data.buttonSize), | ||||
|   }); | ||||
| } | ||||
|  | ||||
| module.exports = { | ||||
|   buttonStyle: buttonStyle, | ||||
|   inputStyle: inputStyle, | ||||
| }; | ||||
		Reference in New Issue
	
	Block a user