u-safe-bottom.js 933 B

12345678910111213141516171819202122232425262728
  1. "use strict";
  2. const common_vendor = require("../../../../common/vendor.js");
  3. const _sfc_main = {
  4. name: "u-safe-bottom",
  5. mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$27],
  6. data() {
  7. return {
  8. safeAreaBottomHeight: 0,
  9. isNvue: false
  10. };
  11. },
  12. computed: {
  13. style() {
  14. const style = {};
  15. return common_vendor.deepMerge(style, common_vendor.addStyle(this.customStyle));
  16. }
  17. },
  18. mounted() {
  19. }
  20. };
  21. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  22. return {
  23. a: common_vendor.s($options.style),
  24. b: common_vendor.n(!$data.isNvue && "u-safe-area-inset-bottom")
  25. };
  26. }
  27. const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3ec581de"], ["__file", "D:/project/学吧/learn_applet/node_modules/uview-plus/components/u-safe-bottom/u-safe-bottom.vue"]]);
  28. wx.createComponent(Component);