This commit is contained in:
2022-11-14 11:56:21 +08:00
commit 0a63adba99
337 changed files with 25661 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
:root {
--block-default-color: var(--global-checked-color);
--block-border-radius: var(--global-border-radius);
}
.layui-quote {
padding: 15px;
line-height: 1.6;
margin-bottom: 10px;
border-left: 5px solid var(--block-default-color);
border-radius: var(--block-border-radius);
background-color: var(--global-neutral-color-1);
}
.layui-quote-nm {
border-left: 5px solid #eee;
}

View 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;

View File

@@ -0,0 +1,21 @@
<script lang="ts">
export default {
name: "LayQuote",
};
</script>
<script setup lang="ts">
import "./index.less";
export interface QuoteProps {
type?: string;
}
const props = defineProps<QuoteProps>();
</script>
<template>
<div class="layui-quote" :class="[type ? `layui-quote-${props.type}` : '']">
<slot></slot>
</div>
</template>