
<template>
  <div id="app">
    <div class="sidebar">
      <card></card>
      <list></list>
    </div>
    <div class="main">
      <message></message>
      <usertext></usertext>
    </div>
  </div>
</template>

<script>
import form from '@/assets/mixins/form';
import card from '@/components/card.vue';
import list from '@/components/list.vue' ;
import message from '@/components/message.vue';
import usertext from '@/components/usertext.vue';
export default {
   components:{
    card,
    list,
    message,
    usertext
  },
  mixins: [form],
  
  data() {
    return {

    }
  }
}
</script>

<style lang="scss" scoped>
#app {
  margin: 20px auto;
  width: 800px;
  height: 600px;
  overflow: hidden;
  border-radius: 10px;
  .sidebar, .main {
    height: 100%;
  }
  .sidebar {
    float: left;
    color: #f4f4f4;
    background-color: #2e3238;
    width: 200px;
  }
  .main {
    position: relative;
    overflow: hidden;
    background-color: #eee;
  }
}
</style>
