init
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = false
|
||||
bare = false
|
||||
logallrefupdates = true
|
||||
symlinks = false
|
||||
ignorecase = true
|
||||
hooksPath = .husky
|
||||
[remote "origin"]
|
||||
url = https://gitee.com/layui/layui-vue.git
|
||||
fetch = +refs/heads/*:refs/remotes/origin/*
|
||||
[branch "v1.7.0"]
|
||||
remote = origin
|
||||
merge = refs/heads/v1.7.0
|
||||
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 209 KiB |
@@ -0,0 +1,19 @@
|
||||
import { w as withInstall } from "../badge/index2.js";
|
||||
import { defineComponent, openBlock, createElementBlock, renderSlot } from "vue";
|
||||
var index = /* @__PURE__ */ (() => ".layui-btn-container{font-size:0}.layui-btn-container .layui-btn{margin-right:10px;margin-bottom:10px}.layui-btn-container .layui-btn+.layui-btn{margin-left:0}\n")();
|
||||
const _hoisted_1 = { class: "layui-btn-container" };
|
||||
const __default__ = {
|
||||
name: "LayButtonContainer"
|
||||
};
|
||||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||||
...__default__,
|
||||
setup(__props) {
|
||||
return (_ctx, _cache) => {
|
||||
return openBlock(), createElementBlock("div", _hoisted_1, [
|
||||
renderSlot(_ctx.$slots, "default")
|
||||
]);
|
||||
};
|
||||
}
|
||||
});
|
||||
const component = withInstall(_sfc_main);
|
||||
export { component as default };
|
||||
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
xU<><55>
|
||||
@@<10>agO<67>HY<>o3<6F><33>-v<><76>-m<>]R<><EFBFBD><D7BF>V<EFBFBD>
|
||||
<EFBFBD>۬1<EFBFBD><10><13>`<o<>V<>@ y<><79><EFBFBD>9<EFBFBD><39>_
|
||||
'<27>?<3F><12><><EFBFBD>@<40>~S<14><><EFBFBD>bٍ} @<40><07>w]u<>7<EFBFBD>f8H
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
x<01><>MK<4D>0<10>=<3D>W{<7B>.A<10><>[<5B>Uo~<7E><>W<EFBFBD>6S)<29><><EFBFBD><EFBFBD>n<EFBFBD><6E><EFBFBD>n<EFBFBD><6E>Y[=x1<78><31><EFBFBD><EFBFBD><EFBFBD>;<3B>Ζ<EFBFBD>-\<5C>_<EFBFBD>Tu#<23><><1E><>ç}<7D>
|
||||
(<28><>a<EFBFBD><61><EFBFBD>" <09>m<><0C>(Ec<45><19><>Kð<4B><C3B0>Dp<44><06><><EFBFBD>m<EFBFBD><6D><15><><EFBFBD><EFBFBD>b<EFBFBD>`!$K<><4B><15>F<EFBFBD><46><1B>eKXe<58>$$<24>!S!HixaX<61>-<2D>1<EFBFBD>jB<6A>myv<79>eE<65><16> B<>i<1F>9<EFBFBD><17>a<EFBFBD>ب<EFBFBD>{<7B><>Q]<5D><>_<EFBFBD><5F>e<EFBFBD><65>|I0D<10><04>X<>7Ao({<7B><02><><EFBFBD>FW<46><57><EFBFBD><EFBFBD><EFBFBD>菐<EFBFBD>v<EFBFBD><76>4<EFBFBD><34><EFBFBD>:<3A><>tV<74><56>s<EFBFBD>C<EFBFBD><43><EFBFBD>N<EFBFBD><4E>u<EFBFBD><75><EFBFBD>or&<26><><EFBFBD>i<EFBFBD><69>N˼<4E><16>Ϋ<EFBFBD><CEAB>r<EFBFBD><72> <09>0<EFBFBD><30><EFBFBD>1<EFBFBD>X<EFBFBD>7<EFBFBD>-<2D>ߌ$<24><04><><EFBFBD>
|
||||
@@ -0,0 +1,41 @@
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "LayCol",
|
||||
};
|
||||
</script>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed } from "vue";
|
||||
|
||||
export interface ColProps {
|
||||
md?: string | number;
|
||||
xs?: string | number;
|
||||
sm?: string | number;
|
||||
lg?: string | number;
|
||||
mdOffset?: string | number;
|
||||
xsOffset?: string | number;
|
||||
smOffset?: string | number;
|
||||
lgOffset?: string | number;
|
||||
}
|
||||
|
||||
const props = defineProps<ColProps>();
|
||||
|
||||
const classes = computed(() => {
|
||||
return [
|
||||
props.md ? `layui-col-md${props.md}` : "",
|
||||
props.xs ? `layui-col-xs${props.xs}` : "",
|
||||
props.sm ? `layui-col-sm${props.sm}` : "",
|
||||
props.lg ? `layui-col-lg${props.lg}` : "",
|
||||
props.mdOffset ? `layui-col-md-offset${props.mdOffset}` : "",
|
||||
props.xsOffset ? `layui-col-xs-offset${props.xsOffset}` : "",
|
||||
props.smOffset ? `layui-col-sm-offset${props.smOffset}` : "",
|
||||
props.lgOffset ? `layui-col-lg-offset${props.lgOffset}` : "",
|
||||
];
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="layui-col" :class="classes">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
@@ -0,0 +1,39 @@
|
||||
import { w as withInstall } from "../badge/index2.js";
|
||||
import { defineComponent, useSlots, unref, openBlock, createElementBlock, createElementVNode, toDisplayString, renderSlot } from "vue";
|
||||
var index = /* @__PURE__ */ (() => ":root{--field-border-color: var(--global-neutral-color-3);--field-border-radius: var(--global-border-radius)}.layui-field{margin-bottom:10px;padding:0;border-width:1px;border-color:var(--field-border-color);border-style:solid}.layui-field legend{margin-left:20px;padding:0 10px;font-size:20px;font-weight:300}.layui-field-title{margin:10px 0 20px;border-width:1px 0 0}.layui-field-box{padding:15px}.layui-field-title .layui-field-box{padding:10px 0}\n")();
|
||||
const _hoisted_1 = {
|
||||
key: 0,
|
||||
class: "layui-field"
|
||||
};
|
||||
const _hoisted_2 = { class: "layui-field-box" };
|
||||
const _hoisted_3 = {
|
||||
key: 1,
|
||||
class: "layui-field layui-field-title"
|
||||
};
|
||||
const _hoisted_4 = { name: "docend" };
|
||||
const __default__ = {
|
||||
name: "LayField"
|
||||
};
|
||||
const _sfc_main = defineComponent({
|
||||
...__default__,
|
||||
props: {
|
||||
title: null
|
||||
},
|
||||
setup(__props) {
|
||||
const slot = useSlots();
|
||||
return (_ctx, _cache) => {
|
||||
return unref(slot).default ? (openBlock(), createElementBlock("fieldset", _hoisted_1, [
|
||||
createElementVNode("legend", null, toDisplayString(__props.title), 1),
|
||||
createElementVNode("div", _hoisted_2, [
|
||||
renderSlot(_ctx.$slots, "default")
|
||||
])
|
||||
])) : (openBlock(), createElementBlock("fieldset", _hoisted_3, [
|
||||
createElementVNode("legend", null, [
|
||||
createElementVNode("a", _hoisted_4, toDisplayString(__props.title), 1)
|
||||
])
|
||||
]));
|
||||
};
|
||||
}
|
||||
});
|
||||
const component = withInstall(_sfc_main);
|
||||
export { component as default };
|
||||
Reference in New Issue
Block a user