index.wxs 263 B

12345678910111213
  1. /* eslint-disable */
  2. var style = require('../wxs/style.wxs');
  3. function barStyle(data) {
  4. return style({
  5. 'z-index': data.zIndex,
  6. 'padding-top': data.safeAreaInsetTop ? data.statusBarHeight + 'px' : 0,
  7. });
  8. }
  9. module.exports = {
  10. barStyle: barStyle,
  11. };