|
|
@ -7,7 +7,7 @@ import VPDocFooter from './VPDocFooter.vue'
|
|
|
|
import VPDocOutlineDropdown from './VPDocOutlineDropdown.vue'
|
|
|
|
import VPDocOutlineDropdown from './VPDocOutlineDropdown.vue'
|
|
|
|
|
|
|
|
|
|
|
|
const route = useRoute()
|
|
|
|
const route = useRoute()
|
|
|
|
const { hasSidebar, hasAside } = useSidebar()
|
|
|
|
const { hasSidebar, hasAside, leftAside } = useSidebar()
|
|
|
|
|
|
|
|
|
|
|
|
const pageName = computed(() =>
|
|
|
|
const pageName = computed(() =>
|
|
|
|
route.path.replace(/[./]+/g, '_').replace(/_html$/, '')
|
|
|
|
route.path.replace(/[./]+/g, '_').replace(/_html$/, '')
|
|
|
@ -21,7 +21,7 @@ const pageName = computed(() =>
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<slot name="doc-top" />
|
|
|
|
<slot name="doc-top" />
|
|
|
|
<div class="container">
|
|
|
|
<div class="container">
|
|
|
|
<div v-if="hasAside" class="aside">
|
|
|
|
<div v-if="hasAside" class="aside" :class="{'left-aside': leftAside}">
|
|
|
|
<div class="aside-curtain" />
|
|
|
|
<div class="aside-curtain" />
|
|
|
|
<div class="aside-container">
|
|
|
|
<div class="aside-container">
|
|
|
|
<div class="aside-content">
|
|
|
|
<div class="aside-content">
|
|
|
@ -129,6 +129,12 @@ const pageName = computed(() =>
|
|
|
|
max-width: 256px;
|
|
|
|
max-width: 256px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.left-aside {
|
|
|
|
|
|
|
|
order: 1;
|
|
|
|
|
|
|
|
padding-left: unset;
|
|
|
|
|
|
|
|
padding-right: 32px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.aside-container {
|
|
|
|
.aside-container {
|
|
|
|
position: fixed;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
top: 0;
|
|
|
|