<template>
  <div class="home_content" :class="{ popup_content: state.popup }">
    <router-view></router-view>
  </div>
</template>

<script setup>
import { reactive, onMounted } from 'vue'
let state = reactive({
  popup: true
})
onMounted(() => {
  if (window.location.href.indexOf('home.html') > 0) {
    state.popup = false
  }
})

</script>


<style>
.home_content{
  width: 100%;
  height: 100%;
}
.popup_content {
  width: 375px;
  height: 600px;
  box-sizing: border-box;
  overflow-y: auto;
}
</style>
