12345678910111213141516171819202122 |
- /* 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,
- };
|