1234567891011121314151617181920212223 |
- /* eslint-disable */
- var style = require('../wxs/style.wxs');
- var addUnit = require('../wxs/add-unit.wxs');
-
- function spinnerStyle(data) {
- return style({
- color: data.color,
- width: addUnit(data.size),
- height: addUnit(data.size),
- });
- }
-
- function textStyle(data) {
- return style({
- 'font-size': addUnit(data.textSize),
- });
- }
-
- module.exports = {
- spinnerStyle: spinnerStyle,
- textStyle: textStyle,
- };
|