28 lines
16 KiB
JavaScript
28 lines
16 KiB
JavaScript
import { w as withInstall } from "../badge/index2.js";
|
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
|
|
var index = /* @__PURE__ */ (() => '.layui-row:after,.layui-row:before{content:"";display:block;clear:both}.layui-col-space1{margin:-.5px}.layui-col-space1>*{padding:.5px}.layui-col-space2{margin:-1px}.layui-col-space2>*{padding:1px}.layui-col-space3{margin:-1.5px}.layui-col-space3>*{padding:1.5px}.layui-col-space4{margin:-2px}.layui-col-space4>*{padding:2px}.layui-col-space5{margin:-2.5px}.layui-col-space5>*{padding:2.5px}.layui-col-space6{margin:-3px}.layui-col-space6>*{padding:3px}.layui-col-space7{margin:-3.5px}.layui-col-space7>*{padding:3.5px}.layui-col-space8{margin:-4px}.layui-col-space8>*{padding:4px}.layui-col-space9{margin:-4.5px}.layui-col-space9>*{padding:4.5px}.layui-col-space10{margin:-5px}.layui-col-space10>*{padding:5px}.layui-col-space11{margin:-5.5px}.layui-col-space11>*{padding:5.5px}.layui-col-space12{margin:-6px}.layui-col-space12>*{padding:6px}.layui-col-space13{margin:-6.5px}.layui-col-space13>*{padding:6.5px}.layui-col-space14{margin:-7px}.layui-col-space14>*{padding:7px}.layui-col-space15{margin:-7.5px}.layui-col-space15>*{padding:7.5px}.layui-col-space16{margin:-8px}.layui-col-space16>*{padding:8px}.layui-col-space17{margin:-8.5px}.layui-col-space17>*{padding:8.5px}.layui-col-space18{margin:-9px}.layui-col-space18>*{padding:9px}.layui-col-space19{margin:-9.5px}.layui-col-space19>*{padding:9.5px}.layui-col-space20{margin:-10px}.layui-col-space20>*{padding:10px}.layui-col-space21{margin:-10.5px}.layui-col-space21>*{padding:10.5px}.layui-col-space22{margin:-11px}.layui-col-space22>*{padding:11px}.layui-col-space23{margin:-11.5px}.layui-col-space23>*{padding:11.5px}.layui-col-space24{margin:-12px}.layui-col-space24>*{padding:12px}.layui-col-space25{margin:-12.5px}.layui-col-space25>*{padding:12.5px}.layui-col-space26{margin:-13px}.layui-col-space26>*{padding:13px}.layui-col-space27{margin:-13.5px}.layui-col-space27>*{padding:13.5px}.layui-col-space28{margin:-14px}.layui-col-space28>*{padding:14px}.layui-col-space29{margin:-14.5px}.layui-col-space29>*{padding:14.5px}.layui-col-space30{margin:-15px}.layui-col-space30>*{padding:15px}@media screen and (max-width: 768px){.layui-col-xs1{float:left;display:block;position:relative;box-sizing:border-box;width:4.16666667%}.layui-col-xs-offset1{margin-left:4.16666667%}.layui-col-xs2{float:left;display:block;position:relative;box-sizing:border-box;width:8.33333333%}.layui-col-xs-offset2{margin-left:8.33333333%}.layui-col-xs3{float:left;display:block;position:relative;box-sizing:border-box;width:12.5%}.layui-col-xs-offset3{margin-left:12.5%}.layui-col-xs4{float:left;display:block;position:relative;box-sizing:border-box;width:16.66666667%}.layui-col-xs-offset4{margin-left:16.66666667%}.layui-col-xs5{float:left;display:block;position:relative;box-sizing:border-box;width:20.83333333%}.layui-col-xs-offset5{margin-left:20.83333333%}.layui-col-xs6{float:left;display:block;position:relative;box-sizing:border-box;width:25%}.layui-col-xs-offset6{margin-left:25%}.layui-col-xs7{float:left;display:block;position:relative;box-sizing:border-box;width:29.16666667%}.layui-col-xs-offset7{margin-left:29.16666667%}.layui-col-xs8{float:left;display:block;position:relative;box-sizing:border-box;width:33.33333333%}.layui-col-xs-offset8{margin-left:33.33333333%}.layui-col-xs9{float:left;display:block;position:relative;box-sizing:border-box;width:37.5%}.layui-col-xs-offset9{margin-left:37.5%}.layui-col-xs10{float:left;display:block;position:relative;box-sizing:border-box;width:41.66666667%}.layui-col-xs-offset10{margin-left:41.66666667%}.layui-col-xs11{float:left;display:block;position:relative;box-sizing:border-box;width:45.83333333%}.layui-col-xs-offset11{margin-left:45.83333333%}.layui-col-xs12{float:left;display:block;position:relative;box-sizing:border-box;width:50%}.layui-col-xs-offset12{margin-left:50%}.layui-col-xs13{float:left;display:block;position:relative;box-sizing:border-box;width:54.16666667%}.layui-col-xs-offset13{margin-left:54.16666667%}.layui-col-xs14{float:left;display:block;position:relative;box-sizing:border-box;width:58.33333333%}.layui-col-xs-offset14{margin-left:58.33333333%}.layui-col-xs15{float:left;display:block;position:relative;box-sizing:border-box;width:62.5%}.layui-col-xs-offset15{margin-left:62.5%}.layui-col-xs16{float:left;display:block;position:relative;box-sizing:border-box;width:66.66666667%}.layui-col-xs-offset16{margin-left:66.66666667%}.layui-col-xs17{float:left;display:block;position:relative;box-sizing:border-box;width:70.83333333%}.layui-col-xs-offset17{margin-left:70.83333333%}.layui-col-xs18{float:left;display:block;position:relative;box-sizing:border-box;width:75%}.layui-col-xs-offset18{margin-left:75%}.layui-col-xs19{float:left;display:block;position:relative;box-sizing:border-box;width:79.16666667%}.layui-col-xs-offset19{margin-left:79.16666667%}.layui-col-xs20{float:left;display:block;position:relative;box-sizing:border-box;width:83.33333333%}.layui-col-xs-offset20{margin-left:83.33333333%}.layui-col-xs21{float:left;display:block;position:relative;box-sizing:border-box;width:87.5%}.layui-col-xs-offset21{margin-left:87.5%}.layui-col-xs22{float:left;display:block;position:relative;box-sizing:border-box;width:91.66666667%}.layui-col-xs-offset22{margin-left:91.66666667%}.layui-col-xs23{float:left;display:block;position:relative;box-sizing:border-box;width:95.83333333%}.layui-col-xs-offset23{margin-left:95.83333333%}.layui-col-xs24{float:left;display:block;position:relative;box-sizing:border-box;width:100%}.layui-col-xs-offset24{margin-left:100%}}@media screen and (min-width: 768px){.layui-col-sm1{float:left;display:block;position:relative;box-sizing:border-box;width:4.16666667%}.layui-col-sm-offset1{margin-left:4.16666667%}.layui-col-sm2{float:left;display:block;position:relative;box-sizing:border-box;width:8.33333333%}.layui-col-sm-offset2{margin-left:8.33333333%}.layui-col-sm3{float:left;display:block;position:relative;box-sizing:border-box;width:12.5%}.layui-col-sm-offset3{margin-left:12.5%}.layui-col-sm4{float:left;display:block;position:relative;box-sizing:border-box;width:16.66666667%}.layui-col-sm-offset4{margin-left:16.66666667%}.layui-col-sm5{float:left;display:block;position:relative;box-sizing:border-box;width:20.83333333%}.layui-col-sm-offset5{margin-left:20.83333333%}.layui-col-sm6{float:left;display:block;position:relative;box-sizing:border-box;width:25%}.layui-col-sm-offset6{margin-left:25%}.layui-col-sm7{float:left;display:block;position:relative;box-sizing:border-box;width:29.16666667%}.layui-col-sm-offset7{margin-left:29.16666667%}.layui-col-sm8{float:left;display:block;position:relative;box-sizing:border-box;width:33.33333333%}.layui-col-sm-offset8{margin-left:33.33333333%}.layui-col-sm9{float:left;display:block;position:relative;box-sizing:border-box;width:37.5%}.layui-col-sm-offset9{margin-left:37.5%}.layui-col-sm10{float:left;display:block;position:relative;box-sizing:border-box;width:41.66666667%}.layui-col-sm-offset10{margin-left:41.66666667%}.layui-col-sm11{float:left;display:block;position:relative;box-sizing:border-box;width:45.83333333%}.layui-col-sm-offset11{margin-left:45.83333333%}.layui-col-sm12{float:left;display:block;position:relative;box-sizing:border-box;width:50%}.layui-col-sm-offset12{margin-left:50%}.layui-col-sm13{float:left;display:block;position:relative;box-sizing:border-box;width:54.16666667%}.layui-col-sm-offset13{margin-left:54.16666667%}.layui-col-sm14{float:left;display:block;position:relative;box-sizing:border-box;width:58.33333333%}.layui-col-sm-offset14{margin-left:58.33333333%}.layui-col-sm15{float:left;display:block;position:relative;box-sizing:border-box;width:62.5%}.layui-col-sm-offset15{margin-left:62.5%}.layui-col-sm16{float:left;display:block;position:relative;box-sizing:border-box;width:66.66666667%}.layui-col-sm-offset16{margin-left:66.66666667%}.layui-col-sm17{float:left;display:block;position:relative;box-sizing:border-box;width:70.83333333%}.layui-col-sm-offset17{margin-left:70.83333333%}.layui-col-sm18{float:left;display:block;position:relative;box-sizing:border-box;width:75%}.layui-col-sm-offset18{margin-left:75%}.layui-col-sm19{float:left;display:block;position:relative;box-sizing:border-box;width:79.16666667%}.layui-col-sm-offset19{margin-left:79.16666667%}.layui-col-sm20{float:left;display:block;position:relative;box-sizing:border-box;width:83.33333333%}.layui-col-sm-offset20{margin-left:83.33333333%}.layui-col-sm21{float:left;display:block;position:relative;box-sizing:border-box;width:87.5%}.layui-col-sm-offset21{margin-left:87.5%}.layui-col-sm22{float:left;display:block;position:relative;box-sizing:border-box;width:91.66666667%}.layui-col-sm-offset22{margin-left:91.66666667%}.layui-col-sm23{float:left;display:block;position:relative;box-sizing:border-box;width:95.83333333%}.layui-col-sm-offset23{margin-left:95.83333333%}.layui-col-sm24{float:left;display:block;position:relative;box-sizing:border-box;width:100%}.layui-col-sm-offset24{margin-left:100%}}@media screen and (min-width: 992px){.layui-col-md1{float:left;display:block;position:relative;box-sizing:border-box;width:4.16666667%}.layui-col-md-offset1{margin-left:4.16666667%}.layui-col-md2{float:left;display:block;position:relative;box-sizing:border-box;width:8.33333333%}.layui-col-md-offset2{margin-left:8.33333333%}.layui-col-md3{float:left;display:block;position:relative;box-sizing:border-box;width:12.5%}.layui-col-md-offset3{margin-left:12.5%}.layui-col-md4{float:left;display:block;position:relative;box-sizing:border-box;width:16.66666667%}.layui-col-md-offset4{margin-left:16.66666667%}.layui-col-md5{float:left;display:block;position:relative;box-sizing:border-box;width:20.83333333%}.layui-col-md-offset5{margin-left:20.83333333%}.layui-col-md6{float:left;display:block;position:relative;box-sizing:border-box;width:25%}.layui-col-md-offset6{margin-left:25%}.layui-col-md7{float:left;display:block;position:relative;box-sizing:border-box;width:29.16666667%}.layui-col-md-offset7{margin-left:29.16666667%}.layui-col-md8{float:left;display:block;position:relative;box-sizing:border-box;width:33.33333333%}.layui-col-md-offset8{margin-left:33.33333333%}.layui-col-md9{float:left;display:block;position:relative;box-sizing:border-box;width:37.5%}.layui-col-md-offset9{margin-left:37.5%}.layui-col-md10{float:left;display:block;position:relative;box-sizing:border-box;width:41.66666667%}.layui-col-md-offset10{margin-left:41.66666667%}.layui-col-md11{float:left;display:block;position:relative;box-sizing:border-box;width:45.83333333%}.layui-col-md-offset11{margin-left:45.83333333%}.layui-col-md12{float:left;display:block;position:relative;box-sizing:border-box;width:50%}.layui-col-md-offset12{margin-left:50%}.layui-col-md13{float:left;display:block;position:relative;box-sizing:border-box;width:54.16666667%}.layui-col-md-offset13{margin-left:54.16666667%}.layui-col-md14{float:left;display:block;position:relative;box-sizing:border-box;width:58.33333333%}.layui-col-md-offset14{margin-left:58.33333333%}.layui-col-md15{float:left;display:block;position:relative;box-sizing:border-box;width:62.5%}.layui-col-md-offset15{margin-left:62.5%}.layui-col-md16{float:left;display:block;position:relative;box-sizing:border-box;width:66.66666667%}.layui-col-md-offset16{margin-left:66.66666667%}.layui-col-md17{float:left;display:block;position:relative;box-sizing:border-box;width:70.83333333%}.layui-col-md-offset17{margin-left:70.83333333%}.layui-col-md18{float:left;display:block;position:relative;box-sizing:border-box;width:75%}.layui-col-md-offset18{margin-left:75%}.layui-col-md19{float:left;display:block;position:relative;box-sizing:border-box;width:79.16666667%}.layui-col-md-offset19{margin-left:79.16666667%}.layui-col-md20{float:left;display:block;position:relative;box-sizing:border-box;width:83.33333333%}.layui-col-md-offset20{margin-left:83.33333333%}.layui-col-md21{float:left;display:block;position:relative;box-sizing:border-box;width:87.5%}.layui-col-md-offset21{margin-left:87.5%}.layui-col-md22{float:left;display:block;position:relative;box-sizing:border-box;width:91.66666667%}.layui-col-md-offset22{margin-left:91.66666667%}.layui-col-md23{float:left;display:block;position:relative;box-sizing:border-box;width:95.83333333%}.layui-col-md-offset23{margin-left:95.83333333%}.layui-col-md24{float:left;display:block;position:relative;box-sizing:border-box;width:100%}.layui-col-md-offset24{margin-left:100%}}@media screen and (min-width: 1200px){.layui-col-lg1{float:left;display:block;position:relative;box-sizing:border-box;width:4.16666667%}.layui-col-lg-offset1{margin-left:4.16666667%}.layui-col-lg2{float:left;display:block;position:relative;box-sizing:border-box;width:8.33333333%}.layui-col-lg-offset2{margin-left:8.33333333%}.layui-col-lg3{float:left;display:block;position:relative;box-sizing:border-box;width:12.5%}.layui-col-lg-offset3{margin-left:12.5%}.layui-col-lg4{float:left;display:block;position:relative;box-sizing:border-box;width:16.66666667%}.layui-col-lg-offset4{margin-left:16.66666667%}.layui-col-lg5{float:left;display:block;position:relative;box-sizing:border-box;width:20.83333333%}.layui-col-lg-offset5{margin-left:20.83333333%}.layui-col-lg6{float:left;display:block;position:relative;box-sizing:border-box;width:25%}.layui-col-lg-offset6{margin-left:25%}.layui-col-lg7{float:left;display:block;position:relative;box-sizing:border-box;width:29.16666667%}.layui-col-lg-offset7{margin-left:29.16666667%}.layui-col-lg8{float:left;display:block;position:relative;box-sizing:border-box;width:33.33333333%}.layui-col-lg-offset8{margin-left:33.33333333%}.layui-col-lg9{float:left;display:block;position:relative;box-sizing:border-box;width:37.5%}.layui-col-lg-offset9{margin-left:37.5%}.layui-col-lg10{float:left;display:block;position:relative;box-sizing:border-box;width:41.66666667%}.layui-col-lg-offset10{margin-left:41.66666667%}.layui-col-lg11{float:left;display:block;position:relative;box-sizing:border-box;width:45.83333333%}.layui-col-lg-offset11{margin-left:45.83333333%}.layui-col-lg12{float:left;display:block;position:relative;box-sizing:border-box;width:50%}.layui-col-lg-offset12{margin-left:50%}.layui-col-lg13{float:left;display:block;position:relative;box-sizing:border-box;width:54.16666667%}.layui-col-lg-offset13{margin-left:54.16666667%}.layui-col-lg14{float:left;display:block;position:relative;box-sizing:border-box;width:58.33333333%}.layui-col-lg-offset14{margin-left:58.33333333%}.layui-col-lg15{float:left;display:block;position:relative;box-sizing:border-box;width:62.5%}.layui-col-lg-offset15{margin-left:62.5%}.layui-col-lg16{float:left;display:block;position:relative;box-sizing:border-box;width:66.66666667%}.layui-col-lg-offset16{margin-left:66.66666667%}.layui-col-lg17{float:left;display:block;position:relative;box-sizing:border-box;width:70.83333333%}.layui-col-lg-offset17{margin-left:70.83333333%}.layui-col-lg18{float:left;display:block;position:relative;box-sizing:border-box;width:75%}.layui-col-lg-offset18{margin-left:75%}.layui-col-lg19{float:left;display:block;position:relative;box-sizing:border-box;width:79.16666667%}.layui-col-lg-offset19{margin-left:79.16666667%}.layui-col-lg20{float:left;display:block;position:relative;box-sizing:border-box;width:83.33333333%}.layui-col-lg-offset20{margin-left:83.33333333%}.layui-col-lg21{float:left;display:block;position:relative;box-sizing:border-box;width:87.5%}.layui-col-lg-offset21{margin-left:87.5%}.layui-col-lg22{float:left;display:block;position:relative;box-sizing:border-box;width:91.66666667%}.layui-col-lg-offset22{margin-left:91.66666667%}.layui-col-lg23{float:left;display:block;position:relative;box-sizing:border-box;width:95.83333333%}.layui-col-lg-offset23{margin-left:95.83333333%}.layui-col-lg24{float:left;display:block;position:relative;box-sizing:border-box;width:100%}.layui-col-lg-offset24{margin-left:100%}}\n')();
|
|
const __default__ = {
|
|
name: "LayRow"
|
|
};
|
|
const _sfc_main = defineComponent({
|
|
...__default__,
|
|
props: {
|
|
space: null
|
|
},
|
|
setup(__props) {
|
|
const props = __props;
|
|
const classes = computed(() => {
|
|
return [props.space ? `layui-col-space${props.space}` : ""];
|
|
});
|
|
return (_ctx, _cache) => {
|
|
return openBlock(), createElementBlock("div", {
|
|
class: normalizeClass(["layui-row", unref(classes)])
|
|
}, [
|
|
renderSlot(_ctx.$slots, "default")
|
|
], 2);
|
|
};
|
|
}
|
|
});
|
|
const component = withInstall(_sfc_main);
|
|
export { component as default };
|