| 12345678910111213141516171819202122232425262728293031323334 |
- import { openBlock as a, createElementBlock as s, normalizeClass as l, createElementVNode as o, renderSlot as r, createTextVNode as n, toDisplayString as d } from "vue";
- import { n as i } from "./index2.js";
- const c = { class: "s-footer-tool-bar-left" }, f = { class: "s-footer-tool-bar-right" }, u = /* @__PURE__ */ Object.assign({ name: "SFooterToolBar" }, {
- __name: "SFooterToolBar",
- props: {
- // 左区内容(无 #extra 插槽时生效)
- extra: {
- type: [String, Object],
- default: ""
- },
- // 是否贴底固定
- fixed: {
- type: Boolean,
- default: !0
- }
- },
- setup(e) {
- return (t, m) => (a(), s("div", {
- class: l(["s-footer-tool-bar", { "is-fixed": e.fixed }])
- }, [
- o("div", c, [
- r(t.$slots, "extra", {}, () => [
- n(d(e.extra), 1)
- ], !0)
- ]),
- o("div", f, [
- r(t.$slots, "default", {}, void 0, !0)
- ])
- ], 2));
- }
- }), x = /* @__PURE__ */ i(u, [["__scopeId", "data-v-9ba0ae61"]]);
- export {
- x as default
- };
|