<template>
  <div id="index" ref="app">
    <Header></Header>
    <transition name="slide-fade">
      <router-view />
    </transition>
  </div>
</template>

<script>
import Header from "@/components/Header";
export default {
  name: "index",
  components: {
    Header,
  },
};
</script>

<style lang="stylus" scoped>
#index {
  position: relative;
  width: 1920px;
  height: 1080px;
  margin: auto;
  background: url('~@/assets/index/main_bg.png') no-repeat;
  background-size: 1920px 1080px;
  overflow: hidden;
}
</style>
