This commit is contained in:
syuilo 2021-10-16 19:20:49 +09:00
parent c194eddb1b
commit d672fccef4
10 changed files with 10 additions and 10 deletions

View file

@ -3,7 +3,7 @@
<header class="header" @contextmenu.prevent.stop="onContextmenu">
<MkHeader class="title" :info="pageInfo" :center="false"/>
</header>
<component :is="component" v-bind="props" :ref="changePage" class="body _flat_"/>
<component :is="component" v-bind="props" :ref="changePage" class="body _fitSide_"/>
</div>
</template>

View file

@ -7,7 +7,7 @@
</template>
</template>
<router-view v-slot="{ Component }" class="_flat_">
<router-view v-slot="{ Component }" class="_fitSide_">
<transition>
<keep-alive :include="['timeline']">
<component :is="Component" :ref="changePage" @contextmenu.stop="onContextmenu"/>

View file

@ -13,7 +13,7 @@
</template>
<main class="main" @contextmenu.stop="onContextmenu" :style="{ background: pageInfo?.bg }">
<div class="content" :class="{ _flat_: !fullView }">
<div class="content" :class="{ _fitSide_: !fullView }">
<router-view v-slot="{ Component }">
<transition :name="$store.state.animation ? 'page' : ''" mode="out-in" @enter="onTransition">
<keep-alive :include="['timeline']">