You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
444 B
23 lines
444 B
/* 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,
|
|
};
|