<template>
  <div id="app">
    <keep-alive>
      <router-view/>
    </keep-alive>
  </div>
</template>

<script>
import '@/assets/style/public.css'

export default {
  name: 'App'
}
</script>

<style scoped>
#app {
  width: 100%;
  height: 100%;
  background: url('~@/assets/images/background.png') no-repeat center center / cover;
}

@media (-webkit-min-device-pixel-ratio: 2),(min-device-pixel-ratio: 2) {
  #app {
    background-image: url('~@/assets/images/background@2x.png');
  }
}
</style>
