微信小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

14 行
263 B

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