<template>
  <div id="frame">
    <el-row>
      <el-col :span="24" class="main">
        <div class="w_1200">
          <el-col :span="5" class="left">
            <slot name="menu"></slot>
          </el-col>
          <el-col :span="19" class="right">
            <slot></slot>
          </el-col>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import { mapState, createNamespacedHelpers } from 'vuex';
export default {
  name: 'adminFrame',
  props: {},
  components: {},
  data: function() {
    return {};
  },
  created() {},
  methods: {},
  computed: {
    ...mapState(['user', 'menuParams']),
    pageTitle() {
      return `${this.$route.meta.title}`;
    },
  },
  metaInfo() {
    return { title: this.$route.meta.title };
  },
};
</script>

<style lang="less" scoped>
.main {
  padding: 10px 0;
  background: #e9edf6;
  .left {
    min-height: 537px;
    margin: 0 15px 0 0;
    background: #fff;
  }
  .right {
    width: 935px;
    min-height: 630px;
    background: #fff;
  }
}
</style>
