<template>
<div class="layout-col-detail">
  <content-view :catalog-id="catalogID"></content-view>
</div>
</template>
<script>
import contentView from '../contentcore/contentView.vue'
export default {
  components: {
    'content-view': contentView
  },
  data() {
    return {
      catalogID: 0,
      siteID: 0
    }
  },
  watch: {
    detailContent(val) {
      // console.log(val)
    }
  },
  async created() {
    let resp = await axios.get('/ui/workspace/nocatalog/init')
    if (resp.data.status === 1) {
      this.catalogID = resp.data.data.catalogID
      this.siteID = resp.data.data.catalogID
    }
  }
}
</script>
<style>
.self-table .el-table__header .el-input {
  padding-left: 0;
}

.self-table th > .cell .el-select {
  float: right;
  padding: 0;
}
</style>
<style scoped>
.col-wrap {
  background: white;
  flex-basis: 350px;
  max-width: none;
  flex-shrink: 0;
  position: relative;
}

.content-input-wrap {
  color: #999;
  font-size: 13px;
  display: inline-block;
  vertical-align: middle;
}

.page {
  float: right;
}

.div-scroll {
  height: 350px;
  overflow: auto;
}
</style>
