chore: 发布 0.4.2

This commit is contained in:
就眠儀式
2022-03-26 16:04:12 +08:00
parent ab6cc17281
commit a739d563e3
13 changed files with 136 additions and 13 deletions

View File

@@ -23,6 +23,9 @@
color: @card-fore-color;
font-size: 14px;
}
.layui-card-header-extra {
float: right;
}
.layui-card-body {
padding: 10px 15px;
line-height: 24px;

View File

@@ -19,9 +19,14 @@ const props = defineProps<LayCardProps>();
<template>
<div class="layui-card">
<div class="layui-card-header" v-if="slot.header || title">
<slot name="header" v-if="slot.header"></slot>
<span v-else>{{ title }}</span>
<div class="layui-card-header" v-if="slot.title || title || slot.extra">
<span class="layui-card-header-title">
<slot name="title" v-if="slot.title"></slot>
<template v-else>{{ title }}</template>
</span>
<span class="layui-card-header-extra">
<slot name="extra" v-if="slot.extra"></slot>
</span>
</div>
<div class="layui-card-body">
<slot name="body" v-if="slot.body"></slot>
@@ -29,3 +34,13 @@ const props = defineProps<LayCardProps>();
</div>
</div>
</template>
<style scoped>
.layui-card-header-title {
}
.layui-card-header-extra {
}
</style>

View File

@@ -61,6 +61,9 @@ dl.layui-anim-upbit > dd .layui-form-checkbox,
.layui-form-select {
.layui-input {
border: 1px solid #eeeeee;
}
position: relative;
}

View File

@@ -7,7 +7,7 @@ export default {
<script setup lang="ts">
import * as XLSX from "xlsx";
import { ref, watch, useSlots, withDefaults, onMounted } from "vue";
import { v4 as uuidv4 } from '../../utils/guidUtil';
import { v4 as uuidv4 } from "../../utils/guidUtil";
import { Recordable } from "../../types";
import LayCheckbox from "../checkbox";
import LayDropdown from "../dropdown";