2023-12-05 00:01:18 +08:00
|
|
|
<template>
|
2023-12-05 14:44:46 +08:00
|
|
|
<a-layout class="host-layout">
|
2023-12-05 00:01:18 +08:00
|
|
|
<!-- 页面 -->
|
|
|
|
|
<a-layout-content>
|
|
|
|
|
<!-- 水印 -->
|
|
|
|
|
<a-watermark :grayscale="true"
|
|
|
|
|
:alpha=".6"
|
|
|
|
|
:z-index="9999"
|
|
|
|
|
style="width: 100%; height: 100%;"
|
|
|
|
|
:content="userStore.username || ''">
|
|
|
|
|
<PageLayout />
|
|
|
|
|
</a-watermark>
|
|
|
|
|
</a-layout-content>
|
|
|
|
|
</a-layout>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
|
export default {
|
2023-12-05 14:44:46 +08:00
|
|
|
name: 'host-layout'
|
2023-12-05 00:01:18 +08:00
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
|
import { useUserStore } from '@/store';
|
|
|
|
|
import PageLayout from './page-layout.vue';
|
|
|
|
|
|
|
|
|
|
const userStore = useUserStore();
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
2023-12-05 14:44:46 +08:00
|
|
|
.host-layout {
|
2023-12-05 00:01:18 +08:00
|
|
|
height: 100vh;
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
|
|
.arco-layout-content {
|
|
|
|
|
height: 100%;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|