<template>
  <div class="es-layout">
    <layout-item></layout-item>
    <layout-item top="100px"></layout-item>
    <layout-item
      v-for="(item, index) in contents"
      :key="item.id || index"
      v-bind="{ ...item, disabled: disabled }"
    ></layout-item>
  </div>
</template>
<script>
import layoutItem from './item.vue';
export default {
  name: 'EsLayout',
  components: { layoutItem },
  props: {
    contents: Array,
    disabled: Boolean
  },
  computed: {},
  watch: {},
  data() {
    return {};
  },
  created() {},
  mounted() {},
  methods: {},
  beforeDestroy() {}
};
</script>
