index.wxs 293 B

12345678910111213
  1. /* eslint-disable */
  2. var style = require('../wxs/style.wxs');
  3. function rootStyle(data) {
  4. return style({
  5. 'background-color': data.plain ? '' : data.color,
  6. color: data.textColor || data.plain ? data.textColor || data.color : '',
  7. });
  8. }
  9. module.exports = {
  10. rootStyle: rootStyle,
  11. };