filesbox/miniprogram/FilesBox/node_modules/@vant/weapp/lib/col/index.wxs
2023-09-21 10:23:31 +08:00

19 lines
343 B
XML

/* eslint-disable */
var style = require('../wxs/style.wxs');
var addUnit = require('../wxs/add-unit.wxs');
function rootStyle(data) {
if (!data.gutter) {
return '';
}
return style({
'padding-right': addUnit(data.gutter / 2),
'padding-left': addUnit(data.gutter / 2),
});
}
module.exports = {
rootStyle: rootStyle,
};