filesbox/miniprogram/FilesBox/miniprogram_npm/@vant/weapp/loading/index.wxs

23 lines
421 B
Plaintext
Raw Normal View History

2023-09-21 02:23:31 +00:00
/* 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,
};