🐛(component): 按需加载部分组件样式未正确加载的问题
This commit is contained in:
parent
98524e876a
commit
216724f2e5
@ -18,7 +18,7 @@ import {
|
||||
watch,
|
||||
onMounted,
|
||||
} from "vue";
|
||||
import CarouselItem from "../carouselItem";
|
||||
import CarouselItem from "../carouselItem/index.vue";
|
||||
|
||||
const slot = useSlots() as any;
|
||||
const slots = slot.default && (slot.default() as any[]);
|
||||
|
@ -1,3 +1,5 @@
|
||||
@import "../dropdown/index.less";
|
||||
|
||||
.layui-color-picker {
|
||||
position: relative;
|
||||
user-select: none;
|
||||
|
@ -101,7 +101,6 @@ defineExpose({
|
||||
|
||||
<template>
|
||||
<slot name="prefix"></slot>
|
||||
<!-- <span style="font-family: sans-serif" /> -->
|
||||
<span>{{ displayValue }}</span>
|
||||
<slot name="suffix"></slot>
|
||||
</template>
|
||||
|
@ -1,3 +1,6 @@
|
||||
@import "../dropdown/index.less";
|
||||
@import "../input/index.less";
|
||||
|
||||
@font-face {
|
||||
font-family: "laydate-icon";
|
||||
src: url("./font/iconfont.eot");
|
||||
|
@ -1,3 +1,5 @@
|
||||
@import "../dropdown/index.less";
|
||||
|
||||
:root {
|
||||
--icon-picker-border-radius: var(--global-border-radius);
|
||||
--icon-picker-checked-color: var(--global-checked-color);
|
||||
|
@ -1,3 +1,6 @@
|
||||
@import "../button/index.less";
|
||||
@import "../input/index.less";
|
||||
|
||||
@border-color: #eee;
|
||||
@hover-border-color: var(--global-primary-color);
|
||||
@lg: 40px;
|
||||
|
@ -1,3 +1,5 @@
|
||||
@import "../header/index.less";
|
||||
|
||||
.layui-layout {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
|
@ -172,6 +172,8 @@ onMounted(() => {
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@import "../carousel/index.less";
|
||||
|
||||
.layui-notice-bar {
|
||||
padding: 0 15px;
|
||||
width: 100%;
|
||||
|
@ -1,3 +1,6 @@
|
||||
@import "../badge/index.less";
|
||||
@import "../checkbox/index.less";
|
||||
|
||||
dl.layui-anim-upbit > dd input[type="checkbox"] {
|
||||
display: none;
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<script setup lang="ts">
|
||||
import LayCheckbox from "../checkbox";
|
||||
import LayCheckbox from "../checkbox/index.vue";
|
||||
import { SelectItem, SelectItemHandle, SelectItemPush } from "../../types";
|
||||
import { computed, inject, onMounted, Ref, ref } from "vue";
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
@import "../popper/index.less";
|
||||
|
||||
.layui-slider-v {
|
||||
width: 100%;
|
||||
height: 18px;
|
||||
|
@ -15,7 +15,7 @@ import {
|
||||
watch,
|
||||
} from "vue";
|
||||
import { onClickOutside } from "@vueuse/core";
|
||||
import LayTransition from "../transition";
|
||||
import LayTransition from "../transition/index.vue";
|
||||
|
||||
export interface LaySubMenuProps {
|
||||
id: string;
|
||||
|
@ -1,3 +1,6 @@
|
||||
@import "../checkbox/index.less";
|
||||
@import "../dropdown/index.less";
|
||||
@import "../page/index.less";
|
||||
.layui-table-col-special {
|
||||
width: 34px;
|
||||
}
|
||||
|
@ -8,10 +8,10 @@ export default {
|
||||
import { ref, watch, useSlots, withDefaults, onMounted } from "vue";
|
||||
import { v4 as uuidv4 } from "../../utils/guidUtil";
|
||||
import { Recordable } from "../../types";
|
||||
import LayCheckbox from "../checkbox";
|
||||
import LayDropdown from "../dropdown";
|
||||
import LayPage from "../page";
|
||||
import LayIcon from "../icon";
|
||||
import LayCheckbox from "../checkbox/index.vue";
|
||||
import LayDropdown from "../dropdown/index.vue";
|
||||
import LayPage from "../page/index.vue";
|
||||
import LayIcon from "@layui/icons-vue";
|
||||
import "./index.less";
|
||||
|
||||
const tableId = uuidv4();
|
||||
|
@ -1,3 +1,6 @@
|
||||
@import "../button/index.less";
|
||||
@import "../checkbox/index.less";
|
||||
|
||||
:root {
|
||||
--transfer-box-border-radius: var(--global-border-radius);
|
||||
}
|
||||
|
@ -6,8 +6,8 @@ export default {
|
||||
|
||||
<script setup lang="ts">
|
||||
import { StringOrNumber } from "./tree.type";
|
||||
import LayIcon from "../icon";
|
||||
import LayCheckbox from "../checkbox";
|
||||
import LayIcon from "@layui/icons-vue";
|
||||
import LayCheckbox from "../checkbox/index.vue";
|
||||
import { Ref, useSlots } from "vue";
|
||||
import { Tree } from "./tree";
|
||||
import { Nullable } from "../../types";
|
||||
|
@ -1,3 +1,5 @@
|
||||
@import "../checkbox/index.less";
|
||||
|
||||
.layui-tree {
|
||||
line-height: 22px;
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
@import "./cropper.min.css";
|
||||
@import "../button/index.less";
|
||||
|
||||
.layui-upload-file {
|
||||
opacity: 0.01;
|
||||
|
Loading…
Reference in New Issue
Block a user