chore: 发布 0.4.2
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -61,6 +61,9 @@ dl.layui-anim-upbit > dd .layui-form-checkbox,
|
||||
|
||||
|
||||
.layui-form-select {
|
||||
.layui-input {
|
||||
border: 1px solid #eeeeee;
|
||||
}
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -737,10 +737,9 @@ a cite {
|
||||
}
|
||||
|
||||
.layui-form-selected .layui-edge {
|
||||
margin-top: -9px;
|
||||
margin-top: -9px!important;
|
||||
-webkit-transform: rotate(180deg);
|
||||
transform: rotate(180deg);
|
||||
margin-top: -3px\9;
|
||||
}
|
||||
|
||||
:root .layui-form-selected .layui-edge {
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
// @ts-ignore
|
||||
export { v4 } from 'uuid';
|
||||
export { v4 } from "uuid";
|
||||
|
||||
Reference in New Issue
Block a user