feat(projects): 添加判断是否是移动端的hooks

This commit is contained in:
Soybean
2021-11-14 22:16:44 +08:00
parent 1a76de0446
commit 0a9fba90b5
13 changed files with 56 additions and 34 deletions

View File

@ -2,7 +2,7 @@
<n-scrollbar ref="scrollbar" class="h-full" :x-scrollable="true" :content-class="routeProps.fullPage ? 'h-full' : ''">
<div class="inline-block wh-full bg-[#F6F9F8]">
<router-view v-slot="{ Component, route: itemRoute }">
<transition :name="theme.pageStyle.animateType" mode="out-in" appear>
<transition :name="theme.pageAnimateType" mode="out-in" appear>
<keep-alive :include="cacheRoutes">
<component
:is="Component"