<template>
  <Grid class="user-layout-wrapper">
    <div class="bg-wrapper" style="grid-area: 1 / 1 / 2 / 2">
      <img style="width: 100%; height: 100%; object-fit: cover" :src="bg" alt="" />
    </div>
    <div class="page-wrapper" style="grid-area: 1 / 1 / 2 / 2">
      <router-view />
    </div>
  </Grid>
</template>

<script>
export default {
  name: 'UserLayout',
  data() {
    return {
      bg: require('@/assets/images/user/bg.jpg'),
    }
  },
}
</script>

<style lang="less" scoped>
.user-layout-wrapper {
  height: 100%;
}
</style>
