Files
timi-tdesign-pc/docs/demos/root-layout/basic.vue
T
2026-10-30 14:28:27 +08:00

33 lines
557 B
Vue

<template>
<root-layout
icp="京ICP备 00000000 号"
domain="example.com"
author="Timi"
text="组件演示"
>
<div class="body">
<h3 v-text="'RootLayout'" />
<p v-text="'页面级骨架:插槽填充主体内容,底部自动渲染版权与备案信息。'" />
</div>
</root-layout>
</template>
<script lang="ts" setup>
import { RootLayout } from "timi-tdesign-pc";
</script>
<style lang="less" scoped>
.body {
padding: 2rem;
h3 {
margin: 0 0 .5rem;
}
p {
margin: 0;
color: var(--td-text-color-secondary);
}
}
</style>