123456789101112131415161718 |
- /* eslint-disable */
- var style = require('../wxs/style.wxs');
- var addUnit = require('../wxs/add-unit.wxs');
-
- function titleStyle(data) {
- return style([
- {
- 'max-width': addUnit(data.titleWidth),
- 'min-width': addUnit(data.titleWidth),
- },
- data.titleStyle,
- ]);
- }
-
- module.exports = {
- titleStyle: titleStyle,
- };
|