index.wxs 310B

12345678910111213141516
  1. /* eslint-disable */
  2. var style = require('../wxs/style.wxs');
  3. var addUnit = require('../wxs/add-unit.wxs');
  4. function rootStyle(data) {
  5. return style({
  6. color: data.color,
  7. 'background-color': data.backgroundColor,
  8. background: data.background,
  9. });
  10. }
  11. module.exports = {
  12. rootStyle: rootStyle,
  13. };