<template>
  <div class="content-container">
    <el-row class="title-bar">
      <p class="page-title">消息管理</p>
    </el-row>
    <el-row class="counter-wrap">
      <el-col :span="4" class="left-counter-wrap">
        <LeftUtil @selectItem="selectItem" />
      </el-col>
      <el-col :span="20" class="right-counter-wrap">
        <msg-list ref="MsgList" />
      </el-col>
    </el-row>
  </div>
</template>
<script>
import LeftUtil from './leftUtil.vue'
import MsgList from './msgList.vue'
export default {
  components: {
    LeftUtil,
    MsgList
  },
  data() {
    return {
      dataList: [],
      conditions: {
        page: 1,
        limit: 10,
        total: 0,
        keywords: ''
      }
    }
  },
  mounted() {
  },
  methods: {
    selectItem(data) {
      this.$refs['MsgList'].loadData(data)
    }
  }
}
</script>
<style lang="scss" scoped>
    .content-container {
        .title-bar {
            overflow: hidden;
            margin-bottom: 15px;
            .page-title {
                padding: 0;
                margin: 15px 15px 0 15px;
                font-size: 20px;
                color: #FFF;
            }
        }

    }
</style>
