yuang-framework-ui-pc
Version:
yuang-framework-ui-pc Library
31 lines (30 loc) • 879 B
JavaScript
import { defineComponent, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
import { pageProps } from "./props";
const _sfc_main = defineComponent({
name: "ElePage",
props: pageProps
});
const _export_sfc = (sfc, props) => {
const target = sfc.__vccOpts || sfc;
for (const [key, val] of props) {
target[key] = val;
}
return target;
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return openBlock(), createElementBlock("div", {
class: normalizeClass([
"ele-page",
{ "is-plain": _ctx.plain },
{ "is-multi-card": _ctx.multiCard },
{ "is-flex-table": _ctx.flexTable },
{ "is-hide-footer": _ctx.hideFooter }
])
}, [
renderSlot(_ctx.$slots, "default")
], 2);
}
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
index as default
};