feat: add offline check (#247)

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
Alex 2022-12-01 11:08:09 +08:00 committed by GitHub
parent 93d78d9c8b
commit 96775ebcf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 32 additions and 6 deletions

View file

@ -13,9 +13,14 @@
</slot>
</div>
</aside>
<NavBottom v-if="isSmallScreen" />
<div class="w-full mb14 md:(w-3/4 mb0) lg:(w-2/4 mb0) min-h-screen" border="l r base">
<slot />
<div min-h-screen>
<slot />
</div>
<div sticky left-0 right-0 bottom-0 z-10 bg-base>
<CommonOfflineChecker :small-screen="isSmallScreen" />
<NavBottom v-if="isSmallScreen" />
</div>
</div>
<aside class="hidden md:none lg:block w-1/4 zen-hide">
<div sticky top-0 h-screen flex="~ col">