u-status-bar.js 979 B

123456789101112131415161718192021222324
  1. "use strict";
  2. const common_vendor = require("../../../../common/vendor.js");
  3. const _sfc_main = {
  4. name: "u-status-bar",
  5. mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$26],
  6. data() {
  7. return {};
  8. },
  9. computed: {
  10. style() {
  11. const style = {};
  12. style.height = common_vendor.index.$u.addUnit(common_vendor.index.$u.sys().statusBarHeight, "px");
  13. style.backgroundColor = this.bgColor;
  14. return common_vendor.index.$u.deepMerge(style, common_vendor.index.$u.addStyle(this.customStyle));
  15. }
  16. }
  17. };
  18. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  19. return {
  20. a: common_vendor.s($options.style)
  21. };
  22. }
  23. const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-c0b45a48"], ["__file", "F:/兴元/开门柜项目/平台端管理系统小程序/node_modules/uview-plus/components/u-status-bar/u-status-bar.vue"]]);
  24. wx.createComponent(Component);