<template>
        <router-view></router-view>
</template>

<script>
import util from "./tools/util.js";
import { GlobalStyles } from "ems-components"
export default {
  data() {
    return {
      theme: this.$store.state.theme
    };
  },
  mounted() {
    let urlParams = util.getUrlParams();
    if(urlParams.singlePage == 'YES'){
      document.body.className = "singlePage-wrapper";
    }else{
      document.body.className = "app-wrapper";
    }
  },
  beforeDestroy() {},
  methods: {}
};
</script>

<style lang="less">
.app-main {
  width: 100%;
  height: 100%;
}
</style>
