<template>
  <div class="panel cj-container"><slot></slot></div>
</template>
<script>
export default{
  name: 'CjContainer',
  mounted(){
    alert($('.cj-main').html())
  }
}
</script>
<style scoped lang="scss">
.cj-container{
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  .cj-header{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 80px;
  }
  .cj-aside{
    position: absolute;
    top: 80px;
    left: 0px;
    width: 120px;
    height: calc(100% - 80px);
  }
  .cj-main{
    position: absolute;
    top: 80px;
    left: 120px;
    width: calc(100% - 120px);
    height: calc(100% - 80px);
  }
}
</style>
