<template>
  <el-container>
    <el-header height="36px">
      <Header></Header>
    </el-header>
    <el-container style="height:95%">
      <el-aside class="widget-config-container">
        <el-container>
          <el-header height="45px">
            <div class="config-tab active">控件</div>
          </el-header>
          <el-main class="config-content">
            <Widget></Widget>
          </el-main>
        </el-container>
      </el-aside>
      <el-main><Center></Center></el-main>
      <el-aside class="widget-config-container">
        <el-container>
          <el-header height="45px">
            <div class="config-tab active">属性</div>
          </el-header>
          <el-main class="config-content">
            <Attribute></Attribute>
          </el-main>
        </el-container>
      </el-aside>
    </el-container>
  </el-container>
</template>

<script>
import Widget from "@/components/Widget";
import Attribute from "@/components/Attribute";
import Header from "@/components/Header";
import Center from "@/components/Center";
export default {
  name: "Frame",
  components: {
    Header,
    Widget,
    Attribute,
    Center
  },
  data() {
    return {
      fwebtype:null
    };
  },
  created() {
    this.fwebtype = window.fwebtype;
  },
};
</script>
<style>
html,
body,
#app,
.el-container {
  padding: 0px;
  margin: 0px;
  height: 100%;
}
.el-header {
  border: 1px #eee solid;
  text-align: center;
}

.el-aside {
  border: 1px #eee solid;
}

.el-main {
  border: 1px #eee solid;
  padding: 10px;
}
</style>
