提交初始版本,使用vant ui库
This commit is contained in:
22
miniprogram_npm/@vant/weapp/loading/index.wxs
Normal file
22
miniprogram_npm/@vant/weapp/loading/index.wxs
Normal file
@@ -0,0 +1,22 @@
|
||||
/* 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,
|
||||
};
|
Reference in New Issue
Block a user