1234567891011121314 |
- var style = require('../wxs/style.wxs');
- var addUnit = require('../wxs/add-unit.wxs');
- function barStyle(barHeight, activeColor) {
- return style({
- height: addUnit(barHeight),
- background: activeColor,
- });
- }
- module.exports = {
- barStyle: barStyle,
- };
|