SFooterToolBar.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. import { openBlock as a, createElementBlock as s, normalizeClass as l, createElementVNode as o, renderSlot as r, createTextVNode as n, toDisplayString as c } from "vue";
  2. import { n as d } from "./index2.js";
  3. const i = { class: "s-footer-tool-bar-left" }, f = { class: "s-footer-tool-bar-right" }, u = /* @__PURE__ */ Object.assign({ name: "SFooterToolBar" }, {
  4. __name: "SFooterToolBar",
  5. props: {
  6. // 左区内容(无 #extra 插槽时生效)
  7. extra: {
  8. type: [String, Object],
  9. default: ""
  10. },
  11. // 是否贴底固定
  12. fixed: {
  13. type: Boolean,
  14. default: !0
  15. }
  16. },
  17. setup(e) {
  18. return (t, m) => (a(), s("div", {
  19. class: l(["s-footer-tool-bar", { "is-fixed": e.fixed }])
  20. }, [
  21. o("div", i, [
  22. r(t.$slots, "extra", {}, () => [
  23. n(c(e.extra), 1)
  24. ], !0)
  25. ]),
  26. o("div", f, [
  27. r(t.$slots, "default", {}, void 0, !0)
  28. ])
  29. ], 2));
  30. }
  31. }), x = /* @__PURE__ */ d(u, [["__scopeId", "data-v-b0ef673c"]]);
  32. export {
  33. x as default
  34. };