23 lines
444 B
XML
23 lines
444 B
XML
/* 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,
|
|
};
|