custom-statusbar.js 644 B

1234567891011121314151617181920
  1. "use strict";
  2. const common_vendor = require("../../common/vendor.js");
  3. const _sfc_main = {
  4. name: "CustomStatusBar",
  5. data() {
  6. return {
  7. statusBarHeight: 20
  8. };
  9. },
  10. mounted() {
  11. this.statusBarHeight = common_vendor.index.getSystemInfoSync().statusBarHeight;
  12. }
  13. };
  14. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  15. return {
  16. a: $data.statusBarHeight + "px"
  17. };
  18. }
  19. const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/xy/Desktop/uni_app_project/xs/xs-app/components/custom-navbar/custom-statusbar.vue"]]);
  20. tt.createComponent(Component);