StatusBar.js 574 B

123456789101112131415161718
  1. "use strict";
  2. const common_vendor = require("../../common/vendor.js");
  3. const _sfc_main = {
  4. name: "UniStatusBar",
  5. data() {
  6. return {
  7. statusBarHeight: common_vendor.index.getWindowInfo().statusBarHeight + 14 + "rpx"
  8. };
  9. }
  10. };
  11. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  12. return {
  13. a: $data.statusBarHeight
  14. };
  15. }
  16. const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
  17. wx.createComponent(Component);
  18. //# sourceMappingURL=../../../.sourcemap/mp-weixin/components/NavBar/StatusBar.js.map