12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <template>
- <global-layout>
- <multi-tab v-if="$store.getters.multiTab"></multi-tab>
- <transition name="page-transition">
- <route-view />
- </transition>
- </global-layout>
- </template>
- <script>
- import RouteView from '@/components/layouts/RouteView'
- import MultiTab from '@/components/MultiTab'
- import GlobalLayout from '@/components/page/GlobalLayout'
- export default {
- name: 'BasicLayout',
- components: {
- RouteView,
- MultiTab,
- GlobalLayout
- },
- data () {
- return {}
- }
- }
- </script>
- <style lang="less">
- /*
- * The following styles are auto-applied to elements with
- * transition="page-transition" when their visibility is toggled
- * by Vue.js.
- *
- * You can easily play with the page transition by editing
- * these styles.
- */
- .page-transition-enter {
- opacity: 0;
- }
- .page-transition-leave-active {
- opacity: 0;
- }
- .page-transition-enter .page-transition-container,
- .page-transition-leave-active .page-transition-container {
- -webkit-transform: scale(1.1);
- transform: scale(1.1);
- }
- </style>
|