32 lines
492 B
Vue
32 lines
492 B
Vue
<template>
|
|
<div class="tui-root-layout">
|
|
<slot></slot>
|
|
<copyright :icp="icp" :domain="domain" :author="author" />
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { Copyright } from "timi-web";
|
|
|
|
defineOptions({
|
|
name: "RootLayout"
|
|
});
|
|
|
|
withDefaults(defineProps<{
|
|
icp?: string;
|
|
domain?: string;
|
|
author?: string;
|
|
}>(), {
|
|
});
|
|
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.tui-root-layout {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
</style>
|