提交 | 用户 | age | ||
53cc6f | 1 | /* eslint-disable */ |
S | 2 | var style = require('../wxs/style.wxs'); |
3 | var addUnit = require('../wxs/add-unit.wxs'); | |
4 | ||
5 | function rootStyle(data) { | |
6 | return style({ | |
7 | 'padding-left': addUnit(data.gutter), | |
8 | }); | |
9 | } | |
10 | ||
11 | module.exports = { | |
12 | rootStyle: rootStyle, | |
13 | }; |