This commit is contained in:
2022-11-14 11:59:26 +08:00
parent 0a63adba99
commit 492d0963fe
336 changed files with 70636 additions and 7 deletions

1
es/side/index.css Normal file
View File

@@ -0,0 +1 @@
.layui-side{overflow:auto;overflow-x:hidden;box-sizing:border-box;min-height:300px}

31
es/side/index.js Normal file
View File

@@ -0,0 +1,31 @@
import { w as withInstall } from "../badge/index2.js";
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, unref, renderSlot } from "vue";
var index = /* @__PURE__ */ (() => ".layui-side{overflow:auto;overflow-x:hidden;box-sizing:border-box;min-height:300px}\n")();
const __default__ = {
name: "LaySide"
};
const _sfc_main = defineComponent({
...__default__,
props: {
width: { default: "200px" }
},
setup(__props) {
const props = __props;
const styles = computed(() => {
return {
flex: `0 0 ${props.width}`,
width: `${props.width}`
};
});
return (_ctx, _cache) => {
return openBlock(), createElementBlock("div", {
class: "layui-side",
style: normalizeStyle(unref(styles))
}, [
renderSlot(_ctx.$slots, "default")
], 4);
};
}
});
const component = withInstall(_sfc_main);
export { component as default };