index.js 685 B

1234567891011121314151617181920212223242526272829303132
  1. "use strict";
  2. exports.__esModule = true;
  3. exports.default = void 0;
  4. var _utils = require("../utils");
  5. var _relation = require("../mixins/relation");
  6. var _createNamespace = (0, _utils.createNamespace)('goods-action'),
  7. createComponent = _createNamespace[0],
  8. bem = _createNamespace[1];
  9. var _default = createComponent({
  10. mixins: [(0, _relation.ParentMixin)('vanGoodsAction')],
  11. props: {
  12. safeAreaInsetBottom: {
  13. type: Boolean,
  14. default: true
  15. }
  16. },
  17. render: function render() {
  18. var h = arguments[0];
  19. return h("div", {
  20. "class": bem({
  21. unfit: !this.safeAreaInsetBottom
  22. })
  23. }, [this.slots()]);
  24. }
  25. });
  26. exports.default = _default;