init
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<template>
|
||||
<a href="javascript:void(0);" v-bind="$attrs">
|
||||
<slot>{{ title }}</slot>
|
||||
</a>
|
||||
<span lay-separator>{{ separator }}</span>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "LayBreadcrumbItem",
|
||||
};
|
||||
</script>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { inject } from "vue";
|
||||
|
||||
export interface BreadcrumbItemProps {
|
||||
title?: string;
|
||||
}
|
||||
|
||||
const props = defineProps<BreadcrumbItemProps>();
|
||||
|
||||
const separator = inject("separator");
|
||||
</script>
|
||||
Binary file not shown.
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "StarFillIcon",
|
||||
};
|
||||
</script>
|
||||
<script setup lang="ts">
|
||||
import LayIcon from "../component/icon/index";
|
||||
|
||||
const props = defineProps<{
|
||||
color?: string;
|
||||
size?: string;
|
||||
}>();
|
||||
</script>
|
||||
<template>
|
||||
<lay-icon
|
||||
:color="props.color"
|
||||
:size="props.size"
|
||||
type="layui-icon-star-fill"
|
||||
/>
|
||||
</template>
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user