index.wxs 284B

123456789101112131415
  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. };