小程序npm和node模块

This commit is contained in:
Abin
2026-01-05 18:07:10 +08:00
parent a07c8f7ef9
commit 66b2e3ddac
1402 changed files with 35461 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
/* eslint-disable */
var style = require('../wxs/style.wxs');
var addUnit = require('../wxs/add-unit.wxs');
function rootStyle(data) {
return style([
{
'border-color': data.borderColor,
color: data.textColor,
'font-size': addUnit(data.fontSize),
},
data.customStyle,
]);
}
module.exports = {
rootStyle: rootStyle,
};