index.wxs 284 B

1234567891011121314
  1. /* eslint-disable */
  2. var style = require('../wxs/style.wxs');
  3. var addUnit = require('../wxs/add-unit.wxs');
  4. function barStyle(barHeight, activeColor) {
  5. return style({
  6. height: addUnit(barHeight),
  7. background: activeColor,
  8. });
  9. }
  10. module.exports = {
  11. barStyle: barStyle,
  12. };