init
This commit is contained in:
12
src/component/buttonContainer/index.less
Normal file
12
src/component/buttonContainer/index.less
Normal file
@@ -0,0 +1,12 @@
|
||||
.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;
|
||||
}
|
||||
5
src/component/buttonContainer/index.ts
Normal file
5
src/component/buttonContainer/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { withInstall, WithInstallType } from "../../utils";
|
||||
import Component from "./index.vue";
|
||||
|
||||
const component: WithInstallType<typeof Component> = withInstall(Component);
|
||||
export default component;
|
||||
15
src/component/buttonContainer/index.vue
Normal file
15
src/component/buttonContainer/index.vue
Normal file
@@ -0,0 +1,15 @@
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "LayButtonContainer",
|
||||
};
|
||||
</script>
|
||||
|
||||
<script setup lang="ts">
|
||||
import "./index.less";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="layui-btn-container">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user